accept_subscription_request
¶
accept_subscription_request(
domain_identifier: DomainId,
identifier: SubscriptionRequestId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
decision_comment: Optional[DecisionComment] = None,
asset_scopes: Optional[AcceptedAssetScopes] = None,
asset_permissions: Optional[AssetPermissions] = None,
) -> AcceptSubscriptionRequestOutput
Accepts a subscription request to a specific asset.
Parameters:
-
domain_identifier(DomainId) –The Amazon DataZone domain where the specified subscription request is being accepted.
-
identifier(SubscriptionRequestId) –The unique identifier of the subscription request that is to be accepted.
-
decision_comment(Optional[DecisionComment], default:None) –A description that specifies the reason for accepting the specified subscription request.
-
asset_scopes(Optional[AcceptedAssetScopes], default:None) –The asset scopes of the accept subscription request.
-
asset_permissions(Optional[AssetPermissions], default:None) –The asset permissions of the accept subscription 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.
-
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.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
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
902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 | |