ddbv1

package
v0.0.0-...-f507469 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package ddbv1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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)

View Source
var File_aws_dynamodb_v1_dynamodb_proto protoreflect.FileDescriptor

Functions

func RegisterDDBAPIHandler

func RegisterDDBAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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

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

Cause function returns cause value.

func (AttributeDefinitionValidationError) Error

Error satisfies the builtin error interface

func (AttributeDefinitionValidationError) ErrorName

ErrorName returns error name.

func (AttributeDefinitionValidationError) Field

Field function returns field value.

func (AttributeDefinitionValidationError) Key

Key function returns key value.

func (AttributeDefinitionValidationError) Reason

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

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

Cause function returns cause value.

func (ContinuousBackupsValidationError) Error

Error satisfies the builtin error interface

func (ContinuousBackupsValidationError) ErrorName

ErrorName returns error name.

func (ContinuousBackupsValidationError) Field

Field function returns field value.

func (ContinuousBackupsValidationError) Key

Key function returns key value.

func (ContinuousBackupsValidationError) Reason

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) Enum

func (ContinuousBackups_Status) EnumDescriptor deprecated

func (ContinuousBackups_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContinuousBackups_Status.Descriptor instead.

func (ContinuousBackups_Status) Number

func (ContinuousBackups_Status) String

func (x ContinuousBackups_Status) String() string

func (ContinuousBackups_Status) Type

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

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 (*DescribeContinuousBackupsRequest) GetTableName

func (x *DescribeContinuousBackupsRequest) GetTableName() string

func (*DescribeContinuousBackupsRequest) ProtoMessage

func (*DescribeContinuousBackupsRequest) ProtoMessage()

func (*DescribeContinuousBackupsRequest) ProtoReflect

func (*DescribeContinuousBackupsRequest) Reset

func (*DescribeContinuousBackupsRequest) String

func (*DescribeContinuousBackupsRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (DescribeContinuousBackupsRequestMultiError) Error

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

Cause function returns cause value.

func (DescribeContinuousBackupsRequestValidationError) Error

Error satisfies the builtin error interface

func (DescribeContinuousBackupsRequestValidationError) ErrorName

ErrorName returns error name.

func (DescribeContinuousBackupsRequestValidationError) Field

Field function returns field value.

func (DescribeContinuousBackupsRequestValidationError) Key

Key function returns key value.

func (DescribeContinuousBackupsRequestValidationError) Reason

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 (*DescribeContinuousBackupsResponse) Reset

func (*DescribeContinuousBackupsResponse) String

func (*DescribeContinuousBackupsResponse) Validate

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

AllErrors returns a list of validation violation errors.

func (DescribeContinuousBackupsResponseMultiError) Error

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

Cause function returns cause value.

func (DescribeContinuousBackupsResponseValidationError) Error

Error satisfies the builtin error interface

func (DescribeContinuousBackupsResponseValidationError) ErrorName

ErrorName returns error name.

func (DescribeContinuousBackupsResponseValidationError) Field

Field function returns field value.

func (DescribeContinuousBackupsResponseValidationError) Key

Key function returns key value.

func (DescribeContinuousBackupsResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DescribeTableRequestValidationError) Error

Error satisfies the builtin error interface

func (DescribeTableRequestValidationError) ErrorName

ErrorName returns error name.

func (DescribeTableRequestValidationError) Field

Field function returns field value.

func (DescribeTableRequestValidationError) Key

Key function returns key value.

func (DescribeTableRequestValidationError) Reason

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

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

Cause function returns cause value.

func (DescribeTableResponseValidationError) Error

Error satisfies the builtin error interface

func (DescribeTableResponseValidationError) ErrorName

ErrorName returns error name.

func (DescribeTableResponseValidationError) Field

Field function returns field value.

func (DescribeTableResponseValidationError) Key

Key function returns key value.

func (DescribeTableResponseValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (GlobalSecondaryIndexValidationError) Error

Error satisfies the builtin error interface

func (GlobalSecondaryIndexValidationError) ErrorName

ErrorName returns error name.

func (GlobalSecondaryIndexValidationError) Field

Field function returns field value.

func (GlobalSecondaryIndexValidationError) Key

Key function returns key value.

func (GlobalSecondaryIndexValidationError) Reason

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) Enum

func (GlobalSecondaryIndex_Status) EnumDescriptor deprecated

func (GlobalSecondaryIndex_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use GlobalSecondaryIndex_Status.Descriptor instead.

func (GlobalSecondaryIndex_Status) Number

func (GlobalSecondaryIndex_Status) String

func (GlobalSecondaryIndex_Status) Type

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

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

Cause function returns cause value.

func (IndexUpdateActionValidationError) Error

Error satisfies the builtin error interface

func (IndexUpdateActionValidationError) ErrorName

ErrorName returns error name.

func (IndexUpdateActionValidationError) Field

Field function returns field value.

func (IndexUpdateActionValidationError) Key

Key function returns key value.

func (IndexUpdateActionValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use KeySchema.ProtoReflect.Descriptor instead.

func (*KeySchema) GetAttributeName

func (x *KeySchema) GetAttributeName() string

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) Reset

func (x *KeySchema) Reset()

func (*KeySchema) String

func (x *KeySchema) String() string

func (*KeySchema) Validate

func (m *KeySchema) Validate() error

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

func (m *KeySchema) ValidateAll() error

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

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) 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 (KeySchema_Type) String

func (x KeySchema_Type) String() string

func (KeySchema_Type) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Table.ProtoReflect.Descriptor instead.

func (*Table) GetAccount

func (x *Table) GetAccount() string

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 (x *Table) GetKeySchemas() []*KeySchema

func (*Table) GetName

func (x *Table) GetName() string

func (*Table) GetProvisionedThroughput

func (x *Table) GetProvisionedThroughput() *Throughput

func (*Table) GetRegion

func (x *Table) GetRegion() string

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) Reset

func (x *Table) Reset()

func (*Table) String

func (x *Table) String() string

func (*Table) Validate

func (m *Table) Validate() error

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

func (m *Table) ValidateAll() error

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) Enum

func (Table_BillingMode) EnumDescriptor deprecated

func (Table_BillingMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Table_BillingMode.Descriptor instead.

func (Table_BillingMode) Number

func (Table_BillingMode) String

func (x Table_BillingMode) String() string

func (Table_BillingMode) Type

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) 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 (Table_Status) String

func (x Table_Status) String() string

func (Table_Status) Type

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

Error satisfies the builtin error interface

func (ThroughputValidationError) ErrorName

func (e ThroughputValidationError) ErrorName() string

ErrorName returns error name.

func (ThroughputValidationError) Field

Field function returns field value.

func (ThroughputValidationError) Key

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) DescribeTable

func (UnimplementedDDBAPIServer) UpdateCapacity

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

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

Cause function returns cause value.

func (UpdateCapacityRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateCapacityRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateCapacityRequestValidationError) Field

Field function returns field value.

func (UpdateCapacityRequestValidationError) Key

Key function returns key value.

func (UpdateCapacityRequestValidationError) Reason

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

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

Cause function returns cause value.

func (UpdateCapacityResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateCapacityResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateCapacityResponseValidationError) Field

Field function returns field value.

func (UpdateCapacityResponseValidationError) Key

Key function returns key value.

func (UpdateCapacityResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL