Bedrock / Client / get_foundation_model_availability
get_foundation_model_availability¶
- Bedrock.Client.get_foundation_model_availability(**kwargs)¶
Get information about the Foundation model availability.
See also: AWS API Documentation
Request Syntax
response = client.get_foundation_model_availability( modelId='string' )
- Parameters:
modelId (string) –
[REQUIRED]
The model Id of the foundation model.
- Return type:
dict
- Returns:
Response Syntax
{ 'modelId': 'string', 'agreementAvailability': { 'status': 'AVAILABLE'|'PENDING'|'NOT_AVAILABLE'|'ERROR', 'errorMessage': 'string' }, 'authorizationStatus': 'AUTHORIZED'|'NOT_AUTHORIZED', 'entitlementAvailability': 'AVAILABLE'|'NOT_AVAILABLE', 'regionAvailability': 'AVAILABLE'|'NOT_AVAILABLE' }
Response Structure
(dict) –
modelId (string) –
The model Id of the foundation model.
agreementAvailability (dict) –
Agreement availability.
status (string) –
Status of the agreement.
errorMessage (string) –
Error message.
authorizationStatus (string) –
Authorization status.
entitlementAvailability (string) –
Entitlement availability.
regionAvailability (string) –
Region availability.
Exceptions