Documentation ¶
Overview ¶
The MIT License (MIT)
Copyright (c) 2014 Jared Morse ¶
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Index ¶
- func LoadHTTPRequestFixture(data []byte) (*http.Request, error)
- func LoadHTTPResponseFixture(data []byte, req *http.Request) (*http.Response, error)
- func NewBytesResponse(status int, body []byte) *http.Response
- func NewClientRecorder(fileName string, verbose bool) *http.Client
- func NewJsonResponse(status int, body interface{}) (*http.Response, error)
- func NewMockDynamoDBClient(functions map[string]interface{}) dynamodbiface.DynamoDBAPI
- func NewRespBodyFromBytes(body []byte) io.ReadCloser
- func NewRespBodyFromString(body string) io.ReadCloser
- func NewStringResponse(status int, body string) *http.Response
- func NewTestClient(fn RoundTripFunc) *http.Client
- func NewXmlResponse(status int, body interface{}) (*http.Response, error)
- type DynamoDBBatchGetItem
- type DynamoDBBatchGetItemPages
- type DynamoDBBatchGetItemPagesWithContext
- type DynamoDBBatchGetItemRequest
- type DynamoDBBatchGetItemWithContext
- type DynamoDBBatchWriteItem
- type DynamoDBBatchWriteItemRequest
- type DynamoDBBatchWriteItemWithContext
- type DynamoDBCreateBackup
- type DynamoDBCreateBackupRequest
- type DynamoDBCreateBackupWithContext
- type DynamoDBCreateGlobalTable
- type DynamoDBCreateGlobalTableRequest
- type DynamoDBCreateGlobalTableWithContext
- type DynamoDBCreateTable
- type DynamoDBCreateTableRequest
- type DynamoDBCreateTableWithContext
- type DynamoDBDeleteBackup
- type DynamoDBDeleteBackupRequest
- type DynamoDBDeleteBackupWithContext
- type DynamoDBDeleteItem
- type DynamoDBDeleteItemRequest
- type DynamoDBDeleteItemWithContext
- type DynamoDBDeleteTable
- type DynamoDBDeleteTableRequest
- type DynamoDBDeleteTableWithContext
- type DynamoDBDescribeBackup
- type DynamoDBDescribeBackupRequest
- type DynamoDBDescribeBackupWithContext
- type DynamoDBDescribeContinuousBackups
- type DynamoDBDescribeContinuousBackupsRequest
- type DynamoDBDescribeContinuousBackupsWithContext
- type DynamoDBDescribeGlobalTable
- type DynamoDBDescribeGlobalTableRequest
- type DynamoDBDescribeGlobalTableSettings
- type DynamoDBDescribeGlobalTableSettingsRequest
- type DynamoDBDescribeGlobalTableSettingsWithContext
- type DynamoDBDescribeGlobalTableWithContext
- type DynamoDBDescribeLimits
- type DynamoDBDescribeLimitsRequest
- type DynamoDBDescribeLimitsWithContext
- type DynamoDBDescribeTable
- type DynamoDBDescribeTableRequest
- type DynamoDBDescribeTableWithContext
- type DynamoDBDescribeTimeToLive
- type DynamoDBDescribeTimeToLiveRequest
- type DynamoDBDescribeTimeToLiveWithContext
- type DynamoDBGetItem
- type DynamoDBGetItemRequest
- type DynamoDBGetItemWithContext
- type DynamoDBListBackups
- type DynamoDBListBackupsRequest
- type DynamoDBListBackupsWithContext
- type DynamoDBListGlobalTables
- type DynamoDBListGlobalTablesRequest
- type DynamoDBListGlobalTablesWithContext
- type DynamoDBListTables
- type DynamoDBListTablesPages
- type DynamoDBListTablesPagesWithContext
- type DynamoDBListTablesRequest
- type DynamoDBListTablesWithContext
- type DynamoDBListTagsOfResource
- type DynamoDBListTagsOfResourceRequest
- type DynamoDBListTagsOfResourceWithContext
- type DynamoDBPutItem
- type DynamoDBPutItemRequest
- type DynamoDBPutItemWithContext
- type DynamoDBQuery
- type DynamoDBQueryPages
- type DynamoDBQueryPagesWithContext
- type DynamoDBQueryRequest
- type DynamoDBQueryWithContext
- type DynamoDBRestoreTableFromBackup
- type DynamoDBRestoreTableFromBackupRequest
- type DynamoDBRestoreTableFromBackupWithContext
- type DynamoDBRestoreTableToPointInTime
- type DynamoDBRestoreTableToPointInTimeRequest
- type DynamoDBRestoreTableToPointInTimeWithContext
- type DynamoDBScan
- type DynamoDBScanPages
- type DynamoDBScanPagesWithContext
- type DynamoDBScanRequest
- type DynamoDBScanWithContext
- type DynamoDBTagResource
- type DynamoDBTagResourceRequest
- type DynamoDBTagResourceWithContext
- type DynamoDBUntagResource
- type DynamoDBUntagResourceRequest
- type DynamoDBUntagResourceWithContext
- type DynamoDBUpdateContinuousBackups
- type DynamoDBUpdateContinuousBackupsRequest
- type DynamoDBUpdateContinuousBackupsWithContext
- type DynamoDBUpdateGlobalTable
- type DynamoDBUpdateGlobalTableRequest
- type DynamoDBUpdateGlobalTableSettings
- type DynamoDBUpdateGlobalTableSettingsRequest
- type DynamoDBUpdateGlobalTableSettingsWithContext
- type DynamoDBUpdateGlobalTableWithContext
- type DynamoDBUpdateItem
- type DynamoDBUpdateItemRequest
- type DynamoDBUpdateItemWithContext
- type DynamoDBUpdateTable
- type DynamoDBUpdateTableRequest
- type DynamoDBUpdateTableWithContext
- type DynamoDBUpdateTimeToLive
- type DynamoDBUpdateTimeToLiveRequest
- type DynamoDBUpdateTimeToLiveWithContext
- type DynamoDBWaitUntilTableExists
- type DynamoDBWaitUntilTableExistsWithContext
- type DynamoDBWaitUntilTableNotExists
- type DynamoDBWaitUntilTableNotExistsWithContext
- type MockDynamoDBClient
- func (mdb *MockDynamoDBClient) BatchGetItem(input *dynamodb.BatchGetItemInput) (*dynamodb.BatchGetItemOutput, error)
- func (mdb *MockDynamoDBClient) BatchGetItemPages(input *dynamodb.BatchGetItemInput, ...) error
- func (mdb *MockDynamoDBClient) BatchGetItemPagesWithContext(context aws.Context, input *dynamodb.BatchGetItemInput, ...) error
- func (mdb *MockDynamoDBClient) BatchGetItemRequest(input *dynamodb.BatchGetItemInput) (*request.Request, *dynamodb.BatchGetItemOutput)
- func (mdb *MockDynamoDBClient) BatchGetItemWithContext(context aws.Context, input *dynamodb.BatchGetItemInput, ...) (*dynamodb.BatchGetItemOutput, error)
- func (mdb *MockDynamoDBClient) BatchWriteItem(input *dynamodb.BatchWriteItemInput) (*dynamodb.BatchWriteItemOutput, error)
- func (mdb *MockDynamoDBClient) BatchWriteItemRequest(input *dynamodb.BatchWriteItemInput) (*request.Request, *dynamodb.BatchWriteItemOutput)
- func (mdb *MockDynamoDBClient) BatchWriteItemWithContext(context aws.Context, input *dynamodb.BatchWriteItemInput, ...) (*dynamodb.BatchWriteItemOutput, error)
- func (mdb *MockDynamoDBClient) CreateBackup(input *dynamodb.CreateBackupInput) (*dynamodb.CreateBackupOutput, error)
- func (mdb *MockDynamoDBClient) CreateBackupRequest(input *dynamodb.CreateBackupInput) (*request.Request, *dynamodb.CreateBackupOutput)
- func (mdb *MockDynamoDBClient) CreateBackupWithContext(context aws.Context, input *dynamodb.CreateBackupInput, ...) (*dynamodb.CreateBackupOutput, error)
- func (mdb *MockDynamoDBClient) CreateGlobalTable(input *dynamodb.CreateGlobalTableInput) (*dynamodb.CreateGlobalTableOutput, error)
- func (mdb *MockDynamoDBClient) CreateGlobalTableRequest(input *dynamodb.CreateGlobalTableInput) (*request.Request, *dynamodb.CreateGlobalTableOutput)
- func (mdb *MockDynamoDBClient) CreateGlobalTableWithContext(context aws.Context, input *dynamodb.CreateGlobalTableInput, ...) (*dynamodb.CreateGlobalTableOutput, error)
- func (mdb *MockDynamoDBClient) CreateTable(input *dynamodb.CreateTableInput) (*dynamodb.CreateTableOutput, error)
- func (mdb *MockDynamoDBClient) CreateTableRequest(input *dynamodb.CreateTableInput) (*request.Request, *dynamodb.CreateTableOutput)
- func (mdb *MockDynamoDBClient) CreateTableWithContext(context aws.Context, input *dynamodb.CreateTableInput, ...) (*dynamodb.CreateTableOutput, error)
- func (mdb *MockDynamoDBClient) DeleteBackup(input *dynamodb.DeleteBackupInput) (*dynamodb.DeleteBackupOutput, error)
- func (mdb *MockDynamoDBClient) DeleteBackupRequest(input *dynamodb.DeleteBackupInput) (*request.Request, *dynamodb.DeleteBackupOutput)
- func (mdb *MockDynamoDBClient) DeleteBackupWithContext(context aws.Context, input *dynamodb.DeleteBackupInput, ...) (*dynamodb.DeleteBackupOutput, error)
- func (mdb *MockDynamoDBClient) DeleteItem(input *dynamodb.DeleteItemInput) (*dynamodb.DeleteItemOutput, error)
- func (mdb *MockDynamoDBClient) DeleteItemRequest(input *dynamodb.DeleteItemInput) (*request.Request, *dynamodb.DeleteItemOutput)
- func (mdb *MockDynamoDBClient) DeleteItemWithContext(context aws.Context, input *dynamodb.DeleteItemInput, ...) (*dynamodb.DeleteItemOutput, error)
- func (mdb *MockDynamoDBClient) DeleteTable(input *dynamodb.DeleteTableInput) (*dynamodb.DeleteTableOutput, error)
- func (mdb *MockDynamoDBClient) DeleteTableRequest(input *dynamodb.DeleteTableInput) (*request.Request, *dynamodb.DeleteTableOutput)
- func (mdb *MockDynamoDBClient) DeleteTableWithContext(context aws.Context, input *dynamodb.DeleteTableInput, ...) (*dynamodb.DeleteTableOutput, error)
- func (mdb *MockDynamoDBClient) DescribeBackup(input *dynamodb.DescribeBackupInput) (*dynamodb.DescribeBackupOutput, error)
- func (mdb *MockDynamoDBClient) DescribeBackupRequest(input *dynamodb.DescribeBackupInput) (*request.Request, *dynamodb.DescribeBackupOutput)
- func (mdb *MockDynamoDBClient) DescribeBackupWithContext(context aws.Context, input *dynamodb.DescribeBackupInput, ...) (*dynamodb.DescribeBackupOutput, error)
- func (mdb *MockDynamoDBClient) DescribeContinuousBackups(input *dynamodb.DescribeContinuousBackupsInput) (*dynamodb.DescribeContinuousBackupsOutput, error)
- func (mdb *MockDynamoDBClient) DescribeContinuousBackupsRequest(input *dynamodb.DescribeContinuousBackupsInput) (*request.Request, *dynamodb.DescribeContinuousBackupsOutput)
- func (mdb *MockDynamoDBClient) DescribeContinuousBackupsWithContext(context aws.Context, input *dynamodb.DescribeContinuousBackupsInput, ...) (*dynamodb.DescribeContinuousBackupsOutput, error)
- func (mdb *MockDynamoDBClient) DescribeGlobalTable(input *dynamodb.DescribeGlobalTableInput) (*dynamodb.DescribeGlobalTableOutput, error)
- func (mdb *MockDynamoDBClient) DescribeGlobalTableRequest(input *dynamodb.DescribeGlobalTableInput) (*request.Request, *dynamodb.DescribeGlobalTableOutput)
- func (mdb *MockDynamoDBClient) DescribeGlobalTableSettings(input *dynamodb.DescribeGlobalTableSettingsInput) (*dynamodb.DescribeGlobalTableSettingsOutput, error)
- func (mdb *MockDynamoDBClient) DescribeGlobalTableSettingsRequest(input *dynamodb.DescribeGlobalTableSettingsInput) (*request.Request, *dynamodb.DescribeGlobalTableSettingsOutput)
- func (mdb *MockDynamoDBClient) DescribeGlobalTableSettingsWithContext(context aws.Context, input *dynamodb.DescribeGlobalTableSettingsInput, ...) (*dynamodb.DescribeGlobalTableSettingsOutput, error)
- func (mdb *MockDynamoDBClient) DescribeGlobalTableWithContext(context aws.Context, input *dynamodb.DescribeGlobalTableInput, ...) (*dynamodb.DescribeGlobalTableOutput, error)
- func (mdb *MockDynamoDBClient) DescribeLimits(input *dynamodb.DescribeLimitsInput) (*dynamodb.DescribeLimitsOutput, error)
- func (mdb *MockDynamoDBClient) DescribeLimitsRequest(input *dynamodb.DescribeLimitsInput) (*request.Request, *dynamodb.DescribeLimitsOutput)
- func (mdb *MockDynamoDBClient) DescribeLimitsWithContext(context aws.Context, input *dynamodb.DescribeLimitsInput, ...) (*dynamodb.DescribeLimitsOutput, error)
- func (mdb *MockDynamoDBClient) DescribeTable(input *dynamodb.DescribeTableInput) (*dynamodb.DescribeTableOutput, error)
- func (mdb *MockDynamoDBClient) DescribeTableRequest(input *dynamodb.DescribeTableInput) (*request.Request, *dynamodb.DescribeTableOutput)
- func (mdb *MockDynamoDBClient) DescribeTableWithContext(context aws.Context, input *dynamodb.DescribeTableInput, ...) (*dynamodb.DescribeTableOutput, error)
- func (mdb *MockDynamoDBClient) DescribeTimeToLive(input *dynamodb.DescribeTimeToLiveInput) (*dynamodb.DescribeTimeToLiveOutput, error)
- func (mdb *MockDynamoDBClient) DescribeTimeToLiveRequest(input *dynamodb.DescribeTimeToLiveInput) (*request.Request, *dynamodb.DescribeTimeToLiveOutput)
- func (mdb *MockDynamoDBClient) DescribeTimeToLiveWithContext(context aws.Context, input *dynamodb.DescribeTimeToLiveInput, ...) (*dynamodb.DescribeTimeToLiveOutput, error)
- func (mdb *MockDynamoDBClient) GetItem(input *dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
- func (mdb *MockDynamoDBClient) GetItemRequest(input *dynamodb.GetItemInput) (*request.Request, *dynamodb.GetItemOutput)
- func (mdb *MockDynamoDBClient) GetItemWithContext(context aws.Context, input *dynamodb.GetItemInput, options ...request.Option) (*dynamodb.GetItemOutput, error)
- func (mdb *MockDynamoDBClient) ListBackups(input *dynamodb.ListBackupsInput) (*dynamodb.ListBackupsOutput, error)
- func (mdb *MockDynamoDBClient) ListBackupsRequest(input *dynamodb.ListBackupsInput) (*request.Request, *dynamodb.ListBackupsOutput)
- func (mdb *MockDynamoDBClient) ListBackupsWithContext(context aws.Context, input *dynamodb.ListBackupsInput, ...) (*dynamodb.ListBackupsOutput, error)
- func (mdb *MockDynamoDBClient) ListGlobalTables(input *dynamodb.ListGlobalTablesInput) (*dynamodb.ListGlobalTablesOutput, error)
- func (mdb *MockDynamoDBClient) ListGlobalTablesRequest(input *dynamodb.ListGlobalTablesInput) (*request.Request, *dynamodb.ListGlobalTablesOutput)
- func (mdb *MockDynamoDBClient) ListGlobalTablesWithContext(context aws.Context, input *dynamodb.ListGlobalTablesInput, ...) (*dynamodb.ListGlobalTablesOutput, error)
- func (mdb *MockDynamoDBClient) ListTables(input *dynamodb.ListTablesInput) (*dynamodb.ListTablesOutput, error)
- func (mdb *MockDynamoDBClient) ListTablesPages(input *dynamodb.ListTablesInput, ...) error
- func (mdb *MockDynamoDBClient) ListTablesPagesWithContext(context aws.Context, input *dynamodb.ListTablesInput, ...) error
- func (mdb *MockDynamoDBClient) ListTablesRequest(input *dynamodb.ListTablesInput) (*request.Request, *dynamodb.ListTablesOutput)
- func (mdb *MockDynamoDBClient) ListTablesWithContext(context aws.Context, input *dynamodb.ListTablesInput, ...) (*dynamodb.ListTablesOutput, error)
- func (mdb *MockDynamoDBClient) ListTagsOfResource(input *dynamodb.ListTagsOfResourceInput) (*dynamodb.ListTagsOfResourceOutput, error)
- func (mdb *MockDynamoDBClient) ListTagsOfResourceRequest(input *dynamodb.ListTagsOfResourceInput) (*request.Request, *dynamodb.ListTagsOfResourceOutput)
- func (mdb *MockDynamoDBClient) ListTagsOfResourceWithContext(context aws.Context, input *dynamodb.ListTagsOfResourceInput, ...) (*dynamodb.ListTagsOfResourceOutput, error)
- func (mdb *MockDynamoDBClient) PutItem(input *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
- func (mdb *MockDynamoDBClient) PutItemRequest(input *dynamodb.PutItemInput) (*request.Request, *dynamodb.PutItemOutput)
- func (mdb *MockDynamoDBClient) PutItemWithContext(context aws.Context, input *dynamodb.PutItemInput, options ...request.Option) (*dynamodb.PutItemOutput, error)
- func (mdb *MockDynamoDBClient) Query(input *dynamodb.QueryInput) (*dynamodb.QueryOutput, error)
- func (mdb *MockDynamoDBClient) QueryPages(input *dynamodb.QueryInput, callback func(*dynamodb.QueryOutput, bool) bool) error
- func (mdb *MockDynamoDBClient) QueryPagesWithContext(context aws.Context, input *dynamodb.QueryInput, ...) error
- func (mdb *MockDynamoDBClient) QueryRequest(input *dynamodb.QueryInput) (*request.Request, *dynamodb.QueryOutput)
- func (mdb *MockDynamoDBClient) QueryWithContext(context aws.Context, input *dynamodb.QueryInput, options ...request.Option) (*dynamodb.QueryOutput, error)
- func (mdb *MockDynamoDBClient) RestoreTableFromBackup(input *dynamodb.RestoreTableFromBackupInput) (*dynamodb.RestoreTableFromBackupOutput, error)
- func (mdb *MockDynamoDBClient) RestoreTableFromBackupRequest(input *dynamodb.RestoreTableFromBackupInput) (*request.Request, *dynamodb.RestoreTableFromBackupOutput)
- func (mdb *MockDynamoDBClient) RestoreTableFromBackupWithContext(context aws.Context, input *dynamodb.RestoreTableFromBackupInput, ...) (*dynamodb.RestoreTableFromBackupOutput, error)
- func (mdb *MockDynamoDBClient) RestoreTableToPointInTime(input *dynamodb.RestoreTableToPointInTimeInput) (*dynamodb.RestoreTableToPointInTimeOutput, error)
- func (mdb *MockDynamoDBClient) RestoreTableToPointInTimeRequest(input *dynamodb.RestoreTableToPointInTimeInput) (*request.Request, *dynamodb.RestoreTableToPointInTimeOutput)
- func (mdb *MockDynamoDBClient) RestoreTableToPointInTimeWithContext(context aws.Context, input *dynamodb.RestoreTableToPointInTimeInput, ...) (*dynamodb.RestoreTableToPointInTimeOutput, error)
- func (mdb *MockDynamoDBClient) Scan(input *dynamodb.ScanInput) (*dynamodb.ScanOutput, error)
- func (mdb *MockDynamoDBClient) ScanPages(input *dynamodb.ScanInput, callback func(*dynamodb.ScanOutput, bool) bool) error
- func (mdb *MockDynamoDBClient) ScanPagesWithContext(context aws.Context, input *dynamodb.ScanInput, ...) error
- func (mdb *MockDynamoDBClient) ScanRequest(input *dynamodb.ScanInput) (*request.Request, *dynamodb.ScanOutput)
- func (mdb *MockDynamoDBClient) ScanWithContext(context aws.Context, input *dynamodb.ScanInput, options ...request.Option) (*dynamodb.ScanOutput, error)
- func (mdb *MockDynamoDBClient) TagResource(input *dynamodb.TagResourceInput) (*dynamodb.TagResourceOutput, error)
- func (mdb *MockDynamoDBClient) TagResourceRequest(input *dynamodb.TagResourceInput) (*request.Request, *dynamodb.TagResourceOutput)
- func (mdb *MockDynamoDBClient) TagResourceWithContext(context aws.Context, input *dynamodb.TagResourceInput, ...) (*dynamodb.TagResourceOutput, error)
- func (mdb *MockDynamoDBClient) UntagResource(input *dynamodb.UntagResourceInput) (*dynamodb.UntagResourceOutput, error)
- func (mdb *MockDynamoDBClient) UntagResourceRequest(input *dynamodb.UntagResourceInput) (*request.Request, *dynamodb.UntagResourceOutput)
- func (mdb *MockDynamoDBClient) UntagResourceWithContext(context aws.Context, input *dynamodb.UntagResourceInput, ...) (*dynamodb.UntagResourceOutput, error)
- func (mdb *MockDynamoDBClient) UpdateContinuousBackups(input *dynamodb.UpdateContinuousBackupsInput) (*dynamodb.UpdateContinuousBackupsOutput, error)
- func (mdb *MockDynamoDBClient) UpdateContinuousBackupsRequest(input *dynamodb.UpdateContinuousBackupsInput) (*request.Request, *dynamodb.UpdateContinuousBackupsOutput)
- func (mdb *MockDynamoDBClient) UpdateContinuousBackupsWithContext(context aws.Context, input *dynamodb.UpdateContinuousBackupsInput, ...) (*dynamodb.UpdateContinuousBackupsOutput, error)
- func (mdb *MockDynamoDBClient) UpdateGlobalTable(input *dynamodb.UpdateGlobalTableInput) (*dynamodb.UpdateGlobalTableOutput, error)
- func (mdb *MockDynamoDBClient) UpdateGlobalTableRequest(input *dynamodb.UpdateGlobalTableInput) (*request.Request, *dynamodb.UpdateGlobalTableOutput)
- func (mdb *MockDynamoDBClient) UpdateGlobalTableSettings(input *dynamodb.UpdateGlobalTableSettingsInput) (*dynamodb.UpdateGlobalTableSettingsOutput, error)
- func (mdb *MockDynamoDBClient) UpdateGlobalTableSettingsRequest(input *dynamodb.UpdateGlobalTableSettingsInput) (*request.Request, *dynamodb.UpdateGlobalTableSettingsOutput)
- func (mdb *MockDynamoDBClient) UpdateGlobalTableSettingsWithContext(context aws.Context, input *dynamodb.UpdateGlobalTableSettingsInput, ...) (*dynamodb.UpdateGlobalTableSettingsOutput, error)
- func (mdb *MockDynamoDBClient) UpdateGlobalTableWithContext(context aws.Context, input *dynamodb.UpdateGlobalTableInput, ...) (*dynamodb.UpdateGlobalTableOutput, error)
- func (mdb *MockDynamoDBClient) UpdateItem(input *dynamodb.UpdateItemInput) (*dynamodb.UpdateItemOutput, error)
- func (mdb *MockDynamoDBClient) UpdateItemRequest(input *dynamodb.UpdateItemInput) (*request.Request, *dynamodb.UpdateItemOutput)
- func (mdb *MockDynamoDBClient) UpdateItemWithContext(context aws.Context, input *dynamodb.UpdateItemInput, ...) (*dynamodb.UpdateItemOutput, error)
- func (mdb *MockDynamoDBClient) UpdateTable(input *dynamodb.UpdateTableInput) (*dynamodb.UpdateTableOutput, error)
- func (mdb *MockDynamoDBClient) UpdateTableRequest(input *dynamodb.UpdateTableInput) (*request.Request, *dynamodb.UpdateTableOutput)
- func (mdb *MockDynamoDBClient) UpdateTableWithContext(context aws.Context, input *dynamodb.UpdateTableInput, ...) (*dynamodb.UpdateTableOutput, error)
- func (mdb *MockDynamoDBClient) UpdateTimeToLive(input *dynamodb.UpdateTimeToLiveInput) (*dynamodb.UpdateTimeToLiveOutput, error)
- func (mdb *MockDynamoDBClient) UpdateTimeToLiveRequest(input *dynamodb.UpdateTimeToLiveInput) (*request.Request, *dynamodb.UpdateTimeToLiveOutput)
- func (mdb *MockDynamoDBClient) UpdateTimeToLiveWithContext(context aws.Context, input *dynamodb.UpdateTimeToLiveInput, ...) (*dynamodb.UpdateTimeToLiveOutput, error)
- func (mdb *MockDynamoDBClient) WaitUntilTableExists(input *dynamodb.DescribeTableInput) error
- func (mdb *MockDynamoDBClient) WaitUntilTableExistsWithContext(context aws.Context, input *dynamodb.DescribeTableInput, ...) error
- func (mdb *MockDynamoDBClient) WaitUntilTableNotExists(input *dynamodb.DescribeTableInput) error
- func (mdb *MockDynamoDBClient) WaitUntilTableNotExistsWithContext(context aws.Context, input *dynamodb.DescribeTableInput, ...) error
- type RoundTripFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadHTTPResponseFixture ¶
func NewBytesResponse ¶
NewBytesResponse creates an *http.Response with a body based on the given bytes. Also accepts an http status code.
func NewClientRecorder ¶
This is meant to make it easy to record request and responses so that they can be used later as test fixtures
func NewJsonResponse ¶
NewJsonResponse creates an *http.Response with a body that is a json encoded representation of the given interface{}. Also accepts an http status code.
func NewMockDynamoDBClient ¶
func NewMockDynamoDBClient(functions map[string]interface{}) dynamodbiface.DynamoDBAPI
NewMockDynamoDBClient creates a new mock dynamo db client example mockedDbFunctions := make(map[string]interface{})
mockedDbFunctions["UpdateItem"] = testhelpers.DynamoDBUpdateItem(func(input *dynamodb.UpdateItemInput) (*dynamodb.UpdateItemOutput, error) { return &dynamodb.UpdateItemOutput{}, nil })mockedDbFunctions["Query"] = testhelpers.DynamoDBQuery(func(input *dynamodb.QueryInput) (*dynamodb.QueryOutput, error) {
return &dynamodb.QueryOutput{}, nil })
func NewRespBodyFromBytes ¶
func NewRespBodyFromBytes(body []byte) io.ReadCloser
NewRespBodyFromBytes creates an io.ReadCloser from a byte slice that is suitable for use as an http response body.
func NewRespBodyFromString ¶
func NewRespBodyFromString(body string) io.ReadCloser
NewRespBodyFromString creates an io.ReadCloser from a string that is suitable for use as an http response body.
func NewStringResponse ¶
NewStringResponse creates an *http.Response with a body based on the given string. Also accepts an http status code.
func NewTestClient ¶
func NewTestClient(fn RoundTripFunc) *http.Client
NewTestClient returns *http.Client with Transport replaced to avoid making real calls
Types ¶
type DynamoDBBatchGetItem ¶
type DynamoDBBatchGetItem func(input *dynamodb.BatchGetItemInput) (*dynamodb.BatchGetItemOutput, error)
type DynamoDBBatchGetItemPages ¶
type DynamoDBBatchGetItemPages func(input *dynamodb.BatchGetItemInput, callback func(*dynamodb.BatchGetItemOutput, bool) bool) error
type DynamoDBBatchGetItemRequest ¶
type DynamoDBBatchGetItemRequest func(input *dynamodb.BatchGetItemInput) (*request.Request, *dynamodb.BatchGetItemOutput)
type DynamoDBBatchGetItemWithContext ¶
type DynamoDBBatchGetItemWithContext func(context aws.Context, input *dynamodb.BatchGetItemInput, options ...request.Option) (*dynamodb.BatchGetItemOutput, error)
type DynamoDBBatchWriteItem ¶
type DynamoDBBatchWriteItem func(input *dynamodb.BatchWriteItemInput) (*dynamodb.BatchWriteItemOutput, error)
type DynamoDBBatchWriteItemRequest ¶
type DynamoDBBatchWriteItemRequest func(input *dynamodb.BatchWriteItemInput) (*request.Request, *dynamodb.BatchWriteItemOutput)
type DynamoDBBatchWriteItemWithContext ¶
type DynamoDBBatchWriteItemWithContext func(context aws.Context, input *dynamodb.BatchWriteItemInput, options ...request.Option) (*dynamodb.BatchWriteItemOutput, error)
type DynamoDBCreateBackup ¶
type DynamoDBCreateBackup func(input *dynamodb.CreateBackupInput) (*dynamodb.CreateBackupOutput, error)
type DynamoDBCreateBackupRequest ¶
type DynamoDBCreateBackupRequest func(input *dynamodb.CreateBackupInput) (*request.Request, *dynamodb.CreateBackupOutput)
type DynamoDBCreateBackupWithContext ¶
type DynamoDBCreateBackupWithContext func(context aws.Context, input *dynamodb.CreateBackupInput, options ...request.Option) (*dynamodb.CreateBackupOutput, error)
type DynamoDBCreateGlobalTable ¶
type DynamoDBCreateGlobalTable func(input *dynamodb.CreateGlobalTableInput) (*dynamodb.CreateGlobalTableOutput, error)
type DynamoDBCreateGlobalTableRequest ¶
type DynamoDBCreateGlobalTableRequest func(input *dynamodb.CreateGlobalTableInput) (*request.Request, *dynamodb.CreateGlobalTableOutput)
type DynamoDBCreateGlobalTableWithContext ¶
type DynamoDBCreateGlobalTableWithContext func(context aws.Context, input *dynamodb.CreateGlobalTableInput, options ...request.Option) (*dynamodb.CreateGlobalTableOutput, error)
type DynamoDBCreateTable ¶
type DynamoDBCreateTable func(input *dynamodb.CreateTableInput) (*dynamodb.CreateTableOutput, error)
type DynamoDBCreateTableRequest ¶
type DynamoDBCreateTableRequest func(input *dynamodb.CreateTableInput) (*request.Request, *dynamodb.CreateTableOutput)
type DynamoDBCreateTableWithContext ¶
type DynamoDBCreateTableWithContext func(context aws.Context, input *dynamodb.CreateTableInput, options ...request.Option) (*dynamodb.CreateTableOutput, error)
type DynamoDBDeleteBackup ¶
type DynamoDBDeleteBackup func(input *dynamodb.DeleteBackupInput) (*dynamodb.DeleteBackupOutput, error)
type DynamoDBDeleteBackupRequest ¶
type DynamoDBDeleteBackupRequest func(input *dynamodb.DeleteBackupInput) (*request.Request, *dynamodb.DeleteBackupOutput)
type DynamoDBDeleteBackupWithContext ¶
type DynamoDBDeleteBackupWithContext func(context aws.Context, input *dynamodb.DeleteBackupInput, options ...request.Option) (*dynamodb.DeleteBackupOutput, error)
type DynamoDBDeleteItem ¶
type DynamoDBDeleteItem func(input *dynamodb.DeleteItemInput) (*dynamodb.DeleteItemOutput, error)
type DynamoDBDeleteItemRequest ¶
type DynamoDBDeleteItemRequest func(input *dynamodb.DeleteItemInput) (*request.Request, *dynamodb.DeleteItemOutput)
type DynamoDBDeleteItemWithContext ¶
type DynamoDBDeleteItemWithContext func(context aws.Context, input *dynamodb.DeleteItemInput, options ...request.Option) (*dynamodb.DeleteItemOutput, error)
type DynamoDBDeleteTable ¶
type DynamoDBDeleteTable func(input *dynamodb.DeleteTableInput) (*dynamodb.DeleteTableOutput, error)
type DynamoDBDeleteTableRequest ¶
type DynamoDBDeleteTableRequest func(input *dynamodb.DeleteTableInput) (*request.Request, *dynamodb.DeleteTableOutput)
type DynamoDBDeleteTableWithContext ¶
type DynamoDBDeleteTableWithContext func(context aws.Context, input *dynamodb.DeleteTableInput, options ...request.Option) (*dynamodb.DeleteTableOutput, error)
type DynamoDBDescribeBackup ¶
type DynamoDBDescribeBackup func(input *dynamodb.DescribeBackupInput) (*dynamodb.DescribeBackupOutput, error)
type DynamoDBDescribeBackupRequest ¶
type DynamoDBDescribeBackupRequest func(input *dynamodb.DescribeBackupInput) (*request.Request, *dynamodb.DescribeBackupOutput)
type DynamoDBDescribeBackupWithContext ¶
type DynamoDBDescribeBackupWithContext func(context aws.Context, input *dynamodb.DescribeBackupInput, options ...request.Option) (*dynamodb.DescribeBackupOutput, error)
type DynamoDBDescribeContinuousBackups ¶
type DynamoDBDescribeContinuousBackups func(input *dynamodb.DescribeContinuousBackupsInput) (*dynamodb.DescribeContinuousBackupsOutput, error)
type DynamoDBDescribeContinuousBackupsRequest ¶
type DynamoDBDescribeContinuousBackupsRequest func(input *dynamodb.DescribeContinuousBackupsInput) (*request.Request, *dynamodb.DescribeContinuousBackupsOutput)
type DynamoDBDescribeContinuousBackupsWithContext ¶
type DynamoDBDescribeContinuousBackupsWithContext func(context aws.Context, input *dynamodb.DescribeContinuousBackupsInput, options ...request.Option) (*dynamodb.DescribeContinuousBackupsOutput, error)
type DynamoDBDescribeGlobalTable ¶
type DynamoDBDescribeGlobalTable func(input *dynamodb.DescribeGlobalTableInput) (*dynamodb.DescribeGlobalTableOutput, error)
type DynamoDBDescribeGlobalTableRequest ¶
type DynamoDBDescribeGlobalTableRequest func(input *dynamodb.DescribeGlobalTableInput) (*request.Request, *dynamodb.DescribeGlobalTableOutput)
type DynamoDBDescribeGlobalTableSettings ¶
type DynamoDBDescribeGlobalTableSettings func(input *dynamodb.DescribeGlobalTableSettingsInput) (*dynamodb.DescribeGlobalTableSettingsOutput, error)
type DynamoDBDescribeGlobalTableSettingsRequest ¶
type DynamoDBDescribeGlobalTableSettingsRequest func(input *dynamodb.DescribeGlobalTableSettingsInput) (*request.Request, *dynamodb.DescribeGlobalTableSettingsOutput)
type DynamoDBDescribeGlobalTableSettingsWithContext ¶
type DynamoDBDescribeGlobalTableSettingsWithContext func(context aws.Context, input *dynamodb.DescribeGlobalTableSettingsInput, options ...request.Option) (*dynamodb.DescribeGlobalTableSettingsOutput, error)
type DynamoDBDescribeGlobalTableWithContext ¶
type DynamoDBDescribeGlobalTableWithContext func(context aws.Context, input *dynamodb.DescribeGlobalTableInput, options ...request.Option) (*dynamodb.DescribeGlobalTableOutput, error)
type DynamoDBDescribeLimits ¶
type DynamoDBDescribeLimits func(input *dynamodb.DescribeLimitsInput) (*dynamodb.DescribeLimitsOutput, error)
type DynamoDBDescribeLimitsRequest ¶
type DynamoDBDescribeLimitsRequest func(input *dynamodb.DescribeLimitsInput) (*request.Request, *dynamodb.DescribeLimitsOutput)
type DynamoDBDescribeLimitsWithContext ¶
type DynamoDBDescribeLimitsWithContext func(context aws.Context, input *dynamodb.DescribeLimitsInput, options ...request.Option) (*dynamodb.DescribeLimitsOutput, error)
type DynamoDBDescribeTable ¶
type DynamoDBDescribeTable func(input *dynamodb.DescribeTableInput) (*dynamodb.DescribeTableOutput, error)
type DynamoDBDescribeTableRequest ¶
type DynamoDBDescribeTableRequest func(input *dynamodb.DescribeTableInput) (*request.Request, *dynamodb.DescribeTableOutput)
type DynamoDBDescribeTableWithContext ¶
type DynamoDBDescribeTableWithContext func(context aws.Context, input *dynamodb.DescribeTableInput, options ...request.Option) (*dynamodb.DescribeTableOutput, error)
type DynamoDBDescribeTimeToLive ¶
type DynamoDBDescribeTimeToLive func(input *dynamodb.DescribeTimeToLiveInput) (*dynamodb.DescribeTimeToLiveOutput, error)
type DynamoDBDescribeTimeToLiveRequest ¶
type DynamoDBDescribeTimeToLiveRequest func(input *dynamodb.DescribeTimeToLiveInput) (*request.Request, *dynamodb.DescribeTimeToLiveOutput)
type DynamoDBDescribeTimeToLiveWithContext ¶
type DynamoDBDescribeTimeToLiveWithContext func(context aws.Context, input *dynamodb.DescribeTimeToLiveInput, options ...request.Option) (*dynamodb.DescribeTimeToLiveOutput, error)
type DynamoDBGetItem ¶
type DynamoDBGetItem func(input *dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
type DynamoDBGetItemRequest ¶
type DynamoDBGetItemRequest func(input *dynamodb.GetItemInput) (*request.Request, *dynamodb.GetItemOutput)
type DynamoDBGetItemWithContext ¶
type DynamoDBGetItemWithContext func(context aws.Context, input *dynamodb.GetItemInput, options ...request.Option) (*dynamodb.GetItemOutput, error)
type DynamoDBListBackups ¶
type DynamoDBListBackups func(input *dynamodb.ListBackupsInput) (*dynamodb.ListBackupsOutput, error)
type DynamoDBListBackupsRequest ¶
type DynamoDBListBackupsRequest func(input *dynamodb.ListBackupsInput) (*request.Request, *dynamodb.ListBackupsOutput)
type DynamoDBListBackupsWithContext ¶
type DynamoDBListBackupsWithContext func(context aws.Context, input *dynamodb.ListBackupsInput, options ...request.Option) (*dynamodb.ListBackupsOutput, error)
type DynamoDBListGlobalTables ¶
type DynamoDBListGlobalTables func(input *dynamodb.ListGlobalTablesInput) (*dynamodb.ListGlobalTablesOutput, error)
type DynamoDBListGlobalTablesRequest ¶
type DynamoDBListGlobalTablesRequest func(input *dynamodb.ListGlobalTablesInput) (*request.Request, *dynamodb.ListGlobalTablesOutput)
type DynamoDBListGlobalTablesWithContext ¶
type DynamoDBListGlobalTablesWithContext func(context aws.Context, input *dynamodb.ListGlobalTablesInput, options ...request.Option) (*dynamodb.ListGlobalTablesOutput, error)
type DynamoDBListTables ¶
type DynamoDBListTables func(input *dynamodb.ListTablesInput) (*dynamodb.ListTablesOutput, error)
type DynamoDBListTablesPages ¶
type DynamoDBListTablesPages func(input *dynamodb.ListTablesInput, callback func(*dynamodb.ListTablesOutput, bool) bool) error
type DynamoDBListTablesRequest ¶
type DynamoDBListTablesRequest func(input *dynamodb.ListTablesInput) (*request.Request, *dynamodb.ListTablesOutput)
type DynamoDBListTablesWithContext ¶
type DynamoDBListTablesWithContext func(context aws.Context, input *dynamodb.ListTablesInput, options ...request.Option) (*dynamodb.ListTablesOutput, error)
type DynamoDBListTagsOfResource ¶
type DynamoDBListTagsOfResource func(input *dynamodb.ListTagsOfResourceInput) (*dynamodb.ListTagsOfResourceOutput, error)
type DynamoDBListTagsOfResourceRequest ¶
type DynamoDBListTagsOfResourceRequest func(input *dynamodb.ListTagsOfResourceInput) (*request.Request, *dynamodb.ListTagsOfResourceOutput)
type DynamoDBListTagsOfResourceWithContext ¶
type DynamoDBListTagsOfResourceWithContext func(context aws.Context, input *dynamodb.ListTagsOfResourceInput, options ...request.Option) (*dynamodb.ListTagsOfResourceOutput, error)
type DynamoDBPutItem ¶
type DynamoDBPutItem func(input *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
type DynamoDBPutItemRequest ¶
type DynamoDBPutItemRequest func(input *dynamodb.PutItemInput) (*request.Request, *dynamodb.PutItemOutput)
type DynamoDBPutItemWithContext ¶
type DynamoDBPutItemWithContext func(context aws.Context, input *dynamodb.PutItemInput, options ...request.Option) (*dynamodb.PutItemOutput, error)
type DynamoDBQuery ¶
type DynamoDBQuery func(input *dynamodb.QueryInput) (*dynamodb.QueryOutput, error)
type DynamoDBQueryPages ¶
type DynamoDBQueryPages func(input *dynamodb.QueryInput, callback func(*dynamodb.QueryOutput, bool) bool) error
type DynamoDBQueryRequest ¶
type DynamoDBQueryRequest func(input *dynamodb.QueryInput) (*request.Request, *dynamodb.QueryOutput)
type DynamoDBQueryWithContext ¶
type DynamoDBQueryWithContext func(context aws.Context, input *dynamodb.QueryInput, options ...request.Option) (*dynamodb.QueryOutput, error)
type DynamoDBRestoreTableFromBackup ¶
type DynamoDBRestoreTableFromBackup func(input *dynamodb.RestoreTableFromBackupInput) (*dynamodb.RestoreTableFromBackupOutput, error)
type DynamoDBRestoreTableFromBackupRequest ¶
type DynamoDBRestoreTableFromBackupRequest func(input *dynamodb.RestoreTableFromBackupInput) (*request.Request, *dynamodb.RestoreTableFromBackupOutput)
type DynamoDBRestoreTableFromBackupWithContext ¶
type DynamoDBRestoreTableFromBackupWithContext func(context aws.Context, input *dynamodb.RestoreTableFromBackupInput, options ...request.Option) (*dynamodb.RestoreTableFromBackupOutput, error)
type DynamoDBRestoreTableToPointInTime ¶
type DynamoDBRestoreTableToPointInTime func(input *dynamodb.RestoreTableToPointInTimeInput) (*dynamodb.RestoreTableToPointInTimeOutput, error)
type DynamoDBRestoreTableToPointInTimeRequest ¶
type DynamoDBRestoreTableToPointInTimeRequest func(input *dynamodb.RestoreTableToPointInTimeInput) (*request.Request, *dynamodb.RestoreTableToPointInTimeOutput)
type DynamoDBRestoreTableToPointInTimeWithContext ¶
type DynamoDBRestoreTableToPointInTimeWithContext func(context aws.Context, input *dynamodb.RestoreTableToPointInTimeInput, options ...request.Option) (*dynamodb.RestoreTableToPointInTimeOutput, error)
type DynamoDBScan ¶
type DynamoDBScan func(input *dynamodb.ScanInput) (*dynamodb.ScanOutput, error)
type DynamoDBScanPages ¶
type DynamoDBScanRequest ¶
type DynamoDBScanWithContext ¶
type DynamoDBTagResource ¶
type DynamoDBTagResource func(input *dynamodb.TagResourceInput) (*dynamodb.TagResourceOutput, error)
type DynamoDBTagResourceRequest ¶
type DynamoDBTagResourceRequest func(input *dynamodb.TagResourceInput) (*request.Request, *dynamodb.TagResourceOutput)
type DynamoDBTagResourceWithContext ¶
type DynamoDBTagResourceWithContext func(context aws.Context, input *dynamodb.TagResourceInput, options ...request.Option) (*dynamodb.TagResourceOutput, error)
type DynamoDBUntagResource ¶
type DynamoDBUntagResource func(input *dynamodb.UntagResourceInput) (*dynamodb.UntagResourceOutput, error)
type DynamoDBUntagResourceRequest ¶
type DynamoDBUntagResourceRequest func(input *dynamodb.UntagResourceInput) (*request.Request, *dynamodb.UntagResourceOutput)
type DynamoDBUntagResourceWithContext ¶
type DynamoDBUntagResourceWithContext func(context aws.Context, input *dynamodb.UntagResourceInput, options ...request.Option) (*dynamodb.UntagResourceOutput, error)
type DynamoDBUpdateContinuousBackups ¶
type DynamoDBUpdateContinuousBackups func(input *dynamodb.UpdateContinuousBackupsInput) (*dynamodb.UpdateContinuousBackupsOutput, error)
type DynamoDBUpdateContinuousBackupsRequest ¶
type DynamoDBUpdateContinuousBackupsRequest func(input *dynamodb.UpdateContinuousBackupsInput) (*request.Request, *dynamodb.UpdateContinuousBackupsOutput)
type DynamoDBUpdateContinuousBackupsWithContext ¶
type DynamoDBUpdateContinuousBackupsWithContext func(context aws.Context, input *dynamodb.UpdateContinuousBackupsInput, options ...request.Option) (*dynamodb.UpdateContinuousBackupsOutput, error)
type DynamoDBUpdateGlobalTable ¶
type DynamoDBUpdateGlobalTable func(input *dynamodb.UpdateGlobalTableInput) (*dynamodb.UpdateGlobalTableOutput, error)
type DynamoDBUpdateGlobalTableRequest ¶
type DynamoDBUpdateGlobalTableRequest func(input *dynamodb.UpdateGlobalTableInput) (*request.Request, *dynamodb.UpdateGlobalTableOutput)
type DynamoDBUpdateGlobalTableSettings ¶
type DynamoDBUpdateGlobalTableSettings func(input *dynamodb.UpdateGlobalTableSettingsInput) (*dynamodb.UpdateGlobalTableSettingsOutput, error)
type DynamoDBUpdateGlobalTableSettingsRequest ¶
type DynamoDBUpdateGlobalTableSettingsRequest func(input *dynamodb.UpdateGlobalTableSettingsInput) (*request.Request, *dynamodb.UpdateGlobalTableSettingsOutput)
type DynamoDBUpdateGlobalTableSettingsWithContext ¶
type DynamoDBUpdateGlobalTableSettingsWithContext func(context aws.Context, input *dynamodb.UpdateGlobalTableSettingsInput, options ...request.Option) (*dynamodb.UpdateGlobalTableSettingsOutput, error)
type DynamoDBUpdateGlobalTableWithContext ¶
type DynamoDBUpdateGlobalTableWithContext func(context aws.Context, input *dynamodb.UpdateGlobalTableInput, options ...request.Option) (*dynamodb.UpdateGlobalTableOutput, error)
type DynamoDBUpdateItem ¶
type DynamoDBUpdateItem func(input *dynamodb.UpdateItemInput) (*dynamodb.UpdateItemOutput, error)
type DynamoDBUpdateItemRequest ¶
type DynamoDBUpdateItemRequest func(input *dynamodb.UpdateItemInput) (*request.Request, *dynamodb.UpdateItemOutput)
type DynamoDBUpdateItemWithContext ¶
type DynamoDBUpdateItemWithContext func(context aws.Context, input *dynamodb.UpdateItemInput, options ...request.Option) (*dynamodb.UpdateItemOutput, error)
type DynamoDBUpdateTable ¶
type DynamoDBUpdateTable func(input *dynamodb.UpdateTableInput) (*dynamodb.UpdateTableOutput, error)
type DynamoDBUpdateTableRequest ¶
type DynamoDBUpdateTableRequest func(input *dynamodb.UpdateTableInput) (*request.Request, *dynamodb.UpdateTableOutput)
type DynamoDBUpdateTableWithContext ¶
type DynamoDBUpdateTableWithContext func(context aws.Context, input *dynamodb.UpdateTableInput, options ...request.Option) (*dynamodb.UpdateTableOutput, error)
type DynamoDBUpdateTimeToLive ¶
type DynamoDBUpdateTimeToLive func(input *dynamodb.UpdateTimeToLiveInput) (*dynamodb.UpdateTimeToLiveOutput, error)
type DynamoDBUpdateTimeToLiveRequest ¶
type DynamoDBUpdateTimeToLiveRequest func(input *dynamodb.UpdateTimeToLiveInput) (*request.Request, *dynamodb.UpdateTimeToLiveOutput)
type DynamoDBUpdateTimeToLiveWithContext ¶
type DynamoDBUpdateTimeToLiveWithContext func(context aws.Context, input *dynamodb.UpdateTimeToLiveInput, options ...request.Option) (*dynamodb.UpdateTimeToLiveOutput, error)
type DynamoDBWaitUntilTableExists ¶
type DynamoDBWaitUntilTableExists func(input *dynamodb.DescribeTableInput) error
type DynamoDBWaitUntilTableExistsWithContext ¶
type DynamoDBWaitUntilTableExistsWithContext func(context aws.Context, input *dynamodb.DescribeTableInput, options ...request.WaiterOption) error
type DynamoDBWaitUntilTableNotExists ¶
type DynamoDBWaitUntilTableNotExists func(input *dynamodb.DescribeTableInput) error
type DynamoDBWaitUntilTableNotExistsWithContext ¶
type DynamoDBWaitUntilTableNotExistsWithContext func(context aws.Context, input *dynamodb.DescribeTableInput, options ...request.WaiterOption) error
type MockDynamoDBClient ¶
type MockDynamoDBClient struct { dynamodbiface.DynamoDBAPI // contains filtered or unexported fields }
MockDynamoDBClient provides a mock implementation of DynamoDBAPI
To use this client you specify the function you would like to override by appending 'Func' to the original method name (e.g. DynamoDBUpdateItem)
// myFunc uses an SDK service client to make a request to // Amazon DynamoDB. func myFunc(svc dynamodbiface.DynamoDBAPI) bool { // Make svc.BatchGetItem request } func main() { sess := session.New() svc := dynamodb.New(sess) myFunc(svc) }
In your _test.go file:
func DynamoDBTestMy(t *testing.T) { //setup map of functions you would like to implement. Note the key is the aws sdk method name and the function type is the Me mockedDbFunctions := make(map[string]interface{}) mockedDbFunctions["UpdateItem"] = testhelpers.DynamoDBUpdateItem(func(input *dynamodb.UpdateItemInput) (*dynamodb.UpdateItemOutput, error) { key := input.Key["key"] if *key.S != "value" { t.Errorf("Expected token to be 'value', got '%s'", *key.S) } return &dynamodb.UpdateItemOutput{}, nil }) mockSvc := testhelpers.NewMockDynamoDBClient(mockedDbFunctions)' myfunc(mockSvc)
func (*MockDynamoDBClient) BatchGetItem ¶
func (mdb *MockDynamoDBClient) BatchGetItem(input *dynamodb.BatchGetItemInput) (*dynamodb.BatchGetItemOutput, error)
func (*MockDynamoDBClient) BatchGetItemPages ¶
func (mdb *MockDynamoDBClient) BatchGetItemPages(input *dynamodb.BatchGetItemInput, callback func(*dynamodb.BatchGetItemOutput, bool) bool) error
func (*MockDynamoDBClient) BatchGetItemPagesWithContext ¶
func (mdb *MockDynamoDBClient) BatchGetItemPagesWithContext(context aws.Context, input *dynamodb.BatchGetItemInput, callback func(*dynamodb.BatchGetItemOutput, bool) bool, options ...request.Option) error
func (*MockDynamoDBClient) BatchGetItemRequest ¶
func (mdb *MockDynamoDBClient) BatchGetItemRequest(input *dynamodb.BatchGetItemInput) (*request.Request, *dynamodb.BatchGetItemOutput)
func (*MockDynamoDBClient) BatchGetItemWithContext ¶
func (mdb *MockDynamoDBClient) BatchGetItemWithContext(context aws.Context, input *dynamodb.BatchGetItemInput, options ...request.Option) (*dynamodb.BatchGetItemOutput, error)
func (*MockDynamoDBClient) BatchWriteItem ¶
func (mdb *MockDynamoDBClient) BatchWriteItem(input *dynamodb.BatchWriteItemInput) (*dynamodb.BatchWriteItemOutput, error)
func (*MockDynamoDBClient) BatchWriteItemRequest ¶
func (mdb *MockDynamoDBClient) BatchWriteItemRequest(input *dynamodb.BatchWriteItemInput) (*request.Request, *dynamodb.BatchWriteItemOutput)
func (*MockDynamoDBClient) BatchWriteItemWithContext ¶
func (mdb *MockDynamoDBClient) BatchWriteItemWithContext(context aws.Context, input *dynamodb.BatchWriteItemInput, options ...request.Option) (*dynamodb.BatchWriteItemOutput, error)
func (*MockDynamoDBClient) CreateBackup ¶
func (mdb *MockDynamoDBClient) CreateBackup(input *dynamodb.CreateBackupInput) (*dynamodb.CreateBackupOutput, error)
func (*MockDynamoDBClient) CreateBackupRequest ¶
func (mdb *MockDynamoDBClient) CreateBackupRequest(input *dynamodb.CreateBackupInput) (*request.Request, *dynamodb.CreateBackupOutput)
func (*MockDynamoDBClient) CreateBackupWithContext ¶
func (mdb *MockDynamoDBClient) CreateBackupWithContext(context aws.Context, input *dynamodb.CreateBackupInput, options ...request.Option) (*dynamodb.CreateBackupOutput, error)
func (*MockDynamoDBClient) CreateGlobalTable ¶
func (mdb *MockDynamoDBClient) CreateGlobalTable(input *dynamodb.CreateGlobalTableInput) (*dynamodb.CreateGlobalTableOutput, error)
func (*MockDynamoDBClient) CreateGlobalTableRequest ¶
func (mdb *MockDynamoDBClient) CreateGlobalTableRequest(input *dynamodb.CreateGlobalTableInput) (*request.Request, *dynamodb.CreateGlobalTableOutput)
func (*MockDynamoDBClient) CreateGlobalTableWithContext ¶
func (mdb *MockDynamoDBClient) CreateGlobalTableWithContext(context aws.Context, input *dynamodb.CreateGlobalTableInput, options ...request.Option) (*dynamodb.CreateGlobalTableOutput, error)
func (*MockDynamoDBClient) CreateTable ¶
func (mdb *MockDynamoDBClient) CreateTable(input *dynamodb.CreateTableInput) (*dynamodb.CreateTableOutput, error)
func (*MockDynamoDBClient) CreateTableRequest ¶
func (mdb *MockDynamoDBClient) CreateTableRequest(input *dynamodb.CreateTableInput) (*request.Request, *dynamodb.CreateTableOutput)
func (*MockDynamoDBClient) CreateTableWithContext ¶
func (mdb *MockDynamoDBClient) CreateTableWithContext(context aws.Context, input *dynamodb.CreateTableInput, options ...request.Option) (*dynamodb.CreateTableOutput, error)
func (*MockDynamoDBClient) DeleteBackup ¶
func (mdb *MockDynamoDBClient) DeleteBackup(input *dynamodb.DeleteBackupInput) (*dynamodb.DeleteBackupOutput, error)
func (*MockDynamoDBClient) DeleteBackupRequest ¶
func (mdb *MockDynamoDBClient) DeleteBackupRequest(input *dynamodb.DeleteBackupInput) (*request.Request, *dynamodb.DeleteBackupOutput)
func (*MockDynamoDBClient) DeleteBackupWithContext ¶
func (mdb *MockDynamoDBClient) DeleteBackupWithContext(context aws.Context, input *dynamodb.DeleteBackupInput, options ...request.Option) (*dynamodb.DeleteBackupOutput, error)
func (*MockDynamoDBClient) DeleteItem ¶
func (mdb *MockDynamoDBClient) DeleteItem(input *dynamodb.DeleteItemInput) (*dynamodb.DeleteItemOutput, error)
func (*MockDynamoDBClient) DeleteItemRequest ¶
func (mdb *MockDynamoDBClient) DeleteItemRequest(input *dynamodb.DeleteItemInput) (*request.Request, *dynamodb.DeleteItemOutput)
func (*MockDynamoDBClient) DeleteItemWithContext ¶
func (mdb *MockDynamoDBClient) DeleteItemWithContext(context aws.Context, input *dynamodb.DeleteItemInput, options ...request.Option) (*dynamodb.DeleteItemOutput, error)
func (*MockDynamoDBClient) DeleteTable ¶
func (mdb *MockDynamoDBClient) DeleteTable(input *dynamodb.DeleteTableInput) (*dynamodb.DeleteTableOutput, error)
func (*MockDynamoDBClient) DeleteTableRequest ¶
func (mdb *MockDynamoDBClient) DeleteTableRequest(input *dynamodb.DeleteTableInput) (*request.Request, *dynamodb.DeleteTableOutput)
func (*MockDynamoDBClient) DeleteTableWithContext ¶
func (mdb *MockDynamoDBClient) DeleteTableWithContext(context aws.Context, input *dynamodb.DeleteTableInput, options ...request.Option) (*dynamodb.DeleteTableOutput, error)
func (*MockDynamoDBClient) DescribeBackup ¶
func (mdb *MockDynamoDBClient) DescribeBackup(input *dynamodb.DescribeBackupInput) (*dynamodb.DescribeBackupOutput, error)
func (*MockDynamoDBClient) DescribeBackupRequest ¶
func (mdb *MockDynamoDBClient) DescribeBackupRequest(input *dynamodb.DescribeBackupInput) (*request.Request, *dynamodb.DescribeBackupOutput)
func (*MockDynamoDBClient) DescribeBackupWithContext ¶
func (mdb *MockDynamoDBClient) DescribeBackupWithContext(context aws.Context, input *dynamodb.DescribeBackupInput, options ...request.Option) (*dynamodb.DescribeBackupOutput, error)
func (*MockDynamoDBClient) DescribeContinuousBackups ¶
func (mdb *MockDynamoDBClient) DescribeContinuousBackups(input *dynamodb.DescribeContinuousBackupsInput) (*dynamodb.DescribeContinuousBackupsOutput, error)
func (*MockDynamoDBClient) DescribeContinuousBackupsRequest ¶
func (mdb *MockDynamoDBClient) DescribeContinuousBackupsRequest(input *dynamodb.DescribeContinuousBackupsInput) (*request.Request, *dynamodb.DescribeContinuousBackupsOutput)
func (*MockDynamoDBClient) DescribeContinuousBackupsWithContext ¶
func (mdb *MockDynamoDBClient) DescribeContinuousBackupsWithContext(context aws.Context, input *dynamodb.DescribeContinuousBackupsInput, options ...request.Option) (*dynamodb.DescribeContinuousBackupsOutput, error)
func (*MockDynamoDBClient) DescribeGlobalTable ¶
func (mdb *MockDynamoDBClient) DescribeGlobalTable(input *dynamodb.DescribeGlobalTableInput) (*dynamodb.DescribeGlobalTableOutput, error)
func (*MockDynamoDBClient) DescribeGlobalTableRequest ¶
func (mdb *MockDynamoDBClient) DescribeGlobalTableRequest(input *dynamodb.DescribeGlobalTableInput) (*request.Request, *dynamodb.DescribeGlobalTableOutput)
func (*MockDynamoDBClient) DescribeGlobalTableSettings ¶
func (mdb *MockDynamoDBClient) DescribeGlobalTableSettings(input *dynamodb.DescribeGlobalTableSettingsInput) (*dynamodb.DescribeGlobalTableSettingsOutput, error)
func (*MockDynamoDBClient) DescribeGlobalTableSettingsRequest ¶
func (mdb *MockDynamoDBClient) DescribeGlobalTableSettingsRequest(input *dynamodb.DescribeGlobalTableSettingsInput) (*request.Request, *dynamodb.DescribeGlobalTableSettingsOutput)
func (*MockDynamoDBClient) DescribeGlobalTableSettingsWithContext ¶
func (mdb *MockDynamoDBClient) DescribeGlobalTableSettingsWithContext(context aws.Context, input *dynamodb.DescribeGlobalTableSettingsInput, options ...request.Option) (*dynamodb.DescribeGlobalTableSettingsOutput, error)
func (*MockDynamoDBClient) DescribeGlobalTableWithContext ¶
func (mdb *MockDynamoDBClient) DescribeGlobalTableWithContext(context aws.Context, input *dynamodb.DescribeGlobalTableInput, options ...request.Option) (*dynamodb.DescribeGlobalTableOutput, error)
func (*MockDynamoDBClient) DescribeLimits ¶
func (mdb *MockDynamoDBClient) DescribeLimits(input *dynamodb.DescribeLimitsInput) (*dynamodb.DescribeLimitsOutput, error)
func (*MockDynamoDBClient) DescribeLimitsRequest ¶
func (mdb *MockDynamoDBClient) DescribeLimitsRequest(input *dynamodb.DescribeLimitsInput) (*request.Request, *dynamodb.DescribeLimitsOutput)
func (*MockDynamoDBClient) DescribeLimitsWithContext ¶
func (mdb *MockDynamoDBClient) DescribeLimitsWithContext(context aws.Context, input *dynamodb.DescribeLimitsInput, options ...request.Option) (*dynamodb.DescribeLimitsOutput, error)
func (*MockDynamoDBClient) DescribeTable ¶
func (mdb *MockDynamoDBClient) DescribeTable(input *dynamodb.DescribeTableInput) (*dynamodb.DescribeTableOutput, error)
func (*MockDynamoDBClient) DescribeTableRequest ¶
func (mdb *MockDynamoDBClient) DescribeTableRequest(input *dynamodb.DescribeTableInput) (*request.Request, *dynamodb.DescribeTableOutput)
func (*MockDynamoDBClient) DescribeTableWithContext ¶
func (mdb *MockDynamoDBClient) DescribeTableWithContext(context aws.Context, input *dynamodb.DescribeTableInput, options ...request.Option) (*dynamodb.DescribeTableOutput, error)
func (*MockDynamoDBClient) DescribeTimeToLive ¶
func (mdb *MockDynamoDBClient) DescribeTimeToLive(input *dynamodb.DescribeTimeToLiveInput) (*dynamodb.DescribeTimeToLiveOutput, error)
func (*MockDynamoDBClient) DescribeTimeToLiveRequest ¶
func (mdb *MockDynamoDBClient) DescribeTimeToLiveRequest(input *dynamodb.DescribeTimeToLiveInput) (*request.Request, *dynamodb.DescribeTimeToLiveOutput)
func (*MockDynamoDBClient) DescribeTimeToLiveWithContext ¶
func (mdb *MockDynamoDBClient) DescribeTimeToLiveWithContext(context aws.Context, input *dynamodb.DescribeTimeToLiveInput, options ...request.Option) (*dynamodb.DescribeTimeToLiveOutput, error)
func (*MockDynamoDBClient) GetItem ¶
func (mdb *MockDynamoDBClient) GetItem(input *dynamodb.GetItemInput) (*dynamodb.GetItemOutput, error)
func (*MockDynamoDBClient) GetItemRequest ¶
func (mdb *MockDynamoDBClient) GetItemRequest(input *dynamodb.GetItemInput) (*request.Request, *dynamodb.GetItemOutput)
func (*MockDynamoDBClient) GetItemWithContext ¶
func (mdb *MockDynamoDBClient) GetItemWithContext(context aws.Context, input *dynamodb.GetItemInput, options ...request.Option) (*dynamodb.GetItemOutput, error)
func (*MockDynamoDBClient) ListBackups ¶
func (mdb *MockDynamoDBClient) ListBackups(input *dynamodb.ListBackupsInput) (*dynamodb.ListBackupsOutput, error)
func (*MockDynamoDBClient) ListBackupsRequest ¶
func (mdb *MockDynamoDBClient) ListBackupsRequest(input *dynamodb.ListBackupsInput) (*request.Request, *dynamodb.ListBackupsOutput)
func (*MockDynamoDBClient) ListBackupsWithContext ¶
func (mdb *MockDynamoDBClient) ListBackupsWithContext(context aws.Context, input *dynamodb.ListBackupsInput, options ...request.Option) (*dynamodb.ListBackupsOutput, error)
func (*MockDynamoDBClient) ListGlobalTables ¶
func (mdb *MockDynamoDBClient) ListGlobalTables(input *dynamodb.ListGlobalTablesInput) (*dynamodb.ListGlobalTablesOutput, error)
func (*MockDynamoDBClient) ListGlobalTablesRequest ¶
func (mdb *MockDynamoDBClient) ListGlobalTablesRequest(input *dynamodb.ListGlobalTablesInput) (*request.Request, *dynamodb.ListGlobalTablesOutput)
func (*MockDynamoDBClient) ListGlobalTablesWithContext ¶
func (mdb *MockDynamoDBClient) ListGlobalTablesWithContext(context aws.Context, input *dynamodb.ListGlobalTablesInput, options ...request.Option) (*dynamodb.ListGlobalTablesOutput, error)
func (*MockDynamoDBClient) ListTables ¶
func (mdb *MockDynamoDBClient) ListTables(input *dynamodb.ListTablesInput) (*dynamodb.ListTablesOutput, error)
func (*MockDynamoDBClient) ListTablesPages ¶
func (mdb *MockDynamoDBClient) ListTablesPages(input *dynamodb.ListTablesInput, callback func(*dynamodb.ListTablesOutput, bool) bool) error
func (*MockDynamoDBClient) ListTablesPagesWithContext ¶
func (mdb *MockDynamoDBClient) ListTablesPagesWithContext(context aws.Context, input *dynamodb.ListTablesInput, callback func(*dynamodb.ListTablesOutput, bool) bool, options ...request.Option) error
func (*MockDynamoDBClient) ListTablesRequest ¶
func (mdb *MockDynamoDBClient) ListTablesRequest(input *dynamodb.ListTablesInput) (*request.Request, *dynamodb.ListTablesOutput)
func (*MockDynamoDBClient) ListTablesWithContext ¶
func (mdb *MockDynamoDBClient) ListTablesWithContext(context aws.Context, input *dynamodb.ListTablesInput, options ...request.Option) (*dynamodb.ListTablesOutput, error)
func (*MockDynamoDBClient) ListTagsOfResource ¶
func (mdb *MockDynamoDBClient) ListTagsOfResource(input *dynamodb.ListTagsOfResourceInput) (*dynamodb.ListTagsOfResourceOutput, error)
func (*MockDynamoDBClient) ListTagsOfResourceRequest ¶
func (mdb *MockDynamoDBClient) ListTagsOfResourceRequest(input *dynamodb.ListTagsOfResourceInput) (*request.Request, *dynamodb.ListTagsOfResourceOutput)
func (*MockDynamoDBClient) ListTagsOfResourceWithContext ¶
func (mdb *MockDynamoDBClient) ListTagsOfResourceWithContext(context aws.Context, input *dynamodb.ListTagsOfResourceInput, options ...request.Option) (*dynamodb.ListTagsOfResourceOutput, error)
func (*MockDynamoDBClient) PutItem ¶
func (mdb *MockDynamoDBClient) PutItem(input *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
func (*MockDynamoDBClient) PutItemRequest ¶
func (mdb *MockDynamoDBClient) PutItemRequest(input *dynamodb.PutItemInput) (*request.Request, *dynamodb.PutItemOutput)
func (*MockDynamoDBClient) PutItemWithContext ¶
func (mdb *MockDynamoDBClient) PutItemWithContext(context aws.Context, input *dynamodb.PutItemInput, options ...request.Option) (*dynamodb.PutItemOutput, error)
func (*MockDynamoDBClient) Query ¶
func (mdb *MockDynamoDBClient) Query(input *dynamodb.QueryInput) (*dynamodb.QueryOutput, error)
func (*MockDynamoDBClient) QueryPages ¶
func (mdb *MockDynamoDBClient) QueryPages(input *dynamodb.QueryInput, callback func(*dynamodb.QueryOutput, bool) bool) error
func (*MockDynamoDBClient) QueryPagesWithContext ¶
func (mdb *MockDynamoDBClient) QueryPagesWithContext(context aws.Context, input *dynamodb.QueryInput, callback func(*dynamodb.QueryOutput, bool) bool, options ...request.Option) error
func (*MockDynamoDBClient) QueryRequest ¶
func (mdb *MockDynamoDBClient) QueryRequest(input *dynamodb.QueryInput) (*request.Request, *dynamodb.QueryOutput)
func (*MockDynamoDBClient) QueryWithContext ¶
func (mdb *MockDynamoDBClient) QueryWithContext(context aws.Context, input *dynamodb.QueryInput, options ...request.Option) (*dynamodb.QueryOutput, error)
func (*MockDynamoDBClient) RestoreTableFromBackup ¶
func (mdb *MockDynamoDBClient) RestoreTableFromBackup(input *dynamodb.RestoreTableFromBackupInput) (*dynamodb.RestoreTableFromBackupOutput, error)
func (*MockDynamoDBClient) RestoreTableFromBackupRequest ¶
func (mdb *MockDynamoDBClient) RestoreTableFromBackupRequest(input *dynamodb.RestoreTableFromBackupInput) (*request.Request, *dynamodb.RestoreTableFromBackupOutput)
func (*MockDynamoDBClient) RestoreTableFromBackupWithContext ¶
func (mdb *MockDynamoDBClient) RestoreTableFromBackupWithContext(context aws.Context, input *dynamodb.RestoreTableFromBackupInput, options ...request.Option) (*dynamodb.RestoreTableFromBackupOutput, error)
func (*MockDynamoDBClient) RestoreTableToPointInTime ¶
func (mdb *MockDynamoDBClient) RestoreTableToPointInTime(input *dynamodb.RestoreTableToPointInTimeInput) (*dynamodb.RestoreTableToPointInTimeOutput, error)
func (*MockDynamoDBClient) RestoreTableToPointInTimeRequest ¶
func (mdb *MockDynamoDBClient) RestoreTableToPointInTimeRequest(input *dynamodb.RestoreTableToPointInTimeInput) (*request.Request, *dynamodb.RestoreTableToPointInTimeOutput)
func (*MockDynamoDBClient) RestoreTableToPointInTimeWithContext ¶
func (mdb *MockDynamoDBClient) RestoreTableToPointInTimeWithContext(context aws.Context, input *dynamodb.RestoreTableToPointInTimeInput, options ...request.Option) (*dynamodb.RestoreTableToPointInTimeOutput, error)
func (*MockDynamoDBClient) Scan ¶
func (mdb *MockDynamoDBClient) Scan(input *dynamodb.ScanInput) (*dynamodb.ScanOutput, error)
func (*MockDynamoDBClient) ScanPages ¶
func (mdb *MockDynamoDBClient) ScanPages(input *dynamodb.ScanInput, callback func(*dynamodb.ScanOutput, bool) bool) error
func (*MockDynamoDBClient) ScanPagesWithContext ¶
func (*MockDynamoDBClient) ScanRequest ¶
func (mdb *MockDynamoDBClient) ScanRequest(input *dynamodb.ScanInput) (*request.Request, *dynamodb.ScanOutput)
func (*MockDynamoDBClient) ScanWithContext ¶
func (mdb *MockDynamoDBClient) ScanWithContext(context aws.Context, input *dynamodb.ScanInput, options ...request.Option) (*dynamodb.ScanOutput, error)
func (*MockDynamoDBClient) TagResource ¶
func (mdb *MockDynamoDBClient) TagResource(input *dynamodb.TagResourceInput) (*dynamodb.TagResourceOutput, error)
func (*MockDynamoDBClient) TagResourceRequest ¶
func (mdb *MockDynamoDBClient) TagResourceRequest(input *dynamodb.TagResourceInput) (*request.Request, *dynamodb.TagResourceOutput)
func (*MockDynamoDBClient) TagResourceWithContext ¶
func (mdb *MockDynamoDBClient) TagResourceWithContext(context aws.Context, input *dynamodb.TagResourceInput, options ...request.Option) (*dynamodb.TagResourceOutput, error)
func (*MockDynamoDBClient) UntagResource ¶
func (mdb *MockDynamoDBClient) UntagResource(input *dynamodb.UntagResourceInput) (*dynamodb.UntagResourceOutput, error)
func (*MockDynamoDBClient) UntagResourceRequest ¶
func (mdb *MockDynamoDBClient) UntagResourceRequest(input *dynamodb.UntagResourceInput) (*request.Request, *dynamodb.UntagResourceOutput)
func (*MockDynamoDBClient) UntagResourceWithContext ¶
func (mdb *MockDynamoDBClient) UntagResourceWithContext(context aws.Context, input *dynamodb.UntagResourceInput, options ...request.Option) (*dynamodb.UntagResourceOutput, error)
func (*MockDynamoDBClient) UpdateContinuousBackups ¶
func (mdb *MockDynamoDBClient) UpdateContinuousBackups(input *dynamodb.UpdateContinuousBackupsInput) (*dynamodb.UpdateContinuousBackupsOutput, error)
func (*MockDynamoDBClient) UpdateContinuousBackupsRequest ¶
func (mdb *MockDynamoDBClient) UpdateContinuousBackupsRequest(input *dynamodb.UpdateContinuousBackupsInput) (*request.Request, *dynamodb.UpdateContinuousBackupsOutput)
func (*MockDynamoDBClient) UpdateContinuousBackupsWithContext ¶
func (mdb *MockDynamoDBClient) UpdateContinuousBackupsWithContext(context aws.Context, input *dynamodb.UpdateContinuousBackupsInput, options ...request.Option) (*dynamodb.UpdateContinuousBackupsOutput, error)
func (*MockDynamoDBClient) UpdateGlobalTable ¶
func (mdb *MockDynamoDBClient) UpdateGlobalTable(input *dynamodb.UpdateGlobalTableInput) (*dynamodb.UpdateGlobalTableOutput, error)
func (*MockDynamoDBClient) UpdateGlobalTableRequest ¶
func (mdb *MockDynamoDBClient) UpdateGlobalTableRequest(input *dynamodb.UpdateGlobalTableInput) (*request.Request, *dynamodb.UpdateGlobalTableOutput)
func (*MockDynamoDBClient) UpdateGlobalTableSettings ¶
func (mdb *MockDynamoDBClient) UpdateGlobalTableSettings(input *dynamodb.UpdateGlobalTableSettingsInput) (*dynamodb.UpdateGlobalTableSettingsOutput, error)
func (*MockDynamoDBClient) UpdateGlobalTableSettingsRequest ¶
func (mdb *MockDynamoDBClient) UpdateGlobalTableSettingsRequest(input *dynamodb.UpdateGlobalTableSettingsInput) (*request.Request, *dynamodb.UpdateGlobalTableSettingsOutput)
func (*MockDynamoDBClient) UpdateGlobalTableSettingsWithContext ¶
func (mdb *MockDynamoDBClient) UpdateGlobalTableSettingsWithContext(context aws.Context, input *dynamodb.UpdateGlobalTableSettingsInput, options ...request.Option) (*dynamodb.UpdateGlobalTableSettingsOutput, error)
func (*MockDynamoDBClient) UpdateGlobalTableWithContext ¶
func (mdb *MockDynamoDBClient) UpdateGlobalTableWithContext(context aws.Context, input *dynamodb.UpdateGlobalTableInput, options ...request.Option) (*dynamodb.UpdateGlobalTableOutput, error)
func (*MockDynamoDBClient) UpdateItem ¶
func (mdb *MockDynamoDBClient) UpdateItem(input *dynamodb.UpdateItemInput) (*dynamodb.UpdateItemOutput, error)
func (*MockDynamoDBClient) UpdateItemRequest ¶
func (mdb *MockDynamoDBClient) UpdateItemRequest(input *dynamodb.UpdateItemInput) (*request.Request, *dynamodb.UpdateItemOutput)
func (*MockDynamoDBClient) UpdateItemWithContext ¶
func (mdb *MockDynamoDBClient) UpdateItemWithContext(context aws.Context, input *dynamodb.UpdateItemInput, options ...request.Option) (*dynamodb.UpdateItemOutput, error)
func (*MockDynamoDBClient) UpdateTable ¶
func (mdb *MockDynamoDBClient) UpdateTable(input *dynamodb.UpdateTableInput) (*dynamodb.UpdateTableOutput, error)
func (*MockDynamoDBClient) UpdateTableRequest ¶
func (mdb *MockDynamoDBClient) UpdateTableRequest(input *dynamodb.UpdateTableInput) (*request.Request, *dynamodb.UpdateTableOutput)
func (*MockDynamoDBClient) UpdateTableWithContext ¶
func (mdb *MockDynamoDBClient) UpdateTableWithContext(context aws.Context, input *dynamodb.UpdateTableInput, options ...request.Option) (*dynamodb.UpdateTableOutput, error)
func (*MockDynamoDBClient) UpdateTimeToLive ¶
func (mdb *MockDynamoDBClient) UpdateTimeToLive(input *dynamodb.UpdateTimeToLiveInput) (*dynamodb.UpdateTimeToLiveOutput, error)
func (*MockDynamoDBClient) UpdateTimeToLiveRequest ¶
func (mdb *MockDynamoDBClient) UpdateTimeToLiveRequest(input *dynamodb.UpdateTimeToLiveInput) (*request.Request, *dynamodb.UpdateTimeToLiveOutput)
func (*MockDynamoDBClient) UpdateTimeToLiveWithContext ¶
func (mdb *MockDynamoDBClient) UpdateTimeToLiveWithContext(context aws.Context, input *dynamodb.UpdateTimeToLiveInput, options ...request.Option) (*dynamodb.UpdateTimeToLiveOutput, error)
func (*MockDynamoDBClient) WaitUntilTableExists ¶
func (mdb *MockDynamoDBClient) WaitUntilTableExists(input *dynamodb.DescribeTableInput) error
func (*MockDynamoDBClient) WaitUntilTableExistsWithContext ¶
func (mdb *MockDynamoDBClient) WaitUntilTableExistsWithContext(context aws.Context, input *dynamodb.DescribeTableInput, options ...request.WaiterOption) error
func (*MockDynamoDBClient) WaitUntilTableNotExists ¶
func (mdb *MockDynamoDBClient) WaitUntilTableNotExists(input *dynamodb.DescribeTableInput) error
func (*MockDynamoDBClient) WaitUntilTableNotExistsWithContext ¶
func (mdb *MockDynamoDBClient) WaitUntilTableNotExistsWithContext(context aws.Context, input *dynamodb.DescribeTableInput, options ...request.WaiterOption) error