describeFargateProfile method

Future<DescribeFargateProfileResponse> describeFargateProfile({
  1. required String clusterName,
  2. required String fargateProfileName,
})

Describes an Fargate profile.

May throw ClientException. May throw InvalidParameterException. May throw ResourceNotFoundException. May throw ServerException.

Parameter clusterName : The name of your cluster.

Parameter fargateProfileName : The name of the Fargate profile to describe.

Implementation

Future<DescribeFargateProfileResponse> describeFargateProfile({
  required String clusterName,
  required String fargateProfileName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/clusters/${Uri.encodeComponent(clusterName)}/fargate-profiles/${Uri.encodeComponent(fargateProfileName)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeFargateProfileResponse.fromJson(response);
}