getGroupConfiguration method
Returns the service configuration associated with the specified resource group. For details about the service configuration syntax, see Service configurations for resource groups.
Minimum permissions
To run this command, you must have the following permissions:
-
resource-groups:GetGroupConfiguration
May throw BadRequestException. May throw ForbiddenException. May throw NotFoundException. May throw MethodNotAllowedException. May throw TooManyRequestsException. May throw InternalServerErrorException.
Parameter group
:
The name or the ARN of the resource group.
Implementation
Future<GetGroupConfigurationOutput> getGroupConfiguration({
String? group,
}) async {
_s.validateStringLength(
'group',
group,
1,
1600,
);
final $payload = <String, dynamic>{
if (group != null) 'Group': group,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/get-group-configuration',
exceptionFnMap: _exceptionFns,
);
return GetGroupConfigurationOutput.fromJson(response);
}