Bedrock / Client / create_foundation_model_agreement

create_foundation_model_agreement

Bedrock.Client.create_foundation_model_agreement(**kwargs)

Request a model access agreement for the specified model.

See also: AWS API Documentation

Request Syntax

response = client.create_foundation_model_agreement(
    offerToken='string',
    modelId='string'
)
Parameters:
  • offerToken (string) –

    [REQUIRED]

    An offer token encapsulates the information for an offer.

  • modelId (string) –

    [REQUIRED]

    Model Id of the model for the access request.

Return type:

dict

Returns:

Response Syntax

{
    'modelId': 'string'
}

Response Structure

  • (dict) –

    • modelId (string) –

      Model Id of the model for the access request.

Exceptions