put_application_access_scope
async
¶
put_application_access_scope(
scope: Scope,
application_arn: ApplicationArn,
*,
config_overrides: Optional[AsyncSSOAdminClientConfig] = None,
authorized_targets: Optional[ScopeTargets] = None,
) -> None
Adds or updates the list of authorized targets for an IAM Identity Center access scope for an application.
Parameters:
-
scope(Scope) –Specifies the name of the access scope to be associated with the specified targets.
-
authorized_targets(Optional[ScopeTargets], default:None) –Specifies an array list of ARNs that represent the authorized targets for this access scope.
-
application_arn(ApplicationArn) –Specifies the ARN of the application with the access scope with the targets to add or update.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure with an internal server.
-
ResourceNotFoundException–Indicates that a requested resource is not found.
-
ThrottlingException–Indicates that the principal has crossed the throttling limits of the API operations.
-
ValidationException–The request failed because it contains a syntax error.
-
UnknownServiceError–The service returned an error code this client does not model.