getTemplateGroupAccessControlEntry method

Future<GetTemplateGroupAccessControlEntryResponse> getTemplateGroupAccessControlEntry({
  1. required String groupSecurityIdentifier,
  2. required String templateArn,
})

Retrieves the group access control entries for a template.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter groupSecurityIdentifier : Security identifier (SID) of the group object from Active Directory. The SID starts with "S-".

Parameter templateArn : The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.

Implementation

Future<GetTemplateGroupAccessControlEntryResponse>
    getTemplateGroupAccessControlEntry({
  required String groupSecurityIdentifier,
  required String templateArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/templates/${Uri.encodeComponent(templateArn)}/accessControlEntries/${Uri.encodeComponent(groupSecurityIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetTemplateGroupAccessControlEntryResponse.fromJson(response);
}