aws-sdk-aiops 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-aiops/client.rb +1106 -0
- data/lib/aws-sdk-aiops/client_api.rb +404 -0
- data/lib/aws-sdk-aiops/customizations.rb +0 -0
- data/lib/aws-sdk-aiops/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-aiops/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-aiops/endpoints.rb +20 -0
- data/lib/aws-sdk-aiops/errors.rb +186 -0
- data/lib/aws-sdk-aiops/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-aiops/resource.rb +26 -0
- data/lib/aws-sdk-aiops/types.rb +713 -0
- data/lib/aws-sdk-aiops/waiters.rb +15 -0
- data/lib/aws-sdk-aiops.rb +62 -0
- data/sig/client.rbs +219 -0
- data/sig/errors.rbs +44 -0
- data/sig/resource.rbs +84 -0
- data/sig/types.rbs +193 -0
- data/sig/waiters.rbs +13 -0
- metadata +97 -0
@@ -0,0 +1,713 @@
|
|
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
|
+
module Aws::AIOps
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# You don't have sufficient permissions to perform this action.
|
14
|
+
#
|
15
|
+
# @!attribute [rw] message
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/AccessDeniedException AWS API Documentation
|
19
|
+
#
|
20
|
+
class AccessDeniedException < Struct.new(
|
21
|
+
:message)
|
22
|
+
SENSITIVE = []
|
23
|
+
include Aws::Structure
|
24
|
+
end
|
25
|
+
|
26
|
+
# This operation couldn't be completed because of a conflict in
|
27
|
+
# resource states.
|
28
|
+
#
|
29
|
+
# @!attribute [rw] message
|
30
|
+
# @return [String]
|
31
|
+
#
|
32
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ConflictException AWS API Documentation
|
33
|
+
#
|
34
|
+
class ConflictException < Struct.new(
|
35
|
+
:message)
|
36
|
+
SENSITIVE = []
|
37
|
+
include Aws::Structure
|
38
|
+
end
|
39
|
+
|
40
|
+
# @!attribute [rw] name
|
41
|
+
# A name for the investigation group.
|
42
|
+
# @return [String]
|
43
|
+
#
|
44
|
+
# @!attribute [rw] role_arn
|
45
|
+
# Specify the ARN of the IAM role that Amazon Q Developer operational
|
46
|
+
# investigations will use when it gathers investigation data. The
|
47
|
+
# permissions in this role determine which of your resources that
|
48
|
+
# Amazon Q Developer operational investigations will have access to
|
49
|
+
# during investigations.
|
50
|
+
#
|
51
|
+
# For more information, see [How to control what data Amazon Q has
|
52
|
+
# access to during investigations][1].
|
53
|
+
#
|
54
|
+
#
|
55
|
+
#
|
56
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Security.html#Investigations-Security-Data
|
57
|
+
# @return [String]
|
58
|
+
#
|
59
|
+
# @!attribute [rw] encryption_configuration
|
60
|
+
# Use this structure if you want to use a customer managed KMS key to
|
61
|
+
# encrypt your investigation data. If you omit this parameter, Amazon
|
62
|
+
# Q Developer operational investigations will use an Amazon Web
|
63
|
+
# Services key to encrypt the data. For more information, see
|
64
|
+
# [Encryption of investigation data][1].
|
65
|
+
#
|
66
|
+
#
|
67
|
+
#
|
68
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Security.html#Investigations-KMS
|
69
|
+
# @return [Types::EncryptionConfiguration]
|
70
|
+
#
|
71
|
+
# @!attribute [rw] retention_in_days
|
72
|
+
# Specify how long that investigation data is kept. For more
|
73
|
+
# information, see [Operational investigation data retention][1].
|
74
|
+
#
|
75
|
+
# If you omit this parameter, the default of 90 days is used.
|
76
|
+
#
|
77
|
+
#
|
78
|
+
#
|
79
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Retention.html
|
80
|
+
# @return [Integer]
|
81
|
+
#
|
82
|
+
# @!attribute [rw] tags
|
83
|
+
# A list of key-value pairs to associate with the investigation group.
|
84
|
+
# You can associate as many as 50 tags with an investigation group. To
|
85
|
+
# be able to associate tags when you create the investigation group,
|
86
|
+
# you must have the `cloudwatch:TagResource` permission.
|
87
|
+
#
|
88
|
+
# Tags can help you organize and categorize your resources. You can
|
89
|
+
# also use them to scope user permissions by granting a user
|
90
|
+
# permission to access or change only resources with certain tag
|
91
|
+
# values.
|
92
|
+
# @return [Hash<String,String>]
|
93
|
+
#
|
94
|
+
# @!attribute [rw] tag_key_boundaries
|
95
|
+
# Enter the existing custom tag keys for custom applications in your
|
96
|
+
# system. Resource tags help Amazon Q narrow the search space when it
|
97
|
+
# is unable to discover definite relationships between resources. For
|
98
|
+
# example, to discover that an Amazon ECS service depends on an Amazon
|
99
|
+
# RDS database, Amazon Q can discover this relationship using data
|
100
|
+
# sources such as X-Ray and CloudWatch Application Signals. However,
|
101
|
+
# if you haven't deployed these features, Amazon Q will attempt to
|
102
|
+
# identify possible relationships. Tag boundaries can be used to
|
103
|
+
# narrow the resources that will be discovered by Amazon Q in these
|
104
|
+
# cases.
|
105
|
+
#
|
106
|
+
# You don't need to enter tags created by myApplications or
|
107
|
+
# CloudFormation, because Amazon Q can automatically detect those
|
108
|
+
# tags.
|
109
|
+
# @return [Array<String>]
|
110
|
+
#
|
111
|
+
# @!attribute [rw] chatbot_notification_channel
|
112
|
+
# Use this structure to integrate Amazon Q Developer operational
|
113
|
+
# investigations with Amazon Q in chat applications. This structure is
|
114
|
+
# a string array. For the first string, specify the ARN of an Amazon
|
115
|
+
# SNS topic. For the array of strings, specify the ARNs of one or more
|
116
|
+
# Amazon Q in chat applications configurations that you want to
|
117
|
+
# associate with that topic. For more information about these
|
118
|
+
# configuration ARNs, see [Getting started with Amazon Q in chat
|
119
|
+
# applications][1] and [Resource type defined by Amazon Web Services
|
120
|
+
# Chatbot][2].
|
121
|
+
#
|
122
|
+
#
|
123
|
+
#
|
124
|
+
# [1]: https://docs.aws.amazon.com/chatbot/latest/adminguide/getting-started.html
|
125
|
+
# [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awschatbot.html#awschatbot-resources-for-iam-policies
|
126
|
+
# @return [Hash<String,Array<String>>]
|
127
|
+
#
|
128
|
+
# @!attribute [rw] is_cloud_trail_event_history_enabled
|
129
|
+
# Specify `true` to enable Amazon Q Developer operational
|
130
|
+
# investigations to have access to change events that are recorded by
|
131
|
+
# CloudTrail. The default is `true`.
|
132
|
+
# @return [Boolean]
|
133
|
+
#
|
134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/CreateInvestigationGroupInput AWS API Documentation
|
135
|
+
#
|
136
|
+
class CreateInvestigationGroupInput < Struct.new(
|
137
|
+
:name,
|
138
|
+
:role_arn,
|
139
|
+
:encryption_configuration,
|
140
|
+
:retention_in_days,
|
141
|
+
:tags,
|
142
|
+
:tag_key_boundaries,
|
143
|
+
:chatbot_notification_channel,
|
144
|
+
:is_cloud_trail_event_history_enabled)
|
145
|
+
SENSITIVE = []
|
146
|
+
include Aws::Structure
|
147
|
+
end
|
148
|
+
|
149
|
+
# @!attribute [rw] arn
|
150
|
+
# The ARN of the investigation group that you just created.
|
151
|
+
# @return [String]
|
152
|
+
#
|
153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/CreateInvestigationGroupOutput AWS API Documentation
|
154
|
+
#
|
155
|
+
class CreateInvestigationGroupOutput < Struct.new(
|
156
|
+
:arn)
|
157
|
+
SENSITIVE = []
|
158
|
+
include Aws::Structure
|
159
|
+
end
|
160
|
+
|
161
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/DeleteInvestigationGroupPolicyOutput AWS API Documentation
|
162
|
+
#
|
163
|
+
class DeleteInvestigationGroupPolicyOutput < Aws::EmptyStructure; end
|
164
|
+
|
165
|
+
# @!attribute [rw] identifier
|
166
|
+
# Specify either the name or the ARN of the investigation group that
|
167
|
+
# you want to remove the policy from.
|
168
|
+
# @return [String]
|
169
|
+
#
|
170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/DeleteInvestigationGroupPolicyRequest AWS API Documentation
|
171
|
+
#
|
172
|
+
class DeleteInvestigationGroupPolicyRequest < Struct.new(
|
173
|
+
:identifier)
|
174
|
+
SENSITIVE = []
|
175
|
+
include Aws::Structure
|
176
|
+
end
|
177
|
+
|
178
|
+
# @!attribute [rw] identifier
|
179
|
+
# Specify either the name or the ARN of the investigation group that
|
180
|
+
# you want to delete.
|
181
|
+
# @return [String]
|
182
|
+
#
|
183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/DeleteInvestigationGroupRequest AWS API Documentation
|
184
|
+
#
|
185
|
+
class DeleteInvestigationGroupRequest < Struct.new(
|
186
|
+
:identifier)
|
187
|
+
SENSITIVE = []
|
188
|
+
include Aws::Structure
|
189
|
+
end
|
190
|
+
|
191
|
+
# Use this structure to specify a customer managed KMS key to use to
|
192
|
+
# encrypt investigation data.
|
193
|
+
#
|
194
|
+
# @!attribute [rw] type
|
195
|
+
# Displays whether investigation data is encrypted by a customer
|
196
|
+
# managed key or an Amazon Web Services owned kay.
|
197
|
+
# @return [String]
|
198
|
+
#
|
199
|
+
# @!attribute [rw] kms_key_id
|
200
|
+
# If the investigation group uses a customer managed key for
|
201
|
+
# encryption, this field displays the ID of that key.
|
202
|
+
# @return [String]
|
203
|
+
#
|
204
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/EncryptionConfiguration AWS API Documentation
|
205
|
+
#
|
206
|
+
class EncryptionConfiguration < Struct.new(
|
207
|
+
:type,
|
208
|
+
:kms_key_id)
|
209
|
+
SENSITIVE = []
|
210
|
+
include Aws::Structure
|
211
|
+
end
|
212
|
+
|
213
|
+
# Access id denied for this operation, or this operation is not valid
|
214
|
+
# for the specified resource.
|
215
|
+
#
|
216
|
+
# @!attribute [rw] message
|
217
|
+
# @return [String]
|
218
|
+
#
|
219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ForbiddenException AWS API Documentation
|
220
|
+
#
|
221
|
+
class ForbiddenException < Struct.new(
|
222
|
+
:message)
|
223
|
+
SENSITIVE = []
|
224
|
+
include Aws::Structure
|
225
|
+
end
|
226
|
+
|
227
|
+
# @!attribute [rw] identifier
|
228
|
+
# Specify either the name or the ARN of the investigation group that
|
229
|
+
# you want to view the policy of.
|
230
|
+
# @return [String]
|
231
|
+
#
|
232
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/GetInvestigationGroupPolicyRequest AWS API Documentation
|
233
|
+
#
|
234
|
+
class GetInvestigationGroupPolicyRequest < Struct.new(
|
235
|
+
:identifier)
|
236
|
+
SENSITIVE = []
|
237
|
+
include Aws::Structure
|
238
|
+
end
|
239
|
+
|
240
|
+
# @!attribute [rw] investigation_group_arn
|
241
|
+
# The Amazon Resource Name (ARN) of the investigation group that you
|
242
|
+
# want to view the policy of.
|
243
|
+
# @return [String]
|
244
|
+
#
|
245
|
+
# @!attribute [rw] policy
|
246
|
+
# The policy, in JSON format.
|
247
|
+
# @return [String]
|
248
|
+
#
|
249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/GetInvestigationGroupPolicyResponse AWS API Documentation
|
250
|
+
#
|
251
|
+
class GetInvestigationGroupPolicyResponse < Struct.new(
|
252
|
+
:investigation_group_arn,
|
253
|
+
:policy)
|
254
|
+
SENSITIVE = []
|
255
|
+
include Aws::Structure
|
256
|
+
end
|
257
|
+
|
258
|
+
# @!attribute [rw] identifier
|
259
|
+
# Specify either the name or the ARN of the investigation group that
|
260
|
+
# you want to view.
|
261
|
+
# @return [String]
|
262
|
+
#
|
263
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/GetInvestigationGroupRequest AWS API Documentation
|
264
|
+
#
|
265
|
+
class GetInvestigationGroupRequest < Struct.new(
|
266
|
+
:identifier)
|
267
|
+
SENSITIVE = []
|
268
|
+
include Aws::Structure
|
269
|
+
end
|
270
|
+
|
271
|
+
# @!attribute [rw] created_by
|
272
|
+
# The name of the user who created the investigation group.
|
273
|
+
# @return [String]
|
274
|
+
#
|
275
|
+
# @!attribute [rw] created_at
|
276
|
+
# The date and time that the investigation group was created.
|
277
|
+
# @return [Time]
|
278
|
+
#
|
279
|
+
# @!attribute [rw] last_modified_by
|
280
|
+
# The name of the user who created the investigation group.
|
281
|
+
# @return [String]
|
282
|
+
#
|
283
|
+
# @!attribute [rw] last_modified_at
|
284
|
+
# The date and time that the investigation group was most recently
|
285
|
+
# modified.
|
286
|
+
# @return [Time]
|
287
|
+
#
|
288
|
+
# @!attribute [rw] name
|
289
|
+
# The name of the investigation group.
|
290
|
+
# @return [String]
|
291
|
+
#
|
292
|
+
# @!attribute [rw] arn
|
293
|
+
# The Amazon Resource Name (ARN) of the investigation group.
|
294
|
+
# @return [String]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] role_arn
|
297
|
+
# The ARN of the IAM role that the investigation group uses for
|
298
|
+
# permissions to gather data.
|
299
|
+
# @return [String]
|
300
|
+
#
|
301
|
+
# @!attribute [rw] encryption_configuration
|
302
|
+
# Specifies the customer managed KMS key that the investigation group
|
303
|
+
# uses to encrypt data, if there is one. If not, the investigation
|
304
|
+
# group uses an Amazon Web Services key to encrypt the data.
|
305
|
+
# @return [Types::EncryptionConfiguration]
|
306
|
+
#
|
307
|
+
# @!attribute [rw] retention_in_days
|
308
|
+
# Specifies how long that investigation data is kept.
|
309
|
+
# @return [Integer]
|
310
|
+
#
|
311
|
+
# @!attribute [rw] chatbot_notification_channel
|
312
|
+
# This structure is a string array. The first string is the ARN of a
|
313
|
+
# Amazon SNS topic. The array of strings display the ARNs of Amazon Q
|
314
|
+
# in chat applications configurations that are associated with that
|
315
|
+
# topic. For more information about these configuration ARNs, see
|
316
|
+
# [Getting started with Amazon Q in chat applications][1] and
|
317
|
+
# [Resource type defined by Amazon Web Services Chatbot][2].
|
318
|
+
#
|
319
|
+
#
|
320
|
+
#
|
321
|
+
# [1]: https://docs.aws.amazon.com/chatbot/latest/adminguide/getting-started.html
|
322
|
+
# [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awschatbot.html#awschatbot-resources-for-iam-policies
|
323
|
+
# @return [Hash<String,Array<String>>]
|
324
|
+
#
|
325
|
+
# @!attribute [rw] tag_key_boundaries
|
326
|
+
# Displays the custom tag keys for custom applications in your system
|
327
|
+
# that you have specified in the investigation group. Resource tags
|
328
|
+
# help Amazon Q narrow the search space when it is unable to discover
|
329
|
+
# definite relationships between resources.
|
330
|
+
# @return [Array<String>]
|
331
|
+
#
|
332
|
+
# @!attribute [rw] is_cloud_trail_event_history_enabled
|
333
|
+
# Specifies whether Amazon Q Developer operational investigationshas
|
334
|
+
# access to change events that are recorded by CloudTrail.
|
335
|
+
# @return [Boolean]
|
336
|
+
#
|
337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/GetInvestigationGroupResponse AWS API Documentation
|
338
|
+
#
|
339
|
+
class GetInvestigationGroupResponse < Struct.new(
|
340
|
+
:created_by,
|
341
|
+
:created_at,
|
342
|
+
:last_modified_by,
|
343
|
+
:last_modified_at,
|
344
|
+
:name,
|
345
|
+
:arn,
|
346
|
+
:role_arn,
|
347
|
+
:encryption_configuration,
|
348
|
+
:retention_in_days,
|
349
|
+
:chatbot_notification_channel,
|
350
|
+
:tag_key_boundaries,
|
351
|
+
:is_cloud_trail_event_history_enabled)
|
352
|
+
SENSITIVE = []
|
353
|
+
include Aws::Structure
|
354
|
+
end
|
355
|
+
|
356
|
+
# An internal server error occurred. You can try again later.
|
357
|
+
#
|
358
|
+
# @!attribute [rw] message
|
359
|
+
# @return [String]
|
360
|
+
#
|
361
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/InternalServerException AWS API Documentation
|
362
|
+
#
|
363
|
+
class InternalServerException < Struct.new(
|
364
|
+
:message)
|
365
|
+
SENSITIVE = []
|
366
|
+
include Aws::Structure
|
367
|
+
end
|
368
|
+
|
369
|
+
# @!attribute [rw] next_token
|
370
|
+
# Include this value, if it was returned by the previous operation, to
|
371
|
+
# get the next set of service operations.
|
372
|
+
# @return [String]
|
373
|
+
#
|
374
|
+
# @!attribute [rw] max_results
|
375
|
+
# The maximum number of results to return in one operation. If you
|
376
|
+
# omit this parameter, the default of 50 is used.
|
377
|
+
# @return [Integer]
|
378
|
+
#
|
379
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ListInvestigationGroupsInput AWS API Documentation
|
380
|
+
#
|
381
|
+
class ListInvestigationGroupsInput < Struct.new(
|
382
|
+
:next_token,
|
383
|
+
:max_results)
|
384
|
+
SENSITIVE = [:next_token]
|
385
|
+
include Aws::Structure
|
386
|
+
end
|
387
|
+
|
388
|
+
# This structure contains information about one investigation group in
|
389
|
+
# the account.
|
390
|
+
#
|
391
|
+
# @!attribute [rw] arn
|
392
|
+
# The Amazon Resource Name (ARN) of the investigation group.
|
393
|
+
# @return [String]
|
394
|
+
#
|
395
|
+
# @!attribute [rw] name
|
396
|
+
# The name of the investigation group.
|
397
|
+
# @return [String]
|
398
|
+
#
|
399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ListInvestigationGroupsModel AWS API Documentation
|
400
|
+
#
|
401
|
+
class ListInvestigationGroupsModel < Struct.new(
|
402
|
+
:arn,
|
403
|
+
:name)
|
404
|
+
SENSITIVE = []
|
405
|
+
include Aws::Structure
|
406
|
+
end
|
407
|
+
|
408
|
+
# @!attribute [rw] next_token
|
409
|
+
# Include this value in your next use of this operation to get the
|
410
|
+
# next set of service operations.
|
411
|
+
# @return [String]
|
412
|
+
#
|
413
|
+
# @!attribute [rw] investigation_groups
|
414
|
+
# An array of structures, where each structure contains the
|
415
|
+
# information about one investigation group in the account.
|
416
|
+
# @return [Array<Types::ListInvestigationGroupsModel>]
|
417
|
+
#
|
418
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ListInvestigationGroupsOutput AWS API Documentation
|
419
|
+
#
|
420
|
+
class ListInvestigationGroupsOutput < Struct.new(
|
421
|
+
:next_token,
|
422
|
+
:investigation_groups)
|
423
|
+
SENSITIVE = [:next_token]
|
424
|
+
include Aws::Structure
|
425
|
+
end
|
426
|
+
|
427
|
+
# @!attribute [rw] tags
|
428
|
+
# The list of tag keys and values associated with the resource you
|
429
|
+
# specified.
|
430
|
+
# @return [Hash<String,String>]
|
431
|
+
#
|
432
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ListTagsForResourceOutput AWS API Documentation
|
433
|
+
#
|
434
|
+
class ListTagsForResourceOutput < Struct.new(
|
435
|
+
:tags)
|
436
|
+
SENSITIVE = []
|
437
|
+
include Aws::Structure
|
438
|
+
end
|
439
|
+
|
440
|
+
# @!attribute [rw] resource_arn
|
441
|
+
# The ARN of the Amazon Q Developer operational investigations
|
442
|
+
# resource that you want to view tags for. You can use the
|
443
|
+
# [ListInvestigationGroups][1] operation to find the ARNs of
|
444
|
+
# investigation groups.
|
445
|
+
#
|
446
|
+
# The ARN format for an investigation group is
|
447
|
+
# `arn:aws:aiops:Region:account-id:investigation-group:investigation-group-id
|
448
|
+
# `.
|
449
|
+
#
|
450
|
+
#
|
451
|
+
#
|
452
|
+
# [1]: https://docs.aws.amazon.com/operationalinvestigations/latest/AmazonQDeveloperOperationalInvestigationsAPIReference/API_ListInvestigationGroups.html
|
453
|
+
# @return [String]
|
454
|
+
#
|
455
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ListTagsForResourceRequest AWS API Documentation
|
456
|
+
#
|
457
|
+
class ListTagsForResourceRequest < Struct.new(
|
458
|
+
:resource_arn)
|
459
|
+
SENSITIVE = []
|
460
|
+
include Aws::Structure
|
461
|
+
end
|
462
|
+
|
463
|
+
# @!attribute [rw] identifier
|
464
|
+
# Specify either the name or the ARN of the investigation group that
|
465
|
+
# you want to assign the policy to.
|
466
|
+
# @return [String]
|
467
|
+
#
|
468
|
+
# @!attribute [rw] policy
|
469
|
+
# The policy, in JSON format.
|
470
|
+
# @return [String]
|
471
|
+
#
|
472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/PutInvestigationGroupPolicyRequest AWS API Documentation
|
473
|
+
#
|
474
|
+
class PutInvestigationGroupPolicyRequest < Struct.new(
|
475
|
+
:identifier,
|
476
|
+
:policy)
|
477
|
+
SENSITIVE = []
|
478
|
+
include Aws::Structure
|
479
|
+
end
|
480
|
+
|
481
|
+
# @!attribute [rw] investigation_group_arn
|
482
|
+
# The ARN of the investigation group that will use this policy.
|
483
|
+
# @return [String]
|
484
|
+
#
|
485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/PutInvestigationGroupPolicyResponse AWS API Documentation
|
486
|
+
#
|
487
|
+
class PutInvestigationGroupPolicyResponse < Struct.new(
|
488
|
+
:investigation_group_arn)
|
489
|
+
SENSITIVE = []
|
490
|
+
include Aws::Structure
|
491
|
+
end
|
492
|
+
|
493
|
+
# The specified resource doesn't exist.
|
494
|
+
#
|
495
|
+
# @!attribute [rw] message
|
496
|
+
# @return [String]
|
497
|
+
#
|
498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ResourceNotFoundException AWS API Documentation
|
499
|
+
#
|
500
|
+
class ResourceNotFoundException < Struct.new(
|
501
|
+
:message)
|
502
|
+
SENSITIVE = []
|
503
|
+
include Aws::Structure
|
504
|
+
end
|
505
|
+
|
506
|
+
# This request exceeds a service quota.
|
507
|
+
#
|
508
|
+
# @!attribute [rw] message
|
509
|
+
# @return [String]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] resource_id
|
512
|
+
# The resource that caused the quota exception.
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @!attribute [rw] resource_type
|
516
|
+
# The type of resource that caused the quota exception.
|
517
|
+
# @return [String]
|
518
|
+
#
|
519
|
+
# @!attribute [rw] service_code
|
520
|
+
# This name of the service associated with the error.
|
521
|
+
# @return [String]
|
522
|
+
#
|
523
|
+
# @!attribute [rw] quota_code
|
524
|
+
# This quota that was exceeded.
|
525
|
+
# @return [String]
|
526
|
+
#
|
527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ServiceQuotaExceededException AWS API Documentation
|
528
|
+
#
|
529
|
+
class ServiceQuotaExceededException < Struct.new(
|
530
|
+
:message,
|
531
|
+
:resource_id,
|
532
|
+
:resource_type,
|
533
|
+
:service_code,
|
534
|
+
:quota_code)
|
535
|
+
SENSITIVE = []
|
536
|
+
include Aws::Structure
|
537
|
+
end
|
538
|
+
|
539
|
+
# @!attribute [rw] resource_arn
|
540
|
+
# The Amazon Resource Name (ARN) of the resource that you want to
|
541
|
+
# apply the tags to. You can use the [ListInvestigationGroups][1]
|
542
|
+
# operation to find the ARNs of investigation groups.
|
543
|
+
#
|
544
|
+
#
|
545
|
+
#
|
546
|
+
# [1]: https://docs.aws.amazon.com/operationalinvestigations/latest/AmazonQDeveloperOperationalInvestigationsAPIReference/API_ListInvestigationGroups.html
|
547
|
+
# @return [String]
|
548
|
+
#
|
549
|
+
# @!attribute [rw] tags
|
550
|
+
# The list of key-value pairs to associate with the resource.
|
551
|
+
# @return [Hash<String,String>]
|
552
|
+
#
|
553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/TagResourceRequest AWS API Documentation
|
554
|
+
#
|
555
|
+
class TagResourceRequest < Struct.new(
|
556
|
+
:resource_arn,
|
557
|
+
:tags)
|
558
|
+
SENSITIVE = []
|
559
|
+
include Aws::Structure
|
560
|
+
end
|
561
|
+
|
562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/TagResourceResponse AWS API Documentation
|
563
|
+
#
|
564
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
565
|
+
|
566
|
+
# The request was throttled because of quota limits. You can try again
|
567
|
+
# later.
|
568
|
+
#
|
569
|
+
# @!attribute [rw] message
|
570
|
+
# @return [String]
|
571
|
+
#
|
572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ThrottlingException AWS API Documentation
|
573
|
+
#
|
574
|
+
class ThrottlingException < Struct.new(
|
575
|
+
:message)
|
576
|
+
SENSITIVE = []
|
577
|
+
include Aws::Structure
|
578
|
+
end
|
579
|
+
|
580
|
+
# @!attribute [rw] resource_arn
|
581
|
+
# The Amazon Resource Name (ARN) of the resource that you want to
|
582
|
+
# remove the tags from. You can use the [ListInvestigationGroups][1]
|
583
|
+
# operation to find the ARNs of investigation groups.
|
584
|
+
#
|
585
|
+
#
|
586
|
+
#
|
587
|
+
# [1]: https://docs.aws.amazon.com/operationalinvestigations/latest/AmazonQDeveloperOperationalInvestigationsAPIReference/API_ListInvestigationGroups.html
|
588
|
+
# @return [String]
|
589
|
+
#
|
590
|
+
# @!attribute [rw] tag_keys
|
591
|
+
# The list of tag keys to remove from the resource.
|
592
|
+
# @return [Array<String>]
|
593
|
+
#
|
594
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/UntagResourceRequest AWS API Documentation
|
595
|
+
#
|
596
|
+
class UntagResourceRequest < Struct.new(
|
597
|
+
:resource_arn,
|
598
|
+
:tag_keys)
|
599
|
+
SENSITIVE = []
|
600
|
+
include Aws::Structure
|
601
|
+
end
|
602
|
+
|
603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/UntagResourceResponse AWS API Documentation
|
604
|
+
#
|
605
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
606
|
+
|
607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/UpdateInvestigationGroupOutput AWS API Documentation
|
608
|
+
#
|
609
|
+
class UpdateInvestigationGroupOutput < Aws::EmptyStructure; end
|
610
|
+
|
611
|
+
# @!attribute [rw] identifier
|
612
|
+
# Specify either the name or the ARN of the investigation group that
|
613
|
+
# you want to modify.
|
614
|
+
# @return [String]
|
615
|
+
#
|
616
|
+
# @!attribute [rw] role_arn
|
617
|
+
# Specify this field if you want to change the IAM role that Amazon Q
|
618
|
+
# Developer operational investigations will use when it gathers
|
619
|
+
# investigation data. To do so, specify the ARN of the new role.
|
620
|
+
#
|
621
|
+
# The permissions in this role determine which of your resources that
|
622
|
+
# Amazon Q Developer operational investigations will have access to
|
623
|
+
# during investigations.
|
624
|
+
#
|
625
|
+
# For more information, see [EHow to control what data Amazon Q has
|
626
|
+
# access to during investigations][1].
|
627
|
+
#
|
628
|
+
#
|
629
|
+
#
|
630
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Security.html#Investigations-Security-Data
|
631
|
+
# @return [String]
|
632
|
+
#
|
633
|
+
# @!attribute [rw] encryption_configuration
|
634
|
+
# Use this structure if you want to use a customer managed KMS key to
|
635
|
+
# encrypt your investigation data. If you omit this parameter, Amazon
|
636
|
+
# Q Developer operational investigations will use an Amazon Web
|
637
|
+
# Services key to encrypt the data. For more information, see
|
638
|
+
# [Encryption of investigation data][1].
|
639
|
+
#
|
640
|
+
#
|
641
|
+
#
|
642
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Investigations-Security.html#Investigations-KMS
|
643
|
+
# @return [Types::EncryptionConfiguration]
|
644
|
+
#
|
645
|
+
# @!attribute [rw] tag_key_boundaries
|
646
|
+
# Enter the existing custom tag keys for custom applications in your
|
647
|
+
# system. Resource tags help Amazon Q narrow the search space when it
|
648
|
+
# is unable to discover definite relationships between resources. For
|
649
|
+
# example, to discover that an Amazon ECS service depends on an Amazon
|
650
|
+
# RDS database, Amazon Q can discover this relationship using data
|
651
|
+
# sources such as X-Ray and CloudWatch Application Signals. However,
|
652
|
+
# if you haven't deployed these features, Amazon Q will attempt to
|
653
|
+
# identify possible relationships. Tag boundaries can be used to
|
654
|
+
# narrow the resources that will be discovered by Amazon Q in these
|
655
|
+
# cases.
|
656
|
+
#
|
657
|
+
# You don't need to enter tags created by myApplications or
|
658
|
+
# CloudFormation, because Amazon Q can automatically detect those
|
659
|
+
# tags.
|
660
|
+
# @return [Array<String>]
|
661
|
+
#
|
662
|
+
# @!attribute [rw] chatbot_notification_channel
|
663
|
+
# Use this structure to integrate Amazon Q Developer operational
|
664
|
+
# investigations with Amazon Q in chat applications. This structure is
|
665
|
+
# a string array. For the first string, specify the ARN of an Amazon
|
666
|
+
# SNS topic. For the array of strings, specify the ARNs of one or more
|
667
|
+
# Amazon Q in chat applications configurations that you want to
|
668
|
+
# associate with that topic. For more information about these
|
669
|
+
# configuration ARNs, see [Getting started with Amazon Q in chat
|
670
|
+
# applications][1] and [Resource type defined by Amazon Web Services
|
671
|
+
# Chatbot][2].
|
672
|
+
#
|
673
|
+
#
|
674
|
+
#
|
675
|
+
# [1]: https://docs.aws.amazon.com/chatbot/latest/adminguide/getting-started.html
|
676
|
+
# [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awschatbot.html#awschatbot-resources-for-iam-policies
|
677
|
+
# @return [Hash<String,Array<String>>]
|
678
|
+
#
|
679
|
+
# @!attribute [rw] is_cloud_trail_event_history_enabled
|
680
|
+
# Specify `true` to enable Amazon Q Developer operational
|
681
|
+
# investigations to have access to change events that are recorded by
|
682
|
+
# CloudTrail. The default is `true`.
|
683
|
+
# @return [Boolean]
|
684
|
+
#
|
685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/UpdateInvestigationGroupRequest AWS API Documentation
|
686
|
+
#
|
687
|
+
class UpdateInvestigationGroupRequest < Struct.new(
|
688
|
+
:identifier,
|
689
|
+
:role_arn,
|
690
|
+
:encryption_configuration,
|
691
|
+
:tag_key_boundaries,
|
692
|
+
:chatbot_notification_channel,
|
693
|
+
:is_cloud_trail_event_history_enabled)
|
694
|
+
SENSITIVE = []
|
695
|
+
include Aws::Structure
|
696
|
+
end
|
697
|
+
|
698
|
+
# This operation or its parameters aren't formatted correctly.
|
699
|
+
#
|
700
|
+
# @!attribute [rw] message
|
701
|
+
# @return [String]
|
702
|
+
#
|
703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/ValidationException AWS API Documentation
|
704
|
+
#
|
705
|
+
class ValidationException < Struct.new(
|
706
|
+
:message)
|
707
|
+
SENSITIVE = []
|
708
|
+
include Aws::Structure
|
709
|
+
end
|
710
|
+
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|