aws-sdk-aiops 1.0.0 → 1.2.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-aiops/client.rb +85 -63
- data/lib/aws-sdk-aiops/client_api.rb +10 -0
- data/lib/aws-sdk-aiops/types.rb +83 -52
- data/lib/aws-sdk-aiops.rb +1 -1
- data/sig/client.rbs +14 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +8 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80e3fac94b25777ba63507bf45a44980b685f09c08f1b2e292e981139bacfc5b
|
4
|
+
data.tar.gz: 60dce73a73c5ec90aee59479be1cfec80df2e048c997e19aa6ab8ff302d0d5e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dc3b9cebf105d86160e857777eb82a546d488f2a73055478a7dd7cee31420b572308361303357cc26690a1af65954ef4bb6c3138f8dad9864920be2d08cec53
|
7
|
+
data.tar.gz: 3020981cd36244b9d842da74bd5e485a107ec5ff320f97f67014d94a4772d0aa3f82e2f601dc63d78a1b418a4787f68d9faeda91560087095a15edf3ccc1a425
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2025-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.1.0 (2025-06-24)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for cross account investigations for CloudWatch investigations AI Operations (AIOps).
|
13
|
+
|
4
14
|
1.0.0 (2025-06-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
data/lib/aws-sdk-aiops/client.rb
CHANGED
@@ -95,7 +95,7 @@ module Aws::AIOps
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::AIOps
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::AIOps
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::AIOps
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -367,7 +377,7 @@ module Aws::AIOps
|
|
367
377
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
368
378
|
#
|
369
379
|
# @option options [Aws::TokenProvider] :token_provider
|
370
|
-
#
|
380
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
371
381
|
# following classes:
|
372
382
|
#
|
373
383
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -487,11 +497,10 @@ module Aws::AIOps
|
|
487
497
|
# account. Each investigation in a Region is a part of the investigation
|
488
498
|
# group in that Region
|
489
499
|
#
|
490
|
-
# To create an investigation group and set up
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
# similar permissions.
|
500
|
+
# To create an investigation group and set up CloudWatch investigations,
|
501
|
+
# you must be signed in to an IAM principal that has the either the
|
502
|
+
# `AIOpsConsoleAdminPolicy` or the `AdministratorAccess` IAM policy
|
503
|
+
# attached, or to an account that has similar permissions.
|
495
504
|
#
|
496
505
|
# You can configure CloudWatch alarms to start investigations and add
|
497
506
|
# events to investigations. If you create your investigation group with
|
@@ -500,21 +509,20 @@ module Aws::AIOps
|
|
500
509
|
# policy that grants this permission to CloudWatch alarms.
|
501
510
|
#
|
502
511
|
# For more information about configuring CloudWatch alarms to work with
|
503
|
-
#
|
512
|
+
# CloudWatch investigations, see
|
504
513
|
#
|
505
514
|
#
|
506
515
|
#
|
507
516
|
# [1]: https://docs.aws.amazon.com/operationalinvestigations/latest/AmazonQDeveloperOperationalInvestigationsAPIReference/API_PutInvestigationGroupPolicy.html
|
508
517
|
#
|
509
518
|
# @option params [required, String] :name
|
510
|
-
#
|
519
|
+
# Provides a name for the investigation group.
|
511
520
|
#
|
512
521
|
# @option params [required, String] :role_arn
|
513
|
-
# Specify the ARN of the IAM role that
|
514
|
-
#
|
515
|
-
#
|
516
|
-
#
|
517
|
-
# investigations.
|
522
|
+
# Specify the ARN of the IAM role that CloudWatch investigations will
|
523
|
+
# use when it gathers investigation data. The permissions in this role
|
524
|
+
# determine which of your resources that CloudWatch investigations will
|
525
|
+
# have access to during investigations.
|
518
526
|
#
|
519
527
|
# For more information, see [How to control what data Amazon Q has
|
520
528
|
# access to during investigations][1].
|
@@ -525,9 +533,9 @@ module Aws::AIOps
|
|
525
533
|
#
|
526
534
|
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
527
535
|
# Use this structure if you want to use a customer managed KMS key to
|
528
|
-
# encrypt your investigation data. If you omit this parameter,
|
529
|
-
#
|
530
|
-
#
|
536
|
+
# encrypt your investigation data. If you omit this parameter,
|
537
|
+
# CloudWatch investigations will use an Amazon Web Services key to
|
538
|
+
# encrypt the data. For more information, see [Encryption of
|
531
539
|
# investigation data][1].
|
532
540
|
#
|
533
541
|
#
|
@@ -569,15 +577,14 @@ module Aws::AIOps
|
|
569
577
|
# CloudFormation, because Amazon Q can automatically detect those tags.
|
570
578
|
#
|
571
579
|
# @option params [Hash<String,Array>] :chatbot_notification_channel
|
572
|
-
# Use this structure to integrate
|
573
|
-
#
|
574
|
-
#
|
575
|
-
#
|
576
|
-
#
|
577
|
-
#
|
578
|
-
#
|
579
|
-
#
|
580
|
-
# Chatbot][2].
|
580
|
+
# Use this structure to integrate CloudWatch investigations with Amazon
|
581
|
+
# Q in chat applications. This structure is a string array. For the
|
582
|
+
# first string, specify the ARN of an Amazon SNS topic. For the array of
|
583
|
+
# strings, specify the ARNs of one or more Amazon Q in chat applications
|
584
|
+
# configurations that you want to associate with that topic. For more
|
585
|
+
# information about these configuration ARNs, see [Getting started with
|
586
|
+
# Amazon Q in chat applications][1] and [Resource type defined by Amazon
|
587
|
+
# Web Services Chatbot][2].
|
581
588
|
#
|
582
589
|
#
|
583
590
|
#
|
@@ -585,9 +592,12 @@ module Aws::AIOps
|
|
585
592
|
# [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awschatbot.html#awschatbot-resources-for-iam-policies
|
586
593
|
#
|
587
594
|
# @option params [Boolean] :is_cloud_trail_event_history_enabled
|
588
|
-
# Specify `true` to enable
|
589
|
-
#
|
590
|
-
#
|
595
|
+
# Specify `true` to enable CloudWatch investigations to have access to
|
596
|
+
# change events that are recorded by CloudTrail. The default is `true`.
|
597
|
+
#
|
598
|
+
# @option params [Array<Types::CrossAccountConfiguration>] :cross_account_configurations
|
599
|
+
# Number of `sourceAccountId` values that have been configured for
|
600
|
+
# cross-account access.
|
591
601
|
#
|
592
602
|
# @return [Types::CreateInvestigationGroupOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
593
603
|
#
|
@@ -611,6 +621,11 @@ module Aws::AIOps
|
|
611
621
|
# "SNSTopicArn" => ["ChatConfigurationArn"],
|
612
622
|
# },
|
613
623
|
# is_cloud_trail_event_history_enabled: false,
|
624
|
+
# cross_account_configurations: [
|
625
|
+
# {
|
626
|
+
# source_role_arn: "RoleArn",
|
627
|
+
# },
|
628
|
+
# ],
|
614
629
|
# })
|
615
630
|
#
|
616
631
|
# @example Response structure
|
@@ -697,6 +712,7 @@ module Aws::AIOps
|
|
697
712
|
# * {Types::GetInvestigationGroupResponse#chatbot_notification_channel #chatbot_notification_channel} => Hash<String,Array<String>>
|
698
713
|
# * {Types::GetInvestigationGroupResponse#tag_key_boundaries #tag_key_boundaries} => Array<String>
|
699
714
|
# * {Types::GetInvestigationGroupResponse#is_cloud_trail_event_history_enabled #is_cloud_trail_event_history_enabled} => Boolean
|
715
|
+
# * {Types::GetInvestigationGroupResponse#cross_account_configurations #cross_account_configurations} => Array<Types::CrossAccountConfiguration>
|
700
716
|
#
|
701
717
|
# @example Request syntax with placeholder values
|
702
718
|
#
|
@@ -722,6 +738,8 @@ module Aws::AIOps
|
|
722
738
|
# resp.tag_key_boundaries #=> Array
|
723
739
|
# resp.tag_key_boundaries[0] #=> String
|
724
740
|
# resp.is_cloud_trail_event_history_enabled #=> Boolean
|
741
|
+
# resp.cross_account_configurations #=> Array
|
742
|
+
# resp.cross_account_configurations[0].source_role_arn #=> String
|
725
743
|
#
|
726
744
|
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/GetInvestigationGroup AWS API Documentation
|
727
745
|
#
|
@@ -804,15 +822,13 @@ module Aws::AIOps
|
|
804
822
|
req.send_request(options)
|
805
823
|
end
|
806
824
|
|
807
|
-
# Displays the tags associated with a
|
808
|
-
#
|
809
|
-
# tagging.
|
825
|
+
# Displays the tags associated with a CloudWatch investigations
|
826
|
+
# resource. Currently, investigation groups support tagging.
|
810
827
|
#
|
811
828
|
# @option params [required, String] :resource_arn
|
812
|
-
# The ARN of the
|
813
|
-
#
|
814
|
-
#
|
815
|
-
# investigation groups.
|
829
|
+
# The ARN of the CloudWatch investigations resource that you want to
|
830
|
+
# view tags for. You can use the [ListInvestigationGroups][1] operation
|
831
|
+
# to find the ARNs of investigation groups.
|
816
832
|
#
|
817
833
|
# The ARN format for an investigation group is
|
818
834
|
# `arn:aws:aiops:Region:account-id:investigation-group:investigation-group-id
|
@@ -975,13 +991,12 @@ module Aws::AIOps
|
|
975
991
|
# want to modify.
|
976
992
|
#
|
977
993
|
# @option params [String] :role_arn
|
978
|
-
# Specify this field if you want to change the IAM role that
|
979
|
-
#
|
980
|
-
#
|
994
|
+
# Specify this field if you want to change the IAM role that CloudWatch
|
995
|
+
# investigations will use when it gathers investigation data. To do so,
|
996
|
+
# specify the ARN of the new role.
|
981
997
|
#
|
982
998
|
# The permissions in this role determine which of your resources that
|
983
|
-
#
|
984
|
-
# during investigations.
|
999
|
+
# CloudWatch investigations will have access to during investigations.
|
985
1000
|
#
|
986
1001
|
# For more information, see [EHow to control what data Amazon Q has
|
987
1002
|
# access to during investigations][1].
|
@@ -992,9 +1007,9 @@ module Aws::AIOps
|
|
992
1007
|
#
|
993
1008
|
# @option params [Types::EncryptionConfiguration] :encryption_configuration
|
994
1009
|
# Use this structure if you want to use a customer managed KMS key to
|
995
|
-
# encrypt your investigation data. If you omit this parameter,
|
996
|
-
#
|
997
|
-
#
|
1010
|
+
# encrypt your investigation data. If you omit this parameter,
|
1011
|
+
# CloudWatch investigations will use an Amazon Web Services key to
|
1012
|
+
# encrypt the data. For more information, see [Encryption of
|
998
1013
|
# investigation data][1].
|
999
1014
|
#
|
1000
1015
|
#
|
@@ -1016,15 +1031,14 @@ module Aws::AIOps
|
|
1016
1031
|
# CloudFormation, because Amazon Q can automatically detect those tags.
|
1017
1032
|
#
|
1018
1033
|
# @option params [Hash<String,Array>] :chatbot_notification_channel
|
1019
|
-
# Use this structure to integrate
|
1020
|
-
#
|
1021
|
-
#
|
1022
|
-
#
|
1023
|
-
#
|
1024
|
-
#
|
1025
|
-
#
|
1026
|
-
#
|
1027
|
-
# Chatbot][2].
|
1034
|
+
# Use this structure to integrate CloudWatch investigations with Amazon
|
1035
|
+
# Q in chat applications. This structure is a string array. For the
|
1036
|
+
# first string, specify the ARN of an Amazon SNS topic. For the array of
|
1037
|
+
# strings, specify the ARNs of one or more Amazon Q in chat applications
|
1038
|
+
# configurations that you want to associate with that topic. For more
|
1039
|
+
# information about these configuration ARNs, see [Getting started with
|
1040
|
+
# Amazon Q in chat applications][1] and [Resource type defined by Amazon
|
1041
|
+
# Web Services Chatbot][2].
|
1028
1042
|
#
|
1029
1043
|
#
|
1030
1044
|
#
|
@@ -1032,9 +1046,12 @@ module Aws::AIOps
|
|
1032
1046
|
# [2]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awschatbot.html#awschatbot-resources-for-iam-policies
|
1033
1047
|
#
|
1034
1048
|
# @option params [Boolean] :is_cloud_trail_event_history_enabled
|
1035
|
-
# Specify `true` to enable
|
1036
|
-
#
|
1037
|
-
#
|
1049
|
+
# Specify `true` to enable CloudWatch investigations to have access to
|
1050
|
+
# change events that are recorded by CloudTrail. The default is `true`.
|
1051
|
+
#
|
1052
|
+
# @option params [Array<Types::CrossAccountConfiguration>] :cross_account_configurations
|
1053
|
+
# Used to configure cross-account access for an investigation group. It
|
1054
|
+
# allows the investigation group to access resources in other accounts.
|
1038
1055
|
#
|
1039
1056
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1040
1057
|
#
|
@@ -1052,6 +1069,11 @@ module Aws::AIOps
|
|
1052
1069
|
# "SNSTopicArn" => ["ChatConfigurationArn"],
|
1053
1070
|
# },
|
1054
1071
|
# is_cloud_trail_event_history_enabled: false,
|
1072
|
+
# cross_account_configurations: [
|
1073
|
+
# {
|
1074
|
+
# source_role_arn: "RoleArn",
|
1075
|
+
# },
|
1076
|
+
# ],
|
1055
1077
|
# })
|
1056
1078
|
#
|
1057
1079
|
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/UpdateInvestigationGroup AWS API Documentation
|
@@ -1081,7 +1103,7 @@ module Aws::AIOps
|
|
1081
1103
|
tracer: tracer
|
1082
1104
|
)
|
1083
1105
|
context[:gem_name] = 'aws-sdk-aiops'
|
1084
|
-
context[:gem_version] = '1.
|
1106
|
+
context[:gem_version] = '1.2.0'
|
1085
1107
|
Seahorse::Client::Request.new(handlers, context)
|
1086
1108
|
end
|
1087
1109
|
|
@@ -22,6 +22,8 @@ module Aws::AIOps
|
|
22
22
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
23
23
|
CreateInvestigationGroupInput = Shapes::StructureShape.new(name: 'CreateInvestigationGroupInput')
|
24
24
|
CreateInvestigationGroupOutput = Shapes::StructureShape.new(name: 'CreateInvestigationGroupOutput')
|
25
|
+
CrossAccountConfiguration = Shapes::StructureShape.new(name: 'CrossAccountConfiguration')
|
26
|
+
CrossAccountConfigurations = Shapes::ListShape.new(name: 'CrossAccountConfigurations')
|
25
27
|
DeleteInvestigationGroupPolicyOutput = Shapes::StructureShape.new(name: 'DeleteInvestigationGroupPolicyOutput')
|
26
28
|
DeleteInvestigationGroupPolicyRequest = Shapes::StructureShape.new(name: 'DeleteInvestigationGroupPolicyRequest')
|
27
29
|
DeleteInvestigationGroupRequest = Shapes::StructureShape.new(name: 'DeleteInvestigationGroupRequest')
|
@@ -89,11 +91,17 @@ module Aws::AIOps
|
|
89
91
|
CreateInvestigationGroupInput.add_member(:tag_key_boundaries, Shapes::ShapeRef.new(shape: TagKeyBoundaries, location_name: "tagKeyBoundaries"))
|
90
92
|
CreateInvestigationGroupInput.add_member(:chatbot_notification_channel, Shapes::ShapeRef.new(shape: ChatbotNotificationChannel, location_name: "chatbotNotificationChannel"))
|
91
93
|
CreateInvestigationGroupInput.add_member(:is_cloud_trail_event_history_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCloudTrailEventHistoryEnabled"))
|
94
|
+
CreateInvestigationGroupInput.add_member(:cross_account_configurations, Shapes::ShapeRef.new(shape: CrossAccountConfigurations, location_name: "crossAccountConfigurations"))
|
92
95
|
CreateInvestigationGroupInput.struct_class = Types::CreateInvestigationGroupInput
|
93
96
|
|
94
97
|
CreateInvestigationGroupOutput.add_member(:arn, Shapes::ShapeRef.new(shape: InvestigationGroupArn, location_name: "arn"))
|
95
98
|
CreateInvestigationGroupOutput.struct_class = Types::CreateInvestigationGroupOutput
|
96
99
|
|
100
|
+
CrossAccountConfiguration.add_member(:source_role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "sourceRoleArn"))
|
101
|
+
CrossAccountConfiguration.struct_class = Types::CrossAccountConfiguration
|
102
|
+
|
103
|
+
CrossAccountConfigurations.member = Shapes::ShapeRef.new(shape: CrossAccountConfiguration)
|
104
|
+
|
97
105
|
DeleteInvestigationGroupPolicyOutput.struct_class = Types::DeleteInvestigationGroupPolicyOutput
|
98
106
|
|
99
107
|
DeleteInvestigationGroupPolicyRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: InvestigationGroupIdentifier, required: true, location: "uri", location_name: "identifier"))
|
@@ -131,6 +139,7 @@ module Aws::AIOps
|
|
131
139
|
GetInvestigationGroupResponse.add_member(:chatbot_notification_channel, Shapes::ShapeRef.new(shape: ChatbotNotificationChannel, location_name: "chatbotNotificationChannel"))
|
132
140
|
GetInvestigationGroupResponse.add_member(:tag_key_boundaries, Shapes::ShapeRef.new(shape: TagKeyBoundaries, location_name: "tagKeyBoundaries"))
|
133
141
|
GetInvestigationGroupResponse.add_member(:is_cloud_trail_event_history_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCloudTrailEventHistoryEnabled"))
|
142
|
+
GetInvestigationGroupResponse.add_member(:cross_account_configurations, Shapes::ShapeRef.new(shape: CrossAccountConfigurations, location_name: "crossAccountConfigurations"))
|
134
143
|
GetInvestigationGroupResponse.struct_class = Types::GetInvestigationGroupResponse
|
135
144
|
|
136
145
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -203,6 +212,7 @@ module Aws::AIOps
|
|
203
212
|
UpdateInvestigationGroupRequest.add_member(:tag_key_boundaries, Shapes::ShapeRef.new(shape: TagKeyBoundaries, location_name: "tagKeyBoundaries"))
|
204
213
|
UpdateInvestigationGroupRequest.add_member(:chatbot_notification_channel, Shapes::ShapeRef.new(shape: ChatbotNotificationChannel, location_name: "chatbotNotificationChannel"))
|
205
214
|
UpdateInvestigationGroupRequest.add_member(:is_cloud_trail_event_history_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCloudTrailEventHistoryEnabled"))
|
215
|
+
UpdateInvestigationGroupRequest.add_member(:cross_account_configurations, Shapes::ShapeRef.new(shape: CrossAccountConfigurations, location_name: "crossAccountConfigurations"))
|
206
216
|
UpdateInvestigationGroupRequest.struct_class = Types::UpdateInvestigationGroupRequest
|
207
217
|
|
208
218
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
data/lib/aws-sdk-aiops/types.rb
CHANGED
@@ -38,15 +38,14 @@ module Aws::AIOps
|
|
38
38
|
end
|
39
39
|
|
40
40
|
# @!attribute [rw] name
|
41
|
-
#
|
41
|
+
# Provides a name for the investigation group.
|
42
42
|
# @return [String]
|
43
43
|
#
|
44
44
|
# @!attribute [rw] role_arn
|
45
|
-
# Specify the ARN of the IAM role that
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
# during investigations.
|
45
|
+
# Specify the ARN of the IAM role that CloudWatch investigations will
|
46
|
+
# use when it gathers investigation data. The permissions in this role
|
47
|
+
# determine which of your resources that CloudWatch investigations
|
48
|
+
# will have access to during investigations.
|
50
49
|
#
|
51
50
|
# For more information, see [How to control what data Amazon Q has
|
52
51
|
# access to during investigations][1].
|
@@ -58,10 +57,10 @@ module Aws::AIOps
|
|
58
57
|
#
|
59
58
|
# @!attribute [rw] encryption_configuration
|
60
59
|
# Use this structure if you want to use a customer managed KMS key to
|
61
|
-
# encrypt your investigation data. If you omit this parameter,
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
60
|
+
# encrypt your investigation data. If you omit this parameter,
|
61
|
+
# CloudWatch investigations will use an Amazon Web Services key to
|
62
|
+
# encrypt the data. For more information, see [Encryption of
|
63
|
+
# investigation data][1].
|
65
64
|
#
|
66
65
|
#
|
67
66
|
#
|
@@ -109,15 +108,14 @@ module Aws::AIOps
|
|
109
108
|
# @return [Array<String>]
|
110
109
|
#
|
111
110
|
# @!attribute [rw] chatbot_notification_channel
|
112
|
-
# Use this structure to integrate
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
120
|
-
# Chatbot][2].
|
111
|
+
# Use this structure to integrate CloudWatch investigations with
|
112
|
+
# Amazon Q in chat applications. This structure is a string array. For
|
113
|
+
# the first string, specify the ARN of an Amazon SNS topic. For the
|
114
|
+
# array of strings, specify the ARNs of one or more Amazon Q in chat
|
115
|
+
# applications configurations that you want to associate with that
|
116
|
+
# topic. For more information about these configuration ARNs, see
|
117
|
+
# [Getting started with Amazon Q in chat applications][1] and
|
118
|
+
# [Resource type defined by Amazon Web Services Chatbot][2].
|
121
119
|
#
|
122
120
|
#
|
123
121
|
#
|
@@ -126,11 +124,16 @@ module Aws::AIOps
|
|
126
124
|
# @return [Hash<String,Array<String>>]
|
127
125
|
#
|
128
126
|
# @!attribute [rw] is_cloud_trail_event_history_enabled
|
129
|
-
# Specify `true` to enable
|
130
|
-
#
|
131
|
-
#
|
127
|
+
# Specify `true` to enable CloudWatch investigations to have access to
|
128
|
+
# change events that are recorded by CloudTrail. The default is
|
129
|
+
# `true`.
|
132
130
|
# @return [Boolean]
|
133
131
|
#
|
132
|
+
# @!attribute [rw] cross_account_configurations
|
133
|
+
# Number of `sourceAccountId` values that have been configured for
|
134
|
+
# cross-account access.
|
135
|
+
# @return [Array<Types::CrossAccountConfiguration>]
|
136
|
+
#
|
134
137
|
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/CreateInvestigationGroupInput AWS API Documentation
|
135
138
|
#
|
136
139
|
class CreateInvestigationGroupInput < Struct.new(
|
@@ -141,7 +144,8 @@ module Aws::AIOps
|
|
141
144
|
:tags,
|
142
145
|
:tag_key_boundaries,
|
143
146
|
:chatbot_notification_channel,
|
144
|
-
:is_cloud_trail_event_history_enabled
|
147
|
+
:is_cloud_trail_event_history_enabled,
|
148
|
+
:cross_account_configurations)
|
145
149
|
SENSITIVE = []
|
146
150
|
include Aws::Structure
|
147
151
|
end
|
@@ -158,6 +162,22 @@ module Aws::AIOps
|
|
158
162
|
include Aws::Structure
|
159
163
|
end
|
160
164
|
|
165
|
+
# This structure contains information about the cross-account
|
166
|
+
# configuration in the account.
|
167
|
+
#
|
168
|
+
# @!attribute [rw] source_role_arn
|
169
|
+
# The ARN of an existing role which will be used to do investigations
|
170
|
+
# on your behalf.
|
171
|
+
# @return [String]
|
172
|
+
#
|
173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/CrossAccountConfiguration AWS API Documentation
|
174
|
+
#
|
175
|
+
class CrossAccountConfiguration < Struct.new(
|
176
|
+
:source_role_arn)
|
177
|
+
SENSITIVE = []
|
178
|
+
include Aws::Structure
|
179
|
+
end
|
180
|
+
|
161
181
|
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/DeleteInvestigationGroupPolicyOutput AWS API Documentation
|
162
182
|
#
|
163
183
|
class DeleteInvestigationGroupPolicyOutput < Aws::EmptyStructure; end
|
@@ -330,10 +350,16 @@ module Aws::AIOps
|
|
330
350
|
# @return [Array<String>]
|
331
351
|
#
|
332
352
|
# @!attribute [rw] is_cloud_trail_event_history_enabled
|
333
|
-
# Specifies whether
|
334
|
-
#
|
353
|
+
# Specifies whether CloudWatch investigationshas access to change
|
354
|
+
# events that are recorded by CloudTrail.
|
335
355
|
# @return [Boolean]
|
336
356
|
#
|
357
|
+
# @!attribute [rw] cross_account_configurations
|
358
|
+
# Lists the `AWSAccountId` of the accounts configured for
|
359
|
+
# cross-account access and the results of the last scan performed on
|
360
|
+
# each account.
|
361
|
+
# @return [Array<Types::CrossAccountConfiguration>]
|
362
|
+
#
|
337
363
|
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/GetInvestigationGroupResponse AWS API Documentation
|
338
364
|
#
|
339
365
|
class GetInvestigationGroupResponse < Struct.new(
|
@@ -348,7 +374,8 @@ module Aws::AIOps
|
|
348
374
|
:retention_in_days,
|
349
375
|
:chatbot_notification_channel,
|
350
376
|
:tag_key_boundaries,
|
351
|
-
:is_cloud_trail_event_history_enabled
|
377
|
+
:is_cloud_trail_event_history_enabled,
|
378
|
+
:cross_account_configurations)
|
352
379
|
SENSITIVE = []
|
353
380
|
include Aws::Structure
|
354
381
|
end
|
@@ -438,10 +465,9 @@ module Aws::AIOps
|
|
438
465
|
end
|
439
466
|
|
440
467
|
# @!attribute [rw] resource_arn
|
441
|
-
# The ARN of the
|
442
|
-
#
|
443
|
-
#
|
444
|
-
# investigation groups.
|
468
|
+
# The ARN of the CloudWatch investigations resource that you want to
|
469
|
+
# view tags for. You can use the [ListInvestigationGroups][1]
|
470
|
+
# operation to find the ARNs of investigation groups.
|
445
471
|
#
|
446
472
|
# The ARN format for an investigation group is
|
447
473
|
# `arn:aws:aiops:Region:account-id:investigation-group:investigation-group-id
|
@@ -614,13 +640,12 @@ module Aws::AIOps
|
|
614
640
|
# @return [String]
|
615
641
|
#
|
616
642
|
# @!attribute [rw] role_arn
|
617
|
-
# Specify this field if you want to change the IAM role that
|
618
|
-
#
|
619
|
-
#
|
643
|
+
# Specify this field if you want to change the IAM role that
|
644
|
+
# CloudWatch investigations will use when it gathers investigation
|
645
|
+
# data. To do so, specify the ARN of the new role.
|
620
646
|
#
|
621
647
|
# The permissions in this role determine which of your resources that
|
622
|
-
#
|
623
|
-
# during investigations.
|
648
|
+
# CloudWatch investigations will have access to during investigations.
|
624
649
|
#
|
625
650
|
# For more information, see [EHow to control what data Amazon Q has
|
626
651
|
# access to during investigations][1].
|
@@ -632,10 +657,10 @@ module Aws::AIOps
|
|
632
657
|
#
|
633
658
|
# @!attribute [rw] encryption_configuration
|
634
659
|
# Use this structure if you want to use a customer managed KMS key to
|
635
|
-
# encrypt your investigation data. If you omit this parameter,
|
636
|
-
#
|
637
|
-
#
|
638
|
-
#
|
660
|
+
# encrypt your investigation data. If you omit this parameter,
|
661
|
+
# CloudWatch investigations will use an Amazon Web Services key to
|
662
|
+
# encrypt the data. For more information, see [Encryption of
|
663
|
+
# investigation data][1].
|
639
664
|
#
|
640
665
|
#
|
641
666
|
#
|
@@ -660,15 +685,14 @@ module Aws::AIOps
|
|
660
685
|
# @return [Array<String>]
|
661
686
|
#
|
662
687
|
# @!attribute [rw] chatbot_notification_channel
|
663
|
-
# Use this structure to integrate
|
664
|
-
#
|
665
|
-
#
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
671
|
-
# Chatbot][2].
|
688
|
+
# Use this structure to integrate CloudWatch investigations with
|
689
|
+
# Amazon Q in chat applications. This structure is a string array. For
|
690
|
+
# the first string, specify the ARN of an Amazon SNS topic. For the
|
691
|
+
# array of strings, specify the ARNs of one or more Amazon Q in chat
|
692
|
+
# applications configurations that you want to associate with that
|
693
|
+
# topic. For more information about these configuration ARNs, see
|
694
|
+
# [Getting started with Amazon Q in chat applications][1] and
|
695
|
+
# [Resource type defined by Amazon Web Services Chatbot][2].
|
672
696
|
#
|
673
697
|
#
|
674
698
|
#
|
@@ -677,11 +701,17 @@ module Aws::AIOps
|
|
677
701
|
# @return [Hash<String,Array<String>>]
|
678
702
|
#
|
679
703
|
# @!attribute [rw] is_cloud_trail_event_history_enabled
|
680
|
-
# Specify `true` to enable
|
681
|
-
#
|
682
|
-
#
|
704
|
+
# Specify `true` to enable CloudWatch investigations to have access to
|
705
|
+
# change events that are recorded by CloudTrail. The default is
|
706
|
+
# `true`.
|
683
707
|
# @return [Boolean]
|
684
708
|
#
|
709
|
+
# @!attribute [rw] cross_account_configurations
|
710
|
+
# Used to configure cross-account access for an investigation group.
|
711
|
+
# It allows the investigation group to access resources in other
|
712
|
+
# accounts.
|
713
|
+
# @return [Array<Types::CrossAccountConfiguration>]
|
714
|
+
#
|
685
715
|
# @see http://docs.aws.amazon.com/goto/WebAPI/aiops-2018-05-10/UpdateInvestigationGroupRequest AWS API Documentation
|
686
716
|
#
|
687
717
|
class UpdateInvestigationGroupRequest < Struct.new(
|
@@ -690,7 +720,8 @@ module Aws::AIOps
|
|
690
720
|
:encryption_configuration,
|
691
721
|
:tag_key_boundaries,
|
692
722
|
:chatbot_notification_channel,
|
693
|
-
:is_cloud_trail_event_history_enabled
|
723
|
+
:is_cloud_trail_event_history_enabled,
|
724
|
+
:cross_account_configurations)
|
694
725
|
SENSITIVE = []
|
695
726
|
include Aws::Structure
|
696
727
|
end
|
data/lib/aws-sdk-aiops.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -93,7 +94,12 @@ module Aws
|
|
93
94
|
?tags: Hash[::String, ::String],
|
94
95
|
?tag_key_boundaries: Array[::String],
|
95
96
|
?chatbot_notification_channel: Hash[::String, Array[::String]],
|
96
|
-
?is_cloud_trail_event_history_enabled: bool
|
97
|
+
?is_cloud_trail_event_history_enabled: bool,
|
98
|
+
?cross_account_configurations: Array[
|
99
|
+
{
|
100
|
+
source_role_arn: ::String?
|
101
|
+
},
|
102
|
+
]
|
97
103
|
) -> _CreateInvestigationGroupResponseSuccess
|
98
104
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInvestigationGroupResponseSuccess
|
99
105
|
|
@@ -126,6 +132,7 @@ module Aws
|
|
126
132
|
def chatbot_notification_channel: () -> ::Hash[::String, ::Array[::String]]
|
127
133
|
def tag_key_boundaries: () -> ::Array[::String]
|
128
134
|
def is_cloud_trail_event_history_enabled: () -> bool
|
135
|
+
def cross_account_configurations: () -> ::Array[Types::CrossAccountConfiguration]
|
129
136
|
end
|
130
137
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AIOps/Client.html#get_investigation_group-instance_method
|
131
138
|
def get_investigation_group: (
|
@@ -210,7 +217,12 @@ module Aws
|
|
210
217
|
},
|
211
218
|
?tag_key_boundaries: Array[::String],
|
212
219
|
?chatbot_notification_channel: Hash[::String, Array[::String]],
|
213
|
-
?is_cloud_trail_event_history_enabled: bool
|
220
|
+
?is_cloud_trail_event_history_enabled: bool,
|
221
|
+
?cross_account_configurations: Array[
|
222
|
+
{
|
223
|
+
source_role_arn: ::String?
|
224
|
+
},
|
225
|
+
]
|
214
226
|
) -> _UpdateInvestigationGroupResponseSuccess
|
215
227
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInvestigationGroupResponseSuccess
|
216
228
|
end
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/types.rbs
CHANGED
@@ -27,6 +27,7 @@ module Aws::AIOps
|
|
27
27
|
attr_accessor tag_key_boundaries: ::Array[::String]
|
28
28
|
attr_accessor chatbot_notification_channel: ::Hash[::String, ::Array[::String]]
|
29
29
|
attr_accessor is_cloud_trail_event_history_enabled: bool
|
30
|
+
attr_accessor cross_account_configurations: ::Array[Types::CrossAccountConfiguration]
|
30
31
|
SENSITIVE: []
|
31
32
|
end
|
32
33
|
|
@@ -35,6 +36,11 @@ module Aws::AIOps
|
|
35
36
|
SENSITIVE: []
|
36
37
|
end
|
37
38
|
|
39
|
+
class CrossAccountConfiguration
|
40
|
+
attr_accessor source_role_arn: ::String
|
41
|
+
SENSITIVE: []
|
42
|
+
end
|
43
|
+
|
38
44
|
class DeleteInvestigationGroupPolicyOutput < Aws::EmptyStructure
|
39
45
|
end
|
40
46
|
|
@@ -88,6 +94,7 @@ module Aws::AIOps
|
|
88
94
|
attr_accessor chatbot_notification_channel: ::Hash[::String, ::Array[::String]]
|
89
95
|
attr_accessor tag_key_boundaries: ::Array[::String]
|
90
96
|
attr_accessor is_cloud_trail_event_history_enabled: bool
|
97
|
+
attr_accessor cross_account_configurations: ::Array[Types::CrossAccountConfiguration]
|
91
98
|
SENSITIVE: []
|
92
99
|
end
|
93
100
|
|
@@ -182,6 +189,7 @@ module Aws::AIOps
|
|
182
189
|
attr_accessor tag_key_boundaries: ::Array[::String]
|
183
190
|
attr_accessor chatbot_notification_channel: ::Hash[::String, ::Array[::String]]
|
184
191
|
attr_accessor is_cloud_trail_event_history_enabled: bool
|
192
|
+
attr_accessor cross_account_configurations: ::Array[Types::CrossAccountConfiguration]
|
185
193
|
SENSITIVE: []
|
186
194
|
end
|
187
195
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-aiops
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|