|
1
|
|
|
package cloudwatchlogs |
|
2
|
|
|
|
|
3
|
|
|
import ( |
|
4
|
|
|
"context" |
|
5
|
|
|
|
|
6
|
|
|
SDK "github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs" |
|
7
|
|
|
) |
|
8
|
|
|
|
|
9
|
|
|
// RawAssociateKmsKey executes `AssociateKmsKey` raw operation. |
|
10
|
|
|
func (svc *CloudwatchLogs) RawAssociateKmsKey(ctx context.Context, in *SDK.AssociateKmsKeyInput) (*SDK.AssociateKmsKeyResponse, error) { |
|
11
|
|
|
return svc.client.AssociateKmsKeyRequest(in).Send(ctx) |
|
12
|
|
|
} |
|
13
|
|
|
|
|
14
|
|
|
// RawCancelExportTask executes `CancelExportTask` raw operation. |
|
15
|
|
|
func (svc *CloudwatchLogs) RawCancelExportTask(ctx context.Context, in *SDK.CancelExportTaskInput) (*SDK.CancelExportTaskResponse, error) { |
|
16
|
|
|
return svc.client.CancelExportTaskRequest(in).Send(ctx) |
|
17
|
|
|
} |
|
18
|
|
|
|
|
19
|
|
|
// RawCreateExportTask executes `CreateExportTask` raw operation. |
|
20
|
|
|
func (svc *CloudwatchLogs) RawCreateExportTask(ctx context.Context, in *SDK.CreateExportTaskInput) (*SDK.CreateExportTaskResponse, error) { |
|
21
|
|
|
return svc.client.CreateExportTaskRequest(in).Send(ctx) |
|
22
|
|
|
} |
|
23
|
|
|
|
|
24
|
|
|
// RawCreateLogGroup executes `CreateLogGroup` raw operation. |
|
25
|
|
|
func (svc *CloudwatchLogs) RawCreateLogGroup(ctx context.Context, in *SDK.CreateLogGroupInput) (*SDK.CreateLogGroupResponse, error) { |
|
26
|
|
|
return svc.client.CreateLogGroupRequest(in).Send(ctx) |
|
27
|
|
|
} |
|
28
|
|
|
|
|
29
|
|
|
// RawCreateLogStream executes `CreateLogStream` raw operation. |
|
30
|
|
|
func (svc *CloudwatchLogs) RawCreateLogStream(ctx context.Context, in *SDK.CreateLogStreamInput) (*SDK.CreateLogStreamResponse, error) { |
|
31
|
|
|
return svc.client.CreateLogStreamRequest(in).Send(ctx) |
|
32
|
|
|
} |
|
33
|
|
|
|
|
34
|
|
|
// RawDeleteDestination executes `DeleteDestination` raw operation. |
|
35
|
|
|
func (svc *CloudwatchLogs) RawDeleteDestination(ctx context.Context, in *SDK.DeleteDestinationInput) (*SDK.DeleteDestinationResponse, error) { |
|
36
|
|
|
return svc.client.DeleteDestinationRequest(in).Send(ctx) |
|
37
|
|
|
} |
|
38
|
|
|
|
|
39
|
|
|
// RawDeleteLogGroup executes `DeleteLogGroup` raw operation. |
|
40
|
|
|
func (svc *CloudwatchLogs) RawDeleteLogGroup(ctx context.Context, in *SDK.DeleteLogGroupInput) (*SDK.DeleteLogGroupResponse, error) { |
|
41
|
|
|
return svc.client.DeleteLogGroupRequest(in).Send(ctx) |
|
42
|
|
|
} |
|
43
|
|
|
|
|
44
|
|
|
// RawDeleteLogStream executes `DeleteLogStream` raw operation. |
|
45
|
|
|
func (svc *CloudwatchLogs) RawDeleteLogStream(ctx context.Context, in *SDK.DeleteLogStreamInput) (*SDK.DeleteLogStreamResponse, error) { |
|
46
|
|
|
return svc.client.DeleteLogStreamRequest(in).Send(ctx) |
|
47
|
|
|
} |
|
48
|
|
|
|
|
49
|
|
|
// RawDeleteMetricFilter executes `DeleteMetricFilter` raw operation. |
|
50
|
|
|
func (svc *CloudwatchLogs) RawDeleteMetricFilter(ctx context.Context, in *SDK.DeleteMetricFilterInput) (*SDK.DeleteMetricFilterResponse, error) { |
|
51
|
|
|
return svc.client.DeleteMetricFilterRequest(in).Send(ctx) |
|
52
|
|
|
} |
|
53
|
|
|
|
|
54
|
|
|
// RawDeleteQueryDefinition executes `DeleteQueryDefinition` raw operation. |
|
55
|
|
|
func (svc *CloudwatchLogs) RawDeleteQueryDefinition(ctx context.Context, in *SDK.DeleteQueryDefinitionInput) (*SDK.DeleteQueryDefinitionResponse, error) { |
|
56
|
|
|
return svc.client.DeleteQueryDefinitionRequest(in).Send(ctx) |
|
57
|
|
|
} |
|
58
|
|
|
|
|
59
|
|
|
// RawDeleteResourcePolicy executes `DeleteResourcePolicy` raw operation. |
|
60
|
|
|
func (svc *CloudwatchLogs) RawDeleteResourcePolicy(ctx context.Context, in *SDK.DeleteResourcePolicyInput) (*SDK.DeleteResourcePolicyResponse, error) { |
|
61
|
|
|
return svc.client.DeleteResourcePolicyRequest(in).Send(ctx) |
|
62
|
|
|
} |
|
63
|
|
|
|
|
64
|
|
|
// RawDeleteRetentionPolicy executes `DeleteRetentionPolicy` raw operation. |
|
65
|
|
|
func (svc *CloudwatchLogs) RawDeleteRetentionPolicy(ctx context.Context, in *SDK.DeleteRetentionPolicyInput) (*SDK.DeleteRetentionPolicyResponse, error) { |
|
66
|
|
|
return svc.client.DeleteRetentionPolicyRequest(in).Send(ctx) |
|
67
|
|
|
} |
|
68
|
|
|
|
|
69
|
|
|
// RawDeleteSubscriptionFilter executes `DeleteSubscriptionFilter` raw operation. |
|
70
|
|
|
func (svc *CloudwatchLogs) RawDeleteSubscriptionFilter(ctx context.Context, in *SDK.DeleteSubscriptionFilterInput) (*SDK.DeleteSubscriptionFilterResponse, error) { |
|
71
|
|
|
return svc.client.DeleteSubscriptionFilterRequest(in).Send(ctx) |
|
72
|
|
|
} |
|
73
|
|
|
|
|
74
|
|
|
// RawDescribeDestinations executes `DescribeDestinations` raw operation. |
|
75
|
|
|
func (svc *CloudwatchLogs) RawDescribeDestinations(ctx context.Context, in *SDK.DescribeDestinationsInput) (*SDK.DescribeDestinationsResponse, error) { |
|
76
|
|
|
return svc.client.DescribeDestinationsRequest(in).Send(ctx) |
|
77
|
|
|
} |
|
78
|
|
|
|
|
79
|
|
|
// RawDescribeExportTasks executes `DescribeExportTasks` raw operation. |
|
80
|
|
|
func (svc *CloudwatchLogs) RawDescribeExportTasks(ctx context.Context, in *SDK.DescribeExportTasksInput) (*SDK.DescribeExportTasksResponse, error) { |
|
81
|
|
|
return svc.client.DescribeExportTasksRequest(in).Send(ctx) |
|
82
|
|
|
} |
|
83
|
|
|
|
|
84
|
|
|
// RawDescribeLogGroups executes `DescribeLogGroups` raw operation. |
|
85
|
|
|
func (svc *CloudwatchLogs) RawDescribeLogGroups(ctx context.Context, in *SDK.DescribeLogGroupsInput) (*SDK.DescribeLogGroupsResponse, error) { |
|
86
|
|
|
return svc.client.DescribeLogGroupsRequest(in).Send(ctx) |
|
87
|
|
|
} |
|
88
|
|
|
|
|
89
|
|
|
// RawDescribeLogStreams executes `DescribeLogStreams` raw operation. |
|
90
|
|
|
func (svc *CloudwatchLogs) RawDescribeLogStreams(ctx context.Context, in *SDK.DescribeLogStreamsInput) (*SDK.DescribeLogStreamsResponse, error) { |
|
91
|
|
|
return svc.client.DescribeLogStreamsRequest(in).Send(ctx) |
|
92
|
|
|
} |
|
93
|
|
|
|
|
94
|
|
|
// RawDescribeMetricFilters executes `DescribeMetricFilters` raw operation. |
|
95
|
|
|
func (svc *CloudwatchLogs) RawDescribeMetricFilters(ctx context.Context, in *SDK.DescribeMetricFiltersInput) (*SDK.DescribeMetricFiltersResponse, error) { |
|
96
|
|
|
return svc.client.DescribeMetricFiltersRequest(in).Send(ctx) |
|
97
|
|
|
} |
|
98
|
|
|
|
|
99
|
|
|
// RawDescribeQueries executes `DescribeQueries` raw operation. |
|
100
|
|
|
func (svc *CloudwatchLogs) RawDescribeQueries(ctx context.Context, in *SDK.DescribeQueriesInput) (*SDK.DescribeQueriesResponse, error) { |
|
101
|
|
|
return svc.client.DescribeQueriesRequest(in).Send(ctx) |
|
102
|
|
|
} |
|
103
|
|
|
|
|
104
|
|
|
// RawDescribeQueryDefinitions executes `DescribeQueryDefinitions` raw operation. |
|
105
|
|
|
func (svc *CloudwatchLogs) RawDescribeQueryDefinitions(ctx context.Context, in *SDK.DescribeQueryDefinitionsInput) (*SDK.DescribeQueryDefinitionsResponse, error) { |
|
106
|
|
|
return svc.client.DescribeQueryDefinitionsRequest(in).Send(ctx) |
|
107
|
|
|
} |
|
108
|
|
|
|
|
109
|
|
|
// RawDescribeResourcePolicies executes `DescribeResourcePolicies` raw operation. |
|
110
|
|
|
func (svc *CloudwatchLogs) RawDescribeResourcePolicies(ctx context.Context, in *SDK.DescribeResourcePoliciesInput) (*SDK.DescribeResourcePoliciesResponse, error) { |
|
111
|
|
|
return svc.client.DescribeResourcePoliciesRequest(in).Send(ctx) |
|
112
|
|
|
} |
|
113
|
|
|
|
|
114
|
|
|
// RawDescribeSubscriptionFilters executes `DescribeSubscriptionFilters` raw operation. |
|
115
|
|
|
func (svc *CloudwatchLogs) RawDescribeSubscriptionFilters(ctx context.Context, in *SDK.DescribeSubscriptionFiltersInput) (*SDK.DescribeSubscriptionFiltersResponse, error) { |
|
116
|
|
|
return svc.client.DescribeSubscriptionFiltersRequest(in).Send(ctx) |
|
117
|
|
|
} |
|
118
|
|
|
|
|
119
|
|
|
// RawDisassociateKmsKey executes `DisassociateKmsKey` raw operation. |
|
120
|
|
|
func (svc *CloudwatchLogs) RawDisassociateKmsKey(ctx context.Context, in *SDK.DisassociateKmsKeyInput) (*SDK.DisassociateKmsKeyResponse, error) { |
|
121
|
|
|
return svc.client.DisassociateKmsKeyRequest(in).Send(ctx) |
|
122
|
|
|
} |
|
123
|
|
|
|
|
124
|
|
|
// RawFilterLogEvents executes `FilterLogEvents` raw operation. |
|
125
|
|
|
func (svc *CloudwatchLogs) RawFilterLogEvents(ctx context.Context, in *SDK.FilterLogEventsInput) (*SDK.FilterLogEventsResponse, error) { |
|
126
|
|
|
return svc.client.FilterLogEventsRequest(in).Send(ctx) |
|
127
|
|
|
} |
|
128
|
|
|
|
|
129
|
|
|
// RawGetLogEvents executes `GetLogEvents` raw operation. |
|
130
|
|
|
func (svc *CloudwatchLogs) RawGetLogEvents(ctx context.Context, in *SDK.GetLogEventsInput) (*SDK.GetLogEventsResponse, error) { |
|
131
|
|
|
return svc.client.GetLogEventsRequest(in).Send(ctx) |
|
132
|
|
|
} |
|
133
|
|
|
|
|
134
|
|
|
// RawGetLogGroupFields executes `GetLogGroupFields` raw operation. |
|
135
|
|
|
func (svc *CloudwatchLogs) RawGetLogGroupFields(ctx context.Context, in *SDK.GetLogGroupFieldsInput) (*SDK.GetLogGroupFieldsResponse, error) { |
|
136
|
|
|
return svc.client.GetLogGroupFieldsRequest(in).Send(ctx) |
|
137
|
|
|
} |
|
138
|
|
|
|
|
139
|
|
|
// RawGetLogRecord executes `GetLogRecord` raw operation. |
|
140
|
|
|
func (svc *CloudwatchLogs) RawGetLogRecord(ctx context.Context, in *SDK.GetLogRecordInput) (*SDK.GetLogRecordResponse, error) { |
|
141
|
|
|
return svc.client.GetLogRecordRequest(in).Send(ctx) |
|
142
|
|
|
} |
|
143
|
|
|
|
|
144
|
|
|
// RawGetQueryResults executes `GetQueryResults` raw operation. |
|
145
|
|
|
func (svc *CloudwatchLogs) RawGetQueryResults(ctx context.Context, in *SDK.GetQueryResultsInput) (*SDK.GetQueryResultsResponse, error) { |
|
146
|
|
|
return svc.client.GetQueryResultsRequest(in).Send(ctx) |
|
147
|
|
|
} |
|
148
|
|
|
|
|
149
|
|
|
// RawListTagsLogGroup executes `ListTagsLogGroup` raw operation. |
|
150
|
|
|
func (svc *CloudwatchLogs) RawListTagsLogGroup(ctx context.Context, in *SDK.ListTagsLogGroupInput) (*SDK.ListTagsLogGroupResponse, error) { |
|
151
|
|
|
return svc.client.ListTagsLogGroupRequest(in).Send(ctx) |
|
152
|
|
|
} |
|
153
|
|
|
|
|
154
|
|
|
// RawPutDestination executes `PutDestination` raw operation. |
|
155
|
|
|
func (svc *CloudwatchLogs) RawPutDestination(ctx context.Context, in *SDK.PutDestinationInput) (*SDK.PutDestinationResponse, error) { |
|
156
|
|
|
return svc.client.PutDestinationRequest(in).Send(ctx) |
|
157
|
|
|
} |
|
158
|
|
|
|
|
159
|
|
|
// RawPutDestinationPolicy executes `PutDestinationPolicy` raw operation. |
|
160
|
|
|
func (svc *CloudwatchLogs) RawPutDestinationPolicy(ctx context.Context, in *SDK.PutDestinationPolicyInput) (*SDK.PutDestinationPolicyResponse, error) { |
|
161
|
|
|
return svc.client.PutDestinationPolicyRequest(in).Send(ctx) |
|
162
|
|
|
} |
|
163
|
|
|
|
|
164
|
|
|
// RawPutLogEvents executes `PutLogEvents` raw operation. |
|
165
|
|
|
func (svc *CloudwatchLogs) RawPutLogEvents(ctx context.Context, in *SDK.PutLogEventsInput) (*SDK.PutLogEventsResponse, error) { |
|
166
|
|
|
return svc.client.PutLogEventsRequest(in).Send(ctx) |
|
167
|
|
|
} |
|
168
|
|
|
|
|
169
|
|
|
// RawPutMetricFilter executes `PutMetricFilter` raw operation. |
|
170
|
|
|
func (svc *CloudwatchLogs) RawPutMetricFilter(ctx context.Context, in *SDK.PutMetricFilterInput) (*SDK.PutMetricFilterResponse, error) { |
|
171
|
|
|
return svc.client.PutMetricFilterRequest(in).Send(ctx) |
|
172
|
|
|
} |
|
173
|
|
|
|
|
174
|
|
|
// RawPutQueryDefinition executes `PutQueryDefinition` raw operation. |
|
175
|
|
|
func (svc *CloudwatchLogs) RawPutQueryDefinition(ctx context.Context, in *SDK.PutQueryDefinitionInput) (*SDK.PutQueryDefinitionResponse, error) { |
|
176
|
|
|
return svc.client.PutQueryDefinitionRequest(in).Send(ctx) |
|
177
|
|
|
} |
|
178
|
|
|
|
|
179
|
|
|
// RawPutResourcePolicy executes `PutResourcePolicy` raw operation. |
|
180
|
|
|
func (svc *CloudwatchLogs) RawPutResourcePolicy(ctx context.Context, in *SDK.PutResourcePolicyInput) (*SDK.PutResourcePolicyResponse, error) { |
|
181
|
|
|
return svc.client.PutResourcePolicyRequest(in).Send(ctx) |
|
182
|
|
|
} |
|
183
|
|
|
|
|
184
|
|
|
// RawPutRetentionPolicy executes `PutRetentionPolicy` raw operation. |
|
185
|
|
|
func (svc *CloudwatchLogs) RawPutRetentionPolicy(ctx context.Context, in *SDK.PutRetentionPolicyInput) (*SDK.PutRetentionPolicyResponse, error) { |
|
186
|
|
|
return svc.client.PutRetentionPolicyRequest(in).Send(ctx) |
|
187
|
|
|
} |
|
188
|
|
|
|
|
189
|
|
|
// RawPutSubscriptionFilter executes `PutSubscriptionFilter` raw operation. |
|
190
|
|
|
func (svc *CloudwatchLogs) RawPutSubscriptionFilter(ctx context.Context, in *SDK.PutSubscriptionFilterInput) (*SDK.PutSubscriptionFilterResponse, error) { |
|
191
|
|
|
return svc.client.PutSubscriptionFilterRequest(in).Send(ctx) |
|
192
|
|
|
} |
|
193
|
|
|
|
|
194
|
|
|
// RawStartQuery executes `StartQuery` raw operation. |
|
195
|
|
|
func (svc *CloudwatchLogs) RawStartQuery(ctx context.Context, in *SDK.StartQueryInput) (*SDK.StartQueryResponse, error) { |
|
196
|
|
|
return svc.client.StartQueryRequest(in).Send(ctx) |
|
197
|
|
|
} |
|
198
|
|
|
|
|
199
|
|
|
// RawStopQuery executes `StopQuery` raw operation. |
|
200
|
|
|
func (svc *CloudwatchLogs) RawStopQuery(ctx context.Context, in *SDK.StopQueryInput) (*SDK.StopQueryResponse, error) { |
|
201
|
|
|
return svc.client.StopQueryRequest(in).Send(ctx) |
|
202
|
|
|
} |
|
203
|
|
|
|
|
204
|
|
|
// RawTagLogGroup executes `TagLogGroup` raw operation. |
|
205
|
|
|
func (svc *CloudwatchLogs) RawTagLogGroup(ctx context.Context, in *SDK.TagLogGroupInput) (*SDK.TagLogGroupResponse, error) { |
|
206
|
|
|
return svc.client.TagLogGroupRequest(in).Send(ctx) |
|
207
|
|
|
} |
|
208
|
|
|
|
|
209
|
|
|
// RawTestMetricFilter executes `TestMetricFilter` raw operation. |
|
210
|
|
|
func (svc *CloudwatchLogs) RawTestMetricFilter(ctx context.Context, in *SDK.TestMetricFilterInput) (*SDK.TestMetricFilterResponse, error) { |
|
211
|
|
|
return svc.client.TestMetricFilterRequest(in).Send(ctx) |
|
212
|
|
|
} |
|
213
|
|
|
|
|
214
|
|
|
// RawUntagLogGroup executes `UntagLogGroup` raw operation. |
|
215
|
|
|
func (svc *CloudwatchLogs) RawUntagLogGroup(ctx context.Context, in *SDK.UntagLogGroupInput) (*SDK.UntagLogGroupResponse, error) { |
|
216
|
|
|
return svc.client.UntagLogGroupRequest(in).Send(ctx) |
|
217
|
|
|
} |
|
218
|
|
|
|