Documentation ¶
Overview ¶
Package ddbv1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterDDBAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDDBAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DDBAPIClient) error
- func RegisterDDBAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDDBAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DDBAPIServer) error
- func RegisterDDBAPIServer(s grpc.ServiceRegistrar, srv DDBAPIServer)
- type AttributeDefinition
- func (*AttributeDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeDefinition) GetAttributeName() string
- func (x *AttributeDefinition) GetAttributeType() string
- func (*AttributeDefinition) ProtoMessage()
- func (x *AttributeDefinition) ProtoReflect() protoreflect.Message
- func (x *AttributeDefinition) Reset()
- func (x *AttributeDefinition) String() string
- func (m *AttributeDefinition) Validate() error
- func (m *AttributeDefinition) ValidateAll() error
- type AttributeDefinitionMultiError
- type AttributeDefinitionValidationError
- func (e AttributeDefinitionValidationError) Cause() error
- func (e AttributeDefinitionValidationError) Error() string
- func (e AttributeDefinitionValidationError) ErrorName() string
- func (e AttributeDefinitionValidationError) Field() string
- func (e AttributeDefinitionValidationError) Key() bool
- func (e AttributeDefinitionValidationError) Reason() string
- type ContinuousBackups
- func (*ContinuousBackups) Descriptor() ([]byte, []int)deprecated
- func (x *ContinuousBackups) GetContinuousBackupsStatus() ContinuousBackups_Status
- func (x *ContinuousBackups) GetEarliestRestorableDateTime() *timestamppb.Timestamp
- func (x *ContinuousBackups) GetLatestRestorableDateTime() *timestamppb.Timestamp
- func (x *ContinuousBackups) GetPointInTimeRecoveryStatus() ContinuousBackups_Status
- func (*ContinuousBackups) ProtoMessage()
- func (x *ContinuousBackups) ProtoReflect() protoreflect.Message
- func (x *ContinuousBackups) Reset()
- func (x *ContinuousBackups) String() string
- func (m *ContinuousBackups) Validate() error
- func (m *ContinuousBackups) ValidateAll() error
- type ContinuousBackupsMultiError
- type ContinuousBackupsValidationError
- func (e ContinuousBackupsValidationError) Cause() error
- func (e ContinuousBackupsValidationError) Error() string
- func (e ContinuousBackupsValidationError) ErrorName() string
- func (e ContinuousBackupsValidationError) Field() string
- func (e ContinuousBackupsValidationError) Key() bool
- func (e ContinuousBackupsValidationError) Reason() string
- type ContinuousBackups_Status
- func (ContinuousBackups_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ContinuousBackups_Status) Enum() *ContinuousBackups_Status
- func (ContinuousBackups_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContinuousBackups_Status) Number() protoreflect.EnumNumber
- func (x ContinuousBackups_Status) String() string
- func (ContinuousBackups_Status) Type() protoreflect.EnumType
- type DDBAPIClient
- type DDBAPIServer
- type DescribeContinuousBackupsRequest
- func (*DescribeContinuousBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeContinuousBackupsRequest) GetAccount() string
- func (x *DescribeContinuousBackupsRequest) GetRegion() string
- func (x *DescribeContinuousBackupsRequest) GetTableName() string
- func (*DescribeContinuousBackupsRequest) ProtoMessage()
- func (x *DescribeContinuousBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeContinuousBackupsRequest) Reset()
- func (x *DescribeContinuousBackupsRequest) String() string
- func (m *DescribeContinuousBackupsRequest) Validate() error
- func (m *DescribeContinuousBackupsRequest) ValidateAll() error
- type DescribeContinuousBackupsRequestMultiError
- type DescribeContinuousBackupsRequestValidationError
- func (e DescribeContinuousBackupsRequestValidationError) Cause() error
- func (e DescribeContinuousBackupsRequestValidationError) Error() string
- func (e DescribeContinuousBackupsRequestValidationError) ErrorName() string
- func (e DescribeContinuousBackupsRequestValidationError) Field() string
- func (e DescribeContinuousBackupsRequestValidationError) Key() bool
- func (e DescribeContinuousBackupsRequestValidationError) Reason() string
- type DescribeContinuousBackupsResponse
- func (*DescribeContinuousBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeContinuousBackupsResponse) GetContinuousBackups() *ContinuousBackups
- func (*DescribeContinuousBackupsResponse) ProtoMessage()
- func (x *DescribeContinuousBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeContinuousBackupsResponse) Reset()
- func (x *DescribeContinuousBackupsResponse) String() string
- func (m *DescribeContinuousBackupsResponse) Validate() error
- func (m *DescribeContinuousBackupsResponse) ValidateAll() error
- type DescribeContinuousBackupsResponseMultiError
- type DescribeContinuousBackupsResponseValidationError
- func (e DescribeContinuousBackupsResponseValidationError) Cause() error
- func (e DescribeContinuousBackupsResponseValidationError) Error() string
- func (e DescribeContinuousBackupsResponseValidationError) ErrorName() string
- func (e DescribeContinuousBackupsResponseValidationError) Field() string
- func (e DescribeContinuousBackupsResponseValidationError) Key() bool
- func (e DescribeContinuousBackupsResponseValidationError) Reason() string
- type DescribeTableRequest
- func (*DescribeTableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeTableRequest) GetAccount() string
- func (x *DescribeTableRequest) GetRegion() string
- func (x *DescribeTableRequest) GetTableName() string
- func (*DescribeTableRequest) ProtoMessage()
- func (x *DescribeTableRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeTableRequest) Reset()
- func (x *DescribeTableRequest) String() string
- func (m *DescribeTableRequest) Validate() error
- func (m *DescribeTableRequest) ValidateAll() error
- type DescribeTableRequestMultiError
- type DescribeTableRequestValidationError
- func (e DescribeTableRequestValidationError) Cause() error
- func (e DescribeTableRequestValidationError) Error() string
- func (e DescribeTableRequestValidationError) ErrorName() string
- func (e DescribeTableRequestValidationError) Field() string
- func (e DescribeTableRequestValidationError) Key() bool
- func (e DescribeTableRequestValidationError) Reason() string
- type DescribeTableResponse
- func (*DescribeTableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeTableResponse) GetTable() *Table
- func (*DescribeTableResponse) ProtoMessage()
- func (x *DescribeTableResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeTableResponse) Reset()
- func (x *DescribeTableResponse) String() string
- func (m *DescribeTableResponse) Validate() error
- func (m *DescribeTableResponse) ValidateAll() error
- type DescribeTableResponseMultiError
- type DescribeTableResponseValidationError
- func (e DescribeTableResponseValidationError) Cause() error
- func (e DescribeTableResponseValidationError) Error() string
- func (e DescribeTableResponseValidationError) ErrorName() string
- func (e DescribeTableResponseValidationError) Field() string
- func (e DescribeTableResponseValidationError) Key() bool
- func (e DescribeTableResponseValidationError) Reason() string
- type GlobalSecondaryIndex
- func (*GlobalSecondaryIndex) Descriptor() ([]byte, []int)deprecated
- func (x *GlobalSecondaryIndex) GetName() string
- func (x *GlobalSecondaryIndex) GetProvisionedThroughput() *Throughput
- func (x *GlobalSecondaryIndex) GetStatus() GlobalSecondaryIndex_Status
- func (*GlobalSecondaryIndex) ProtoMessage()
- func (x *GlobalSecondaryIndex) ProtoReflect() protoreflect.Message
- func (x *GlobalSecondaryIndex) Reset()
- func (x *GlobalSecondaryIndex) String() string
- func (m *GlobalSecondaryIndex) Validate() error
- func (m *GlobalSecondaryIndex) ValidateAll() error
- type GlobalSecondaryIndexMultiError
- type GlobalSecondaryIndexValidationError
- func (e GlobalSecondaryIndexValidationError) Cause() error
- func (e GlobalSecondaryIndexValidationError) Error() string
- func (e GlobalSecondaryIndexValidationError) ErrorName() string
- func (e GlobalSecondaryIndexValidationError) Field() string
- func (e GlobalSecondaryIndexValidationError) Key() bool
- func (e GlobalSecondaryIndexValidationError) Reason() string
- type GlobalSecondaryIndex_Status
- func (GlobalSecondaryIndex_Status) Descriptor() protoreflect.EnumDescriptor
- func (x GlobalSecondaryIndex_Status) Enum() *GlobalSecondaryIndex_Status
- func (GlobalSecondaryIndex_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x GlobalSecondaryIndex_Status) Number() protoreflect.EnumNumber
- func (x GlobalSecondaryIndex_Status) String() string
- func (GlobalSecondaryIndex_Status) Type() protoreflect.EnumType
- type IndexUpdateAction
- func (*IndexUpdateAction) Descriptor() ([]byte, []int)deprecated
- func (x *IndexUpdateAction) GetIndexThroughput() *Throughput
- func (x *IndexUpdateAction) GetName() string
- func (*IndexUpdateAction) ProtoMessage()
- func (x *IndexUpdateAction) ProtoReflect() protoreflect.Message
- func (x *IndexUpdateAction) Reset()
- func (x *IndexUpdateAction) String() string
- func (m *IndexUpdateAction) Validate() error
- func (m *IndexUpdateAction) ValidateAll() error
- type IndexUpdateActionMultiError
- type IndexUpdateActionValidationError
- func (e IndexUpdateActionValidationError) Cause() error
- func (e IndexUpdateActionValidationError) Error() string
- func (e IndexUpdateActionValidationError) ErrorName() string
- func (e IndexUpdateActionValidationError) Field() string
- func (e IndexUpdateActionValidationError) Key() bool
- func (e IndexUpdateActionValidationError) Reason() string
- type KeySchema
- func (*KeySchema) Descriptor() ([]byte, []int)deprecated
- func (x *KeySchema) GetAttributeName() string
- func (x *KeySchema) GetType() KeySchema_Type
- func (*KeySchema) ProtoMessage()
- func (x *KeySchema) ProtoReflect() protoreflect.Message
- func (x *KeySchema) Reset()
- func (x *KeySchema) String() string
- func (m *KeySchema) Validate() error
- func (m *KeySchema) ValidateAll() error
- type KeySchemaMultiError
- type KeySchemaValidationError
- type KeySchema_Type
- func (KeySchema_Type) Descriptor() protoreflect.EnumDescriptor
- func (x KeySchema_Type) Enum() *KeySchema_Type
- func (KeySchema_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x KeySchema_Type) Number() protoreflect.EnumNumber
- func (x KeySchema_Type) String() string
- func (KeySchema_Type) Type() protoreflect.EnumType
- type Table
- func (*Table) Descriptor() ([]byte, []int)deprecated
- func (x *Table) GetAccount() string
- func (x *Table) GetAttributeDefinitions() []*AttributeDefinition
- func (x *Table) GetBillingMode() Table_BillingMode
- func (x *Table) GetGlobalSecondaryIndexes() []*GlobalSecondaryIndex
- func (x *Table) GetKeySchemas() []*KeySchema
- func (x *Table) GetName() string
- func (x *Table) GetProvisionedThroughput() *Throughput
- func (x *Table) GetRegion() string
- func (x *Table) GetStatus() Table_Status
- func (*Table) ProtoMessage()
- func (x *Table) ProtoReflect() protoreflect.Message
- func (x *Table) Reset()
- func (x *Table) String() string
- func (m *Table) Validate() error
- func (m *Table) ValidateAll() error
- type TableMultiError
- type TableValidationError
- type Table_BillingMode
- func (Table_BillingMode) Descriptor() protoreflect.EnumDescriptor
- func (x Table_BillingMode) Enum() *Table_BillingMode
- func (Table_BillingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x Table_BillingMode) Number() protoreflect.EnumNumber
- func (x Table_BillingMode) String() string
- func (Table_BillingMode) Type() protoreflect.EnumType
- type Table_Status
- func (Table_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Table_Status) Enum() *Table_Status
- func (Table_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Table_Status) Number() protoreflect.EnumNumber
- func (x Table_Status) String() string
- func (Table_Status) Type() protoreflect.EnumType
- type Throughput
- func (*Throughput) Descriptor() ([]byte, []int)deprecated
- func (x *Throughput) GetReadCapacityUnits() int64
- func (x *Throughput) GetWriteCapacityUnits() int64
- func (*Throughput) ProtoMessage()
- func (x *Throughput) ProtoReflect() protoreflect.Message
- func (x *Throughput) Reset()
- func (x *Throughput) String() string
- func (m *Throughput) Validate() error
- func (m *Throughput) ValidateAll() error
- type ThroughputMultiError
- type ThroughputValidationError
- type UnimplementedDDBAPIServer
- func (UnimplementedDDBAPIServer) DescribeContinuousBackups(context.Context, *DescribeContinuousBackupsRequest) (*DescribeContinuousBackupsResponse, error)
- func (UnimplementedDDBAPIServer) DescribeTable(context.Context, *DescribeTableRequest) (*DescribeTableResponse, error)
- func (UnimplementedDDBAPIServer) UpdateCapacity(context.Context, *UpdateCapacityRequest) (*UpdateCapacityResponse, error)
- type UnsafeDDBAPIServer
- type UpdateCapacityRequest
- func (*UpdateCapacityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCapacityRequest) GetAccount() string
- func (x *UpdateCapacityRequest) GetGsiUpdates() []*IndexUpdateAction
- func (x *UpdateCapacityRequest) GetIgnoreMaximums() bool
- func (x *UpdateCapacityRequest) GetRegion() string
- func (x *UpdateCapacityRequest) GetTableName() string
- func (x *UpdateCapacityRequest) GetTableThroughput() *Throughput
- func (*UpdateCapacityRequest) ProtoMessage()
- func (x *UpdateCapacityRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCapacityRequest) Reset()
- func (x *UpdateCapacityRequest) String() string
- func (m *UpdateCapacityRequest) Validate() error
- func (m *UpdateCapacityRequest) ValidateAll() error
- type UpdateCapacityRequestMultiError
- type UpdateCapacityRequestValidationError
- func (e UpdateCapacityRequestValidationError) Cause() error
- func (e UpdateCapacityRequestValidationError) Error() string
- func (e UpdateCapacityRequestValidationError) ErrorName() string
- func (e UpdateCapacityRequestValidationError) Field() string
- func (e UpdateCapacityRequestValidationError) Key() bool
- func (e UpdateCapacityRequestValidationError) Reason() string
- type UpdateCapacityResponse
- func (*UpdateCapacityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCapacityResponse) GetTable() *Table
- func (*UpdateCapacityResponse) ProtoMessage()
- func (x *UpdateCapacityResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCapacityResponse) Reset()
- func (x *UpdateCapacityResponse) String() string
- func (m *UpdateCapacityResponse) Validate() error
- func (m *UpdateCapacityResponse) ValidateAll() error
- type UpdateCapacityResponseMultiError
- type UpdateCapacityResponseValidationError
- func (e UpdateCapacityResponseValidationError) Cause() error
- func (e UpdateCapacityResponseValidationError) Error() string
- func (e UpdateCapacityResponseValidationError) ErrorName() string
- func (e UpdateCapacityResponseValidationError) Field() string
- func (e UpdateCapacityResponseValidationError) Key() bool
- func (e UpdateCapacityResponseValidationError) Reason() string
Constants ¶
const ( DDBAPI_DescribeTable_FullMethodName = "/clutch.aws.dynamodb.v1.DDBAPI/DescribeTable" DDBAPI_DescribeContinuousBackups_FullMethodName = "/clutch.aws.dynamodb.v1.DDBAPI/DescribeContinuousBackups" DDBAPI_UpdateCapacity_FullMethodName = "/clutch.aws.dynamodb.v1.DDBAPI/UpdateCapacity" )
Variables ¶
var ( Table_Status_name = map[int32]string{ 0: "UNSPECIFIED", 1: "UNKNOWN", 2: "CREATING", 3: "UPDATING", 4: "DELETING", 5: "ACTIVE", 6: "INACCESSIBLE_ENCRYPTION_CREDENTIALS", 7: "ARCHIVING", 8: "ARCHIVED", } Table_Status_value = map[string]int32{ "UNSPECIFIED": 0, "UNKNOWN": 1, "CREATING": 2, "UPDATING": 3, "DELETING": 4, "ACTIVE": 5, "INACCESSIBLE_ENCRYPTION_CREDENTIALS": 6, "ARCHIVING": 7, "ARCHIVED": 8, } )
Enum value maps for Table_Status.
var ( Table_BillingMode_name = map[int32]string{ 0: "BILLING_UNSPECIFIED", 1: "BILLING_UNKNOWN", 2: "PROVISIONED", 3: "PAY_PER_REQUEST", } Table_BillingMode_value = map[string]int32{ "BILLING_UNSPECIFIED": 0, "BILLING_UNKNOWN": 1, "PROVISIONED": 2, "PAY_PER_REQUEST": 3, } )
Enum value maps for Table_BillingMode.
var ( GlobalSecondaryIndex_Status_name = map[int32]string{ 0: "UNSPECIFIED", 1: "UNKNOWN", 2: "CREATING", 3: "UPDATING", 4: "DELETING", 5: "ACTIVE", } GlobalSecondaryIndex_Status_value = map[string]int32{ "UNSPECIFIED": 0, "UNKNOWN": 1, "CREATING": 2, "UPDATING": 3, "DELETING": 4, "ACTIVE": 5, } )
Enum value maps for GlobalSecondaryIndex_Status.
var ( KeySchema_Type_name = map[int32]string{ 0: "UNSPECIFIED", 1: "UNKNOWN", 2: "HASH", 3: "RANGE", } KeySchema_Type_value = map[string]int32{ "UNSPECIFIED": 0, "UNKNOWN": 1, "HASH": 2, "RANGE": 3, } )
Enum value maps for KeySchema_Type.
var ( ContinuousBackups_Status_name = map[int32]string{ 0: "UNSPECIFIED", 1: "UNKNOWN", 2: "ENABLED", 3: "DISABLED", } ContinuousBackups_Status_value = map[string]int32{ "UNSPECIFIED": 0, "UNKNOWN": 1, "ENABLED": 2, "DISABLED": 3, } )
Enum value maps for ContinuousBackups_Status.
var DDBAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "clutch.aws.dynamodb.v1.DDBAPI", HandlerType: (*DDBAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DescribeTable", Handler: _DDBAPI_DescribeTable_Handler, }, { MethodName: "DescribeContinuousBackups", Handler: _DDBAPI_DescribeContinuousBackups_Handler, }, { MethodName: "UpdateCapacity", Handler: _DDBAPI_UpdateCapacity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aws/dynamodb/v1/dynamodb.proto", }
DDBAPI_ServiceDesc is the grpc.ServiceDesc for DDBAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_aws_dynamodb_v1_dynamodb_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDDBAPIHandler ¶
RegisterDDBAPIHandler registers the http handlers for service DDBAPI to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDDBAPIHandlerClient ¶
func RegisterDDBAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DDBAPIClient) error
RegisterDDBAPIHandlerClient registers the http handlers for service DDBAPI to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DDBAPIClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DDBAPIClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DDBAPIClient" to call the correct interceptors.
func RegisterDDBAPIHandlerFromEndpoint ¶
func RegisterDDBAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDDBAPIHandlerFromEndpoint is same as RegisterDDBAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDDBAPIHandlerServer ¶
func RegisterDDBAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DDBAPIServer) error
RegisterDDBAPIHandlerServer registers the http handlers for service DDBAPI to "mux". UnaryRPC :call DDBAPIServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDDBAPIHandlerFromEndpoint instead.
func RegisterDDBAPIServer ¶
func RegisterDDBAPIServer(s grpc.ServiceRegistrar, srv DDBAPIServer)
Types ¶
type AttributeDefinition ¶
type AttributeDefinition struct { AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"` AttributeType string `protobuf:"bytes,2,opt,name=attribute_type,json=attributeType,proto3" json:"attribute_type,omitempty"` // contains filtered or unexported fields }
Represents the collection of attributes for the table
func (*AttributeDefinition) Descriptor
deprecated
func (*AttributeDefinition) Descriptor() ([]byte, []int)
Deprecated: Use AttributeDefinition.ProtoReflect.Descriptor instead.
func (*AttributeDefinition) GetAttributeName ¶
func (x *AttributeDefinition) GetAttributeName() string
func (*AttributeDefinition) GetAttributeType ¶
func (x *AttributeDefinition) GetAttributeType() string
func (*AttributeDefinition) ProtoMessage ¶
func (*AttributeDefinition) ProtoMessage()
func (*AttributeDefinition) ProtoReflect ¶
func (x *AttributeDefinition) ProtoReflect() protoreflect.Message
func (*AttributeDefinition) Reset ¶
func (x *AttributeDefinition) Reset()
func (*AttributeDefinition) String ¶
func (x *AttributeDefinition) String() string
func (*AttributeDefinition) Validate ¶
func (m *AttributeDefinition) Validate() error
Validate checks the field values on AttributeDefinition with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AttributeDefinition) ValidateAll ¶
func (m *AttributeDefinition) ValidateAll() error
ValidateAll checks the field values on AttributeDefinition with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AttributeDefinitionMultiError, or nil if none found.
type AttributeDefinitionMultiError ¶
type AttributeDefinitionMultiError []error
AttributeDefinitionMultiError is an error wrapping multiple validation errors returned by AttributeDefinition.ValidateAll() if the designated constraints aren't met.
func (AttributeDefinitionMultiError) AllErrors ¶
func (m AttributeDefinitionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttributeDefinitionMultiError) Error ¶
func (m AttributeDefinitionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttributeDefinitionValidationError ¶
type AttributeDefinitionValidationError struct {
// contains filtered or unexported fields
}
AttributeDefinitionValidationError is the validation error returned by AttributeDefinition.Validate if the designated constraints aren't met.
func (AttributeDefinitionValidationError) Cause ¶
func (e AttributeDefinitionValidationError) Cause() error
Cause function returns cause value.
func (AttributeDefinitionValidationError) Error ¶
func (e AttributeDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (AttributeDefinitionValidationError) ErrorName ¶
func (e AttributeDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (AttributeDefinitionValidationError) Field ¶
func (e AttributeDefinitionValidationError) Field() string
Field function returns field value.
func (AttributeDefinitionValidationError) Key ¶
func (e AttributeDefinitionValidationError) Key() bool
Key function returns key value.
func (AttributeDefinitionValidationError) Reason ¶
func (e AttributeDefinitionValidationError) Reason() string
Reason function returns reason value.
type ContinuousBackups ¶
type ContinuousBackups struct { // the status of continuous backups ContinuousBackupsStatus ContinuousBackups_Status `` /* 186-byte string literal not displayed */ // the status of point in time recovery PointInTimeRecoveryStatus ContinuousBackups_Status `` /* 196-byte string literal not displayed */ // the earliest time you can restore a table to using PITR EarliestRestorableDateTime *timestamppb.Timestamp `` /* 143-byte string literal not displayed */ // the latest time you can restore a table to using PITR LatestRestorableDateTime *timestamppb.Timestamp `` /* 137-byte string literal not displayed */ // contains filtered or unexported fields }
Represents the description for a table's continuous backups and point in time recovery
func (*ContinuousBackups) Descriptor
deprecated
func (*ContinuousBackups) Descriptor() ([]byte, []int)
Deprecated: Use ContinuousBackups.ProtoReflect.Descriptor instead.
func (*ContinuousBackups) GetContinuousBackupsStatus ¶
func (x *ContinuousBackups) GetContinuousBackupsStatus() ContinuousBackups_Status
func (*ContinuousBackups) GetEarliestRestorableDateTime ¶
func (x *ContinuousBackups) GetEarliestRestorableDateTime() *timestamppb.Timestamp
func (*ContinuousBackups) GetLatestRestorableDateTime ¶
func (x *ContinuousBackups) GetLatestRestorableDateTime() *timestamppb.Timestamp
func (*ContinuousBackups) GetPointInTimeRecoveryStatus ¶
func (x *ContinuousBackups) GetPointInTimeRecoveryStatus() ContinuousBackups_Status
func (*ContinuousBackups) ProtoMessage ¶
func (*ContinuousBackups) ProtoMessage()
func (*ContinuousBackups) ProtoReflect ¶
func (x *ContinuousBackups) ProtoReflect() protoreflect.Message
func (*ContinuousBackups) Reset ¶
func (x *ContinuousBackups) Reset()
func (*ContinuousBackups) String ¶
func (x *ContinuousBackups) String() string
func (*ContinuousBackups) Validate ¶
func (m *ContinuousBackups) Validate() error
Validate checks the field values on ContinuousBackups with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ContinuousBackups) ValidateAll ¶
func (m *ContinuousBackups) ValidateAll() error
ValidateAll checks the field values on ContinuousBackups with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContinuousBackupsMultiError, or nil if none found.
type ContinuousBackupsMultiError ¶
type ContinuousBackupsMultiError []error
ContinuousBackupsMultiError is an error wrapping multiple validation errors returned by ContinuousBackups.ValidateAll() if the designated constraints aren't met.
func (ContinuousBackupsMultiError) AllErrors ¶
func (m ContinuousBackupsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContinuousBackupsMultiError) Error ¶
func (m ContinuousBackupsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContinuousBackupsValidationError ¶
type ContinuousBackupsValidationError struct {
// contains filtered or unexported fields
}
ContinuousBackupsValidationError is the validation error returned by ContinuousBackups.Validate if the designated constraints aren't met.
func (ContinuousBackupsValidationError) Cause ¶
func (e ContinuousBackupsValidationError) Cause() error
Cause function returns cause value.
func (ContinuousBackupsValidationError) Error ¶
func (e ContinuousBackupsValidationError) Error() string
Error satisfies the builtin error interface
func (ContinuousBackupsValidationError) ErrorName ¶
func (e ContinuousBackupsValidationError) ErrorName() string
ErrorName returns error name.
func (ContinuousBackupsValidationError) Field ¶
func (e ContinuousBackupsValidationError) Field() string
Field function returns field value.
func (ContinuousBackupsValidationError) Key ¶
func (e ContinuousBackupsValidationError) Key() bool
Key function returns key value.
func (ContinuousBackupsValidationError) Reason ¶
func (e ContinuousBackupsValidationError) Reason() string
Reason function returns reason value.
type ContinuousBackups_Status ¶
type ContinuousBackups_Status int32
const ( // Undetermined value ContinuousBackups_UNSPECIFIED ContinuousBackups_Status = 0 // AWS returns a status that isn't recognized ContinuousBackups_UNKNOWN ContinuousBackups_Status = 1 // Setting is enabled ContinuousBackups_ENABLED ContinuousBackups_Status = 2 // Setting is disabled ContinuousBackups_DISABLED ContinuousBackups_Status = 3 )
func (ContinuousBackups_Status) Descriptor ¶
func (ContinuousBackups_Status) Descriptor() protoreflect.EnumDescriptor
func (ContinuousBackups_Status) Enum ¶
func (x ContinuousBackups_Status) Enum() *ContinuousBackups_Status
func (ContinuousBackups_Status) EnumDescriptor
deprecated
func (ContinuousBackups_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContinuousBackups_Status.Descriptor instead.
func (ContinuousBackups_Status) Number ¶
func (x ContinuousBackups_Status) Number() protoreflect.EnumNumber
func (ContinuousBackups_Status) String ¶
func (x ContinuousBackups_Status) String() string
func (ContinuousBackups_Status) Type ¶
func (ContinuousBackups_Status) Type() protoreflect.EnumType
type DDBAPIClient ¶
type DDBAPIClient interface { DescribeTable(ctx context.Context, in *DescribeTableRequest, opts ...grpc.CallOption) (*DescribeTableResponse, error) DescribeContinuousBackups(ctx context.Context, in *DescribeContinuousBackupsRequest, opts ...grpc.CallOption) (*DescribeContinuousBackupsResponse, error) UpdateCapacity(ctx context.Context, in *UpdateCapacityRequest, opts ...grpc.CallOption) (*UpdateCapacityResponse, error) }
DDBAPIClient is the client API for DDBAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDDBAPIClient ¶
func NewDDBAPIClient(cc grpc.ClientConnInterface) DDBAPIClient
type DDBAPIServer ¶
type DDBAPIServer interface { DescribeTable(context.Context, *DescribeTableRequest) (*DescribeTableResponse, error) DescribeContinuousBackups(context.Context, *DescribeContinuousBackupsRequest) (*DescribeContinuousBackupsResponse, error) UpdateCapacity(context.Context, *UpdateCapacityRequest) (*UpdateCapacityResponse, error) }
DDBAPIServer is the server API for DDBAPI service. All implementations should embed UnimplementedDDBAPIServer for forward compatibility
type DescribeContinuousBackupsRequest ¶
type DescribeContinuousBackupsRequest struct { TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
A request for a table's continuous backups description.
func (*DescribeContinuousBackupsRequest) Descriptor
deprecated
func (*DescribeContinuousBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeContinuousBackupsRequest.ProtoReflect.Descriptor instead.
func (*DescribeContinuousBackupsRequest) GetAccount ¶
func (x *DescribeContinuousBackupsRequest) GetAccount() string
func (*DescribeContinuousBackupsRequest) GetRegion ¶
func (x *DescribeContinuousBackupsRequest) GetRegion() string
func (*DescribeContinuousBackupsRequest) GetTableName ¶
func (x *DescribeContinuousBackupsRequest) GetTableName() string
func (*DescribeContinuousBackupsRequest) ProtoMessage ¶
func (*DescribeContinuousBackupsRequest) ProtoMessage()
func (*DescribeContinuousBackupsRequest) ProtoReflect ¶
func (x *DescribeContinuousBackupsRequest) ProtoReflect() protoreflect.Message
func (*DescribeContinuousBackupsRequest) Reset ¶
func (x *DescribeContinuousBackupsRequest) Reset()
func (*DescribeContinuousBackupsRequest) String ¶
func (x *DescribeContinuousBackupsRequest) String() string
func (*DescribeContinuousBackupsRequest) Validate ¶
func (m *DescribeContinuousBackupsRequest) Validate() error
Validate checks the field values on DescribeContinuousBackupsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DescribeContinuousBackupsRequest) ValidateAll ¶
func (m *DescribeContinuousBackupsRequest) ValidateAll() error
ValidateAll checks the field values on DescribeContinuousBackupsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DescribeContinuousBackupsRequestMultiError, or nil if none found.
type DescribeContinuousBackupsRequestMultiError ¶
type DescribeContinuousBackupsRequestMultiError []error
DescribeContinuousBackupsRequestMultiError is an error wrapping multiple validation errors returned by DescribeContinuousBackupsRequest.ValidateAll() if the designated constraints aren't met.
func (DescribeContinuousBackupsRequestMultiError) AllErrors ¶
func (m DescribeContinuousBackupsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DescribeContinuousBackupsRequestMultiError) Error ¶
func (m DescribeContinuousBackupsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DescribeContinuousBackupsRequestValidationError ¶
type DescribeContinuousBackupsRequestValidationError struct {
// contains filtered or unexported fields
}
DescribeContinuousBackupsRequestValidationError is the validation error returned by DescribeContinuousBackupsRequest.Validate if the designated constraints aren't met.
func (DescribeContinuousBackupsRequestValidationError) Cause ¶
func (e DescribeContinuousBackupsRequestValidationError) Cause() error
Cause function returns cause value.
func (DescribeContinuousBackupsRequestValidationError) Error ¶
func (e DescribeContinuousBackupsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeContinuousBackupsRequestValidationError) ErrorName ¶
func (e DescribeContinuousBackupsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeContinuousBackupsRequestValidationError) Field ¶
func (e DescribeContinuousBackupsRequestValidationError) Field() string
Field function returns field value.
func (DescribeContinuousBackupsRequestValidationError) Key ¶
func (e DescribeContinuousBackupsRequestValidationError) Key() bool
Key function returns key value.
func (DescribeContinuousBackupsRequestValidationError) Reason ¶
func (e DescribeContinuousBackupsRequestValidationError) Reason() string
Reason function returns reason value.
type DescribeContinuousBackupsResponse ¶
type DescribeContinuousBackupsResponse struct { ContinuousBackups *ContinuousBackups `protobuf:"bytes,1,opt,name=continuous_backups,json=continuousBackups,proto3" json:"continuous_backups,omitempty"` // contains filtered or unexported fields }
The result of requesting a table's continuous backups description.
func (*DescribeContinuousBackupsResponse) Descriptor
deprecated
func (*DescribeContinuousBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeContinuousBackupsResponse.ProtoReflect.Descriptor instead.
func (*DescribeContinuousBackupsResponse) GetContinuousBackups ¶
func (x *DescribeContinuousBackupsResponse) GetContinuousBackups() *ContinuousBackups
func (*DescribeContinuousBackupsResponse) ProtoMessage ¶
func (*DescribeContinuousBackupsResponse) ProtoMessage()
func (*DescribeContinuousBackupsResponse) ProtoReflect ¶
func (x *DescribeContinuousBackupsResponse) ProtoReflect() protoreflect.Message
func (*DescribeContinuousBackupsResponse) Reset ¶
func (x *DescribeContinuousBackupsResponse) Reset()
func (*DescribeContinuousBackupsResponse) String ¶
func (x *DescribeContinuousBackupsResponse) String() string
func (*DescribeContinuousBackupsResponse) Validate ¶
func (m *DescribeContinuousBackupsResponse) Validate() error
Validate checks the field values on DescribeContinuousBackupsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DescribeContinuousBackupsResponse) ValidateAll ¶
func (m *DescribeContinuousBackupsResponse) ValidateAll() error
ValidateAll checks the field values on DescribeContinuousBackupsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DescribeContinuousBackupsResponseMultiError, or nil if none found.
type DescribeContinuousBackupsResponseMultiError ¶
type DescribeContinuousBackupsResponseMultiError []error
DescribeContinuousBackupsResponseMultiError is an error wrapping multiple validation errors returned by DescribeContinuousBackupsResponse.ValidateAll() if the designated constraints aren't met.
func (DescribeContinuousBackupsResponseMultiError) AllErrors ¶
func (m DescribeContinuousBackupsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DescribeContinuousBackupsResponseMultiError) Error ¶
func (m DescribeContinuousBackupsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DescribeContinuousBackupsResponseValidationError ¶
type DescribeContinuousBackupsResponseValidationError struct {
// contains filtered or unexported fields
}
DescribeContinuousBackupsResponseValidationError is the validation error returned by DescribeContinuousBackupsResponse.Validate if the designated constraints aren't met.
func (DescribeContinuousBackupsResponseValidationError) Cause ¶
func (e DescribeContinuousBackupsResponseValidationError) Cause() error
Cause function returns cause value.
func (DescribeContinuousBackupsResponseValidationError) Error ¶
func (e DescribeContinuousBackupsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeContinuousBackupsResponseValidationError) ErrorName ¶
func (e DescribeContinuousBackupsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeContinuousBackupsResponseValidationError) Field ¶
func (e DescribeContinuousBackupsResponseValidationError) Field() string
Field function returns field value.
func (DescribeContinuousBackupsResponseValidationError) Key ¶
func (e DescribeContinuousBackupsResponseValidationError) Key() bool
Key function returns key value.
func (DescribeContinuousBackupsResponseValidationError) Reason ¶
func (e DescribeContinuousBackupsResponseValidationError) Reason() string
Reason function returns reason value.
type DescribeTableRequest ¶
type DescribeTableRequest struct { TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
A request for table information.
func (*DescribeTableRequest) Descriptor
deprecated
func (*DescribeTableRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeTableRequest.ProtoReflect.Descriptor instead.
func (*DescribeTableRequest) GetAccount ¶
func (x *DescribeTableRequest) GetAccount() string
func (*DescribeTableRequest) GetRegion ¶
func (x *DescribeTableRequest) GetRegion() string
func (*DescribeTableRequest) GetTableName ¶
func (x *DescribeTableRequest) GetTableName() string
func (*DescribeTableRequest) ProtoMessage ¶
func (*DescribeTableRequest) ProtoMessage()
func (*DescribeTableRequest) ProtoReflect ¶
func (x *DescribeTableRequest) ProtoReflect() protoreflect.Message
func (*DescribeTableRequest) Reset ¶
func (x *DescribeTableRequest) Reset()
func (*DescribeTableRequest) String ¶
func (x *DescribeTableRequest) String() string
func (*DescribeTableRequest) Validate ¶
func (m *DescribeTableRequest) Validate() error
Validate checks the field values on DescribeTableRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DescribeTableRequest) ValidateAll ¶
func (m *DescribeTableRequest) ValidateAll() error
ValidateAll checks the field values on DescribeTableRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DescribeTableRequestMultiError, or nil if none found.
type DescribeTableRequestMultiError ¶
type DescribeTableRequestMultiError []error
DescribeTableRequestMultiError is an error wrapping multiple validation errors returned by DescribeTableRequest.ValidateAll() if the designated constraints aren't met.
func (DescribeTableRequestMultiError) AllErrors ¶
func (m DescribeTableRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DescribeTableRequestMultiError) Error ¶
func (m DescribeTableRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DescribeTableRequestValidationError ¶
type DescribeTableRequestValidationError struct {
// contains filtered or unexported fields
}
DescribeTableRequestValidationError is the validation error returned by DescribeTableRequest.Validate if the designated constraints aren't met.
func (DescribeTableRequestValidationError) Cause ¶
func (e DescribeTableRequestValidationError) Cause() error
Cause function returns cause value.
func (DescribeTableRequestValidationError) Error ¶
func (e DescribeTableRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeTableRequestValidationError) ErrorName ¶
func (e DescribeTableRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeTableRequestValidationError) Field ¶
func (e DescribeTableRequestValidationError) Field() string
Field function returns field value.
func (DescribeTableRequestValidationError) Key ¶
func (e DescribeTableRequestValidationError) Key() bool
Key function returns key value.
func (DescribeTableRequestValidationError) Reason ¶
func (e DescribeTableRequestValidationError) Reason() string
Reason function returns reason value.
type DescribeTableResponse ¶
type DescribeTableResponse struct { Table *Table `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` // contains filtered or unexported fields }
The result of requesting a table.
func (*DescribeTableResponse) Descriptor
deprecated
func (*DescribeTableResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeTableResponse.ProtoReflect.Descriptor instead.
func (*DescribeTableResponse) GetTable ¶
func (x *DescribeTableResponse) GetTable() *Table
func (*DescribeTableResponse) ProtoMessage ¶
func (*DescribeTableResponse) ProtoMessage()
func (*DescribeTableResponse) ProtoReflect ¶
func (x *DescribeTableResponse) ProtoReflect() protoreflect.Message
func (*DescribeTableResponse) Reset ¶
func (x *DescribeTableResponse) Reset()
func (*DescribeTableResponse) String ¶
func (x *DescribeTableResponse) String() string
func (*DescribeTableResponse) Validate ¶
func (m *DescribeTableResponse) Validate() error
Validate checks the field values on DescribeTableResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DescribeTableResponse) ValidateAll ¶
func (m *DescribeTableResponse) ValidateAll() error
ValidateAll checks the field values on DescribeTableResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DescribeTableResponseMultiError, or nil if none found.
type DescribeTableResponseMultiError ¶
type DescribeTableResponseMultiError []error
DescribeTableResponseMultiError is an error wrapping multiple validation errors returned by DescribeTableResponse.ValidateAll() if the designated constraints aren't met.
func (DescribeTableResponseMultiError) AllErrors ¶
func (m DescribeTableResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DescribeTableResponseMultiError) Error ¶
func (m DescribeTableResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DescribeTableResponseValidationError ¶
type DescribeTableResponseValidationError struct {
// contains filtered or unexported fields
}
DescribeTableResponseValidationError is the validation error returned by DescribeTableResponse.Validate if the designated constraints aren't met.
func (DescribeTableResponseValidationError) Cause ¶
func (e DescribeTableResponseValidationError) Cause() error
Cause function returns cause value.
func (DescribeTableResponseValidationError) Error ¶
func (e DescribeTableResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DescribeTableResponseValidationError) ErrorName ¶
func (e DescribeTableResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DescribeTableResponseValidationError) Field ¶
func (e DescribeTableResponseValidationError) Field() string
Field function returns field value.
func (DescribeTableResponseValidationError) Key ¶
func (e DescribeTableResponseValidationError) Key() bool
Key function returns key value.
func (DescribeTableResponseValidationError) Reason ¶
func (e DescribeTableResponseValidationError) Reason() string
Reason function returns reason value.
type GlobalSecondaryIndex ¶
type GlobalSecondaryIndex struct { // Name of the global secondary index. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Capacity settings on the GSI. ProvisionedThroughput *Throughput `protobuf:"bytes,2,opt,name=provisioned_throughput,json=provisionedThroughput,proto3" json:"provisioned_throughput,omitempty"` // Current GSI status. Status GlobalSecondaryIndex_Status `protobuf:"varint,3,opt,name=status,proto3,enum=clutch.aws.dynamodb.v1.GlobalSecondaryIndex_Status" json:"status,omitempty"` // contains filtered or unexported fields }
A global secondary index.
func (*GlobalSecondaryIndex) Descriptor
deprecated
func (*GlobalSecondaryIndex) Descriptor() ([]byte, []int)
Deprecated: Use GlobalSecondaryIndex.ProtoReflect.Descriptor instead.
func (*GlobalSecondaryIndex) GetName ¶
func (x *GlobalSecondaryIndex) GetName() string
func (*GlobalSecondaryIndex) GetProvisionedThroughput ¶
func (x *GlobalSecondaryIndex) GetProvisionedThroughput() *Throughput
func (*GlobalSecondaryIndex) GetStatus ¶
func (x *GlobalSecondaryIndex) GetStatus() GlobalSecondaryIndex_Status
func (*GlobalSecondaryIndex) ProtoMessage ¶
func (*GlobalSecondaryIndex) ProtoMessage()
func (*GlobalSecondaryIndex) ProtoReflect ¶
func (x *GlobalSecondaryIndex) ProtoReflect() protoreflect.Message
func (*GlobalSecondaryIndex) Reset ¶
func (x *GlobalSecondaryIndex) Reset()
func (*GlobalSecondaryIndex) String ¶
func (x *GlobalSecondaryIndex) String() string
func (*GlobalSecondaryIndex) Validate ¶
func (m *GlobalSecondaryIndex) Validate() error
Validate checks the field values on GlobalSecondaryIndex with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GlobalSecondaryIndex) ValidateAll ¶
func (m *GlobalSecondaryIndex) ValidateAll() error
ValidateAll checks the field values on GlobalSecondaryIndex with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GlobalSecondaryIndexMultiError, or nil if none found.
type GlobalSecondaryIndexMultiError ¶
type GlobalSecondaryIndexMultiError []error
GlobalSecondaryIndexMultiError is an error wrapping multiple validation errors returned by GlobalSecondaryIndex.ValidateAll() if the designated constraints aren't met.
func (GlobalSecondaryIndexMultiError) AllErrors ¶
func (m GlobalSecondaryIndexMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GlobalSecondaryIndexMultiError) Error ¶
func (m GlobalSecondaryIndexMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GlobalSecondaryIndexValidationError ¶
type GlobalSecondaryIndexValidationError struct {
// contains filtered or unexported fields
}
GlobalSecondaryIndexValidationError is the validation error returned by GlobalSecondaryIndex.Validate if the designated constraints aren't met.
func (GlobalSecondaryIndexValidationError) Cause ¶
func (e GlobalSecondaryIndexValidationError) Cause() error
Cause function returns cause value.
func (GlobalSecondaryIndexValidationError) Error ¶
func (e GlobalSecondaryIndexValidationError) Error() string
Error satisfies the builtin error interface
func (GlobalSecondaryIndexValidationError) ErrorName ¶
func (e GlobalSecondaryIndexValidationError) ErrorName() string
ErrorName returns error name.
func (GlobalSecondaryIndexValidationError) Field ¶
func (e GlobalSecondaryIndexValidationError) Field() string
Field function returns field value.
func (GlobalSecondaryIndexValidationError) Key ¶
func (e GlobalSecondaryIndexValidationError) Key() bool
Key function returns key value.
func (GlobalSecondaryIndexValidationError) Reason ¶
func (e GlobalSecondaryIndexValidationError) Reason() string
Reason function returns reason value.
type GlobalSecondaryIndex_Status ¶
type GlobalSecondaryIndex_Status int32
Enum that represents the current GSI state
const ( // Unspecified indicates GSI status could not be found. GlobalSecondaryIndex_UNSPECIFIED GlobalSecondaryIndex_Status = 0 // AWS returned a status that isn't recognized. GlobalSecondaryIndex_UNKNOWN GlobalSecondaryIndex_Status = 1 // GSI is in process of being created. GlobalSecondaryIndex_CREATING GlobalSecondaryIndex_Status = 2 // GSI is in process of being updated. GlobalSecondaryIndex_UPDATING GlobalSecondaryIndex_Status = 3 // GSI is in process of being deleted. GlobalSecondaryIndex_DELETING GlobalSecondaryIndex_Status = 4 // GSI is active and available for actions. GlobalSecondaryIndex_ACTIVE GlobalSecondaryIndex_Status = 5 )
func (GlobalSecondaryIndex_Status) Descriptor ¶
func (GlobalSecondaryIndex_Status) Descriptor() protoreflect.EnumDescriptor
func (GlobalSecondaryIndex_Status) Enum ¶
func (x GlobalSecondaryIndex_Status) Enum() *GlobalSecondaryIndex_Status
func (GlobalSecondaryIndex_Status) EnumDescriptor
deprecated
func (GlobalSecondaryIndex_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use GlobalSecondaryIndex_Status.Descriptor instead.
func (GlobalSecondaryIndex_Status) Number ¶
func (x GlobalSecondaryIndex_Status) Number() protoreflect.EnumNumber
func (GlobalSecondaryIndex_Status) String ¶
func (x GlobalSecondaryIndex_Status) String() string
func (GlobalSecondaryIndex_Status) Type ¶
func (GlobalSecondaryIndex_Status) Type() protoreflect.EnumType
type IndexUpdateAction ¶
type IndexUpdateAction struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` IndexThroughput *Throughput `protobuf:"bytes,2,opt,name=index_throughput,json=indexThroughput,proto3" json:"index_throughput,omitempty"` // contains filtered or unexported fields }
Represents an Update action on a GSI, which changes the provisioned capacity.
func (*IndexUpdateAction) Descriptor
deprecated
func (*IndexUpdateAction) Descriptor() ([]byte, []int)
Deprecated: Use IndexUpdateAction.ProtoReflect.Descriptor instead.
func (*IndexUpdateAction) GetIndexThroughput ¶
func (x *IndexUpdateAction) GetIndexThroughput() *Throughput
func (*IndexUpdateAction) GetName ¶
func (x *IndexUpdateAction) GetName() string
func (*IndexUpdateAction) ProtoMessage ¶
func (*IndexUpdateAction) ProtoMessage()
func (*IndexUpdateAction) ProtoReflect ¶
func (x *IndexUpdateAction) ProtoReflect() protoreflect.Message
func (*IndexUpdateAction) Reset ¶
func (x *IndexUpdateAction) Reset()
func (*IndexUpdateAction) String ¶
func (x *IndexUpdateAction) String() string
func (*IndexUpdateAction) Validate ¶
func (m *IndexUpdateAction) Validate() error
Validate checks the field values on IndexUpdateAction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*IndexUpdateAction) ValidateAll ¶
func (m *IndexUpdateAction) ValidateAll() error
ValidateAll checks the field values on IndexUpdateAction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in IndexUpdateActionMultiError, or nil if none found.
type IndexUpdateActionMultiError ¶
type IndexUpdateActionMultiError []error
IndexUpdateActionMultiError is an error wrapping multiple validation errors returned by IndexUpdateAction.ValidateAll() if the designated constraints aren't met.
func (IndexUpdateActionMultiError) AllErrors ¶
func (m IndexUpdateActionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (IndexUpdateActionMultiError) Error ¶
func (m IndexUpdateActionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type IndexUpdateActionValidationError ¶
type IndexUpdateActionValidationError struct {
// contains filtered or unexported fields
}
IndexUpdateActionValidationError is the validation error returned by IndexUpdateAction.Validate if the designated constraints aren't met.
func (IndexUpdateActionValidationError) Cause ¶
func (e IndexUpdateActionValidationError) Cause() error
Cause function returns cause value.
func (IndexUpdateActionValidationError) Error ¶
func (e IndexUpdateActionValidationError) Error() string
Error satisfies the builtin error interface
func (IndexUpdateActionValidationError) ErrorName ¶
func (e IndexUpdateActionValidationError) ErrorName() string
ErrorName returns error name.
func (IndexUpdateActionValidationError) Field ¶
func (e IndexUpdateActionValidationError) Field() string
Field function returns field value.
func (IndexUpdateActionValidationError) Key ¶
func (e IndexUpdateActionValidationError) Key() bool
Key function returns key value.
func (IndexUpdateActionValidationError) Reason ¶
func (e IndexUpdateActionValidationError) Reason() string
Reason function returns reason value.
type KeySchema ¶
type KeySchema struct { AttributeName string `protobuf:"bytes,1,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"` Type KeySchema_Type `protobuf:"varint,2,opt,name=type,proto3,enum=clutch.aws.dynamodb.v1.KeySchema_Type" json:"type,omitempty"` // contains filtered or unexported fields }
Represents the Key structure for the table
func (*KeySchema) Descriptor
deprecated
func (*KeySchema) GetAttributeName ¶
func (*KeySchema) GetType ¶
func (x *KeySchema) GetType() KeySchema_Type
func (*KeySchema) ProtoMessage ¶
func (*KeySchema) ProtoMessage()
func (*KeySchema) ProtoReflect ¶
func (x *KeySchema) ProtoReflect() protoreflect.Message
func (*KeySchema) Validate ¶
Validate checks the field values on KeySchema with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*KeySchema) ValidateAll ¶
ValidateAll checks the field values on KeySchema with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KeySchemaMultiError, or nil if none found.
type KeySchemaMultiError ¶
type KeySchemaMultiError []error
KeySchemaMultiError is an error wrapping multiple validation errors returned by KeySchema.ValidateAll() if the designated constraints aren't met.
func (KeySchemaMultiError) AllErrors ¶
func (m KeySchemaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KeySchemaMultiError) Error ¶
func (m KeySchemaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KeySchemaValidationError ¶
type KeySchemaValidationError struct {
// contains filtered or unexported fields
}
KeySchemaValidationError is the validation error returned by KeySchema.Validate if the designated constraints aren't met.
func (KeySchemaValidationError) Cause ¶
func (e KeySchemaValidationError) Cause() error
Cause function returns cause value.
func (KeySchemaValidationError) Error ¶
func (e KeySchemaValidationError) Error() string
Error satisfies the builtin error interface
func (KeySchemaValidationError) ErrorName ¶
func (e KeySchemaValidationError) ErrorName() string
ErrorName returns error name.
func (KeySchemaValidationError) Field ¶
func (e KeySchemaValidationError) Field() string
Field function returns field value.
func (KeySchemaValidationError) Key ¶
func (e KeySchemaValidationError) Key() bool
Key function returns key value.
func (KeySchemaValidationError) Reason ¶
func (e KeySchemaValidationError) Reason() string
Reason function returns reason value.
type KeySchema_Type ¶
type KeySchema_Type int32
const ( // Undetermined value KeySchema_UNSPECIFIED KeySchema_Type = 0 // AWS returns a type that isn't recognized KeySchema_UNKNOWN KeySchema_Type = 1 // Partition Key KeySchema_HASH KeySchema_Type = 2 // Sort Key KeySchema_RANGE KeySchema_Type = 3 )
func (KeySchema_Type) Descriptor ¶
func (KeySchema_Type) Descriptor() protoreflect.EnumDescriptor
func (KeySchema_Type) Enum ¶
func (x KeySchema_Type) Enum() *KeySchema_Type
func (KeySchema_Type) EnumDescriptor
deprecated
func (KeySchema_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use KeySchema_Type.Descriptor instead.
func (KeySchema_Type) Number ¶
func (x KeySchema_Type) Number() protoreflect.EnumNumber
func (KeySchema_Type) String ¶
func (x KeySchema_Type) String() string
func (KeySchema_Type) Type ¶
func (KeySchema_Type) Type() protoreflect.EnumType
type Table ¶
type Table struct { // Name of the Dynamodb table. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // AWS regional location for the table. Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // The global secondary indexes present on a table. // A table may have anywhere from 0-20 GSIs per AWS default quota. GlobalSecondaryIndexes []*GlobalSecondaryIndex `` /* 129-byte string literal not displayed */ // The currently provisioned throughput of a table. // Minimum throughput on a provisioned table is 1 RCU/1 WCU. // Tables with ON-DEMAND capacity will return a provisioned throughput of 0 RCU/0 WCU. ProvisionedThroughput *Throughput `protobuf:"bytes,4,opt,name=provisioned_throughput,json=provisionedThroughput,proto3" json:"provisioned_throughput,omitempty"` // Table status. Status Table_Status `protobuf:"varint,5,opt,name=status,proto3,enum=clutch.aws.dynamodb.v1.Table_Status" json:"status,omitempty"` // Table billing mode. BillingMode Table_BillingMode `` /* 141-byte string literal not displayed */ // The aws acccount Account string `protobuf:"bytes,7,opt,name=account,proto3" json:"account,omitempty"` // Key schema details for the table KeySchemas []*KeySchema `protobuf:"bytes,8,rep,name=key_schemas,json=keySchemas,proto3" json:"key_schemas,omitempty"` // Collection of all the attributes for a table AttributeDefinitions []*AttributeDefinition `protobuf:"bytes,9,rep,name=attribute_definitions,json=attributeDefinitions,proto3" json:"attribute_definitions,omitempty"` // contains filtered or unexported fields }
A Dynamodb table
func (*Table) Descriptor
deprecated
func (*Table) GetAccount ¶
func (*Table) GetAttributeDefinitions ¶
func (x *Table) GetAttributeDefinitions() []*AttributeDefinition
func (*Table) GetBillingMode ¶
func (x *Table) GetBillingMode() Table_BillingMode
func (*Table) GetGlobalSecondaryIndexes ¶
func (x *Table) GetGlobalSecondaryIndexes() []*GlobalSecondaryIndex
func (*Table) GetKeySchemas ¶
func (*Table) GetProvisionedThroughput ¶
func (x *Table) GetProvisionedThroughput() *Throughput
func (*Table) GetStatus ¶
func (x *Table) GetStatus() Table_Status
func (*Table) ProtoMessage ¶
func (*Table) ProtoMessage()
func (*Table) ProtoReflect ¶
func (x *Table) ProtoReflect() protoreflect.Message
func (*Table) Validate ¶
Validate checks the field values on Table with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Table) ValidateAll ¶
ValidateAll checks the field values on Table with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TableMultiError, or nil if none found.
type TableMultiError ¶
type TableMultiError []error
TableMultiError is an error wrapping multiple validation errors returned by Table.ValidateAll() if the designated constraints aren't met.
func (TableMultiError) AllErrors ¶
func (m TableMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TableMultiError) Error ¶
func (m TableMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TableValidationError ¶
type TableValidationError struct {
// contains filtered or unexported fields
}
TableValidationError is the validation error returned by Table.Validate if the designated constraints aren't met.
func (TableValidationError) Cause ¶
func (e TableValidationError) Cause() error
Cause function returns cause value.
func (TableValidationError) Error ¶
func (e TableValidationError) Error() string
Error satisfies the builtin error interface
func (TableValidationError) ErrorName ¶
func (e TableValidationError) ErrorName() string
ErrorName returns error name.
func (TableValidationError) Field ¶
func (e TableValidationError) Field() string
Field function returns field value.
func (TableValidationError) Key ¶
func (e TableValidationError) Key() bool
Key function returns key value.
func (TableValidationError) Reason ¶
func (e TableValidationError) Reason() string
Reason function returns reason value.
type Table_BillingMode ¶
type Table_BillingMode int32
enum of a table's billing mode
const ( // Billing mode for table could not be found. Table_BILLING_UNSPECIFIED Table_BillingMode = 0 // Unknown mode type returned from server. Table_BILLING_UNKNOWN Table_BillingMode = 1 // Table and index capacities are provisioned. Table_PROVISIONED Table_BillingMode = 2 // Table and index capacity are on-demand. Table_PAY_PER_REQUEST Table_BillingMode = 3 )
func (Table_BillingMode) Descriptor ¶
func (Table_BillingMode) Descriptor() protoreflect.EnumDescriptor
func (Table_BillingMode) Enum ¶
func (x Table_BillingMode) Enum() *Table_BillingMode
func (Table_BillingMode) EnumDescriptor
deprecated
func (Table_BillingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Table_BillingMode.Descriptor instead.
func (Table_BillingMode) Number ¶
func (x Table_BillingMode) Number() protoreflect.EnumNumber
func (Table_BillingMode) String ¶
func (x Table_BillingMode) String() string
func (Table_BillingMode) Type ¶
func (Table_BillingMode) Type() protoreflect.EnumType
type Table_Status ¶
type Table_Status int32
Enum representing the status of a table. https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TableDescription.html
const ( // Unspecified status indicates the table status could not be found. Table_UNSPECIFIED Table_Status = 0 // AWS returned a status that isn't recognized. Table_UNKNOWN Table_Status = 1 // Table is in the process of being provisioned. Table_CREATING Table_Status = 2 // Table is undergoing an update. Table_UPDATING Table_Status = 3 // Table is in the process of being deleted. Table_DELETING Table_Status = 4 // Table is active and available for actions. Table_ACTIVE Table_Status = 5 // The KMS key used to encrypt the table is inaccessible. // Table operations may fail without the key. Table_INACCESSIBLE_ENCRYPTION_CREDENTIALS Table_Status = 6 // Table is in the process of being moved to archives. Table_ARCHIVING Table_Status = 7 // Table is archived. Table_ARCHIVED Table_Status = 8 )
func (Table_Status) Descriptor ¶
func (Table_Status) Descriptor() protoreflect.EnumDescriptor
func (Table_Status) Enum ¶
func (x Table_Status) Enum() *Table_Status
func (Table_Status) EnumDescriptor
deprecated
func (Table_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Table_Status.Descriptor instead.
func (Table_Status) Number ¶
func (x Table_Status) Number() protoreflect.EnumNumber
func (Table_Status) String ¶
func (x Table_Status) String() string
func (Table_Status) Type ¶
func (Table_Status) Type() protoreflect.EnumType
type Throughput ¶
type Throughput struct { WriteCapacityUnits int64 `protobuf:"varint,1,opt,name=write_capacity_units,json=writeCapacityUnits,proto3" json:"write_capacity_units,omitempty"` ReadCapacityUnits int64 `protobuf:"varint,2,opt,name=read_capacity_units,json=readCapacityUnits,proto3" json:"read_capacity_units,omitempty"` // contains filtered or unexported fields }
Represents a throughput object that describes a current or pending provisioned capacity.
func (*Throughput) Descriptor
deprecated
func (*Throughput) Descriptor() ([]byte, []int)
Deprecated: Use Throughput.ProtoReflect.Descriptor instead.
func (*Throughput) GetReadCapacityUnits ¶
func (x *Throughput) GetReadCapacityUnits() int64
func (*Throughput) GetWriteCapacityUnits ¶
func (x *Throughput) GetWriteCapacityUnits() int64
func (*Throughput) ProtoMessage ¶
func (*Throughput) ProtoMessage()
func (*Throughput) ProtoReflect ¶
func (x *Throughput) ProtoReflect() protoreflect.Message
func (*Throughput) Reset ¶
func (x *Throughput) Reset()
func (*Throughput) String ¶
func (x *Throughput) String() string
func (*Throughput) Validate ¶
func (m *Throughput) Validate() error
Validate checks the field values on Throughput with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Throughput) ValidateAll ¶
func (m *Throughput) ValidateAll() error
ValidateAll checks the field values on Throughput with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ThroughputMultiError, or nil if none found.
type ThroughputMultiError ¶
type ThroughputMultiError []error
ThroughputMultiError is an error wrapping multiple validation errors returned by Throughput.ValidateAll() if the designated constraints aren't met.
func (ThroughputMultiError) AllErrors ¶
func (m ThroughputMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ThroughputMultiError) Error ¶
func (m ThroughputMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ThroughputValidationError ¶
type ThroughputValidationError struct {
// contains filtered or unexported fields
}
ThroughputValidationError is the validation error returned by Throughput.Validate if the designated constraints aren't met.
func (ThroughputValidationError) Cause ¶
func (e ThroughputValidationError) Cause() error
Cause function returns cause value.
func (ThroughputValidationError) Error ¶
func (e ThroughputValidationError) Error() string
Error satisfies the builtin error interface
func (ThroughputValidationError) ErrorName ¶
func (e ThroughputValidationError) ErrorName() string
ErrorName returns error name.
func (ThroughputValidationError) Field ¶
func (e ThroughputValidationError) Field() string
Field function returns field value.
func (ThroughputValidationError) Key ¶
func (e ThroughputValidationError) Key() bool
Key function returns key value.
func (ThroughputValidationError) Reason ¶
func (e ThroughputValidationError) Reason() string
Reason function returns reason value.
type UnimplementedDDBAPIServer ¶
type UnimplementedDDBAPIServer struct { }
UnimplementedDDBAPIServer should be embedded to have forward compatible implementations.
func (UnimplementedDDBAPIServer) DescribeContinuousBackups ¶
func (UnimplementedDDBAPIServer) DescribeContinuousBackups(context.Context, *DescribeContinuousBackupsRequest) (*DescribeContinuousBackupsResponse, error)
func (UnimplementedDDBAPIServer) DescribeTable ¶
func (UnimplementedDDBAPIServer) DescribeTable(context.Context, *DescribeTableRequest) (*DescribeTableResponse, error)
func (UnimplementedDDBAPIServer) UpdateCapacity ¶
func (UnimplementedDDBAPIServer) UpdateCapacity(context.Context, *UpdateCapacityRequest) (*UpdateCapacityResponse, error)
type UnsafeDDBAPIServer ¶
type UnsafeDDBAPIServer interface {
// contains filtered or unexported methods
}
UnsafeDDBAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DDBAPIServer will result in compilation errors.
type UpdateCapacityRequest ¶
type UpdateCapacityRequest struct { TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` TableThroughput *Throughput `protobuf:"bytes,3,opt,name=table_throughput,json=tableThroughput,proto3" json:"table_throughput,omitempty"` GsiUpdates []*IndexUpdateAction `protobuf:"bytes,4,rep,name=gsi_updates,json=gsiUpdates,proto3" json:"gsi_updates,omitempty"` IgnoreMaximums bool `protobuf:"varint,5,opt,name=ignore_maximums,json=ignoreMaximums,proto3" json:"ignore_maximums,omitempty"` Account string `protobuf:"bytes,6,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
A request to update a table's capacity. Any combination of table capacity and GSI capacities can be updated in a single request. If no throughputs or GSI updates are specified, the table is unchanged.
func (*UpdateCapacityRequest) Descriptor
deprecated
func (*UpdateCapacityRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCapacityRequest.ProtoReflect.Descriptor instead.
func (*UpdateCapacityRequest) GetAccount ¶
func (x *UpdateCapacityRequest) GetAccount() string
func (*UpdateCapacityRequest) GetGsiUpdates ¶
func (x *UpdateCapacityRequest) GetGsiUpdates() []*IndexUpdateAction
func (*UpdateCapacityRequest) GetIgnoreMaximums ¶
func (x *UpdateCapacityRequest) GetIgnoreMaximums() bool
func (*UpdateCapacityRequest) GetRegion ¶
func (x *UpdateCapacityRequest) GetRegion() string
func (*UpdateCapacityRequest) GetTableName ¶
func (x *UpdateCapacityRequest) GetTableName() string
func (*UpdateCapacityRequest) GetTableThroughput ¶
func (x *UpdateCapacityRequest) GetTableThroughput() *Throughput
func (*UpdateCapacityRequest) ProtoMessage ¶
func (*UpdateCapacityRequest) ProtoMessage()
func (*UpdateCapacityRequest) ProtoReflect ¶
func (x *UpdateCapacityRequest) ProtoReflect() protoreflect.Message
func (*UpdateCapacityRequest) Reset ¶
func (x *UpdateCapacityRequest) Reset()
func (*UpdateCapacityRequest) String ¶
func (x *UpdateCapacityRequest) String() string
func (*UpdateCapacityRequest) Validate ¶
func (m *UpdateCapacityRequest) Validate() error
Validate checks the field values on UpdateCapacityRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCapacityRequest) ValidateAll ¶
func (m *UpdateCapacityRequest) ValidateAll() error
ValidateAll checks the field values on UpdateCapacityRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCapacityRequestMultiError, or nil if none found.
type UpdateCapacityRequestMultiError ¶
type UpdateCapacityRequestMultiError []error
UpdateCapacityRequestMultiError is an error wrapping multiple validation errors returned by UpdateCapacityRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateCapacityRequestMultiError) AllErrors ¶
func (m UpdateCapacityRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCapacityRequestMultiError) Error ¶
func (m UpdateCapacityRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCapacityRequestValidationError ¶
type UpdateCapacityRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateCapacityRequestValidationError is the validation error returned by UpdateCapacityRequest.Validate if the designated constraints aren't met.
func (UpdateCapacityRequestValidationError) Cause ¶
func (e UpdateCapacityRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateCapacityRequestValidationError) Error ¶
func (e UpdateCapacityRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCapacityRequestValidationError) ErrorName ¶
func (e UpdateCapacityRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCapacityRequestValidationError) Field ¶
func (e UpdateCapacityRequestValidationError) Field() string
Field function returns field value.
func (UpdateCapacityRequestValidationError) Key ¶
func (e UpdateCapacityRequestValidationError) Key() bool
Key function returns key value.
func (UpdateCapacityRequestValidationError) Reason ¶
func (e UpdateCapacityRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateCapacityResponse ¶
type UpdateCapacityResponse struct { Table *Table `protobuf:"bytes,1,opt,name=table,proto3" json:"table,omitempty"` // contains filtered or unexported fields }
The result of requesting a capacity update. Successful calls return an updated table description.
func (*UpdateCapacityResponse) Descriptor
deprecated
func (*UpdateCapacityResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCapacityResponse.ProtoReflect.Descriptor instead.
func (*UpdateCapacityResponse) GetTable ¶
func (x *UpdateCapacityResponse) GetTable() *Table
func (*UpdateCapacityResponse) ProtoMessage ¶
func (*UpdateCapacityResponse) ProtoMessage()
func (*UpdateCapacityResponse) ProtoReflect ¶
func (x *UpdateCapacityResponse) ProtoReflect() protoreflect.Message
func (*UpdateCapacityResponse) Reset ¶
func (x *UpdateCapacityResponse) Reset()
func (*UpdateCapacityResponse) String ¶
func (x *UpdateCapacityResponse) String() string
func (*UpdateCapacityResponse) Validate ¶
func (m *UpdateCapacityResponse) Validate() error
Validate checks the field values on UpdateCapacityResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateCapacityResponse) ValidateAll ¶
func (m *UpdateCapacityResponse) ValidateAll() error
ValidateAll checks the field values on UpdateCapacityResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateCapacityResponseMultiError, or nil if none found.
type UpdateCapacityResponseMultiError ¶
type UpdateCapacityResponseMultiError []error
UpdateCapacityResponseMultiError is an error wrapping multiple validation errors returned by UpdateCapacityResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateCapacityResponseMultiError) AllErrors ¶
func (m UpdateCapacityResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateCapacityResponseMultiError) Error ¶
func (m UpdateCapacityResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateCapacityResponseValidationError ¶
type UpdateCapacityResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateCapacityResponseValidationError is the validation error returned by UpdateCapacityResponse.Validate if the designated constraints aren't met.
func (UpdateCapacityResponseValidationError) Cause ¶
func (e UpdateCapacityResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateCapacityResponseValidationError) Error ¶
func (e UpdateCapacityResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateCapacityResponseValidationError) ErrorName ¶
func (e UpdateCapacityResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateCapacityResponseValidationError) Field ¶
func (e UpdateCapacityResponseValidationError) Field() string
Field function returns field value.
func (UpdateCapacityResponseValidationError) Key ¶
func (e UpdateCapacityResponseValidationError) Key() bool
Key function returns key value.
func (UpdateCapacityResponseValidationError) Reason ¶
func (e UpdateCapacityResponseValidationError) Reason() string
Reason function returns reason value.