describeSecurityProfile method
Future<DescribeSecurityProfileResponse>
describeSecurityProfile({
- required String securityProfileName,
Gets information about a Device Defender security profile.
May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw InternalFailureException.
Parameter securityProfileName
:
The name of the security profile whose information you want to get.
Implementation
Future<DescribeSecurityProfileResponse> describeSecurityProfile({
required String securityProfileName,
}) async {
ArgumentError.checkNotNull(securityProfileName, 'securityProfileName');
_s.validateStringLength(
'securityProfileName',
securityProfileName,
1,
128,
isRequired: true,
);
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/security-profiles/${Uri.encodeComponent(securityProfileName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeSecurityProfileResponse.fromJson(response);
}