Skip to content

Commit 10f0af2

Browse files
author
awstools
committed
feat(client-groundstation): This release adds visibilityStartTime and visibilityEndTime to DescribeContact and ListContacts responses.
1 parent a12cf06 commit 10f0af2

File tree

5 files changed

+86
-8
lines changed

5 files changed

+86
-8
lines changed

Diff for: clients/client-groundstation/src/commands/DescribeContactCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ export interface DescribeContactCommandOutput extends DescribeContactResponse, _
183183
* // errorMessage: "STRING_VALUE",
184184
* // },
185185
* // ],
186+
* // visibilityStartTime: new Date("TIMESTAMP"),
187+
* // visibilityEndTime: new Date("TIMESTAMP"),
186188
* // };
187189
*
188190
* ```

Diff for: clients/client-groundstation/src/commands/ListContactsCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ export interface ListContactsCommandOutput extends ListContactsResponse, __Metad
7373
* // tags: { // TagsMap
7474
* // "<keys>": "STRING_VALUE",
7575
* // },
76+
* // visibilityStartTime: new Date("TIMESTAMP"),
77+
* // visibilityEndTime: new Date("TIMESTAMP"),
7678
* // },
7779
* // ],
7880
* // };

Diff for: clients/client-groundstation/src/models/models_0.ts

+50-4
Original file line numberDiff line numberDiff line change
@@ -1775,6 +1775,28 @@ export interface DescribeContactResponse {
17751775
* @public
17761776
*/
17771777
dataflowList?: DataflowDetail[];
1778+
1779+
/**
1780+
* <p>
1781+
* Projected time in UTC your satellite will rise above the
1782+
* <a href="https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html">receive mask</a>.
1783+
* This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was
1784+
* active during contact execution for completed contacts.
1785+
* </p>
1786+
* @public
1787+
*/
1788+
visibilityStartTime?: Date;
1789+
1790+
/**
1791+
* <p>
1792+
* Projected time in UTC your satellite will set below the
1793+
* <a href="https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html">receive mask</a>.
1794+
* This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was
1795+
* active during contact execution for completed contacts.
1796+
* </p>
1797+
* @public
1798+
*/
1799+
visibilityEndTime?: Date;
17781800
}
17791801

17801802
/**
@@ -1913,6 +1935,30 @@ export interface ContactData {
19131935
* @public
19141936
*/
19151937
tags?: Record<string, string>;
1938+
1939+
/**
1940+
* <p>
1941+
* Projected time in UTC your satellite will rise above the
1942+
* <a href="https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html">receive mask</a>.
1943+
* This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was
1944+
* active during contact execution for completed contacts.
1945+
* <i>This field is not present for contacts with a <code>SCHEDULING</code> or <code>SCHEDULED</code> status.</i>
1946+
* </p>
1947+
* @public
1948+
*/
1949+
visibilityStartTime?: Date;
1950+
1951+
/**
1952+
* <p>
1953+
* Projected time in UTC your satellite will set below the
1954+
* <a href="https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html">receive mask</a>.
1955+
* This time is based on the satellite's current active ephemeris for future contacts and the ephemeris that was
1956+
* active during contact execution for completed contacts.
1957+
* <i>This field is not present for contacts with a <code>SCHEDULING</code> or <code>SCHEDULED</code> status.</i>
1958+
* </p>
1959+
* @public
1960+
*/
1961+
visibilityEndTime?: Date;
19161962
}
19171963

19181964
/**
@@ -2322,13 +2368,13 @@ export interface CreateMissionProfileRequest {
23222368
name: string | undefined;
23232369

23242370
/**
2325-
* <p>Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass.</p>
2371+
* <p>Amount of time prior to contact start you’d like to receive a Ground Station Contact State Change event indicating an upcoming pass.</p>
23262372
* @public
23272373
*/
23282374
contactPrePassDurationSeconds?: number;
23292375

23302376
/**
2331-
* <p>Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.</p>
2377+
* <p>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.</p>
23322378
* @public
23332379
*/
23342380
contactPostPassDurationSeconds?: number;
@@ -3282,13 +3328,13 @@ export interface UpdateMissionProfileRequest {
32823328
name?: string;
32833329

32843330
/**
3285-
* <p>Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.</p>
3331+
* <p>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.</p>
32863332
* @public
32873333
*/
32883334
contactPrePassDurationSeconds?: number;
32893335

32903336
/**
3291-
* <p>Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.</p>
3337+
* <p>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.</p>
32923338
* @public
32933339
*/
32943340
contactPostPassDurationSeconds?: number;

Diff for: clients/client-groundstation/src/protocols/Aws_restJson1.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,8 @@ export const de_DescribeContactCommand = async (
10641064
satelliteArn: __expectString,
10651065
startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10661066
tags: _json,
1067+
visibilityEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1068+
visibilityStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10671069
});
10681070
Object.assign(contents, doc);
10691071
return contents;
@@ -2047,6 +2049,8 @@ const de_ContactData = (output: any, context: __SerdeContext): ContactData => {
20472049
satelliteArn: __expectString,
20482050
startTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
20492051
tags: _json,
2052+
visibilityEndTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2053+
visibilityStartTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
20502054
}) as any;
20512055
};
20522056

Diff for: codegen/sdk-codegen/aws-models/groundstation.json

+28-4
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,18 @@
907907
"traits": {
908908
"smithy.api#documentation": "<p>Tags assigned to a contact.</p>"
909909
}
910+
},
911+
"visibilityStartTime": {
912+
"target": "smithy.api#Timestamp",
913+
"traits": {
914+
"smithy.api#documentation": "<p>\n Projected time in UTC your satellite will rise above the\n <a href=\"https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html\">receive mask</a>.\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 <i>This field is not present for contacts with a <code>SCHEDULING</code> or <code>SCHEDULED</code> status.</i>\n </p>"
915+
}
916+
},
917+
"visibilityEndTime": {
918+
"target": "smithy.api#Timestamp",
919+
"traits": {
920+
"smithy.api#documentation": "<p>\n Projected time in UTC your satellite will set below the\n <a href=\"https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html\">receive mask</a>.\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 <i>This field is not present for contacts with a <code>SCHEDULING</code> or <code>SCHEDULED</code> status.</i>\n </p>"
921+
}
910922
}
911923
},
912924
"traits": {
@@ -1238,13 +1250,13 @@
12381250
"contactPrePassDurationSeconds": {
12391251
"target": "com.amazonaws.groundstation#DurationInSeconds",
12401252
"traits": {
1241-
"smithy.api#documentation": "<p>Amount of time prior to contact start you’d like to receive a CloudWatch event indicating an upcoming pass.</p>"
1253+
"smithy.api#documentation": "<p>Amount of time prior to contact start you’d like to receive a Ground Station Contact State Change event indicating an upcoming pass.</p>"
12421254
}
12431255
},
12441256
"contactPostPassDurationSeconds": {
12451257
"target": "com.amazonaws.groundstation#DurationInSeconds",
12461258
"traits": {
1247-
"smithy.api#documentation": "<p>Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.</p>"
1259+
"smithy.api#documentation": "<p>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.</p>"
12481260
}
12491261
},
12501262
"minimumViableContactDurationSeconds": {
@@ -1899,6 +1911,18 @@
18991911
"traits": {
19001912
"smithy.api#documentation": "<p>List describing source and destination details for each dataflow edge.</p>"
19011913
}
1914+
},
1915+
"visibilityStartTime": {
1916+
"target": "smithy.api#Timestamp",
1917+
"traits": {
1918+
"smithy.api#documentation": "<p>\n Projected time in UTC your satellite will rise above the\n <a href=\"https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html\">receive mask</a>.\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 </p>"
1919+
}
1920+
},
1921+
"visibilityEndTime": {
1922+
"target": "smithy.api#Timestamp",
1923+
"traits": {
1924+
"smithy.api#documentation": "<p>\n Projected time in UTC your satellite will set below the\n <a href=\"https://docs.aws.amazon.com/ground-station/latest/ug/site-masks.html\">receive mask</a>.\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 </p>"
1925+
}
19021926
}
19031927
},
19041928
"traits": {
@@ -6064,13 +6088,13 @@
60646088
"contactPrePassDurationSeconds": {
60656089
"target": "com.amazonaws.groundstation#DurationInSeconds",
60666090
"traits": {
6067-
"smithy.api#documentation": "<p>Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.</p>"
6091+
"smithy.api#documentation": "<p>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.</p>"
60686092
}
60696093
},
60706094
"contactPostPassDurationSeconds": {
60716095
"target": "com.amazonaws.groundstation#DurationInSeconds",
60726096
"traits": {
6073-
"smithy.api#documentation": "<p>Amount of time after a contact ends that you’d like to receive a CloudWatch event indicating the pass has finished.</p>"
6097+
"smithy.api#documentation": "<p>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.</p>"
60746098
}
60756099
},
60766100
"minimumViableContactDurationSeconds": {

0 commit comments

Comments
 (0)