| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GroundStation.ListContacts
Description
Returns a list of contacts.
If statusList contains AVAILABLE, the request must include
groundStation, missionprofileArn, and satelliteArn.
This operation returns paginated results.
Synopsis
- data ListContacts = ListContacts' {}
- newListContacts :: UTCTime -> UTCTime -> ListContacts
- listContacts_groundStation :: Lens' ListContacts (Maybe Text)
- listContacts_maxResults :: Lens' ListContacts (Maybe Natural)
- listContacts_missionProfileArn :: Lens' ListContacts (Maybe Text)
- listContacts_nextToken :: Lens' ListContacts (Maybe Text)
- listContacts_satelliteArn :: Lens' ListContacts (Maybe Text)
- listContacts_endTime :: Lens' ListContacts UTCTime
- listContacts_startTime :: Lens' ListContacts UTCTime
- listContacts_statusList :: Lens' ListContacts [ContactStatus]
- data ListContactsResponse = ListContactsResponse' {
- contactList :: Maybe [ContactData]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListContactsResponse :: Int -> ListContactsResponse
- listContactsResponse_contactList :: Lens' ListContactsResponse (Maybe [ContactData])
- listContactsResponse_nextToken :: Lens' ListContactsResponse (Maybe Text)
- listContactsResponse_httpStatus :: Lens' ListContactsResponse Int
Creating a Request
data ListContacts Source #
See: newListContacts smart constructor.
Constructors
| ListContacts' | |
Fields
| |
Instances
Arguments
| :: UTCTime | |
| -> UTCTime | |
| -> ListContacts |
Create a value of ListContacts with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListContacts, listContacts_groundStation - Name of a ground station.
$sel:maxResults:ListContacts', listContacts_maxResults - Maximum number of contacts returned.
ListContacts, listContacts_missionProfileArn - ARN of a mission profile.
ListContacts, listContacts_nextToken - Next token returned in the request of a previous ListContacts call.
Used to get the next page of results.
ListContacts, listContacts_satelliteArn - ARN of a satellite.
ListContacts, listContacts_endTime - End time of a contact in UTC.
ListContacts, listContacts_startTime - Start time of a contact in UTC.
$sel:statusList:ListContacts', listContacts_statusList - Status of a contact reservation.
Request Lenses
listContacts_groundStation :: Lens' ListContacts (Maybe Text) Source #
Name of a ground station.
listContacts_maxResults :: Lens' ListContacts (Maybe Natural) Source #
Maximum number of contacts returned.
listContacts_missionProfileArn :: Lens' ListContacts (Maybe Text) Source #
ARN of a mission profile.
listContacts_nextToken :: Lens' ListContacts (Maybe Text) Source #
Next token returned in the request of a previous ListContacts call.
Used to get the next page of results.
listContacts_satelliteArn :: Lens' ListContacts (Maybe Text) Source #
ARN of a satellite.
listContacts_endTime :: Lens' ListContacts UTCTime Source #
End time of a contact in UTC.
listContacts_startTime :: Lens' ListContacts UTCTime Source #
Start time of a contact in UTC.
listContacts_statusList :: Lens' ListContacts [ContactStatus] Source #
Status of a contact reservation.
Destructuring the Response
data ListContactsResponse Source #
See: newListContactsResponse smart constructor.
Constructors
| ListContactsResponse' | |
Fields
| |
Instances
newListContactsResponse Source #
Arguments
| :: Int | |
| -> ListContactsResponse |
Create a value of ListContactsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:contactList:ListContactsResponse', listContactsResponse_contactList - List of contacts.
ListContacts, listContactsResponse_nextToken - Next token returned in the response of a previous ListContacts call.
Used to get the next page of results.
$sel:httpStatus:ListContactsResponse', listContactsResponse_httpStatus - The response's http status code.
Response Lenses
listContactsResponse_contactList :: Lens' ListContactsResponse (Maybe [ContactData]) Source #
List of contacts.
listContactsResponse_nextToken :: Lens' ListContactsResponse (Maybe Text) Source #
Next token returned in the response of a previous ListContacts call.
Used to get the next page of results.
listContactsResponse_httpStatus :: Lens' ListContactsResponse Int Source #
The response's http status code.