describeSubscribedWorkteam method
Future<DescribeSubscribedWorkteamResponse>
describeSubscribedWorkteam({
- required String workteamArn,
Gets information about a work team provided by a vendor. It returns details about the subscription with a vendor in the AWS Marketplace.
Parameter workteamArn
:
The Amazon Resource Name (ARN) of the subscribed work team to describe.
Implementation
Future<DescribeSubscribedWorkteamResponse> describeSubscribedWorkteam({
required String workteamArn,
}) async {
ArgumentError.checkNotNull(workteamArn, 'workteamArn');
_s.validateStringLength(
'workteamArn',
workteamArn,
0,
256,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeSubscribedWorkteam'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'WorkteamArn': workteamArn,
},
);
return DescribeSubscribedWorkteamResponse.fromJson(jsonResponse.body);
}