verify_procurement_portal_validation
async
¶
verify_procurement_portal_validation(
procurement_portal_preference_arn: ProcurementPortalPreferenceArnString,
code: BasicStringWithoutSpace,
*,
config_overrides: Optional[AsyncInvoicingClientConfig] = None,
client_token: Optional[BasicStringWithoutSpace] = None,
) -> VerifyProcurementPortalValidationResponse
This feature API is subject to changing at any time. For more information, see the Amazon Web Services Service Terms (Betas and Previews).
Submits a validation code to complete the validation of a procurement portal preference. Use this operation after calling SendProcurementPortalValidation to confirm ownership and connectivity of the configured procurement portal endpoint.
Parameters:
-
procurement_portal_preference_arn(ProcurementPortalPreferenceArnString) –The Amazon Resource Name (ARN) of the procurement portal preference to validate.
-
code(BasicStringWithoutSpace) –The validation code received from the procurement portal in response to a previous
SendProcurementPortalValidationrequest. -
client_token(Optional[BasicStringWithoutSpace], default:None) –A unique, case-sensitive identifier that you provide to ensure idempotency of the request.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action.
-
InternalServerException–The processing request failed because of an unknown error, exception, or failure.
-
ResourceNotFoundException–The resource could not be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
VerifyProcurementPortalValidation call
>>> await client.verify_procurement_portal_validation(procurement_portal_preference_arn='arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd', code='validation-code-123')
Source code in docs_src/capo_invoicing/_services/async_invoicing.py
1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 | |