update_template_group_access_control_entry
async
¶
update_template_group_access_control_entry(
template_arn: TemplateArn,
group_security_identifier: GroupSecurityIdentifier,
*,
config_overrides: Optional[AsyncPcaConnectorAdClientConfig] = None,
group_display_name: Optional[DisplayName] = None,
access_rights: Optional[AccessRights] = None,
) -> None
Update a group access control entry you created using CreateTemplateGroupAccessControlEntry.
Parameters:
-
template_arn(TemplateArn) –The Amazon Resource Name (ARN) that was returned when you called CreateTemplate.
-
group_security_identifier(GroupSecurityIdentifier) –Security identifier (SID) of the group object from Active Directory. The SID starts with "S-".
-
group_display_name(Optional[DisplayName], default:None) –Name of the Active Directory group. This name does not need to match the group name in Active Directory.
-
access_rights(Optional[AccessRights], default:None) –Allow or deny permissions for an Active Directory group to enroll or autoenroll certificates for a template.
Raises:
-
AccessDeniedException–You can receive this error if you attempt to create a resource share when you don't have the required permissions. This can be caused by insufficient permissions in policies attached to your Amazon Web Services Identity and Access Management (IAM) principal. It can also happen because of restrictions in place from an Amazon Web Services Organizations service control policy (SCP) that affects your Amazon Web Services account.
-
ConflictException–This request cannot be completed for one of the following reasons because the requested resource was being concurrently modified by another request.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure with an internal server.
-
ResourceNotFoundException–The operation tried to access a nonexistent resource. The resource might not be specified correctly, or its status might not be ACTIVE.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–An input validation error occurred. For example, invalid characters in a template name, or if a pagination token is invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_pca_connector_ad/_services/async_pca_connector_ad.py
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 | |