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
2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 | |