@@ -56,6 +56,11 @@ import {
5656 DescribeEphemerisCommandInput ,
5757 DescribeEphemerisCommandOutput ,
5858} from "./commands/DescribeEphemerisCommand" ;
59+ import {
60+ GetAgentConfigurationCommand ,
61+ GetAgentConfigurationCommandInput ,
62+ GetAgentConfigurationCommandOutput ,
63+ } from "./commands/GetAgentConfigurationCommand" ;
5964import { GetConfigCommand , GetConfigCommandInput , GetConfigCommandOutput } from "./commands/GetConfigCommand" ;
6065import {
6166 GetDataflowEndpointGroupCommand ,
@@ -113,6 +118,11 @@ import {
113118 ListTagsForResourceCommandInput ,
114119 ListTagsForResourceCommandOutput ,
115120} from "./commands/ListTagsForResourceCommand" ;
121+ import {
122+ RegisterAgentCommand ,
123+ RegisterAgentCommandInput ,
124+ RegisterAgentCommandOutput ,
125+ } from "./commands/RegisterAgentCommand" ;
116126import {
117127 ReserveContactCommand ,
118128 ReserveContactCommandInput ,
@@ -124,6 +134,11 @@ import {
124134 UntagResourceCommandInput ,
125135 UntagResourceCommandOutput ,
126136} from "./commands/UntagResourceCommand" ;
137+ import {
138+ UpdateAgentStatusCommand ,
139+ UpdateAgentStatusCommandInput ,
140+ UpdateAgentStatusCommandOutput ,
141+ } from "./commands/UpdateAgentStatusCommand" ;
127142import {
128143 UpdateConfigCommand ,
129144 UpdateConfigCommandInput ,
@@ -502,6 +517,38 @@ export class GroundStation extends GroundStationClient {
502517 }
503518 }
504519
520+ /**
521+ * <p>Gets the latest configuration information for a registered agent.</p>
522+ */
523+ public getAgentConfiguration (
524+ args : GetAgentConfigurationCommandInput ,
525+ options ?: __HttpHandlerOptions
526+ ) : Promise < GetAgentConfigurationCommandOutput > ;
527+ public getAgentConfiguration (
528+ args : GetAgentConfigurationCommandInput ,
529+ cb : ( err : any , data ?: GetAgentConfigurationCommandOutput ) => void
530+ ) : void ;
531+ public getAgentConfiguration (
532+ args : GetAgentConfigurationCommandInput ,
533+ options : __HttpHandlerOptions ,
534+ cb : ( err : any , data ?: GetAgentConfigurationCommandOutput ) => void
535+ ) : void ;
536+ public getAgentConfiguration (
537+ args : GetAgentConfigurationCommandInput ,
538+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: GetAgentConfigurationCommandOutput ) => void ) ,
539+ cb ?: ( err : any , data ?: GetAgentConfigurationCommandOutput ) => void
540+ ) : Promise < GetAgentConfigurationCommandOutput > | void {
541+ const command = new GetAgentConfigurationCommand ( args ) ;
542+ if ( typeof optionsOrCb === "function" ) {
543+ this . send ( command , optionsOrCb ) ;
544+ } else if ( typeof cb === "function" ) {
545+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
546+ this . send ( command , optionsOrCb || { } , cb ) ;
547+ } else {
548+ return this . send ( command , optionsOrCb ) ;
549+ }
550+ }
551+
505552 /**
506553 * <p>Returns <code>Config</code> information.</p>
507554 * <p>Only one <code>Config</code> response can be returned.</p>
@@ -904,6 +951,38 @@ export class GroundStation extends GroundStationClient {
904951 }
905952 }
906953
954+ /**
955+ * <p>Registers a new agent with AWS Groundstation.</p>
956+ */
957+ public registerAgent (
958+ args : RegisterAgentCommandInput ,
959+ options ?: __HttpHandlerOptions
960+ ) : Promise < RegisterAgentCommandOutput > ;
961+ public registerAgent (
962+ args : RegisterAgentCommandInput ,
963+ cb : ( err : any , data ?: RegisterAgentCommandOutput ) => void
964+ ) : void ;
965+ public registerAgent (
966+ args : RegisterAgentCommandInput ,
967+ options : __HttpHandlerOptions ,
968+ cb : ( err : any , data ?: RegisterAgentCommandOutput ) => void
969+ ) : void ;
970+ public registerAgent (
971+ args : RegisterAgentCommandInput ,
972+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: RegisterAgentCommandOutput ) => void ) ,
973+ cb ?: ( err : any , data ?: RegisterAgentCommandOutput ) => void
974+ ) : Promise < RegisterAgentCommandOutput > | void {
975+ const command = new RegisterAgentCommand ( args ) ;
976+ if ( typeof optionsOrCb === "function" ) {
977+ this . send ( command , optionsOrCb ) ;
978+ } else if ( typeof cb === "function" ) {
979+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
980+ this . send ( command , optionsOrCb || { } , cb ) ;
981+ } else {
982+ return this . send ( command , optionsOrCb ) ;
983+ }
984+ }
985+
907986 /**
908987 * <p>Reserves a contact using specified parameters.</p>
909988 */
@@ -994,6 +1073,38 @@ export class GroundStation extends GroundStationClient {
9941073 }
9951074 }
9961075
1076+ /**
1077+ * <p>Update the status of the agent.</p>
1078+ */
1079+ public updateAgentStatus (
1080+ args : UpdateAgentStatusCommandInput ,
1081+ options ?: __HttpHandlerOptions
1082+ ) : Promise < UpdateAgentStatusCommandOutput > ;
1083+ public updateAgentStatus (
1084+ args : UpdateAgentStatusCommandInput ,
1085+ cb : ( err : any , data ?: UpdateAgentStatusCommandOutput ) => void
1086+ ) : void ;
1087+ public updateAgentStatus (
1088+ args : UpdateAgentStatusCommandInput ,
1089+ options : __HttpHandlerOptions ,
1090+ cb : ( err : any , data ?: UpdateAgentStatusCommandOutput ) => void
1091+ ) : void ;
1092+ public updateAgentStatus (
1093+ args : UpdateAgentStatusCommandInput ,
1094+ optionsOrCb ?: __HttpHandlerOptions | ( ( err : any , data ?: UpdateAgentStatusCommandOutput ) => void ) ,
1095+ cb ?: ( err : any , data ?: UpdateAgentStatusCommandOutput ) => void
1096+ ) : Promise < UpdateAgentStatusCommandOutput > | void {
1097+ const command = new UpdateAgentStatusCommand ( args ) ;
1098+ if ( typeof optionsOrCb === "function" ) {
1099+ this . send ( command , optionsOrCb ) ;
1100+ } else if ( typeof cb === "function" ) {
1101+ if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb } ` ) ;
1102+ this . send ( command , optionsOrCb || { } , cb ) ;
1103+ } else {
1104+ return this . send ( command , optionsOrCb ) ;
1105+ }
1106+ }
1107+
9971108 /**
9981109 * <p>Updates the <code>Config</code> used when scheduling contacts.</p>
9991110 * <p>Updating a <code>Config</code> will not update the execution parameters
0 commit comments