describeAppImageConfig method
Future<DescribeAppImageConfigResponse>
describeAppImageConfig({
- required String appImageConfigName,
Describes an AppImageConfig.
May throw ResourceNotFound.
Parameter appImageConfigName
:
The name of the AppImageConfig to describe.
Implementation
Future<DescribeAppImageConfigResponse> describeAppImageConfig({
required String appImageConfigName,
}) async {
ArgumentError.checkNotNull(appImageConfigName, 'appImageConfigName');
_s.validateStringLength(
'appImageConfigName',
appImageConfigName,
0,
63,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeAppImageConfig'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AppImageConfigName': appImageConfigName,
},
);
return DescribeAppImageConfigResponse.fromJson(jsonResponse.body);
}