@aws-sdk/client-groundstation 3.245.0 → 3.254.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,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const q = "fn", r = "argv", s = "ref";
5
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
6
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
7
7
  exports.ruleSet = _data;
package/dist-cjs/index.js CHANGED
@@ -7,5 +7,6 @@ tslib_1.__exportStar(require("./GroundStationClient"), exports);
7
7
  tslib_1.__exportStar(require("./commands"), exports);
8
8
  tslib_1.__exportStar(require("./models"), exports);
9
9
  tslib_1.__exportStar(require("./pagination"), exports);
10
+ tslib_1.__exportStar(require("./waiters"), exports);
10
11
  var GroundStationServiceException_1 = require("./models/GroundStationServiceException");
11
12
  Object.defineProperty(exports, "GroundStationServiceException", { enumerable: true, get: function () { return GroundStationServiceException_1.GroundStationServiceException; } });
@@ -54,6 +54,12 @@ const serializeAws_restJson1CreateDataflowEndpointGroupCommand = async (input, c
54
54
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataflowEndpointGroup";
55
55
  let body;
56
56
  body = JSON.stringify({
57
+ ...(input.contactPostPassDurationSeconds != null && {
58
+ contactPostPassDurationSeconds: input.contactPostPassDurationSeconds,
59
+ }),
60
+ ...(input.contactPrePassDurationSeconds != null && {
61
+ contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
62
+ }),
57
63
  ...(input.endpointDetails != null && {
58
64
  endpointDetails: serializeAws_restJson1EndpointDetailsList(input.endpointDetails, context),
59
65
  }),
@@ -1250,6 +1256,12 @@ const deserializeAws_restJson1GetDataflowEndpointGroupCommand = async (output, c
1250
1256
  $metadata: deserializeMetadata(output),
1251
1257
  });
1252
1258
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1259
+ if (data.contactPostPassDurationSeconds != null) {
1260
+ contents.contactPostPassDurationSeconds = (0, smithy_client_1.expectInt32)(data.contactPostPassDurationSeconds);
1261
+ }
1262
+ if (data.contactPrePassDurationSeconds != null) {
1263
+ contents.contactPrePassDurationSeconds = (0, smithy_client_1.expectInt32)(data.contactPrePassDurationSeconds);
1264
+ }
1253
1265
  if (data.dataflowEndpointGroupArn != null) {
1254
1266
  contents.dataflowEndpointGroupArn = (0, smithy_client_1.expectString)(data.dataflowEndpointGroupArn);
1255
1267
  }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./waitForContactScheduled"), exports);
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.waitUntilContactScheduled = exports.waitForContactScheduled = void 0;
4
+ const util_waiter_1 = require("@aws-sdk/util-waiter");
5
+ const DescribeContactCommand_1 = require("../commands/DescribeContactCommand");
6
+ const checkState = async (client, input) => {
7
+ let reason;
8
+ try {
9
+ const result = await client.send(new DescribeContactCommand_1.DescribeContactCommand(input));
10
+ reason = result;
11
+ try {
12
+ const returnComparator = () => {
13
+ return result.contactStatus;
14
+ };
15
+ if (returnComparator() === "FAILED_TO_SCHEDULE") {
16
+ return { state: util_waiter_1.WaiterState.FAILURE, reason };
17
+ }
18
+ }
19
+ catch (e) { }
20
+ try {
21
+ const returnComparator = () => {
22
+ return result.contactStatus;
23
+ };
24
+ if (returnComparator() === "SCHEDULED") {
25
+ return { state: util_waiter_1.WaiterState.SUCCESS, reason };
26
+ }
27
+ }
28
+ catch (e) { }
29
+ }
30
+ catch (exception) {
31
+ reason = exception;
32
+ }
33
+ return { state: util_waiter_1.WaiterState.RETRY, reason };
34
+ };
35
+ const waitForContactScheduled = async (params, input) => {
36
+ const serviceDefaults = { minDelay: 5, maxDelay: 900 };
37
+ return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
38
+ };
39
+ exports.waitForContactScheduled = waitForContactScheduled;
40
+ const waitUntilContactScheduled = async (params, input) => {
41
+ const serviceDefaults = { minDelay: 5, maxDelay: 900 };
42
+ const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
43
+ return (0, util_waiter_1.checkExceptions)(result);
44
+ };
45
+ exports.waitUntilContactScheduled = waitUntilContactScheduled;
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const q = "fn", r = "argv", s = "ref";
2
+ const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
+ const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://groundstation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://groundstation.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
4
4
  export const ruleSet = _data;
package/dist-es/index.js CHANGED
@@ -3,4 +3,5 @@ export * from "./GroundStationClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export * from "./waiters";
6
7
  export { GroundStationServiceException } from "./models/GroundStationServiceException";
@@ -48,6 +48,12 @@ export const serializeAws_restJson1CreateDataflowEndpointGroupCommand = async (i
48
48
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dataflowEndpointGroup";
49
49
  let body;
50
50
  body = JSON.stringify({
51
+ ...(input.contactPostPassDurationSeconds != null && {
52
+ contactPostPassDurationSeconds: input.contactPostPassDurationSeconds,
53
+ }),
54
+ ...(input.contactPrePassDurationSeconds != null && {
55
+ contactPrePassDurationSeconds: input.contactPrePassDurationSeconds,
56
+ }),
51
57
  ...(input.endpointDetails != null && {
52
58
  endpointDetails: serializeAws_restJson1EndpointDetailsList(input.endpointDetails, context),
53
59
  }),
@@ -1204,6 +1210,12 @@ export const deserializeAws_restJson1GetDataflowEndpointGroupCommand = async (ou
1204
1210
  $metadata: deserializeMetadata(output),
1205
1211
  });
1206
1212
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1213
+ if (data.contactPostPassDurationSeconds != null) {
1214
+ contents.contactPostPassDurationSeconds = __expectInt32(data.contactPostPassDurationSeconds);
1215
+ }
1216
+ if (data.contactPrePassDurationSeconds != null) {
1217
+ contents.contactPrePassDurationSeconds = __expectInt32(data.contactPrePassDurationSeconds);
1218
+ }
1207
1219
  if (data.dataflowEndpointGroupArn != null) {
1208
1220
  contents.dataflowEndpointGroupArn = __expectString(data.dataflowEndpointGroupArn);
1209
1221
  }
@@ -0,0 +1 @@
1
+ export * from "./waitForContactScheduled";
@@ -0,0 +1,40 @@
1
+ import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
2
+ import { DescribeContactCommand } from "../commands/DescribeContactCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ const result = await client.send(new DescribeContactCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.contactStatus;
11
+ };
12
+ if (returnComparator() === "FAILED_TO_SCHEDULE") {
13
+ return { state: WaiterState.FAILURE, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.contactStatus;
20
+ };
21
+ if (returnComparator() === "SCHEDULED") {
22
+ return { state: WaiterState.SUCCESS, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ }
27
+ catch (exception) {
28
+ reason = exception;
29
+ }
30
+ return { state: WaiterState.RETRY, reason };
31
+ };
32
+ export const waitForContactScheduled = async (params, input) => {
33
+ const serviceDefaults = { minDelay: 5, maxDelay: 900 };
34
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
35
+ };
36
+ export const waitUntilContactScheduled = async (params, input) => {
37
+ const serviceDefaults = { minDelay: 5, maxDelay: 900 };
38
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
39
+ return checkExceptions(result);
40
+ };
@@ -6,7 +6,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
8
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { CancelContactCommandInput, CancelContactCommandOutput } from "./commands/CancelContactCommand";
11
11
  import { CreateConfigCommandInput, CreateConfigCommandOutput } from "./commands/CreateConfigCommand";
12
12
  import { CreateDataflowEndpointGroupCommandInput, CreateDataflowEndpointGroupCommandOutput } from "./commands/CreateDataflowEndpointGroupCommand";
@@ -46,11 +46,11 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
46
46
  */
47
47
  requestHandler?: __HttpHandler;
48
48
  /**
49
- * A constructor for a class implementing the {@link __Hash} interface
49
+ * A constructor for a class implementing the {@link __Checksum} interface
50
50
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
51
51
  * @internal
52
52
  */
53
- sha256?: __HashConstructor;
53
+ sha256?: __ChecksumConstructor | __HashConstructor;
54
54
  /**
55
55
  * The function that will be used to convert strings into HTTP endpoints.
56
56
  * @internal
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region?: string;
15
+ Region: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -3,4 +3,5 @@ export * from "./GroundStationClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export * from "./waiters";
6
7
  export { GroundStationServiceException } from "./models/GroundStationServiceException";
@@ -24,7 +24,7 @@ export declare enum BandwidthUnits {
24
24
  export interface FrequencyBandwidth {
25
25
  /**
26
26
  * <p>Frequency bandwidth value. AWS Ground Station currently has the following bandwidth limitations:</p>
27
- * <ul>
27
+ * <ul>
28
28
  * <li>
29
29
  * <p>For <code>AntennaDownlinkDemodDecodeconfig</code>, valid values are between 125 kHz to 650 MHz.</p>
30
30
  * </li>
@@ -75,7 +75,7 @@ export interface SpectrumConfig {
75
75
  centerFrequency: Frequency | undefined;
76
76
  /**
77
77
  * <p>Bandwidth of a spectral <code>Config</code>. AWS Ground Station currently has the following bandwidth limitations:</p>
78
- * <ul>
78
+ * <ul>
79
79
  * <li>
80
80
  * <p>For <code>AntennaDownlinkDemodDecodeconfig</code>, valid values are between 125 kHz to 650 MHz.</p>
81
81
  * </li>
@@ -1042,6 +1042,14 @@ export interface CreateDataflowEndpointGroupRequest {
1042
1042
  * <p>Tags of a dataflow endpoint group.</p>
1043
1043
  */
1044
1044
  tags?: Record<string, string>;
1045
+ /**
1046
+ * <p>Amount of time, in seconds, prior to contact start for the contact to remain in a <code>PREPASS</code> state. A CloudWatch event is emitted when the contact enters and exits the <code>PREPASS</code> state.</p>
1047
+ */
1048
+ contactPrePassDurationSeconds?: number;
1049
+ /**
1050
+ * <p>Amount of time, in seconds, after a contact ends for the contact to remain in a <code>POSTPASS</code> state. A CloudWatch event is emitted when the contact enters and exits the <code>POSTPASS</code> state.</p>
1051
+ */
1052
+ contactPostPassDurationSeconds?: number;
1045
1053
  }
1046
1054
  /**
1047
1055
  * <p/>
@@ -1165,13 +1173,13 @@ export interface CreateEphemerisRequest {
1165
1173
  satelliteId: string | undefined;
1166
1174
  /**
1167
1175
  * <p>Whether to set the ephemeris status to <code>ENABLED</code> after validation.</p>
1168
- * <p>Setting this to false will set the ephemeris status to <code>DISABLED</code> after validation.</p>
1176
+ * <p>Setting this to false will set the ephemeris status to <code>DISABLED</code> after validation.</p>
1169
1177
  */
1170
1178
  enabled?: boolean;
1171
1179
  /**
1172
1180
  * <p>Customer-provided priority score to establish the order in which overlapping ephemerides should be used.</p>
1173
- * <p>The default for customer-provided ephemeris priority is 1, and higher numbers take precedence.</p>
1174
- * <p>Priority must be 1 or greater</p>
1181
+ * <p>The default for customer-provided ephemeris priority is 1, and higher numbers take precedence.</p>
1182
+ * <p>Priority must be 1 or greater</p>
1175
1183
  */
1176
1184
  priority?: number;
1177
1185
  /**
@@ -1283,6 +1291,14 @@ export interface GetDataflowEndpointGroupResponse {
1283
1291
  * <p>Tags assigned to a dataflow endpoint group.</p>
1284
1292
  */
1285
1293
  tags?: Record<string, string>;
1294
+ /**
1295
+ * <p>Amount of time, in seconds, prior to contact start for the contact to remain in a <code>PREPASS</code> state. A CloudWatch event is emitted when the contact enters and exits the <code>PREPASS</code> state.</p>
1296
+ */
1297
+ contactPrePassDurationSeconds?: number;
1298
+ /**
1299
+ * <p>Amount of time, in seconds, after a contact ends for the contact to remain in a <code>POSTPASS</code> state. A CloudWatch event is emitted when the contact enters and exits the <code>POSTPASS</code> state.</p>
1300
+ */
1301
+ contactPostPassDurationSeconds?: number;
1286
1302
  }
1287
1303
  /**
1288
1304
  * <p/>
@@ -1435,8 +1451,8 @@ export interface DescribeEphemerisResponse {
1435
1451
  status?: EphemerisStatus | string;
1436
1452
  /**
1437
1453
  * <p>Customer-provided priority score to establish the order in which overlapping ephemerides should be used.</p>
1438
- * <p>The default for customer-provided ephemeris priority is 1, and higher numbers take precedence.</p>
1439
- * <p>Priority must be 1 or greater</p>
1454
+ * <p>The default for customer-provided ephemeris priority is 1, and higher numbers take precedence.</p>
1455
+ * <p>Priority must be 1 or greater</p>
1440
1456
  */
1441
1457
  priority?: number;
1442
1458
  /**
@@ -1478,8 +1494,8 @@ export interface EphemerisItem {
1478
1494
  status?: EphemerisStatus | string;
1479
1495
  /**
1480
1496
  * <p>Customer-provided priority score to establish the order in which overlapping ephemerides should be used.</p>
1481
- * <p>The default for customer-provided ephemeris priority is 1, and higher numbers take precedence.</p>
1482
- * <p>Priority must be 1 or greater</p>
1497
+ * <p>The default for customer-provided ephemeris priority is 1, and higher numbers take precedence.</p>
1498
+ * <p>Priority must be 1 or greater</p>
1483
1499
  */
1484
1500
  priority?: number;
1485
1501
  /**
@@ -1550,8 +1566,8 @@ export interface UpdateEphemerisRequest {
1550
1566
  name?: string;
1551
1567
  /**
1552
1568
  * <p>Customer-provided priority score to establish the order in which overlapping ephemerides should be used.</p>
1553
- * <p>The default for customer-provided ephemeris priority is 1, and higher numbers take precedence.</p>
1554
- * <p>Priority must be 1 or greater</p>
1569
+ * <p>The default for customer-provided ephemeris priority is 1, and higher numbers take precedence.</p>
1570
+ * <p>Priority must be 1 or greater</p>
1555
1571
  */
1556
1572
  priority?: number;
1557
1573
  }
@@ -1569,17 +1585,17 @@ export interface EphemerisMetaData {
1569
1585
  source: EphemerisSource | string | undefined;
1570
1586
  /**
1571
1587
  * <p>UUID of a customer-provided ephemeris.</p>
1572
- * <p>This field is not populated for default ephemerides from Space Track.</p>
1588
+ * <p>This field is not populated for default ephemerides from Space Track.</p>
1573
1589
  */
1574
1590
  ephemerisId?: string;
1575
1591
  /**
1576
1592
  * <p>The epoch of a default, ephemeris from Space Track in UTC.</p>
1577
- * <p>This field is not populated for customer-provided ephemerides.</p>
1593
+ * <p>This field is not populated for customer-provided ephemerides.</p>
1578
1594
  */
1579
1595
  epoch?: Date;
1580
1596
  /**
1581
1597
  * <p>A name string associated with the ephemeris. Used as a human-readable identifier for the ephemeris.</p>
1582
- * <p>A name is only returned for customer-provider ephemerides that have a name associated.</p>
1598
+ * <p>A name is only returned for customer-provider ephemerides that have a name associated.</p>
1583
1599
  */
1584
1600
  name?: string;
1585
1601
  }
@@ -31,6 +31,7 @@ import {
31
31
  } from "@aws-sdk/smithy-client";
32
32
  import {
33
33
  BodyLengthCalculator as __BodyLengthCalculator,
34
+ ChecksumConstructor as __ChecksumConstructor,
34
35
  Credentials as __Credentials,
35
36
  Decoder as __Decoder,
36
37
  Encoder as __Encoder,
@@ -233,7 +234,7 @@ export declare type ServiceOutputTypes =
233
234
  export interface ClientDefaults
234
235
  extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
235
236
  requestHandler?: __HttpHandler;
236
- sha256?: __HashConstructor;
237
+ sha256?: __ChecksumConstructor | __HashConstructor;
237
238
  urlParser?: __UrlParser;
238
239
  bodyLengthChecker?: __BodyLengthCalculator;
239
240
  streamCollector?: __StreamCollector;
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region?: string;
30
+ Region: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -3,4 +3,5 @@ export * from "./GroundStationClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export * from "./waiters";
6
7
  export { GroundStationServiceException } from "./models/GroundStationServiceException";
@@ -445,6 +445,8 @@ export interface ReserveContactRequest {
445
445
  export interface CreateDataflowEndpointGroupRequest {
446
446
  endpointDetails: EndpointDetails[] | undefined;
447
447
  tags?: Record<string, string>;
448
+ contactPrePassDurationSeconds?: number;
449
+ contactPostPassDurationSeconds?: number;
448
450
  }
449
451
  export interface DataflowEndpointGroupIdResponse {
450
452
  dataflowEndpointGroupId?: string;
@@ -534,6 +536,8 @@ export interface GetDataflowEndpointGroupResponse {
534
536
  dataflowEndpointGroupArn?: string;
535
537
  endpointsDetails?: EndpointDetails[];
536
538
  tags?: Record<string, string>;
539
+ contactPrePassDurationSeconds?: number;
540
+ contactPostPassDurationSeconds?: number;
537
541
  }
538
542
  export interface ListDataflowEndpointGroupsRequest {
539
543
  maxResults?: number;
@@ -0,0 +1 @@
1
+ export * from "./waitForContactScheduled";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
+ import { DescribeContactCommandInput } from "../commands/DescribeContactCommand";
3
+ import { GroundStationClient } from "../GroundStationClient";
4
+ export declare const waitForContactScheduled: (
5
+ params: WaiterConfiguration<GroundStationClient>,
6
+ input: DescribeContactCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilContactScheduled: (
9
+ params: WaiterConfiguration<GroundStationClient>,
10
+ input: DescribeContactCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1 @@
1
+ export * from "./waitForContactScheduled";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@aws-sdk/util-waiter";
2
+ import { DescribeContactCommandInput } from "../commands/DescribeContactCommand";
3
+ import { GroundStationClient } from "../GroundStationClient";
4
+ /**
5
+ * Waits until a contact has been scheduled
6
+ * @deprecated Use waitUntilContactScheduled instead. waitForContactScheduled does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForContactScheduled: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ * Waits until a contact has been scheduled
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeContactCommand for polling.
13
+ */
14
+ export declare const waitUntilContactScheduled: (params: WaiterConfiguration<GroundStationClient>, input: DescribeContactCommandInput) => Promise<WaiterResult>;
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.245.0",
4
+ "version": "3.254.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",
@@ -11,48 +11,49 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
- "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/groundstation.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo groundstation"
15
15
  },
16
16
  "main": "./dist-cjs/index.js",
17
17
  "types": "./dist-types/index.d.ts",
18
18
  "module": "./dist-es/index.js",
19
19
  "sideEffects": false,
20
20
  "dependencies": {
21
- "@aws-crypto/sha256-browser": "2.0.0",
22
- "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.245.0",
24
- "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.245.0",
26
- "@aws-sdk/fetch-http-handler": "3.226.0",
27
- "@aws-sdk/hash-node": "3.226.0",
28
- "@aws-sdk/invalid-dependency": "3.226.0",
29
- "@aws-sdk/middleware-content-length": "3.226.0",
30
- "@aws-sdk/middleware-endpoint": "3.226.0",
31
- "@aws-sdk/middleware-host-header": "3.226.0",
32
- "@aws-sdk/middleware-logger": "3.226.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.226.0",
34
- "@aws-sdk/middleware-retry": "3.235.0",
35
- "@aws-sdk/middleware-serde": "3.226.0",
36
- "@aws-sdk/middleware-signing": "3.226.0",
37
- "@aws-sdk/middleware-stack": "3.226.0",
38
- "@aws-sdk/middleware-user-agent": "3.226.0",
39
- "@aws-sdk/node-config-provider": "3.226.0",
40
- "@aws-sdk/node-http-handler": "3.226.0",
41
- "@aws-sdk/protocol-http": "3.226.0",
42
- "@aws-sdk/smithy-client": "3.234.0",
43
- "@aws-sdk/types": "3.226.0",
44
- "@aws-sdk/url-parser": "3.226.0",
21
+ "@aws-crypto/sha256-browser": "3.0.0",
22
+ "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sts": "3.254.0",
24
+ "@aws-sdk/config-resolver": "3.254.0",
25
+ "@aws-sdk/credential-provider-node": "3.254.0",
26
+ "@aws-sdk/fetch-http-handler": "3.254.0",
27
+ "@aws-sdk/hash-node": "3.254.0",
28
+ "@aws-sdk/invalid-dependency": "3.254.0",
29
+ "@aws-sdk/middleware-content-length": "3.254.0",
30
+ "@aws-sdk/middleware-endpoint": "3.254.0",
31
+ "@aws-sdk/middleware-host-header": "3.254.0",
32
+ "@aws-sdk/middleware-logger": "3.254.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.254.0",
34
+ "@aws-sdk/middleware-retry": "3.254.0",
35
+ "@aws-sdk/middleware-serde": "3.254.0",
36
+ "@aws-sdk/middleware-signing": "3.254.0",
37
+ "@aws-sdk/middleware-stack": "3.254.0",
38
+ "@aws-sdk/middleware-user-agent": "3.254.0",
39
+ "@aws-sdk/node-config-provider": "3.254.0",
40
+ "@aws-sdk/node-http-handler": "3.254.0",
41
+ "@aws-sdk/protocol-http": "3.254.0",
42
+ "@aws-sdk/smithy-client": "3.254.0",
43
+ "@aws-sdk/types": "3.254.0",
44
+ "@aws-sdk/url-parser": "3.254.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.245.0",
51
- "@aws-sdk/util-retry": "3.229.0",
52
- "@aws-sdk/util-user-agent-browser": "3.226.0",
53
- "@aws-sdk/util-user-agent-node": "3.226.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.254.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.254.0",
50
+ "@aws-sdk/util-endpoints": "3.254.0",
51
+ "@aws-sdk/util-retry": "3.254.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.254.0",
53
+ "@aws-sdk/util-user-agent-node": "3.254.0",
54
54
  "@aws-sdk/util-utf8-browser": "3.188.0",
55
55
  "@aws-sdk/util-utf8-node": "3.208.0",
56
+ "@aws-sdk/util-waiter": "3.254.0",
56
57
  "tslib": "^2.3.1"
57
58
  },
58
59
  "devDependencies": {