diff --git a/clients/client-groundstation/src/commands/DescribeContactCommand.ts b/clients/client-groundstation/src/commands/DescribeContactCommand.ts index d2d33234b509..98f9c3b145b5 100644 --- a/clients/client-groundstation/src/commands/DescribeContactCommand.ts +++ b/clients/client-groundstation/src/commands/DescribeContactCommand.ts @@ -183,6 +183,8 @@ export interface DescribeContactCommandOutput extends DescribeContactResponse, _ * // errorMessage: "STRING_VALUE", * // }, * // ], + * // visibilityStartTime: new Date("TIMESTAMP"), + * // visibilityEndTime: new Date("TIMESTAMP"), * // }; * * ``` diff --git a/clients/client-groundstation/src/commands/ListContactsCommand.ts b/clients/client-groundstation/src/commands/ListContactsCommand.ts index 36a5d0db30d7..57902ecd1d26 100644 --- a/clients/client-groundstation/src/commands/ListContactsCommand.ts +++ b/clients/client-groundstation/src/commands/ListContactsCommand.ts @@ -73,6 +73,8 @@ export interface ListContactsCommandOutput extends ListContactsResponse, __Metad * // tags: { // TagsMap * // "": "STRING_VALUE", * // }, + * // visibilityStartTime: new Date("TIMESTAMP"), + * // visibilityEndTime: new Date("TIMESTAMP"), * // }, * // ], * // }; diff --git a/clients/client-groundstation/src/models/models_0.ts b/clients/client-groundstation/src/models/models_0.ts index 00a9a20c9a76..092052d825e2 100644 --- a/clients/client-groundstation/src/models/models_0.ts +++ b/clients/client-groundstation/src/models/models_0.ts @@ -1775,6 +1775,28 @@ export interface DescribeContactResponse { * @public */ dataflowList?: DataflowDetail[]; + + /** + *

+ * Projected time in UTC your satellite will rise above the + * receive mask. + * This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was + * active during contact execution for completed contacts. + *

+ * @public + */ + visibilityStartTime?: Date; + + /** + *

+ * Projected time in UTC your satellite will set below the + * receive mask. + * This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was + * active during contact execution for completed contacts. + *

+ * @public + */ + visibilityEndTime?: Date; } /** @@ -1913,6 +1935,30 @@ export interface ContactData { * @public */ tags?: Record; + + /** + *

+ * Projected time in UTC your satellite will rise above the + * receive mask. + * This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was + * active during contact execution for completed contacts. + * This field is not present for contacts with a SCHEDULING or SCHEDULED status. + *

+ * @public + */ + visibilityStartTime?: Date; + + /** + *

+ * Projected time in UTC your satellite will set below the + * receive mask. + * This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was + * active during contact execution for completed contacts. + * This field is not present for contacts with a SCHEDULING or SCHEDULED status. + *

+ * @public + */ + visibilityEndTime?: Date; } /** @@ -2322,13 +2368,13 @@ export interface CreateMissionProfileRequest { name: string | undefined; /** - *

Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass.

+ *

Amount of time prior to contact start you’d like to receive a Ground Station Contact State Change event indicating an upcoming pass.

* @public */ contactPrePassDurationSeconds?: number; /** - *

Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.

+ *

Amount of time after a contact ends that you’d like to receive a Ground Station Contact State Change event indicating the pass has finished.

* @public */ contactPostPassDurationSeconds?: number; @@ -3282,13 +3328,13 @@ export interface UpdateMissionProfileRequest { name?: string; /** - *

Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.

+ *

Amount of time after a contact ends that you’d like to receive a Ground Station Contact State Change event indicating the pass has finished.

* @public */ contactPrePassDurationSeconds?: number; /** - *

Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.

+ *

Amount of time after a contact ends that you’d like to receive a Ground Station Contact State Change event indicating the pass has finished.

* @public */ contactPostPassDurationSeconds?: number; diff --git a/clients/client-groundstation/src/protocols/Aws_restJson1.ts b/clients/client-groundstation/src/protocols/Aws_restJson1.ts index 8d3739c002e5..30f92c2aecca 100644 --- a/clients/client-groundstation/src/protocols/Aws_restJson1.ts +++ b/clients/client-groundstation/src/protocols/Aws_restJson1.ts @@ -1064,6 +1064,8 @@ export const de_DescribeContactCommand = async ( satelliteArn: __expectString, startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), tags: _json, + visibilityEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + visibilityStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), }); Object.assign(contents, doc); return contents; @@ -2047,6 +2049,8 @@ const de_ContactData = (output: any, context: __SerdeContext): ContactData => { satelliteArn: __expectString, startTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), tags: _json, + visibilityEndTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + visibilityStartTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), }) as any; }; diff --git a/codegen/sdk-codegen/aws-models/groundstation.json b/codegen/sdk-codegen/aws-models/groundstation.json index 9a0012e42e0e..1c2b11fb17cf 100644 --- a/codegen/sdk-codegen/aws-models/groundstation.json +++ b/codegen/sdk-codegen/aws-models/groundstation.json @@ -907,6 +907,18 @@ "traits": { "smithy.api#documentation": "

Tags assigned to a contact.

" } + }, + "visibilityStartTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

\n Projected time in UTC your satellite will rise above the\n receive mask.\n This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was\n active during contact execution for completed contacts.\n This field is not present for contacts with a SCHEDULING or SCHEDULED status.\n

" + } + }, + "visibilityEndTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

\n Projected time in UTC your satellite will set below the\n receive mask.\n This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was\n active during contact execution for completed contacts.\n This field is not present for contacts with a SCHEDULING or SCHEDULED status.\n

" + } } }, "traits": { @@ -1238,13 +1250,13 @@ "contactPrePassDurationSeconds": { "target": "com.amazonaws.groundstation#DurationInSeconds", "traits": { - "smithy.api#documentation": "

Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass.

" + "smithy.api#documentation": "

Amount of time prior to contact start you’d like to receive a Ground Station Contact State Change event indicating an upcoming pass.

" } }, "contactPostPassDurationSeconds": { "target": "com.amazonaws.groundstation#DurationInSeconds", "traits": { - "smithy.api#documentation": "

Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.

" + "smithy.api#documentation": "

Amount of time after a contact ends that you’d like to receive a Ground Station Contact State Change event indicating the pass has finished.

" } }, "minimumViableContactDurationSeconds": { @@ -1899,6 +1911,18 @@ "traits": { "smithy.api#documentation": "

List describing source and destination details for each dataflow edge.

" } + }, + "visibilityStartTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

\n Projected time in UTC your satellite will rise above the\n receive mask.\n This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was\n active during contact execution for completed contacts.\n

" + } + }, + "visibilityEndTime": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "

\n Projected time in UTC your satellite will set below the\n receive mask.\n This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was\n active during contact execution for completed contacts.\n

" + } } }, "traits": { @@ -6064,13 +6088,13 @@ "contactPrePassDurationSeconds": { "target": "com.amazonaws.groundstation#DurationInSeconds", "traits": { - "smithy.api#documentation": "

Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.

" + "smithy.api#documentation": "

Amount of time after a contact ends that you’d like to receive a Ground Station Contact State Change event indicating the pass has finished.

" } }, "contactPostPassDurationSeconds": { "target": "com.amazonaws.groundstation#DurationInSeconds", "traits": { - "smithy.api#documentation": "

Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.

" + "smithy.api#documentation": "

Amount of time after a contact ends that you’d like to receive a Ground Station Contact State Change event indicating the pass has finished.

" } }, "minimumViableContactDurationSeconds": {