Module Values_0.CreateDataTableAttributeResponseSource

Adds an attribute to an existing data table. Creating a new primary attribute uses the empty value for the specified value type for all existing records. This should not affect uniqueness of published data tables since the existing primary values will already be unique. Creating attributes does not create any values. System managed tables may not allow customers to create new attributes.

Sourcetype nonrec t = {
  1. name : DataTableName.t option;
    (*

    The name of the created attribute since it also serves as the identifier. This could be different than the parameter passed in since it will be trimmed for whitespace.

    *)
  2. attributeId : DataTableId.t option;
    (*

    The unique identifier assigned to the created attribute.

    *)
  3. lockVersion : DataTableLockVersion.t option;
    (*

    The lock version information for the data table and attribute, used for optimistic locking and versioning.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `DuplicateResourceException of DuplicateResourceException.t
  4. | `InternalServiceException of InternalServiceException.t
  5. | `InvalidParameterException of InvalidParameterException.t
  6. | `InvalidRequestException of InvalidRequestException.t
  7. | `ResourceNotFoundException of ResourceNotFoundException.t
  8. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  9. | `ThrottlingException of ThrottlingException.t
  10. | `Unknown_operation_error of string * string option
]
Sourceval make : ?name:??? -> ?attributeId:??? -> ?lockVersion:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `DuplicateResourceException of DuplicateResourceException.t | `InternalServiceException of InternalServiceException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `DuplicateResourceException of DuplicateResourceException.t | `InternalServiceException of InternalServiceException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidRequestException of InvalidRequestException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of DataTableName.t | `Structure of (string * [> `String of String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t