aws-sdk-prometheusservice 1.56.0 → 1.57.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-prometheusservice/client.rb +689 -270
- data/lib/aws-sdk-prometheusservice/client_api.rb +158 -89
- data/lib/aws-sdk-prometheusservice/errors.rb +15 -15
- data/lib/aws-sdk-prometheusservice/types.rb +610 -489
- data/lib/aws-sdk-prometheusservice.rb +1 -1
- data/sig/client.rbs +105 -71
- data/sig/errors.rbs +3 -3
- data/sig/types.rbs +120 -87
- metadata +1 -1
@@ -39,6 +39,7 @@ module Aws::PrometheusService
|
|
39
39
|
DeleteAlertManagerDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteAlertManagerDefinitionRequest')
|
40
40
|
DeleteLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteLoggingConfigurationRequest')
|
41
41
|
DeleteQueryLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteQueryLoggingConfigurationRequest')
|
42
|
+
DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
|
42
43
|
DeleteRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'DeleteRuleGroupsNamespaceRequest')
|
43
44
|
DeleteScraperRequest = Shapes::StructureShape.new(name: 'DeleteScraperRequest')
|
44
45
|
DeleteScraperResponse = Shapes::StructureShape.new(name: 'DeleteScraperResponse')
|
@@ -49,6 +50,8 @@ module Aws::PrometheusService
|
|
49
50
|
DescribeLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeLoggingConfigurationResponse')
|
50
51
|
DescribeQueryLoggingConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeQueryLoggingConfigurationRequest')
|
51
52
|
DescribeQueryLoggingConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeQueryLoggingConfigurationResponse')
|
53
|
+
DescribeResourcePolicyRequest = Shapes::StructureShape.new(name: 'DescribeResourcePolicyRequest')
|
54
|
+
DescribeResourcePolicyResponse = Shapes::StructureShape.new(name: 'DescribeResourcePolicyResponse')
|
52
55
|
DescribeRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'DescribeRuleGroupsNamespaceRequest')
|
53
56
|
DescribeRuleGroupsNamespaceResponse = Shapes::StructureShape.new(name: 'DescribeRuleGroupsNamespaceResponse')
|
54
57
|
DescribeScraperRequest = Shapes::StructureShape.new(name: 'DescribeScraperRequest')
|
@@ -98,6 +101,8 @@ module Aws::PrometheusService
|
|
98
101
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
99
102
|
PutAlertManagerDefinitionRequest = Shapes::StructureShape.new(name: 'PutAlertManagerDefinitionRequest')
|
100
103
|
PutAlertManagerDefinitionResponse = Shapes::StructureShape.new(name: 'PutAlertManagerDefinitionResponse')
|
104
|
+
PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
|
105
|
+
PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
|
101
106
|
PutRuleGroupsNamespaceRequest = Shapes::StructureShape.new(name: 'PutRuleGroupsNamespaceRequest')
|
102
107
|
PutRuleGroupsNamespaceResponse = Shapes::StructureShape.new(name: 'PutRuleGroupsNamespaceResponse')
|
103
108
|
QueryLoggingConfigurationMetadata = Shapes::StructureShape.new(name: 'QueryLoggingConfigurationMetadata')
|
@@ -164,6 +169,7 @@ module Aws::PrometheusService
|
|
164
169
|
WorkspaceConfigurationStatusCode = Shapes::StringShape.new(name: 'WorkspaceConfigurationStatusCode')
|
165
170
|
WorkspaceDescription = Shapes::StructureShape.new(name: 'WorkspaceDescription')
|
166
171
|
WorkspaceId = Shapes::StringShape.new(name: 'WorkspaceId')
|
172
|
+
WorkspacePolicyStatusCode = Shapes::StringShape.new(name: 'WorkspacePolicyStatusCode')
|
167
173
|
WorkspaceStatus = Shapes::StructureShape.new(name: 'WorkspaceStatus')
|
168
174
|
WorkspaceStatusCode = Shapes::StringShape.new(name: 'WorkspaceStatusCode')
|
169
175
|
WorkspaceSummary = Shapes::StructureShape.new(name: 'WorkspaceSummary')
|
@@ -172,10 +178,10 @@ module Aws::PrometheusService
|
|
172
178
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
173
179
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
174
180
|
|
175
|
-
AlertManagerDefinitionDescription.add_member(:
|
181
|
+
AlertManagerDefinitionDescription.add_member(:status, Shapes::ShapeRef.new(shape: AlertManagerDefinitionStatus, required: true, location_name: "status"))
|
176
182
|
AlertManagerDefinitionDescription.add_member(:data, Shapes::ShapeRef.new(shape: AlertManagerDefinitionData, required: true, location_name: "data"))
|
183
|
+
AlertManagerDefinitionDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
177
184
|
AlertManagerDefinitionDescription.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
178
|
-
AlertManagerDefinitionDescription.add_member(:status, Shapes::ShapeRef.new(shape: AlertManagerDefinitionStatus, required: true, location_name: "status"))
|
179
185
|
AlertManagerDefinitionDescription.struct_class = Types::AlertManagerDefinitionDescription
|
180
186
|
|
181
187
|
AlertManagerDefinitionStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: AlertManagerDefinitionStatusCode, required: true, location_name: "statusCode"))
|
@@ -193,98 +199,103 @@ module Aws::PrometheusService
|
|
193
199
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
194
200
|
ConflictException.struct_class = Types::ConflictException
|
195
201
|
|
196
|
-
CreateAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
197
|
-
CreateAlertManagerDefinitionRequest.add_member(:data, Shapes::ShapeRef.new(shape: AlertManagerDefinitionData, required: true, location_name: "data"))
|
198
202
|
CreateAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
203
|
+
CreateAlertManagerDefinitionRequest.add_member(:data, Shapes::ShapeRef.new(shape: AlertManagerDefinitionData, required: true, location_name: "data"))
|
204
|
+
CreateAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
199
205
|
CreateAlertManagerDefinitionRequest.struct_class = Types::CreateAlertManagerDefinitionRequest
|
200
206
|
|
201
207
|
CreateAlertManagerDefinitionResponse.add_member(:status, Shapes::ShapeRef.new(shape: AlertManagerDefinitionStatus, required: true, location_name: "status"))
|
202
208
|
CreateAlertManagerDefinitionResponse.struct_class = Types::CreateAlertManagerDefinitionResponse
|
203
209
|
|
204
|
-
CreateLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
205
|
-
CreateLoggingConfigurationRequest.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "logGroupArn"))
|
206
210
|
CreateLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
211
|
+
CreateLoggingConfigurationRequest.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "logGroupArn"))
|
212
|
+
CreateLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
207
213
|
CreateLoggingConfigurationRequest.struct_class = Types::CreateLoggingConfigurationRequest
|
208
214
|
|
209
215
|
CreateLoggingConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: LoggingConfigurationStatus, required: true, location_name: "status"))
|
210
216
|
CreateLoggingConfigurationResponse.struct_class = Types::CreateLoggingConfigurationResponse
|
211
217
|
|
212
|
-
CreateQueryLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
213
|
-
CreateQueryLoggingConfigurationRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: LoggingDestinations, required: true, location_name: "destinations"))
|
214
218
|
CreateQueryLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
219
|
+
CreateQueryLoggingConfigurationRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: LoggingDestinations, required: true, location_name: "destinations"))
|
220
|
+
CreateQueryLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
215
221
|
CreateQueryLoggingConfigurationRequest.struct_class = Types::CreateQueryLoggingConfigurationRequest
|
216
222
|
|
217
223
|
CreateQueryLoggingConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationStatus, required: true, location_name: "status"))
|
218
224
|
CreateQueryLoggingConfigurationResponse.struct_class = Types::CreateQueryLoggingConfigurationResponse
|
219
225
|
|
220
|
-
CreateRuleGroupsNamespaceRequest.add_member(:
|
221
|
-
CreateRuleGroupsNamespaceRequest.add_member(:data, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceData, required: true, location_name: "data"))
|
226
|
+
CreateRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
222
227
|
CreateRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
228
|
+
CreateRuleGroupsNamespaceRequest.add_member(:data, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceData, required: true, location_name: "data"))
|
229
|
+
CreateRuleGroupsNamespaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
223
230
|
CreateRuleGroupsNamespaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
224
|
-
CreateRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
225
231
|
CreateRuleGroupsNamespaceRequest.struct_class = Types::CreateRuleGroupsNamespaceRequest
|
226
232
|
|
227
|
-
CreateRuleGroupsNamespaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
228
233
|
CreateRuleGroupsNamespaceResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
234
|
+
CreateRuleGroupsNamespaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
229
235
|
CreateRuleGroupsNamespaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceStatus, required: true, location_name: "status"))
|
230
236
|
CreateRuleGroupsNamespaceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
231
237
|
CreateRuleGroupsNamespaceResponse.struct_class = Types::CreateRuleGroupsNamespaceResponse
|
232
238
|
|
233
239
|
CreateScraperRequest.add_member(:alias, Shapes::ShapeRef.new(shape: ScraperAlias, location_name: "alias"))
|
234
|
-
CreateScraperRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
235
|
-
CreateScraperRequest.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
|
236
|
-
CreateScraperRequest.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
237
240
|
CreateScraperRequest.add_member(:scrape_configuration, Shapes::ShapeRef.new(shape: ScrapeConfiguration, required: true, location_name: "scrapeConfiguration"))
|
238
241
|
CreateScraperRequest.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
242
|
+
CreateScraperRequest.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
|
243
|
+
CreateScraperRequest.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
244
|
+
CreateScraperRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
239
245
|
CreateScraperRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
240
246
|
CreateScraperRequest.struct_class = Types::CreateScraperRequest
|
241
247
|
|
242
|
-
CreateScraperResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ScraperArn, required: true, location_name: "arn"))
|
243
248
|
CreateScraperResponse.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location_name: "scraperId"))
|
249
|
+
CreateScraperResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ScraperArn, required: true, location_name: "arn"))
|
244
250
|
CreateScraperResponse.add_member(:status, Shapes::ShapeRef.new(shape: ScraperStatus, required: true, location_name: "status"))
|
245
251
|
CreateScraperResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
246
252
|
CreateScraperResponse.struct_class = Types::CreateScraperResponse
|
247
253
|
|
248
254
|
CreateWorkspaceRequest.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location_name: "alias"))
|
249
255
|
CreateWorkspaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
250
|
-
CreateWorkspaceRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
251
256
|
CreateWorkspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
257
|
+
CreateWorkspaceRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
252
258
|
CreateWorkspaceRequest.struct_class = Types::CreateWorkspaceRequest
|
253
259
|
|
260
|
+
CreateWorkspaceResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
|
254
261
|
CreateWorkspaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkspaceArn, required: true, location_name: "arn"))
|
255
|
-
CreateWorkspaceResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
256
262
|
CreateWorkspaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
|
257
263
|
CreateWorkspaceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
258
|
-
CreateWorkspaceResponse.add_member(:
|
264
|
+
CreateWorkspaceResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
259
265
|
CreateWorkspaceResponse.struct_class = Types::CreateWorkspaceResponse
|
260
266
|
|
261
|
-
DeleteAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
262
267
|
DeleteAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
268
|
+
DeleteAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
263
269
|
DeleteAlertManagerDefinitionRequest.struct_class = Types::DeleteAlertManagerDefinitionRequest
|
264
270
|
|
265
|
-
DeleteLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
266
271
|
DeleteLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
272
|
+
DeleteLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
267
273
|
DeleteLoggingConfigurationRequest.struct_class = Types::DeleteLoggingConfigurationRequest
|
268
274
|
|
269
|
-
DeleteQueryLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
270
275
|
DeleteQueryLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
276
|
+
DeleteQueryLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
271
277
|
DeleteQueryLoggingConfigurationRequest.struct_class = Types::DeleteQueryLoggingConfigurationRequest
|
272
278
|
|
273
|
-
|
274
|
-
|
279
|
+
DeleteResourcePolicyRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
280
|
+
DeleteResourcePolicyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
281
|
+
DeleteResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "revisionId"))
|
282
|
+
DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
|
283
|
+
|
275
284
|
DeleteRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
285
|
+
DeleteRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location: "uri", location_name: "name"))
|
286
|
+
DeleteRuleGroupsNamespaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
276
287
|
DeleteRuleGroupsNamespaceRequest.struct_class = Types::DeleteRuleGroupsNamespaceRequest
|
277
288
|
|
278
|
-
DeleteScraperRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
279
289
|
DeleteScraperRequest.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location: "uri", location_name: "scraperId"))
|
290
|
+
DeleteScraperRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
280
291
|
DeleteScraperRequest.struct_class = Types::DeleteScraperRequest
|
281
292
|
|
282
293
|
DeleteScraperResponse.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location_name: "scraperId"))
|
283
294
|
DeleteScraperResponse.add_member(:status, Shapes::ShapeRef.new(shape: ScraperStatus, required: true, location_name: "status"))
|
284
295
|
DeleteScraperResponse.struct_class = Types::DeleteScraperResponse
|
285
296
|
|
286
|
-
DeleteWorkspaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
287
297
|
DeleteWorkspaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
298
|
+
DeleteWorkspaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
288
299
|
DeleteWorkspaceRequest.struct_class = Types::DeleteWorkspaceRequest
|
289
300
|
|
290
301
|
DescribeAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
@@ -305,8 +316,16 @@ module Aws::PrometheusService
|
|
305
316
|
DescribeQueryLoggingConfigurationResponse.add_member(:query_logging_configuration, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationMetadata, required: true, location_name: "queryLoggingConfiguration"))
|
306
317
|
DescribeQueryLoggingConfigurationResponse.struct_class = Types::DescribeQueryLoggingConfigurationResponse
|
307
318
|
|
308
|
-
|
319
|
+
DescribeResourcePolicyRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
320
|
+
DescribeResourcePolicyRequest.struct_class = Types::DescribeResourcePolicyRequest
|
321
|
+
|
322
|
+
DescribeResourcePolicyResponse.add_member(:policy_document, Shapes::ShapeRef.new(shape: String, required: true, location_name: "policyDocument"))
|
323
|
+
DescribeResourcePolicyResponse.add_member(:policy_status, Shapes::ShapeRef.new(shape: WorkspacePolicyStatusCode, required: true, location_name: "policyStatus"))
|
324
|
+
DescribeResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "revisionId"))
|
325
|
+
DescribeResourcePolicyResponse.struct_class = Types::DescribeResourcePolicyResponse
|
326
|
+
|
309
327
|
DescribeRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
328
|
+
DescribeRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location: "uri", location_name: "name"))
|
310
329
|
DescribeRuleGroupsNamespaceRequest.struct_class = Types::DescribeRuleGroupsNamespaceRequest
|
311
330
|
|
312
331
|
DescribeRuleGroupsNamespaceResponse.add_member(:rule_groups_namespace, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceDescription, required: true, location_name: "ruleGroupsNamespace"))
|
@@ -355,8 +374,8 @@ module Aws::PrometheusService
|
|
355
374
|
LabelSet.key = Shapes::ShapeRef.new(shape: LabelName)
|
356
375
|
LabelSet.value = Shapes::ShapeRef.new(shape: LabelValue)
|
357
376
|
|
358
|
-
LimitsPerLabelSet.add_member(:label_set, Shapes::ShapeRef.new(shape: LabelSet, required: true, location_name: "labelSet"))
|
359
377
|
LimitsPerLabelSet.add_member(:limits, Shapes::ShapeRef.new(shape: LimitsPerLabelSetEntry, required: true, location_name: "limits"))
|
378
|
+
LimitsPerLabelSet.add_member(:label_set, Shapes::ShapeRef.new(shape: LabelSet, required: true, location_name: "labelSet"))
|
360
379
|
LimitsPerLabelSet.struct_class = Types::LimitsPerLabelSet
|
361
380
|
|
362
381
|
LimitsPerLabelSetEntry.add_member(:max_series, Shapes::ShapeRef.new(shape: LimitsPerLabelSetEntryMaxSeriesLong, location_name: "maxSeries"))
|
@@ -364,23 +383,23 @@ module Aws::PrometheusService
|
|
364
383
|
|
365
384
|
LimitsPerLabelSetList.member = Shapes::ShapeRef.new(shape: LimitsPerLabelSet)
|
366
385
|
|
367
|
-
ListRuleGroupsNamespacesRequest.add_member(:
|
386
|
+
ListRuleGroupsNamespacesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
368
387
|
ListRuleGroupsNamespacesRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, location: "querystring", location_name: "name"))
|
369
388
|
ListRuleGroupsNamespacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
370
|
-
ListRuleGroupsNamespacesRequest.add_member(:
|
389
|
+
ListRuleGroupsNamespacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListRuleGroupsNamespacesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
371
390
|
ListRuleGroupsNamespacesRequest.struct_class = Types::ListRuleGroupsNamespacesRequest
|
372
391
|
|
373
|
-
ListRuleGroupsNamespacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
374
392
|
ListRuleGroupsNamespacesResponse.add_member(:rule_groups_namespaces, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceSummaryList, required: true, location_name: "ruleGroupsNamespaces"))
|
393
|
+
ListRuleGroupsNamespacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
375
394
|
ListRuleGroupsNamespacesResponse.struct_class = Types::ListRuleGroupsNamespacesResponse
|
376
395
|
|
377
396
|
ListScrapersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: ScraperFilters, location: "querystring", location_name: "filters"))
|
378
|
-
ListScrapersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListScrapersRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
379
397
|
ListScrapersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
398
|
+
ListScrapersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListScrapersRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
380
399
|
ListScrapersRequest.struct_class = Types::ListScrapersRequest
|
381
400
|
|
382
|
-
ListScrapersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
383
401
|
ListScrapersResponse.add_member(:scrapers, Shapes::ShapeRef.new(shape: ScraperSummaryList, required: true, location_name: "scrapers"))
|
402
|
+
ListScrapersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
384
403
|
ListScrapersResponse.struct_class = Types::ListScrapersResponse
|
385
404
|
|
386
405
|
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
@@ -389,20 +408,20 @@ module Aws::PrometheusService
|
|
389
408
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
390
409
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
391
410
|
|
411
|
+
ListWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
392
412
|
ListWorkspacesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location: "querystring", location_name: "alias"))
|
393
413
|
ListWorkspacesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListWorkspacesRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
|
394
|
-
ListWorkspacesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
|
395
414
|
ListWorkspacesRequest.struct_class = Types::ListWorkspacesRequest
|
396
415
|
|
397
|
-
ListWorkspacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
398
416
|
ListWorkspacesResponse.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceSummaryList, required: true, location_name: "workspaces"))
|
417
|
+
ListWorkspacesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
399
418
|
ListWorkspacesResponse.struct_class = Types::ListWorkspacesResponse
|
400
419
|
|
401
|
-
LoggingConfigurationMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
402
|
-
LoggingConfigurationMetadata.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "logGroupArn"))
|
403
|
-
LoggingConfigurationMetadata.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
404
420
|
LoggingConfigurationMetadata.add_member(:status, Shapes::ShapeRef.new(shape: LoggingConfigurationStatus, required: true, location_name: "status"))
|
405
421
|
LoggingConfigurationMetadata.add_member(:workspace, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspace"))
|
422
|
+
LoggingConfigurationMetadata.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "logGroupArn"))
|
423
|
+
LoggingConfigurationMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
424
|
+
LoggingConfigurationMetadata.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
406
425
|
LoggingConfigurationMetadata.struct_class = Types::LoggingConfigurationMetadata
|
407
426
|
|
408
427
|
LoggingConfigurationStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: LoggingConfigurationStatusCode, required: true, location_name: "statusCode"))
|
@@ -418,31 +437,41 @@ module Aws::PrometheusService
|
|
418
437
|
LoggingFilter.add_member(:qsp_threshold, Shapes::ShapeRef.new(shape: LoggingFilterQspThresholdLong, required: true, location_name: "qspThreshold"))
|
419
438
|
LoggingFilter.struct_class = Types::LoggingFilter
|
420
439
|
|
421
|
-
PutAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
422
|
-
PutAlertManagerDefinitionRequest.add_member(:data, Shapes::ShapeRef.new(shape: AlertManagerDefinitionData, required: true, location_name: "data"))
|
423
440
|
PutAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
441
|
+
PutAlertManagerDefinitionRequest.add_member(:data, Shapes::ShapeRef.new(shape: AlertManagerDefinitionData, required: true, location_name: "data"))
|
442
|
+
PutAlertManagerDefinitionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
424
443
|
PutAlertManagerDefinitionRequest.struct_class = Types::PutAlertManagerDefinitionRequest
|
425
444
|
|
426
445
|
PutAlertManagerDefinitionResponse.add_member(:status, Shapes::ShapeRef.new(shape: AlertManagerDefinitionStatus, required: true, location_name: "status"))
|
427
446
|
PutAlertManagerDefinitionResponse.struct_class = Types::PutAlertManagerDefinitionResponse
|
428
447
|
|
429
|
-
|
430
|
-
|
431
|
-
|
448
|
+
PutResourcePolicyRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
449
|
+
PutResourcePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: String, required: true, location_name: "policyDocument"))
|
450
|
+
PutResourcePolicyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
451
|
+
PutResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, location_name: "revisionId"))
|
452
|
+
PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
|
453
|
+
|
454
|
+
PutResourcePolicyResponse.add_member(:policy_status, Shapes::ShapeRef.new(shape: WorkspacePolicyStatusCode, required: true, location_name: "policyStatus"))
|
455
|
+
PutResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "revisionId"))
|
456
|
+
PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
|
457
|
+
|
432
458
|
PutRuleGroupsNamespaceRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
459
|
+
PutRuleGroupsNamespaceRequest.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location: "uri", location_name: "name"))
|
460
|
+
PutRuleGroupsNamespaceRequest.add_member(:data, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceData, required: true, location_name: "data"))
|
461
|
+
PutRuleGroupsNamespaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
433
462
|
PutRuleGroupsNamespaceRequest.struct_class = Types::PutRuleGroupsNamespaceRequest
|
434
463
|
|
435
|
-
PutRuleGroupsNamespaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
436
464
|
PutRuleGroupsNamespaceResponse.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
465
|
+
PutRuleGroupsNamespaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
437
466
|
PutRuleGroupsNamespaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceStatus, required: true, location_name: "status"))
|
438
467
|
PutRuleGroupsNamespaceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
439
468
|
PutRuleGroupsNamespaceResponse.struct_class = Types::PutRuleGroupsNamespaceResponse
|
440
469
|
|
441
|
-
QueryLoggingConfigurationMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
442
|
-
QueryLoggingConfigurationMetadata.add_member(:destinations, Shapes::ShapeRef.new(shape: LoggingDestinations, required: true, location_name: "destinations"))
|
443
|
-
QueryLoggingConfigurationMetadata.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
444
470
|
QueryLoggingConfigurationMetadata.add_member(:status, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationStatus, required: true, location_name: "status"))
|
445
471
|
QueryLoggingConfigurationMetadata.add_member(:workspace, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspace"))
|
472
|
+
QueryLoggingConfigurationMetadata.add_member(:destinations, Shapes::ShapeRef.new(shape: LoggingDestinations, required: true, location_name: "destinations"))
|
473
|
+
QueryLoggingConfigurationMetadata.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
474
|
+
QueryLoggingConfigurationMetadata.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
446
475
|
QueryLoggingConfigurationMetadata.struct_class = Types::QueryLoggingConfigurationMetadata
|
447
476
|
|
448
477
|
QueryLoggingConfigurationStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationStatusCode, required: true, location_name: "statusCode"))
|
@@ -459,11 +488,11 @@ module Aws::PrometheusService
|
|
459
488
|
RoleConfiguration.struct_class = Types::RoleConfiguration
|
460
489
|
|
461
490
|
RuleGroupsNamespaceDescription.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
462
|
-
RuleGroupsNamespaceDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
463
|
-
RuleGroupsNamespaceDescription.add_member(:data, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceData, required: true, location_name: "data"))
|
464
|
-
RuleGroupsNamespaceDescription.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
465
491
|
RuleGroupsNamespaceDescription.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
466
492
|
RuleGroupsNamespaceDescription.add_member(:status, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceStatus, required: true, location_name: "status"))
|
493
|
+
RuleGroupsNamespaceDescription.add_member(:data, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceData, required: true, location_name: "data"))
|
494
|
+
RuleGroupsNamespaceDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
495
|
+
RuleGroupsNamespaceDescription.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
467
496
|
RuleGroupsNamespaceDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
468
497
|
RuleGroupsNamespaceDescription.struct_class = Types::RuleGroupsNamespaceDescription
|
469
498
|
|
@@ -472,10 +501,10 @@ module Aws::PrometheusService
|
|
472
501
|
RuleGroupsNamespaceStatus.struct_class = Types::RuleGroupsNamespaceStatus
|
473
502
|
|
474
503
|
RuleGroupsNamespaceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceArn, required: true, location_name: "arn"))
|
475
|
-
RuleGroupsNamespaceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
476
|
-
RuleGroupsNamespaceSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
477
504
|
RuleGroupsNamespaceSummary.add_member(:name, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceName, required: true, location_name: "name"))
|
478
505
|
RuleGroupsNamespaceSummary.add_member(:status, Shapes::ShapeRef.new(shape: RuleGroupsNamespaceStatus, required: true, location_name: "status"))
|
506
|
+
RuleGroupsNamespaceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
507
|
+
RuleGroupsNamespaceSummary.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "modifiedAt"))
|
479
508
|
RuleGroupsNamespaceSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
480
509
|
RuleGroupsNamespaceSummary.struct_class = Types::RuleGroupsNamespaceSummary
|
481
510
|
|
@@ -488,18 +517,18 @@ module Aws::PrometheusService
|
|
488
517
|
ScrapeConfiguration.struct_class = Types::ScrapeConfiguration
|
489
518
|
|
490
519
|
ScraperDescription.add_member(:alias, Shapes::ShapeRef.new(shape: ScraperAlias, location_name: "alias"))
|
520
|
+
ScraperDescription.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location_name: "scraperId"))
|
491
521
|
ScraperDescription.add_member(:arn, Shapes::ShapeRef.new(shape: ScraperArn, required: true, location_name: "arn"))
|
522
|
+
ScraperDescription.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "roleArn"))
|
523
|
+
ScraperDescription.add_member(:status, Shapes::ShapeRef.new(shape: ScraperStatus, required: true, location_name: "status"))
|
492
524
|
ScraperDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
493
|
-
ScraperDescription.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
|
494
525
|
ScraperDescription.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedAt"))
|
495
|
-
ScraperDescription.add_member(:
|
496
|
-
ScraperDescription.add_member(:
|
526
|
+
ScraperDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
527
|
+
ScraperDescription.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, location_name: "statusReason"))
|
497
528
|
ScraperDescription.add_member(:scrape_configuration, Shapes::ShapeRef.new(shape: ScrapeConfiguration, required: true, location_name: "scrapeConfiguration"))
|
498
|
-
ScraperDescription.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location_name: "scraperId"))
|
499
529
|
ScraperDescription.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
500
|
-
ScraperDescription.add_member(:
|
501
|
-
ScraperDescription.add_member(:
|
502
|
-
ScraperDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
530
|
+
ScraperDescription.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
|
531
|
+
ScraperDescription.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
503
532
|
ScraperDescription.struct_class = Types::ScraperDescription
|
504
533
|
|
505
534
|
ScraperFilters.key = Shapes::ShapeRef.new(shape: FilterKey)
|
@@ -509,17 +538,17 @@ module Aws::PrometheusService
|
|
509
538
|
ScraperStatus.struct_class = Types::ScraperStatus
|
510
539
|
|
511
540
|
ScraperSummary.add_member(:alias, Shapes::ShapeRef.new(shape: ScraperAlias, location_name: "alias"))
|
541
|
+
ScraperSummary.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location_name: "scraperId"))
|
512
542
|
ScraperSummary.add_member(:arn, Shapes::ShapeRef.new(shape: ScraperArn, required: true, location_name: "arn"))
|
513
|
-
ScraperSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
514
|
-
ScraperSummary.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
|
515
|
-
ScraperSummary.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedAt"))
|
516
543
|
ScraperSummary.add_member(:role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "roleArn"))
|
517
|
-
ScraperSummary.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
518
|
-
ScraperSummary.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location_name: "scraperId"))
|
519
|
-
ScraperSummary.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
520
544
|
ScraperSummary.add_member(:status, Shapes::ShapeRef.new(shape: ScraperStatus, required: true, location_name: "status"))
|
521
|
-
ScraperSummary.add_member(:
|
545
|
+
ScraperSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
546
|
+
ScraperSummary.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastModifiedAt"))
|
522
547
|
ScraperSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
548
|
+
ScraperSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, location_name: "statusReason"))
|
549
|
+
ScraperSummary.add_member(:source, Shapes::ShapeRef.new(shape: Source, required: true, location_name: "source"))
|
550
|
+
ScraperSummary.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, required: true, location_name: "destination"))
|
551
|
+
ScraperSummary.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
523
552
|
ScraperSummary.struct_class = Types::ScraperSummary
|
524
553
|
|
525
554
|
ScraperSummaryList.member = Shapes::ShapeRef.new(shape: ScraperSummary)
|
@@ -527,10 +556,10 @@ module Aws::PrometheusService
|
|
527
556
|
SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
|
528
557
|
|
529
558
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
530
|
-
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
|
531
559
|
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
532
560
|
ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
533
561
|
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceCode"))
|
562
|
+
ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, required: true, location_name: "quotaCode"))
|
534
563
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
535
564
|
|
536
565
|
Source.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
|
@@ -553,9 +582,9 @@ module Aws::PrometheusService
|
|
553
582
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
554
583
|
|
555
584
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
585
|
+
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
556
586
|
ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
|
557
587
|
ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
558
|
-
ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
|
559
588
|
ThrottlingException.struct_class = Types::ThrottlingException
|
560
589
|
|
561
590
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
|
@@ -564,90 +593,90 @@ module Aws::PrometheusService
|
|
564
593
|
|
565
594
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
566
595
|
|
567
|
-
UpdateLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
568
|
-
UpdateLoggingConfigurationRequest.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "logGroupArn"))
|
569
596
|
UpdateLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
597
|
+
UpdateLoggingConfigurationRequest.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, required: true, location_name: "logGroupArn"))
|
598
|
+
UpdateLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
570
599
|
UpdateLoggingConfigurationRequest.struct_class = Types::UpdateLoggingConfigurationRequest
|
571
600
|
|
572
601
|
UpdateLoggingConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: LoggingConfigurationStatus, required: true, location_name: "status"))
|
573
602
|
UpdateLoggingConfigurationResponse.struct_class = Types::UpdateLoggingConfigurationResponse
|
574
603
|
|
575
|
-
UpdateQueryLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
576
|
-
UpdateQueryLoggingConfigurationRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: LoggingDestinations, required: true, location_name: "destinations"))
|
577
604
|
UpdateQueryLoggingConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
605
|
+
UpdateQueryLoggingConfigurationRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: LoggingDestinations, required: true, location_name: "destinations"))
|
606
|
+
UpdateQueryLoggingConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
578
607
|
UpdateQueryLoggingConfigurationRequest.struct_class = Types::UpdateQueryLoggingConfigurationRequest
|
579
608
|
|
580
609
|
UpdateQueryLoggingConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: QueryLoggingConfigurationStatus, required: true, location_name: "status"))
|
581
610
|
UpdateQueryLoggingConfigurationResponse.struct_class = Types::UpdateQueryLoggingConfigurationResponse
|
582
611
|
|
612
|
+
UpdateScraperRequest.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location: "uri", location_name: "scraperId"))
|
583
613
|
UpdateScraperRequest.add_member(:alias, Shapes::ShapeRef.new(shape: ScraperAlias, location_name: "alias"))
|
584
|
-
UpdateScraperRequest.add_member(:
|
614
|
+
UpdateScraperRequest.add_member(:scrape_configuration, Shapes::ShapeRef.new(shape: ScrapeConfiguration, location_name: "scrapeConfiguration"))
|
585
615
|
UpdateScraperRequest.add_member(:destination, Shapes::ShapeRef.new(shape: Destination, location_name: "destination"))
|
586
616
|
UpdateScraperRequest.add_member(:role_configuration, Shapes::ShapeRef.new(shape: RoleConfiguration, location_name: "roleConfiguration"))
|
587
|
-
UpdateScraperRequest.add_member(:
|
588
|
-
UpdateScraperRequest.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location: "uri", location_name: "scraperId"))
|
617
|
+
UpdateScraperRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
589
618
|
UpdateScraperRequest.struct_class = Types::UpdateScraperRequest
|
590
619
|
|
591
|
-
UpdateScraperResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ScraperArn, required: true, location_name: "arn"))
|
592
620
|
UpdateScraperResponse.add_member(:scraper_id, Shapes::ShapeRef.new(shape: ScraperId, required: true, location_name: "scraperId"))
|
621
|
+
UpdateScraperResponse.add_member(:arn, Shapes::ShapeRef.new(shape: ScraperArn, required: true, location_name: "arn"))
|
593
622
|
UpdateScraperResponse.add_member(:status, Shapes::ShapeRef.new(shape: ScraperStatus, required: true, location_name: "status"))
|
594
623
|
UpdateScraperResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
595
624
|
UpdateScraperResponse.struct_class = Types::UpdateScraperResponse
|
596
625
|
|
626
|
+
UpdateWorkspaceAliasRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
597
627
|
UpdateWorkspaceAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location_name: "alias"))
|
598
628
|
UpdateWorkspaceAliasRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
599
|
-
UpdateWorkspaceAliasRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
600
629
|
UpdateWorkspaceAliasRequest.struct_class = Types::UpdateWorkspaceAliasRequest
|
601
630
|
|
631
|
+
UpdateWorkspaceConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
602
632
|
UpdateWorkspaceConfigurationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
603
633
|
UpdateWorkspaceConfigurationRequest.add_member(:limits_per_label_set, Shapes::ShapeRef.new(shape: LimitsPerLabelSetList, location_name: "limitsPerLabelSet"))
|
604
634
|
UpdateWorkspaceConfigurationRequest.add_member(:retention_period_in_days, Shapes::ShapeRef.new(shape: UpdateWorkspaceConfigurationRequestRetentionPeriodInDaysInteger, location_name: "retentionPeriodInDays"))
|
605
|
-
UpdateWorkspaceConfigurationRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
|
606
635
|
UpdateWorkspaceConfigurationRequest.struct_class = Types::UpdateWorkspaceConfigurationRequest
|
607
636
|
|
608
637
|
UpdateWorkspaceConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceConfigurationStatus, required: true, location_name: "status"))
|
609
638
|
UpdateWorkspaceConfigurationResponse.struct_class = Types::UpdateWorkspaceConfigurationResponse
|
610
639
|
|
611
|
-
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
|
612
640
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
613
641
|
ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
|
642
|
+
ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
|
614
643
|
ValidationException.struct_class = Types::ValidationException
|
615
644
|
|
616
|
-
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
617
645
|
ValidationExceptionField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
646
|
+
ValidationExceptionField.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
618
647
|
ValidationExceptionField.struct_class = Types::ValidationExceptionField
|
619
648
|
|
620
649
|
ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
|
621
650
|
|
651
|
+
WorkspaceConfigurationDescription.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceConfigurationStatus, required: true, location_name: "status"))
|
622
652
|
WorkspaceConfigurationDescription.add_member(:limits_per_label_set, Shapes::ShapeRef.new(shape: LimitsPerLabelSetList, location_name: "limitsPerLabelSet"))
|
623
653
|
WorkspaceConfigurationDescription.add_member(:retention_period_in_days, Shapes::ShapeRef.new(shape: WorkspaceConfigurationDescriptionRetentionPeriodInDaysInteger, location_name: "retentionPeriodInDays"))
|
624
|
-
WorkspaceConfigurationDescription.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceConfigurationStatus, required: true, location_name: "status"))
|
625
654
|
WorkspaceConfigurationDescription.struct_class = Types::WorkspaceConfigurationDescription
|
626
655
|
|
627
656
|
WorkspaceConfigurationStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: WorkspaceConfigurationStatusCode, required: true, location_name: "statusCode"))
|
628
657
|
WorkspaceConfigurationStatus.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
629
658
|
WorkspaceConfigurationStatus.struct_class = Types::WorkspaceConfigurationStatus
|
630
659
|
|
660
|
+
WorkspaceDescription.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
|
631
661
|
WorkspaceDescription.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location_name: "alias"))
|
632
662
|
WorkspaceDescription.add_member(:arn, Shapes::ShapeRef.new(shape: WorkspaceArn, required: true, location_name: "arn"))
|
633
|
-
WorkspaceDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
634
|
-
WorkspaceDescription.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
635
|
-
WorkspaceDescription.add_member(:prometheus_endpoint, Shapes::ShapeRef.new(shape: Uri, location_name: "prometheusEndpoint"))
|
636
663
|
WorkspaceDescription.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
|
664
|
+
WorkspaceDescription.add_member(:prometheus_endpoint, Shapes::ShapeRef.new(shape: Uri, location_name: "prometheusEndpoint"))
|
665
|
+
WorkspaceDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
637
666
|
WorkspaceDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
638
|
-
WorkspaceDescription.add_member(:
|
667
|
+
WorkspaceDescription.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
639
668
|
WorkspaceDescription.struct_class = Types::WorkspaceDescription
|
640
669
|
|
641
670
|
WorkspaceStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: WorkspaceStatusCode, required: true, location_name: "statusCode"))
|
642
671
|
WorkspaceStatus.struct_class = Types::WorkspaceStatus
|
643
672
|
|
673
|
+
WorkspaceSummary.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
|
644
674
|
WorkspaceSummary.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location_name: "alias"))
|
645
675
|
WorkspaceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: WorkspaceArn, required: true, location_name: "arn"))
|
646
|
-
WorkspaceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
647
|
-
WorkspaceSummary.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
648
676
|
WorkspaceSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
|
677
|
+
WorkspaceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
649
678
|
WorkspaceSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
650
|
-
WorkspaceSummary.add_member(:
|
679
|
+
WorkspaceSummary.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
|
651
680
|
WorkspaceSummary.struct_class = Types::WorkspaceSummary
|
652
681
|
|
653
682
|
WorkspaceSummaryList.member = Shapes::ShapeRef.new(shape: WorkspaceSummary)
|
@@ -662,7 +691,6 @@ module Aws::PrometheusService
|
|
662
691
|
"apiVersion" => "2020-08-01",
|
663
692
|
"auth" => ["aws.auth#sigv4"],
|
664
693
|
"endpointPrefix" => "aps",
|
665
|
-
"jsonVersion" => "1.1",
|
666
694
|
"protocol" => "rest-json",
|
667
695
|
"protocols" => ["rest-json"],
|
668
696
|
"serviceFullName" => "Amazon Prometheus Service",
|
@@ -795,6 +823,20 @@ module Aws::PrometheusService
|
|
795
823
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
796
824
|
end)
|
797
825
|
|
826
|
+
api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
827
|
+
o.name = "DeleteResourcePolicy"
|
828
|
+
o.http_method = "DELETE"
|
829
|
+
o.http_request_uri = "/workspaces/{workspaceId}/policy"
|
830
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
|
831
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
832
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
833
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
834
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
835
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
836
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
837
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
838
|
+
end)
|
839
|
+
|
798
840
|
api.add_operation(:delete_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
799
841
|
o.name = "DeleteRuleGroupsNamespace"
|
800
842
|
o.http_method = "DELETE"
|
@@ -874,6 +916,19 @@ module Aws::PrometheusService
|
|
874
916
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
875
917
|
end)
|
876
918
|
|
919
|
+
api.add_operation(:describe_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
920
|
+
o.name = "DescribeResourcePolicy"
|
921
|
+
o.http_method = "GET"
|
922
|
+
o.http_request_uri = "/workspaces/{workspaceId}/policy"
|
923
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeResourcePolicyRequest)
|
924
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeResourcePolicyResponse)
|
925
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
926
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
927
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
928
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
929
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
930
|
+
end)
|
931
|
+
|
877
932
|
api.add_operation(:describe_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
878
933
|
o.name = "DescribeRuleGroupsNamespace"
|
879
934
|
o.http_method = "GET"
|
@@ -1020,6 +1075,20 @@ module Aws::PrometheusService
|
|
1020
1075
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1021
1076
|
end)
|
1022
1077
|
|
1078
|
+
api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
|
1079
|
+
o.name = "PutResourcePolicy"
|
1080
|
+
o.http_method = "PUT"
|
1081
|
+
o.http_request_uri = "/workspaces/{workspaceId}/policy"
|
1082
|
+
o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
|
1083
|
+
o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
|
1084
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1085
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1086
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1087
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1088
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1089
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1090
|
+
end)
|
1091
|
+
|
1023
1092
|
api.add_operation(:put_rule_groups_namespace, Seahorse::Model::Operation.new.tap do |o|
|
1024
1093
|
o.name = "PutRuleGroupsNamespace"
|
1025
1094
|
o.http_method = "PUT"
|