verify_procurement_portal_validation
¶
verify_procurement_portal_validation(
procurement_portal_preference_arn: ProcurementPortalPreferenceArnString,
code: BasicStringWithoutSpace,
*,
config_overrides: Optional[InvoicingClientConfig] = 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
>>> 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/invoicing.py
1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 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 | |