1
|
|
|
package athena |
2
|
|
|
|
3
|
|
|
import ( |
4
|
|
|
"context" |
5
|
|
|
|
6
|
|
|
SDK "github.com/aws/aws-sdk-go-v2/service/athena" |
7
|
|
|
) |
8
|
|
|
|
9
|
|
|
// RawBatchGetNamedQuery executes `BatchGetNamedQuery` raw operation. |
10
|
|
|
func (svc *Athena) RawBatchGetNamedQuery(ctx context.Context, in *SDK.BatchGetNamedQueryInput) (*SDK.BatchGetNamedQueryResponse, error) { |
11
|
|
|
return svc.client.BatchGetNamedQueryRequest(in).Send(ctx) |
12
|
|
|
} |
13
|
|
|
|
14
|
|
|
// RawBatchGetQueryExecution executes `BatchGetQueryExecution` raw operation. |
15
|
|
|
func (svc *Athena) RawBatchGetQueryExecution(ctx context.Context, in *SDK.BatchGetQueryExecutionInput) (*SDK.BatchGetQueryExecutionResponse, error) { |
16
|
|
|
return svc.client.BatchGetQueryExecutionRequest(in).Send(ctx) |
17
|
|
|
} |
18
|
|
|
|
19
|
|
|
// RawCreateDataCatalog executes `CreateDataCatalog` raw operation. |
20
|
|
|
func (svc *Athena) RawCreateDataCatalog(ctx context.Context, in *SDK.CreateDataCatalogInput) (*SDK.CreateDataCatalogResponse, error) { |
21
|
|
|
return svc.client.CreateDataCatalogRequest(in).Send(ctx) |
22
|
|
|
} |
23
|
|
|
|
24
|
|
|
// RawCreateNamedQuery executes `CreateNamedQuery` raw operation. |
25
|
|
|
func (svc *Athena) RawCreateNamedQuery(ctx context.Context, in *SDK.CreateNamedQueryInput) (*SDK.CreateNamedQueryResponse, error) { |
26
|
|
|
return svc.client.CreateNamedQueryRequest(in).Send(ctx) |
27
|
|
|
} |
28
|
|
|
|
29
|
|
|
// RawCreateWorkGroup executes `CreateWorkGroup` raw operation. |
30
|
|
|
func (svc *Athena) RawCreateWorkGroup(ctx context.Context, in *SDK.CreateWorkGroupInput) (*SDK.CreateWorkGroupResponse, error) { |
31
|
|
|
return svc.client.CreateWorkGroupRequest(in).Send(ctx) |
32
|
|
|
} |
33
|
|
|
|
34
|
|
|
// RawDeleteDataCatalog executes `DeleteDataCatalog` raw operation. |
35
|
|
|
func (svc *Athena) RawDeleteDataCatalog(ctx context.Context, in *SDK.DeleteDataCatalogInput) (*SDK.DeleteDataCatalogResponse, error) { |
36
|
|
|
return svc.client.DeleteDataCatalogRequest(in).Send(ctx) |
37
|
|
|
} |
38
|
|
|
|
39
|
|
|
// RawDeleteNamedQuery executes `DeleteNamedQuery` raw operation. |
40
|
|
|
func (svc *Athena) RawDeleteNamedQuery(ctx context.Context, in *SDK.DeleteNamedQueryInput) (*SDK.DeleteNamedQueryResponse, error) { |
41
|
|
|
return svc.client.DeleteNamedQueryRequest(in).Send(ctx) |
42
|
|
|
} |
43
|
|
|
|
44
|
|
|
// RawDeleteWorkGroup executes `DeleteWorkGroup` raw operation. |
45
|
|
|
func (svc *Athena) RawDeleteWorkGroup(ctx context.Context, in *SDK.DeleteWorkGroupInput) (*SDK.DeleteWorkGroupResponse, error) { |
46
|
|
|
return svc.client.DeleteWorkGroupRequest(in).Send(ctx) |
47
|
|
|
} |
48
|
|
|
|
49
|
|
|
// RawGetDataCatalog executes `GetDataCatalog` raw operation. |
50
|
|
|
func (svc *Athena) RawGetDataCatalog(ctx context.Context, in *SDK.GetDataCatalogInput) (*SDK.GetDataCatalogResponse, error) { |
51
|
|
|
return svc.client.GetDataCatalogRequest(in).Send(ctx) |
52
|
|
|
} |
53
|
|
|
|
54
|
|
|
// RawGetDatabase executes `GetDatabase` raw operation. |
55
|
|
|
func (svc *Athena) RawGetDatabase(ctx context.Context, in *SDK.GetDatabaseInput) (*SDK.GetDatabaseResponse, error) { |
56
|
|
|
return svc.client.GetDatabaseRequest(in).Send(ctx) |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
// RawGetNamedQuery executes `GetNamedQuery` raw operation. |
60
|
|
|
func (svc *Athena) RawGetNamedQuery(ctx context.Context, in *SDK.GetNamedQueryInput) (*SDK.GetNamedQueryResponse, error) { |
61
|
|
|
return svc.client.GetNamedQueryRequest(in).Send(ctx) |
62
|
|
|
} |
63
|
|
|
|
64
|
|
|
// RawGetQueryExecution executes `GetQueryExecution` raw operation. |
65
|
|
|
func (svc *Athena) RawGetQueryExecution(ctx context.Context, in *SDK.GetQueryExecutionInput) (*SDK.GetQueryExecutionResponse, error) { |
66
|
|
|
return svc.client.GetQueryExecutionRequest(in).Send(ctx) |
67
|
|
|
} |
68
|
|
|
|
69
|
|
|
// RawGetQueryResults executes `GetQueryResults` raw operation. |
70
|
|
|
func (svc *Athena) RawGetQueryResults(ctx context.Context, in *SDK.GetQueryResultsInput) (*SDK.GetQueryResultsResponse, error) { |
71
|
|
|
return svc.client.GetQueryResultsRequest(in).Send(ctx) |
72
|
|
|
} |
73
|
|
|
|
74
|
|
|
// RawGetTableMetadata executes `GetTableMetadata` raw operation. |
75
|
|
|
func (svc *Athena) RawGetTableMetadata(ctx context.Context, in *SDK.GetTableMetadataInput) (*SDK.GetTableMetadataResponse, error) { |
76
|
|
|
return svc.client.GetTableMetadataRequest(in).Send(ctx) |
77
|
|
|
} |
78
|
|
|
|
79
|
|
|
// RawGetWorkGroup executes `GetWorkGroup` raw operation. |
80
|
|
|
func (svc *Athena) RawGetWorkGroup(ctx context.Context, in *SDK.GetWorkGroupInput) (*SDK.GetWorkGroupResponse, error) { |
81
|
|
|
return svc.client.GetWorkGroupRequest(in).Send(ctx) |
82
|
|
|
} |
83
|
|
|
|
84
|
|
|
// RawListDataCatalogs executes `ListDataCatalogs` raw operation. |
85
|
|
|
func (svc *Athena) RawListDataCatalogs(ctx context.Context, in *SDK.ListDataCatalogsInput) (*SDK.ListDataCatalogsResponse, error) { |
86
|
|
|
return svc.client.ListDataCatalogsRequest(in).Send(ctx) |
87
|
|
|
} |
88
|
|
|
|
89
|
|
|
// RawListDatabases executes `ListDatabases` raw operation. |
90
|
|
|
func (svc *Athena) RawListDatabases(ctx context.Context, in *SDK.ListDatabasesInput) (*SDK.ListDatabasesResponse, error) { |
91
|
|
|
return svc.client.ListDatabasesRequest(in).Send(ctx) |
92
|
|
|
} |
93
|
|
|
|
94
|
|
|
// RawListNamedQueries executes `ListNamedQueries` raw operation. |
95
|
|
|
func (svc *Athena) RawListNamedQueries(ctx context.Context, in *SDK.ListNamedQueriesInput) (*SDK.ListNamedQueriesResponse, error) { |
96
|
|
|
return svc.client.ListNamedQueriesRequest(in).Send(ctx) |
97
|
|
|
} |
98
|
|
|
|
99
|
|
|
// RawListQueryExecutions executes `ListQueryExecutions` raw operation. |
100
|
|
|
func (svc *Athena) RawListQueryExecutions(ctx context.Context, in *SDK.ListQueryExecutionsInput) (*SDK.ListQueryExecutionsResponse, error) { |
101
|
|
|
return svc.client.ListQueryExecutionsRequest(in).Send(ctx) |
102
|
|
|
} |
103
|
|
|
|
104
|
|
|
// RawListTableMetadata executes `ListTableMetadata` raw operation. |
105
|
|
|
func (svc *Athena) RawListTableMetadata(ctx context.Context, in *SDK.ListTableMetadataInput) (*SDK.ListTableMetadataResponse, error) { |
106
|
|
|
return svc.client.ListTableMetadataRequest(in).Send(ctx) |
107
|
|
|
} |
108
|
|
|
|
109
|
|
|
// RawListTagsForResource executes `ListTagsForResource` raw operation. |
110
|
|
|
func (svc *Athena) RawListTagsForResource(ctx context.Context, in *SDK.ListTagsForResourceInput) (*SDK.ListTagsForResourceResponse, error) { |
111
|
|
|
return svc.client.ListTagsForResourceRequest(in).Send(ctx) |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
// RawListWorkGroups executes `ListWorkGroups` raw operation. |
115
|
|
|
func (svc *Athena) RawListWorkGroups(ctx context.Context, in *SDK.ListWorkGroupsInput) (*SDK.ListWorkGroupsResponse, error) { |
116
|
|
|
return svc.client.ListWorkGroupsRequest(in).Send(ctx) |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
// RawStartQueryExecution executes `StartQueryExecution` raw operation. |
120
|
|
|
func (svc *Athena) RawStartQueryExecution(ctx context.Context, in *SDK.StartQueryExecutionInput) (*SDK.StartQueryExecutionResponse, error) { |
121
|
|
|
return svc.client.StartQueryExecutionRequest(in).Send(ctx) |
122
|
|
|
} |
123
|
|
|
|
124
|
|
|
// RawStopQueryExecution executes `StopQueryExecution` raw operation. |
125
|
|
|
func (svc *Athena) RawStopQueryExecution(ctx context.Context, in *SDK.StopQueryExecutionInput) (*SDK.StopQueryExecutionResponse, error) { |
126
|
|
|
return svc.client.StopQueryExecutionRequest(in).Send(ctx) |
127
|
|
|
} |
128
|
|
|
|