put_code_binding

put_code_binding(**kwargs)

Put code binding URI

See also: AWS API Documentation

Request Syntax

response = client.put_code_binding(
    Language='string',
    RegistryName='string',
    SchemaName='string',
    SchemaVersion='string'
)
Parameters
  • Language (string) --

    [REQUIRED]

    The language of the code binding.

  • RegistryName (string) --

    [REQUIRED]

    The name of the registry.

  • SchemaName (string) --

    [REQUIRED]

    The name of the schema.

  • SchemaVersion (string) -- Specifying this limits the results to only this schema version.
Return type

dict

Returns

Response Syntax

{
    'CreationDate': datetime(2015, 1, 1),
    'LastModified': datetime(2015, 1, 1),
    'SchemaVersion': 'string',
    'Status': 'CREATE_IN_PROGRESS'|'CREATE_COMPLETE'|'CREATE_FAILED'
}

Response Structure

  • (dict) --

    202 response

    • CreationDate (datetime) --

      The time and date that the code binding was created.

    • LastModified (datetime) --

      The date and time that code bindings were modified.

    • SchemaVersion (string) --

      The version number of the schema.

    • Status (string) --

      The current status of code binding generation.

Exceptions

  • Schemas.Client.exceptions.GoneException
  • Schemas.Client.exceptions.BadRequestException
  • Schemas.Client.exceptions.UnauthorizedException
  • Schemas.Client.exceptions.InternalServerErrorException
  • Schemas.Client.exceptions.ForbiddenException
  • Schemas.Client.exceptions.NotFoundException
  • Schemas.Client.exceptions.TooManyRequestsException