create_subscription_target
¶
create_subscription_target(
domain_identifier: DomainId,
environment_identifier: EnvironmentId,
name: SubscriptionTargetName,
type: str,
subscription_target_config: SubscriptionTargetForms,
authorized_principals: AuthorizedPrincipalIdentifiers,
manage_access_role: IamRoleArn,
applicable_asset_types: ApplicableAssetTypes,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
provider: Optional[str] = None,
client_token: Optional[str] = None,
subscription_grant_creation_mode: Optional[SubscriptionGrantCreationMode] = None,
) -> CreateSubscriptionTargetOutput
Creates a subscription target in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which subscription target is created.
-
environment_identifier(EnvironmentId) –The ID of the environment in which subscription target is created.
-
name(SubscriptionTargetName) –The name of the subscription target.
-
type(str) –The type of the subscription target.
-
subscription_target_config(SubscriptionTargetForms) –The configuration of the subscription target.
-
authorized_principals(AuthorizedPrincipalIdentifiers) –The authorized principals of the subscription target.
-
manage_access_role(IamRoleArn) –The manage access role that is used to create the subscription target.
-
applicable_asset_types(ApplicableAssetTypes) –The asset types that can be included in the subscription target.
-
provider(Optional[str], default:None) –The provider of the subscription target.
-
client_token(Optional[str], default:None) –A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
-
subscription_grant_creation_mode(Optional[SubscriptionGrantCreationMode], default:None) –Determines the subscription grant creation mode for this target, defining if grants are auto-created upon subscription approval or managed manually.
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.
-
ConflictException–There is a conflict while performing 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/data_zone.py
2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 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 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 | |