1
|
|
|
package dynamodb |
2
|
|
|
|
3
|
|
|
import ( |
4
|
|
|
"context" |
5
|
|
|
|
6
|
|
|
SDK "github.com/aws/aws-sdk-go-v2/service/dynamodb" |
7
|
|
|
) |
8
|
|
|
|
9
|
|
|
// RawBatchGetItem executes `BatchGetItem` raw operation. |
10
|
|
|
func (svc *DynamoDB) RawBatchGetItem(ctx context.Context, in *SDK.BatchGetItemInput) (*SDK.BatchGetItemResponse, error) { |
11
|
|
|
return svc.client.BatchGetItemRequest(in).Send(ctx) |
12
|
|
|
} |
13
|
|
|
|
14
|
|
|
// RawBatchWriteItem executes `BatchWriteItem` raw operation. |
15
|
|
|
func (svc *DynamoDB) RawBatchWriteItem(ctx context.Context, in *SDK.BatchWriteItemInput) (*SDK.BatchWriteItemResponse, error) { |
16
|
|
|
return svc.client.BatchWriteItemRequest(in).Send(ctx) |
17
|
|
|
} |
18
|
|
|
|
19
|
|
|
// RawCreateBackup executes `CreateBackup` raw operation. |
20
|
|
|
func (svc *DynamoDB) RawCreateBackup(ctx context.Context, in *SDK.CreateBackupInput) (*SDK.CreateBackupResponse, error) { |
21
|
|
|
return svc.client.CreateBackupRequest(in).Send(ctx) |
22
|
|
|
} |
23
|
|
|
|
24
|
|
|
// RawCreateGlobalTable executes `CreateGlobalTable` raw operation. |
25
|
|
|
func (svc *DynamoDB) RawCreateGlobalTable(ctx context.Context, in *SDK.CreateGlobalTableInput) (*SDK.CreateGlobalTableResponse, error) { |
26
|
|
|
return svc.client.CreateGlobalTableRequest(in).Send(ctx) |
27
|
|
|
} |
28
|
|
|
|
29
|
|
|
// RawCreateTable executes `CreateTable` raw operation. |
30
|
|
|
func (svc *DynamoDB) RawCreateTable(ctx context.Context, in *SDK.CreateTableInput) (*SDK.CreateTableResponse, error) { |
31
|
|
|
return svc.client.CreateTableRequest(in).Send(ctx) |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
// RawDeleteBackup executes `DeleteBackup` raw operation. |
35
|
|
|
func (svc *DynamoDB) RawDeleteBackup(ctx context.Context, in *SDK.DeleteBackupInput) (*SDK.DeleteBackupResponse, error) { |
36
|
|
|
return svc.client.DeleteBackupRequest(in).Send(ctx) |
37
|
|
|
} |
38
|
|
|
|
39
|
|
|
// RawDeleteItem executes `DeleteItem` raw operation. |
40
|
|
|
func (svc *DynamoDB) RawDeleteItem(ctx context.Context, in *SDK.DeleteItemInput) (*SDK.DeleteItemResponse, error) { |
41
|
|
|
return svc.client.DeleteItemRequest(in).Send(ctx) |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
// RawDeleteTable executes `DeleteTable` raw operation. |
45
|
|
|
func (svc *DynamoDB) RawDeleteTable(ctx context.Context, in *SDK.DeleteTableInput) (*SDK.DeleteTableResponse, error) { |
46
|
|
|
return svc.client.DeleteTableRequest(in).Send(ctx) |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
// RawDescribeBackup executes `DescribeBackup` raw operation. |
50
|
|
|
func (svc *DynamoDB) RawDescribeBackup(ctx context.Context, in *SDK.DescribeBackupInput) (*SDK.DescribeBackupResponse, error) { |
51
|
|
|
return svc.client.DescribeBackupRequest(in).Send(ctx) |
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
// RawDescribeContinuousBackups executes `DescribeContinuousBackups` raw operation. |
55
|
|
|
func (svc *DynamoDB) RawDescribeContinuousBackups(ctx context.Context, in *SDK.DescribeContinuousBackupsInput) (*SDK.DescribeContinuousBackupsResponse, error) { |
56
|
|
|
return svc.client.DescribeContinuousBackupsRequest(in).Send(ctx) |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
// RawDescribeContributorInsights executes `DescribeContributorInsights` raw operation. |
60
|
|
|
func (svc *DynamoDB) RawDescribeContributorInsights(ctx context.Context, in *SDK.DescribeContributorInsightsInput) (*SDK.DescribeContributorInsightsResponse, error) { |
61
|
|
|
return svc.client.DescribeContributorInsightsRequest(in).Send(ctx) |
62
|
|
|
} |
63
|
|
|
|
64
|
|
|
// RawDescribeEndpoints executes `DescribeEndpoints` raw operation. |
65
|
|
|
func (svc *DynamoDB) RawDescribeEndpoints(ctx context.Context, in *SDK.DescribeEndpointsInput) (*SDK.DescribeEndpointsResponse, error) { |
66
|
|
|
return svc.client.DescribeEndpointsRequest(in).Send(ctx) |
67
|
|
|
} |
68
|
|
|
|
69
|
|
|
// RawDescribeGlobalTable executes `DescribeGlobalTable` raw operation. |
70
|
|
|
func (svc *DynamoDB) RawDescribeGlobalTable(ctx context.Context, in *SDK.DescribeGlobalTableInput) (*SDK.DescribeGlobalTableResponse, error) { |
71
|
|
|
return svc.client.DescribeGlobalTableRequest(in).Send(ctx) |
72
|
|
|
} |
73
|
|
|
|
74
|
|
|
// RawDescribeGlobalTableSettings executes `DescribeGlobalTableSettings` raw operation. |
75
|
|
|
func (svc *DynamoDB) RawDescribeGlobalTableSettings(ctx context.Context, in *SDK.DescribeGlobalTableSettingsInput) (*SDK.DescribeGlobalTableSettingsResponse, error) { |
76
|
|
|
return svc.client.DescribeGlobalTableSettingsRequest(in).Send(ctx) |
77
|
|
|
} |
78
|
|
|
|
79
|
|
|
// RawDescribeLimits executes `DescribeLimits` raw operation. |
80
|
|
|
func (svc *DynamoDB) RawDescribeLimits(ctx context.Context, in *SDK.DescribeLimitsInput) (*SDK.DescribeLimitsResponse, error) { |
81
|
|
|
return svc.client.DescribeLimitsRequest(in).Send(ctx) |
82
|
|
|
} |
83
|
|
|
|
84
|
|
|
// RawDescribeTable executes `DescribeTable` raw operation. |
85
|
|
|
func (svc *DynamoDB) RawDescribeTable(ctx context.Context, in *SDK.DescribeTableInput) (*SDK.DescribeTableResponse, error) { |
86
|
|
|
return svc.client.DescribeTableRequest(in).Send(ctx) |
87
|
|
|
} |
88
|
|
|
|
89
|
|
|
// RawDescribeTableReplicaAutoScaling executes `DescribeTableReplicaAutoScaling` raw operation. |
90
|
|
|
func (svc *DynamoDB) RawDescribeTableReplicaAutoScaling(ctx context.Context, in *SDK.DescribeTableReplicaAutoScalingInput) (*SDK.DescribeTableReplicaAutoScalingResponse, error) { |
91
|
|
|
return svc.client.DescribeTableReplicaAutoScalingRequest(in).Send(ctx) |
92
|
|
|
} |
93
|
|
|
|
94
|
|
|
// RawDescribeTimeToLive executes `DescribeTimeToLive` raw operation. |
95
|
|
|
func (svc *DynamoDB) RawDescribeTimeToLive(ctx context.Context, in *SDK.DescribeTimeToLiveInput) (*SDK.DescribeTimeToLiveResponse, error) { |
96
|
|
|
return svc.client.DescribeTimeToLiveRequest(in).Send(ctx) |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
// RawGetItem executes `GetItem` raw operation. |
100
|
|
|
func (svc *DynamoDB) RawGetItem(ctx context.Context, in *SDK.GetItemInput) (*SDK.GetItemResponse, error) { |
101
|
|
|
return svc.client.GetItemRequest(in).Send(ctx) |
102
|
|
|
} |
103
|
|
|
|
104
|
|
|
// RawListBackups executes `ListBackups` raw operation. |
105
|
|
|
func (svc *DynamoDB) RawListBackups(ctx context.Context, in *SDK.ListBackupsInput) (*SDK.ListBackupsResponse, error) { |
106
|
|
|
return svc.client.ListBackupsRequest(in).Send(ctx) |
107
|
|
|
} |
108
|
|
|
|
109
|
|
|
// RawListContributorInsights executes `ListContributorInsights` raw operation. |
110
|
|
|
func (svc *DynamoDB) RawListContributorInsights(ctx context.Context, in *SDK.ListContributorInsightsInput) (*SDK.ListContributorInsightsResponse, error) { |
111
|
|
|
return svc.client.ListContributorInsightsRequest(in).Send(ctx) |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
// RawListGlobalTables executes `ListGlobalTables` raw operation. |
115
|
|
|
func (svc *DynamoDB) RawListGlobalTables(ctx context.Context, in *SDK.ListGlobalTablesInput) (*SDK.ListGlobalTablesResponse, error) { |
116
|
|
|
return svc.client.ListGlobalTablesRequest(in).Send(ctx) |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
// RawListTables executes `ListTables` raw operation. |
120
|
|
|
func (svc *DynamoDB) RawListTables(ctx context.Context, in *SDK.ListTablesInput) (*SDK.ListTablesResponse, error) { |
121
|
|
|
return svc.client.ListTablesRequest(in).Send(ctx) |
122
|
|
|
} |
123
|
|
|
|
124
|
|
|
// RawListTagsOfResource executes `ListTagsOfResource` raw operation. |
125
|
|
|
func (svc *DynamoDB) RawListTagsOfResource(ctx context.Context, in *SDK.ListTagsOfResourceInput) (*SDK.ListTagsOfResourceResponse, error) { |
126
|
|
|
return svc.client.ListTagsOfResourceRequest(in).Send(ctx) |
127
|
|
|
} |
128
|
|
|
|
129
|
|
|
// RawPutItem executes `PutItem` raw operation. |
130
|
|
|
func (svc *DynamoDB) RawPutItem(ctx context.Context, in *SDK.PutItemInput) (*SDK.PutItemResponse, error) { |
131
|
|
|
return svc.client.PutItemRequest(in).Send(ctx) |
132
|
|
|
} |
133
|
|
|
|
134
|
|
|
// RawQuery executes `Query` raw operation. |
135
|
|
|
func (svc *DynamoDB) RawQuery(ctx context.Context, in *SDK.QueryInput) (*SDK.QueryResponse, error) { |
136
|
|
|
return svc.client.QueryRequest(in).Send(ctx) |
137
|
|
|
} |
138
|
|
|
|
139
|
|
|
// RawRestoreTableFromBackup executes `RestoreTableFromBackup` raw operation. |
140
|
|
|
func (svc *DynamoDB) RawRestoreTableFromBackup(ctx context.Context, in *SDK.RestoreTableFromBackupInput) (*SDK.RestoreTableFromBackupResponse, error) { |
141
|
|
|
return svc.client.RestoreTableFromBackupRequest(in).Send(ctx) |
142
|
|
|
} |
143
|
|
|
|
144
|
|
|
// RawRestoreTableToPointInTime executes `RestoreTableToPointInTime` raw operation. |
145
|
|
|
func (svc *DynamoDB) RawRestoreTableToPointInTime(ctx context.Context, in *SDK.RestoreTableToPointInTimeInput) (*SDK.RestoreTableToPointInTimeResponse, error) { |
146
|
|
|
return svc.client.RestoreTableToPointInTimeRequest(in).Send(ctx) |
147
|
|
|
} |
148
|
|
|
|
149
|
|
|
// RawScan executes `Scan` raw operation. |
150
|
|
|
func (svc *DynamoDB) RawScan(ctx context.Context, in *SDK.ScanInput) (*SDK.ScanResponse, error) { |
151
|
|
|
return svc.client.ScanRequest(in).Send(ctx) |
152
|
|
|
} |
153
|
|
|
|
154
|
|
|
// RawTagResource executes `TagResource` raw operation. |
155
|
|
|
func (svc *DynamoDB) RawTagResource(ctx context.Context, in *SDK.TagResourceInput) (*SDK.TagResourceResponse, error) { |
156
|
|
|
return svc.client.TagResourceRequest(in).Send(ctx) |
157
|
|
|
} |
158
|
|
|
|
159
|
|
|
// RawTransactGetItems executes `TransactGetItems` raw operation. |
160
|
|
|
func (svc *DynamoDB) RawTransactGetItems(ctx context.Context, in *SDK.TransactGetItemsInput) (*SDK.TransactGetItemsResponse, error) { |
161
|
|
|
return svc.client.TransactGetItemsRequest(in).Send(ctx) |
162
|
|
|
} |
163
|
|
|
|
164
|
|
|
// RawTransactWriteItems executes `TransactWriteItems` raw operation. |
165
|
|
|
func (svc *DynamoDB) RawTransactWriteItems(ctx context.Context, in *SDK.TransactWriteItemsInput) (*SDK.TransactWriteItemsResponse, error) { |
166
|
|
|
return svc.client.TransactWriteItemsRequest(in).Send(ctx) |
167
|
|
|
} |
168
|
|
|
|
169
|
|
|
// RawUntagResource executes `UntagResource` raw operation. |
170
|
|
|
func (svc *DynamoDB) RawUntagResource(ctx context.Context, in *SDK.UntagResourceInput) (*SDK.UntagResourceResponse, error) { |
171
|
|
|
return svc.client.UntagResourceRequest(in).Send(ctx) |
172
|
|
|
} |
173
|
|
|
|
174
|
|
|
// RawUpdateContinuousBackups executes `UpdateContinuousBackups` raw operation. |
175
|
|
|
func (svc *DynamoDB) RawUpdateContinuousBackups(ctx context.Context, in *SDK.UpdateContinuousBackupsInput) (*SDK.UpdateContinuousBackupsResponse, error) { |
176
|
|
|
return svc.client.UpdateContinuousBackupsRequest(in).Send(ctx) |
177
|
|
|
} |
178
|
|
|
|
179
|
|
|
// RawUpdateContributorInsights executes `UpdateContributorInsights` raw operation. |
180
|
|
|
func (svc *DynamoDB) RawUpdateContributorInsights(ctx context.Context, in *SDK.UpdateContributorInsightsInput) (*SDK.UpdateContributorInsightsResponse, error) { |
181
|
|
|
return svc.client.UpdateContributorInsightsRequest(in).Send(ctx) |
182
|
|
|
} |
183
|
|
|
|
184
|
|
|
// RawUpdateGlobalTable executes `UpdateGlobalTable` raw operation. |
185
|
|
|
func (svc *DynamoDB) RawUpdateGlobalTable(ctx context.Context, in *SDK.UpdateGlobalTableInput) (*SDK.UpdateGlobalTableResponse, error) { |
186
|
|
|
return svc.client.UpdateGlobalTableRequest(in).Send(ctx) |
187
|
|
|
} |
188
|
|
|
|
189
|
|
|
// RawUpdateGlobalTableSettings executes `UpdateGlobalTableSettings` raw operation. |
190
|
|
|
func (svc *DynamoDB) RawUpdateGlobalTableSettings(ctx context.Context, in *SDK.UpdateGlobalTableSettingsInput) (*SDK.UpdateGlobalTableSettingsResponse, error) { |
191
|
|
|
return svc.client.UpdateGlobalTableSettingsRequest(in).Send(ctx) |
192
|
|
|
} |
193
|
|
|
|
194
|
|
|
// RawUpdateItem executes `UpdateItem` raw operation. |
195
|
|
|
func (svc *DynamoDB) RawUpdateItem(ctx context.Context, in *SDK.UpdateItemInput) (*SDK.UpdateItemResponse, error) { |
196
|
|
|
return svc.client.UpdateItemRequest(in).Send(ctx) |
197
|
|
|
} |
198
|
|
|
|
199
|
|
|
// RawUpdateTable executes `UpdateTable` raw operation. |
200
|
|
|
func (svc *DynamoDB) RawUpdateTable(ctx context.Context, in *SDK.UpdateTableInput) (*SDK.UpdateTableResponse, error) { |
201
|
|
|
return svc.client.UpdateTableRequest(in).Send(ctx) |
202
|
|
|
} |
203
|
|
|
|
204
|
|
|
// RawUpdateTableReplicaAutoScaling executes `UpdateTableReplicaAutoScaling` raw operation. |
205
|
|
|
func (svc *DynamoDB) RawUpdateTableReplicaAutoScaling(ctx context.Context, in *SDK.UpdateTableReplicaAutoScalingInput) (*SDK.UpdateTableReplicaAutoScalingResponse, error) { |
206
|
|
|
return svc.client.UpdateTableReplicaAutoScalingRequest(in).Send(ctx) |
207
|
|
|
} |
208
|
|
|
|
209
|
|
|
// RawUpdateTimeToLive executes `UpdateTimeToLive` raw operation. |
210
|
|
|
func (svc *DynamoDB) RawUpdateTimeToLive(ctx context.Context, in *SDK.UpdateTimeToLiveInput) (*SDK.UpdateTimeToLiveResponse, error) { |
211
|
|
|
return svc.client.UpdateTimeToLiveRequest(in).Send(ctx) |
212
|
|
|
} |
213
|
|
|
|