putConsoleAuthorizationConfiguration method
Future<PutConsoleAuthorizationConfigurationOutput>
putConsoleAuthorizationConfiguration({
- String? targetId,
Enable console authorization configuration with automatic scope detection
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw TooManyRequestsError.
May throw ValidationException.
Parameter targetId :
Target account identifier
Implementation
Future<PutConsoleAuthorizationConfigurationOutput>
putConsoleAuthorizationConfiguration({
String? targetId,
}) async {
final $payload = <String, dynamic>{
if (targetId != null) 'targetId': targetId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/put-console-authorization-configuration',
endpoint: _resolveEndpoint(
isControlPlane: true,
),
exceptionFnMap: _exceptionFns,
);
return PutConsoleAuthorizationConfigurationOutput.fromJson(response);
}