| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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' {
- missionProfileArn :: Maybe Text
- satelliteArn :: Maybe Text
- nextToken :: Maybe Text
- groundStation :: Maybe Text
- maxResults :: Maybe Int
- endTime :: POSIX
- startTime :: POSIX
- statusList :: [ContactStatus]
- newListContacts :: UTCTime -> UTCTime -> ListContacts
- listContacts_missionProfileArn :: Lens' ListContacts (Maybe Text)
- listContacts_satelliteArn :: Lens' ListContacts (Maybe Text)
- listContacts_nextToken :: Lens' ListContacts (Maybe Text)
- listContacts_groundStation :: Lens' ListContacts (Maybe Text)
- listContacts_maxResults :: Lens' ListContacts (Maybe Int)
- 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
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:
$sel:missionProfileArn:ListContacts', listContacts_missionProfileArn - ARN of a mission profile.
$sel:satelliteArn:ListContacts', listContacts_satelliteArn - ARN of a satellite.
$sel:nextToken:ListContacts', listContacts_nextToken - Next token returned in the request of a previous ListContacts call.
Used to get the next page of results.
$sel:groundStation:ListContacts', listContacts_groundStation - Name of a ground station.
$sel:maxResults:ListContacts', listContacts_maxResults - Maximum number of contacts returned.
$sel:endTime:ListContacts', listContacts_endTime - End time of a contact.
$sel:startTime:ListContacts', listContacts_startTime - Start time of a contact.
$sel:statusList:ListContacts', listContacts_statusList - Status of a contact reservation.
Request Lenses
listContacts_missionProfileArn :: Lens' ListContacts (Maybe Text) Source #
ARN of a mission profile.
listContacts_satelliteArn :: Lens' ListContacts (Maybe Text) Source #
ARN of a satellite.
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_groundStation :: Lens' ListContacts (Maybe Text) Source #
Name of a ground station.
listContacts_maxResults :: Lens' ListContacts (Maybe Int) Source #
Maximum number of contacts returned.
listContacts_endTime :: Lens' ListContacts UTCTime Source #
End time of a contact.
listContacts_startTime :: Lens' ListContacts UTCTime Source #
Start time of a contact.
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.
$sel:nextToken: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.