create_flow
¶
create_flow(
aws_account_id: AccountId,
name: TitleInput,
flow_definition: SensitiveDocument,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
description: Optional[FlowDescriptionInput] = None,
permissions: Optional[PermissionsList] = None,
client_token: Optional[CreateFlowRequestClientTokenString] = None,
) -> CreateFlowResponse
Creates a new flow in the specified Amazon Web Services account. Creates both a DRAFT and PUBLISHED (auto-published) version.
This operation is idempotent. Supply a ClientToken to safely retry without creating duplicate resources.
Parameters:
-
aws_account_id(AccountId) –The ID of the Amazon Web Services account where you want to create the flow.
-
name(TitleInput) –The display name for the flow.
-
description(Optional[FlowDescriptionInput], default:None) –The description for the flow.
-
flow_definition(SensitiveDocument) –The definition of the flow, specifying the steps and configurations. This is the flow definition in Quick Flow's internal format. The format is subject to change.
Always derive or depend on the flow definition from the
DescribeFlowoperation to ensure you are working with the latest format. -
permissions(Optional[PermissionsList], default:None) –Initial permissions for the flow. If omitted, the flow is created without any permissions.
-
client_token(Optional[CreateFlowRequestClientTokenString], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceExistsException–The resource specified already exists.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 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 | |