getTypedLinkFacetInformation method

Future<GetTypedLinkFacetInformationResponse> getTypedLinkFacetInformation({
  1. required String name,
  2. required String schemaArn,
})

Returns the identity attribute order for a specific TypedLinkFacet. For more information, see Typed link.

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

Parameter name : The unique name of the typed link facet.

Parameter schemaArn : The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns.

Implementation

Future<GetTypedLinkFacetInformationResponse> getTypedLinkFacetInformation({
  required String name,
  required String schemaArn,
}) async {
  ArgumentError.checkNotNull(name, 'name');
  ArgumentError.checkNotNull(schemaArn, 'schemaArn');
  final headers = <String, String>{
    'x-amz-data-partition': schemaArn.toString(),
  };
  final $payload = <String, dynamic>{
    'Name': name,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/amazonclouddirectory/2017-01-11/typedlink/facet/get',
    headers: headers,
    exceptionFnMap: _exceptionFns,
  );
  return GetTypedLinkFacetInformationResponse.fromJson(response);
}