listDevelopmentSchemaArns method

Future<ListDevelopmentSchemaArnsResponse> listDevelopmentSchemaArns({
  1. int? maxResults,
  2. String? nextToken,
})

Retrieves each Amazon Resource Name (ARN) of schemas in the development state.

May throw AccessDeniedException. May throw InternalServiceException. May throw InvalidArnException. May throw InvalidNextTokenException. May throw LimitExceededException. May throw ResourceNotFoundException. May throw RetryableConflictException. May throw ValidationException.

Parameter maxResults : The maximum number of results to retrieve.

Parameter nextToken : The pagination token.

Implementation

Future<ListDevelopmentSchemaArnsResponse> listDevelopmentSchemaArns({
  int? maxResults,
  String? nextToken,
}) async {
  _s.validateNumRange(
    'maxResults',
    maxResults,
    1,
    1152921504606846976,
  );
  final $payload = <String, dynamic>{
    if (maxResults != null) 'MaxResults': maxResults,
    if (nextToken != null) 'NextToken': nextToken,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/amazonclouddirectory/2017-01-11/schema/development',
    exceptionFnMap: _exceptionFns,
  );
  return ListDevelopmentSchemaArnsResponse.fromJson(response);
}