aws-sdk-prometheusservice 1.14.0 → 1.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,309 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::PrometheusService
12
+ module Endpoints
13
+
14
+ class CreateAlertManagerDefinition
15
+ def self.build(context)
16
+ unless context.config.regional_endpoint
17
+ endpoint = context.config.endpoint.to_s
18
+ end
19
+ Aws::PrometheusService::EndpointParameters.new(
20
+ region: context.config.region,
21
+ use_dual_stack: context.config.use_dualstack_endpoint,
22
+ use_fips: context.config.use_fips_endpoint,
23
+ endpoint: endpoint,
24
+ )
25
+ end
26
+ end
27
+
28
+ class CreateLoggingConfiguration
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::PrometheusService::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
42
+ class CreateRuleGroupsNamespace
43
+ def self.build(context)
44
+ unless context.config.regional_endpoint
45
+ endpoint = context.config.endpoint.to_s
46
+ end
47
+ Aws::PrometheusService::EndpointParameters.new(
48
+ region: context.config.region,
49
+ use_dual_stack: context.config.use_dualstack_endpoint,
50
+ use_fips: context.config.use_fips_endpoint,
51
+ endpoint: endpoint,
52
+ )
53
+ end
54
+ end
55
+
56
+ class CreateWorkspace
57
+ def self.build(context)
58
+ unless context.config.regional_endpoint
59
+ endpoint = context.config.endpoint.to_s
60
+ end
61
+ Aws::PrometheusService::EndpointParameters.new(
62
+ region: context.config.region,
63
+ use_dual_stack: context.config.use_dualstack_endpoint,
64
+ use_fips: context.config.use_fips_endpoint,
65
+ endpoint: endpoint,
66
+ )
67
+ end
68
+ end
69
+
70
+ class DeleteAlertManagerDefinition
71
+ def self.build(context)
72
+ unless context.config.regional_endpoint
73
+ endpoint = context.config.endpoint.to_s
74
+ end
75
+ Aws::PrometheusService::EndpointParameters.new(
76
+ region: context.config.region,
77
+ use_dual_stack: context.config.use_dualstack_endpoint,
78
+ use_fips: context.config.use_fips_endpoint,
79
+ endpoint: endpoint,
80
+ )
81
+ end
82
+ end
83
+
84
+ class DeleteLoggingConfiguration
85
+ def self.build(context)
86
+ unless context.config.regional_endpoint
87
+ endpoint = context.config.endpoint.to_s
88
+ end
89
+ Aws::PrometheusService::EndpointParameters.new(
90
+ region: context.config.region,
91
+ use_dual_stack: context.config.use_dualstack_endpoint,
92
+ use_fips: context.config.use_fips_endpoint,
93
+ endpoint: endpoint,
94
+ )
95
+ end
96
+ end
97
+
98
+ class DeleteRuleGroupsNamespace
99
+ def self.build(context)
100
+ unless context.config.regional_endpoint
101
+ endpoint = context.config.endpoint.to_s
102
+ end
103
+ Aws::PrometheusService::EndpointParameters.new(
104
+ region: context.config.region,
105
+ use_dual_stack: context.config.use_dualstack_endpoint,
106
+ use_fips: context.config.use_fips_endpoint,
107
+ endpoint: endpoint,
108
+ )
109
+ end
110
+ end
111
+
112
+ class DeleteWorkspace
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::PrometheusService::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
126
+ class DescribeAlertManagerDefinition
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::PrometheusService::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
140
+ class DescribeLoggingConfiguration
141
+ def self.build(context)
142
+ unless context.config.regional_endpoint
143
+ endpoint = context.config.endpoint.to_s
144
+ end
145
+ Aws::PrometheusService::EndpointParameters.new(
146
+ region: context.config.region,
147
+ use_dual_stack: context.config.use_dualstack_endpoint,
148
+ use_fips: context.config.use_fips_endpoint,
149
+ endpoint: endpoint,
150
+ )
151
+ end
152
+ end
153
+
154
+ class DescribeRuleGroupsNamespace
155
+ def self.build(context)
156
+ unless context.config.regional_endpoint
157
+ endpoint = context.config.endpoint.to_s
158
+ end
159
+ Aws::PrometheusService::EndpointParameters.new(
160
+ region: context.config.region,
161
+ use_dual_stack: context.config.use_dualstack_endpoint,
162
+ use_fips: context.config.use_fips_endpoint,
163
+ endpoint: endpoint,
164
+ )
165
+ end
166
+ end
167
+
168
+ class DescribeWorkspace
169
+ def self.build(context)
170
+ unless context.config.regional_endpoint
171
+ endpoint = context.config.endpoint.to_s
172
+ end
173
+ Aws::PrometheusService::EndpointParameters.new(
174
+ region: context.config.region,
175
+ use_dual_stack: context.config.use_dualstack_endpoint,
176
+ use_fips: context.config.use_fips_endpoint,
177
+ endpoint: endpoint,
178
+ )
179
+ end
180
+ end
181
+
182
+ class ListRuleGroupsNamespaces
183
+ def self.build(context)
184
+ unless context.config.regional_endpoint
185
+ endpoint = context.config.endpoint.to_s
186
+ end
187
+ Aws::PrometheusService::EndpointParameters.new(
188
+ region: context.config.region,
189
+ use_dual_stack: context.config.use_dualstack_endpoint,
190
+ use_fips: context.config.use_fips_endpoint,
191
+ endpoint: endpoint,
192
+ )
193
+ end
194
+ end
195
+
196
+ class ListTagsForResource
197
+ def self.build(context)
198
+ unless context.config.regional_endpoint
199
+ endpoint = context.config.endpoint.to_s
200
+ end
201
+ Aws::PrometheusService::EndpointParameters.new(
202
+ region: context.config.region,
203
+ use_dual_stack: context.config.use_dualstack_endpoint,
204
+ use_fips: context.config.use_fips_endpoint,
205
+ endpoint: endpoint,
206
+ )
207
+ end
208
+ end
209
+
210
+ class ListWorkspaces
211
+ def self.build(context)
212
+ unless context.config.regional_endpoint
213
+ endpoint = context.config.endpoint.to_s
214
+ end
215
+ Aws::PrometheusService::EndpointParameters.new(
216
+ region: context.config.region,
217
+ use_dual_stack: context.config.use_dualstack_endpoint,
218
+ use_fips: context.config.use_fips_endpoint,
219
+ endpoint: endpoint,
220
+ )
221
+ end
222
+ end
223
+
224
+ class PutAlertManagerDefinition
225
+ def self.build(context)
226
+ unless context.config.regional_endpoint
227
+ endpoint = context.config.endpoint.to_s
228
+ end
229
+ Aws::PrometheusService::EndpointParameters.new(
230
+ region: context.config.region,
231
+ use_dual_stack: context.config.use_dualstack_endpoint,
232
+ use_fips: context.config.use_fips_endpoint,
233
+ endpoint: endpoint,
234
+ )
235
+ end
236
+ end
237
+
238
+ class PutRuleGroupsNamespace
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::PrometheusService::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
252
+ class TagResource
253
+ def self.build(context)
254
+ unless context.config.regional_endpoint
255
+ endpoint = context.config.endpoint.to_s
256
+ end
257
+ Aws::PrometheusService::EndpointParameters.new(
258
+ region: context.config.region,
259
+ use_dual_stack: context.config.use_dualstack_endpoint,
260
+ use_fips: context.config.use_fips_endpoint,
261
+ endpoint: endpoint,
262
+ )
263
+ end
264
+ end
265
+
266
+ class UntagResource
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::PrometheusService::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
280
+ class UpdateLoggingConfiguration
281
+ def self.build(context)
282
+ unless context.config.regional_endpoint
283
+ endpoint = context.config.endpoint.to_s
284
+ end
285
+ Aws::PrometheusService::EndpointParameters.new(
286
+ region: context.config.region,
287
+ use_dual_stack: context.config.use_dualstack_endpoint,
288
+ use_fips: context.config.use_fips_endpoint,
289
+ endpoint: endpoint,
290
+ )
291
+ end
292
+ end
293
+
294
+ class UpdateWorkspaceAlias
295
+ def self.build(context)
296
+ unless context.config.regional_endpoint
297
+ endpoint = context.config.endpoint.to_s
298
+ end
299
+ Aws::PrometheusService::EndpointParameters.new(
300
+ region: context.config.region,
301
+ use_dual_stack: context.config.use_dualstack_endpoint,
302
+ use_fips: context.config.use_fips_endpoint,
303
+ endpoint: endpoint,
304
+ )
305
+ end
306
+ end
307
+
308
+ end
309
+ end
@@ -0,0 +1,110 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+
11
+ module Aws::PrometheusService
12
+ module Plugins
13
+ class Endpoints < Seahorse::Client::Plugin
14
+ option(
15
+ :endpoint_provider,
16
+ doc_type: 'Aws::PrometheusService::EndpointProvider',
17
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
+ 'object that responds to `#resolve_endpoint(parameters)` '\
19
+ 'where `parameters` is a Struct similar to '\
20
+ '`Aws::PrometheusService::EndpointParameters`'
21
+ ) do |cfg|
22
+ Aws::PrometheusService::EndpointProvider.new
23
+ end
24
+
25
+ # @api private
26
+ class Handler < Seahorse::Client::Handler
27
+ def call(context)
28
+ # If endpoint was discovered, do not resolve or apply the endpoint.
29
+ unless context[:discovered_endpoint]
30
+ params = parameters_for_operation(context)
31
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
+
33
+ context.http_request.endpoint = endpoint.url
34
+ apply_endpoint_headers(context, endpoint.headers)
35
+ end
36
+
37
+ context[:endpoint_params] = params
38
+ context[:auth_scheme] =
39
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
+
41
+ @handler.call(context)
42
+ end
43
+
44
+ private
45
+
46
+ def apply_endpoint_headers(context, headers)
47
+ headers.each do |key, values|
48
+ value = values
49
+ .compact
50
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
51
+ .join(',')
52
+
53
+ context.http_request.headers[key] = value
54
+ end
55
+ end
56
+
57
+ def parameters_for_operation(context)
58
+ case context.operation_name
59
+ when :create_alert_manager_definition
60
+ Aws::PrometheusService::Endpoints::CreateAlertManagerDefinition.build(context)
61
+ when :create_logging_configuration
62
+ Aws::PrometheusService::Endpoints::CreateLoggingConfiguration.build(context)
63
+ when :create_rule_groups_namespace
64
+ Aws::PrometheusService::Endpoints::CreateRuleGroupsNamespace.build(context)
65
+ when :create_workspace
66
+ Aws::PrometheusService::Endpoints::CreateWorkspace.build(context)
67
+ when :delete_alert_manager_definition
68
+ Aws::PrometheusService::Endpoints::DeleteAlertManagerDefinition.build(context)
69
+ when :delete_logging_configuration
70
+ Aws::PrometheusService::Endpoints::DeleteLoggingConfiguration.build(context)
71
+ when :delete_rule_groups_namespace
72
+ Aws::PrometheusService::Endpoints::DeleteRuleGroupsNamespace.build(context)
73
+ when :delete_workspace
74
+ Aws::PrometheusService::Endpoints::DeleteWorkspace.build(context)
75
+ when :describe_alert_manager_definition
76
+ Aws::PrometheusService::Endpoints::DescribeAlertManagerDefinition.build(context)
77
+ when :describe_logging_configuration
78
+ Aws::PrometheusService::Endpoints::DescribeLoggingConfiguration.build(context)
79
+ when :describe_rule_groups_namespace
80
+ Aws::PrometheusService::Endpoints::DescribeRuleGroupsNamespace.build(context)
81
+ when :describe_workspace
82
+ Aws::PrometheusService::Endpoints::DescribeWorkspace.build(context)
83
+ when :list_rule_groups_namespaces
84
+ Aws::PrometheusService::Endpoints::ListRuleGroupsNamespaces.build(context)
85
+ when :list_tags_for_resource
86
+ Aws::PrometheusService::Endpoints::ListTagsForResource.build(context)
87
+ when :list_workspaces
88
+ Aws::PrometheusService::Endpoints::ListWorkspaces.build(context)
89
+ when :put_alert_manager_definition
90
+ Aws::PrometheusService::Endpoints::PutAlertManagerDefinition.build(context)
91
+ when :put_rule_groups_namespace
92
+ Aws::PrometheusService::Endpoints::PutRuleGroupsNamespace.build(context)
93
+ when :tag_resource
94
+ Aws::PrometheusService::Endpoints::TagResource.build(context)
95
+ when :untag_resource
96
+ Aws::PrometheusService::Endpoints::UntagResource.build(context)
97
+ when :update_logging_configuration
98
+ Aws::PrometheusService::Endpoints::UpdateLoggingConfiguration.build(context)
99
+ when :update_workspace_alias
100
+ Aws::PrometheusService::Endpoints::UpdateWorkspaceAlias.build(context)
101
+ end
102
+ end
103
+ end
104
+
105
+ def add_handlers(handlers, _config)
106
+ handlers.add(Handler, step: :build, priority: 75)
107
+ end
108
+ end
109
+ end
110
+ end
@@ -148,6 +148,58 @@ module Aws::PrometheusService
148
148
  include Aws::Structure
149
149
  end
150
150
 
151
+ # Represents the input of a CreateLoggingConfiguration operation.
152
+ #
153
+ # @note When making an API call, you may pass CreateLoggingConfigurationRequest
154
+ # data as a hash:
155
+ #
156
+ # {
157
+ # client_token: "IdempotencyToken",
158
+ # log_group_arn: "LogGroupArn", # required
159
+ # workspace_id: "WorkspaceId", # required
160
+ # }
161
+ #
162
+ # @!attribute [rw] client_token
163
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
164
+ # the idempotency of the request.
165
+ #
166
+ # **A suitable default value is auto-generated.** You should normally
167
+ # not need to pass this option.
168
+ # @return [String]
169
+ #
170
+ # @!attribute [rw] log_group_arn
171
+ # The ARN of the CW log group to which the vended log data will be
172
+ # published.
173
+ # @return [String]
174
+ #
175
+ # @!attribute [rw] workspace_id
176
+ # The ID of the workspace to vend logs to.
177
+ # @return [String]
178
+ #
179
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateLoggingConfigurationRequest AWS API Documentation
180
+ #
181
+ class CreateLoggingConfigurationRequest < Struct.new(
182
+ :client_token,
183
+ :log_group_arn,
184
+ :workspace_id)
185
+ SENSITIVE = []
186
+ include Aws::Structure
187
+ end
188
+
189
+ # Represents the output of a CreateLoggingConfiguration operation.
190
+ #
191
+ # @!attribute [rw] status
192
+ # The status of the logging configuration.
193
+ # @return [Types::LoggingConfigurationStatus]
194
+ #
195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateLoggingConfigurationResponse AWS API Documentation
196
+ #
197
+ class CreateLoggingConfigurationResponse < Struct.new(
198
+ :status)
199
+ SENSITIVE = []
200
+ include Aws::Structure
201
+ end
202
+
151
203
  # Represents the input of a CreateRuleGroupsNamespace operation.
152
204
  #
153
205
  # @note When making an API call, you may pass CreateRuleGroupsNamespaceRequest
@@ -330,6 +382,37 @@ module Aws::PrometheusService
330
382
  include Aws::Structure
331
383
  end
332
384
 
385
+ # Represents the input of a DeleteLoggingConfiguration operation.
386
+ #
387
+ # @note When making an API call, you may pass DeleteLoggingConfigurationRequest
388
+ # data as a hash:
389
+ #
390
+ # {
391
+ # client_token: "IdempotencyToken",
392
+ # workspace_id: "WorkspaceId", # required
393
+ # }
394
+ #
395
+ # @!attribute [rw] client_token
396
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
397
+ # the idempotency of the request.
398
+ #
399
+ # **A suitable default value is auto-generated.** You should normally
400
+ # not need to pass this option.
401
+ # @return [String]
402
+ #
403
+ # @!attribute [rw] workspace_id
404
+ # The ID of the workspace to vend logs to.
405
+ # @return [String]
406
+ #
407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteLoggingConfigurationRequest AWS API Documentation
408
+ #
409
+ class DeleteLoggingConfigurationRequest < Struct.new(
410
+ :client_token,
411
+ :workspace_id)
412
+ SENSITIVE = []
413
+ include Aws::Structure
414
+ end
415
+
333
416
  # Represents the input of a DeleteRuleGroupsNamespace operation.
334
417
  #
335
418
  # @note When making an API call, you may pass DeleteRuleGroupsNamespaceRequest
@@ -434,6 +517,42 @@ module Aws::PrometheusService
434
517
  include Aws::Structure
435
518
  end
436
519
 
520
+ # Represents the input of a DescribeLoggingConfiguration operation.
521
+ #
522
+ # @note When making an API call, you may pass DescribeLoggingConfigurationRequest
523
+ # data as a hash:
524
+ #
525
+ # {
526
+ # workspace_id: "WorkspaceId", # required
527
+ # }
528
+ #
529
+ # @!attribute [rw] workspace_id
530
+ # The ID of the workspace to vend logs to.
531
+ # @return [String]
532
+ #
533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeLoggingConfigurationRequest AWS API Documentation
534
+ #
535
+ class DescribeLoggingConfigurationRequest < Struct.new(
536
+ :workspace_id)
537
+ SENSITIVE = []
538
+ include Aws::Structure
539
+ end
540
+
541
+ # Represents the output of a DescribeLoggingConfiguration operation.
542
+ #
543
+ # @!attribute [rw] logging_configuration
544
+ # Metadata object containing information about the logging
545
+ # configuration of a workspace.
546
+ # @return [Types::LoggingConfigurationMetadata]
547
+ #
548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeLoggingConfigurationResponse AWS API Documentation
549
+ #
550
+ class DescribeLoggingConfigurationResponse < Struct.new(
551
+ :logging_configuration)
552
+ SENSITIVE = []
553
+ include Aws::Structure
554
+ end
555
+
437
556
  # Represents the input of a DescribeRuleGroupsNamespace operation.
438
557
  #
439
558
  # @note When making an API call, you may pass DescribeRuleGroupsNamespaceRequest
@@ -677,6 +796,60 @@ module Aws::PrometheusService
677
796
  include Aws::Structure
678
797
  end
679
798
 
799
+ # Represents the properties of a logging configuration metadata.
800
+ #
801
+ # @!attribute [rw] created_at
802
+ # The time when the logging configuration was created.
803
+ # @return [Time]
804
+ #
805
+ # @!attribute [rw] log_group_arn
806
+ # The ARN of the CW log group to which the vended log data will be
807
+ # published.
808
+ # @return [String]
809
+ #
810
+ # @!attribute [rw] modified_at
811
+ # The time when the logging configuration was modified.
812
+ # @return [Time]
813
+ #
814
+ # @!attribute [rw] status
815
+ # The status of the logging configuration.
816
+ # @return [Types::LoggingConfigurationStatus]
817
+ #
818
+ # @!attribute [rw] workspace
819
+ # The workspace where the logging configuration exists.
820
+ # @return [String]
821
+ #
822
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/LoggingConfigurationMetadata AWS API Documentation
823
+ #
824
+ class LoggingConfigurationMetadata < Struct.new(
825
+ :created_at,
826
+ :log_group_arn,
827
+ :modified_at,
828
+ :status,
829
+ :workspace)
830
+ SENSITIVE = []
831
+ include Aws::Structure
832
+ end
833
+
834
+ # Represents the status of a logging configuration.
835
+ #
836
+ # @!attribute [rw] status_code
837
+ # Status code of the logging configuration.
838
+ # @return [String]
839
+ #
840
+ # @!attribute [rw] status_reason
841
+ # The reason for failure if any.
842
+ # @return [String]
843
+ #
844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/LoggingConfigurationStatus AWS API Documentation
845
+ #
846
+ class LoggingConfigurationStatus < Struct.new(
847
+ :status_code,
848
+ :status_reason)
849
+ SENSITIVE = []
850
+ include Aws::Structure
851
+ end
852
+
680
853
  # Represents the input of a PutAlertManagerDefinition operation.
681
854
  #
682
855
  # @note When making an API call, you may pass PutAlertManagerDefinitionRequest
@@ -1050,6 +1223,58 @@ module Aws::PrometheusService
1050
1223
  #
1051
1224
  class UntagResourceResponse < Aws::EmptyStructure; end
1052
1225
 
1226
+ # Represents the input of an UpdateLoggingConfiguration operation.
1227
+ #
1228
+ # @note When making an API call, you may pass UpdateLoggingConfigurationRequest
1229
+ # data as a hash:
1230
+ #
1231
+ # {
1232
+ # client_token: "IdempotencyToken",
1233
+ # log_group_arn: "LogGroupArn", # required
1234
+ # workspace_id: "WorkspaceId", # required
1235
+ # }
1236
+ #
1237
+ # @!attribute [rw] client_token
1238
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
1239
+ # the idempotency of the request.
1240
+ #
1241
+ # **A suitable default value is auto-generated.** You should normally
1242
+ # not need to pass this option.
1243
+ # @return [String]
1244
+ #
1245
+ # @!attribute [rw] log_group_arn
1246
+ # The ARN of the CW log group to which the vended log data will be
1247
+ # published.
1248
+ # @return [String]
1249
+ #
1250
+ # @!attribute [rw] workspace_id
1251
+ # The ID of the workspace to vend logs to.
1252
+ # @return [String]
1253
+ #
1254
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateLoggingConfigurationRequest AWS API Documentation
1255
+ #
1256
+ class UpdateLoggingConfigurationRequest < Struct.new(
1257
+ :client_token,
1258
+ :log_group_arn,
1259
+ :workspace_id)
1260
+ SENSITIVE = []
1261
+ include Aws::Structure
1262
+ end
1263
+
1264
+ # Represents the output of an UpdateLoggingConfiguration operation.
1265
+ #
1266
+ # @!attribute [rw] status
1267
+ # The status of the logging configuration.
1268
+ # @return [Types::LoggingConfigurationStatus]
1269
+ #
1270
+ # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateLoggingConfigurationResponse AWS API Documentation
1271
+ #
1272
+ class UpdateLoggingConfigurationResponse < Struct.new(
1273
+ :status)
1274
+ SENSITIVE = []
1275
+ include Aws::Structure
1276
+ end
1277
+
1053
1278
  # Represents the input of an UpdateWorkspaceAlias operation.
1054
1279
  #
1055
1280
  # @note When making an API call, you may pass UpdateWorkspaceAliasRequest
@@ -13,10 +13,14 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-prometheusservice/types'
15
15
  require_relative 'aws-sdk-prometheusservice/client_api'
16
+ require_relative 'aws-sdk-prometheusservice/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-prometheusservice/client'
17
18
  require_relative 'aws-sdk-prometheusservice/errors'
18
19
  require_relative 'aws-sdk-prometheusservice/waiters'
19
20
  require_relative 'aws-sdk-prometheusservice/resource'
21
+ require_relative 'aws-sdk-prometheusservice/endpoint_parameters'
22
+ require_relative 'aws-sdk-prometheusservice/endpoint_provider'
23
+ require_relative 'aws-sdk-prometheusservice/endpoints'
20
24
  require_relative 'aws-sdk-prometheusservice/customizations'
21
25
 
22
26
  # This module provides support for Amazon Prometheus Service. This module is available in the
@@ -49,6 +53,6 @@ require_relative 'aws-sdk-prometheusservice/customizations'
49
53
  # @!group service
50
54
  module Aws::PrometheusService
51
55
 
52
- GEM_VERSION = '1.14.0'
56
+ GEM_VERSION = '1.16.0'
53
57
 
54
58
  end