create_user_profile
async
¶
create_user_profile(
domain_identifier: DomainId,
user_identifier: UserIdentifier,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
user_type: Optional[UserType] = None,
session_name: Optional[str] = None,
client_token: Optional[str] = None,
) -> CreateUserProfileOutput
Creates a user profile in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain in which a user profile is created.
-
user_identifier(UserIdentifier) –The identifier of the user for which the user profile is created.
-
user_type(Optional[UserType], default:None) –The user type of the user for which the user profile is created.
-
session_name(Optional[str], default:None) –The session name for IAM role sessions.
-
client_token(Optional[str], default:None) –A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 | |