getLandingZone method

Future<GetLandingZoneOutput> getLandingZone({
  1. required String landingZoneIdentifier,
})

Returns details about the landing zone. Displays a message in case of error.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter landingZoneIdentifier : The unique identifier of the landing zone.

Implementation

Future<GetLandingZoneOutput> getLandingZone({
  required String landingZoneIdentifier,
}) async {
  final $payload = <String, dynamic>{
    'landingZoneIdentifier': landingZoneIdentifier,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/get-landingzone',
    exceptionFnMap: _exceptionFns,
  );
  return GetLandingZoneOutput.fromJson(response);
}