aws-sdk-oam 1.14.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0cdab40c9a5fc95a7c1628b1f703cf208d398004822350a30a418ef289b4083
4
- data.tar.gz: 2711cb32a7610a21db9070a404fcee39faacd575a236a3ecfc76204bfffd686b
3
+ metadata.gz: 4a2dc3eccc9a8031f9d7dac53506169522b04f2f6f33d0144b5f86a4f8f4159b
4
+ data.tar.gz: 29f7533eb6c7a5bf343ba05afa990a7f388c686583369fa554ba782643011af7
5
5
  SHA512:
6
- metadata.gz: 30e7fbb71edabb2c4bee4ee13246d7c887e8b0fa45ce1f07f9458b9f20233e5c94f4248d0b800a80f5cf42ff3710b9ec9e6ddd6f7fd50aecf65e505e31ed75d9
7
- data.tar.gz: b06058e7c1ae45e93fafd5de75b1e0419fb9182b6d8d2b72d03984aa6892699ae98e2ddaae8976527019ea4bbfecbac90c522d87b582d06bc5f48717469f9823
6
+ metadata.gz: 1a1e95107861d9fd1860ff014b0f3217e80298c686c70aa1b8c4ec07ac252d31536a311cf238f2c999036db15d92d0a3468ac78c4289843ed7d0fba979ce57a3
7
+ data.tar.gz: '098f59b7a9a790696b72a753e671dcc517f3340fe2ba5a476f0a3b6539a42d6b3175a92920b9240967c27f6ff9c2f0df82dd42a669b187f4a1a85215694c3853'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.15.0 (2024-04-26)
5
+ ------------------
6
+
7
+ * Feature - This release introduces support for Source Accounts to define which Metrics and Logs to share with the Monitoring Account
8
+
4
9
  1.14.0 (2024-04-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.14.0
1
+ 1.15.0
@@ -413,7 +413,11 @@ module Aws::OAM
413
413
  # @!group API Operations
414
414
 
415
415
  # Creates a link between a source account and a sink that you have
416
- # created in a monitoring account.
416
+ # created in a monitoring account. After the link is created, data is
417
+ # sent from the source account to the monitoring account. When you
418
+ # create a link, you can optionally specify filters that specify which
419
+ # metric namespaces and which log groups are shared from the source
420
+ # account to the monitoring account.
417
421
  #
418
422
  # Before you create a link, you must create a sink in the monitoring
419
423
  # account and create a sink policy in that account. The sink policy must
@@ -447,6 +451,11 @@ module Aws::OAM
447
451
  # * `$AccountEmailNoDomain` is the email address of the account without
448
452
  # the domain name
449
453
  #
454
+ # @option params [Types::LinkConfiguration] :link_configuration
455
+ # Use this structure to optionally create filters that specify that only
456
+ # some metric namespaces or log groups are to be shared from the source
457
+ # account to the monitoring account.
458
+ #
450
459
  # @option params [required, Array<String>] :resource_types
451
460
  # An array of strings that define which types of data that the source
452
461
  # account shares with the monitoring account.
@@ -482,6 +491,7 @@ module Aws::OAM
482
491
  # * {Types::CreateLinkOutput#id #id} => String
483
492
  # * {Types::CreateLinkOutput#label #label} => String
484
493
  # * {Types::CreateLinkOutput#label_template #label_template} => String
494
+ # * {Types::CreateLinkOutput#link_configuration #link_configuration} => Types::LinkConfiguration
485
495
  # * {Types::CreateLinkOutput#resource_types #resource_types} => Array&lt;String&gt;
486
496
  # * {Types::CreateLinkOutput#sink_arn #sink_arn} => String
487
497
  # * {Types::CreateLinkOutput#tags #tags} => Hash&lt;String,String&gt;
@@ -490,6 +500,14 @@ module Aws::OAM
490
500
  #
491
501
  # resp = client.create_link({
492
502
  # label_template: "LabelTemplate", # required
503
+ # link_configuration: {
504
+ # log_group_configuration: {
505
+ # filter: "LogsFilter", # required
506
+ # },
507
+ # metric_configuration: {
508
+ # filter: "MetricsFilter", # required
509
+ # },
510
+ # },
493
511
  # resource_types: ["AWS::CloudWatch::Metric"], # required, accepts AWS::CloudWatch::Metric, AWS::Logs::LogGroup, AWS::XRay::Trace, AWS::ApplicationInsights::Application, AWS::InternetMonitor::Monitor
494
512
  # sink_identifier: "ResourceIdentifier", # required
495
513
  # tags: {
@@ -503,6 +521,8 @@ module Aws::OAM
503
521
  # resp.id #=> String
504
522
  # resp.label #=> String
505
523
  # resp.label_template #=> String
524
+ # resp.link_configuration.log_group_configuration.filter #=> String
525
+ # resp.link_configuration.metric_configuration.filter #=> String
506
526
  # resp.resource_types #=> Array
507
527
  # resp.resource_types[0] #=> String
508
528
  # resp.sink_arn #=> String
@@ -528,8 +548,8 @@ module Aws::OAM
528
548
  # source accounts to attach to it. For more information, see
529
549
  # [PutSinkPolicy][1].
530
550
  #
531
- # Each account can contain one sink. If you delete a sink, you can then
532
- # create a new one in that account.
551
+ # Each account can contain one sink per Region. If you delete a sink,
552
+ # you can then create a new one in that Region.
533
553
  #
534
554
  #
535
555
  #
@@ -649,6 +669,7 @@ module Aws::OAM
649
669
  # * {Types::GetLinkOutput#id #id} => String
650
670
  # * {Types::GetLinkOutput#label #label} => String
651
671
  # * {Types::GetLinkOutput#label_template #label_template} => String
672
+ # * {Types::GetLinkOutput#link_configuration #link_configuration} => Types::LinkConfiguration
652
673
  # * {Types::GetLinkOutput#resource_types #resource_types} => Array&lt;String&gt;
653
674
  # * {Types::GetLinkOutput#sink_arn #sink_arn} => String
654
675
  # * {Types::GetLinkOutput#tags #tags} => Hash&lt;String,String&gt;
@@ -665,6 +686,8 @@ module Aws::OAM
665
686
  # resp.id #=> String
666
687
  # resp.label #=> String
667
688
  # resp.label_template #=> String
689
+ # resp.link_configuration.log_group_configuration.filter #=> String
690
+ # resp.link_configuration.metric_configuration.filter #=> String
668
691
  # resp.resource_types #=> Array
669
692
  # resp.resource_types[0] #=> String
670
693
  # resp.sink_arn #=> String
@@ -731,9 +754,9 @@ module Aws::OAM
731
754
  #
732
755
  # @return [Types::GetSinkPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
733
756
  #
757
+ # * {Types::GetSinkPolicyOutput#policy #policy} => String
734
758
  # * {Types::GetSinkPolicyOutput#sink_arn #sink_arn} => String
735
759
  # * {Types::GetSinkPolicyOutput#sink_id #sink_id} => String
736
- # * {Types::GetSinkPolicyOutput#policy #policy} => String
737
760
  #
738
761
  # @example Request syntax with placeholder values
739
762
  #
@@ -743,9 +766,9 @@ module Aws::OAM
743
766
  #
744
767
  # @example Response structure
745
768
  #
769
+ # resp.policy #=> String
746
770
  # resp.sink_arn #=> String
747
771
  # resp.sink_id #=> String
748
- # resp.policy #=> String
749
772
  #
750
773
  # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/GetSinkPolicy AWS API Documentation
751
774
  #
@@ -972,9 +995,6 @@ module Aws::OAM
972
995
  # See the examples in this section to see how to specify permitted
973
996
  # source accounts and data types.
974
997
  #
975
- # @option params [required, String] :sink_identifier
976
- # The ARN of the sink to attach this policy to.
977
- #
978
998
  # @option params [required, String] :policy
979
999
  # The JSON policy to use. If you are updating an existing policy, the
980
1000
  # entire existing policy is replaced by what you specify here.
@@ -985,24 +1005,27 @@ module Aws::OAM
985
1005
  # For examples of different types of policies, see the **Examples**
986
1006
  # section on this page.
987
1007
  #
1008
+ # @option params [required, String] :sink_identifier
1009
+ # The ARN of the sink to attach this policy to.
1010
+ #
988
1011
  # @return [Types::PutSinkPolicyOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
989
1012
  #
1013
+ # * {Types::PutSinkPolicyOutput#policy #policy} => String
990
1014
  # * {Types::PutSinkPolicyOutput#sink_arn #sink_arn} => String
991
1015
  # * {Types::PutSinkPolicyOutput#sink_id #sink_id} => String
992
- # * {Types::PutSinkPolicyOutput#policy #policy} => String
993
1016
  #
994
1017
  # @example Request syntax with placeholder values
995
1018
  #
996
1019
  # resp = client.put_sink_policy({
997
- # sink_identifier: "ResourceIdentifier", # required
998
1020
  # policy: "SinkPolicy", # required
1021
+ # sink_identifier: "ResourceIdentifier", # required
999
1022
  # })
1000
1023
  #
1001
1024
  # @example Response structure
1002
1025
  #
1026
+ # resp.policy #=> String
1003
1027
  # resp.sink_arn #=> String
1004
1028
  # resp.sink_id #=> String
1005
- # resp.policy #=> String
1006
1029
  #
1007
1030
  # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/PutSinkPolicy AWS API Documentation
1008
1031
  #
@@ -1123,6 +1146,10 @@ module Aws::OAM
1123
1146
  # source account to its linked monitoring account sink. You can't
1124
1147
  # change the sink or change the monitoring account with this operation.
1125
1148
  #
1149
+ # When you update a link, you can optionally specify filters that
1150
+ # specify which metric namespaces and which log groups are shared from
1151
+ # the source account to the monitoring account.
1152
+ #
1126
1153
  # To update the list of tags associated with the sink, use
1127
1154
  # [TagResource][1].
1128
1155
  #
@@ -1133,6 +1160,11 @@ module Aws::OAM
1133
1160
  # @option params [required, String] :identifier
1134
1161
  # The ARN of the link that you want to update.
1135
1162
  #
1163
+ # @option params [Types::LinkConfiguration] :link_configuration
1164
+ # Use this structure to filter which metric namespaces and which log
1165
+ # groups are to be shared from the source account to the monitoring
1166
+ # account.
1167
+ #
1136
1168
  # @option params [required, Array<String>] :resource_types
1137
1169
  # An array of strings that define which types of data that the source
1138
1170
  # account will send to the monitoring account.
@@ -1146,6 +1178,7 @@ module Aws::OAM
1146
1178
  # * {Types::UpdateLinkOutput#id #id} => String
1147
1179
  # * {Types::UpdateLinkOutput#label #label} => String
1148
1180
  # * {Types::UpdateLinkOutput#label_template #label_template} => String
1181
+ # * {Types::UpdateLinkOutput#link_configuration #link_configuration} => Types::LinkConfiguration
1149
1182
  # * {Types::UpdateLinkOutput#resource_types #resource_types} => Array&lt;String&gt;
1150
1183
  # * {Types::UpdateLinkOutput#sink_arn #sink_arn} => String
1151
1184
  # * {Types::UpdateLinkOutput#tags #tags} => Hash&lt;String,String&gt;
@@ -1154,6 +1187,14 @@ module Aws::OAM
1154
1187
  #
1155
1188
  # resp = client.update_link({
1156
1189
  # identifier: "ResourceIdentifier", # required
1190
+ # link_configuration: {
1191
+ # log_group_configuration: {
1192
+ # filter: "LogsFilter", # required
1193
+ # },
1194
+ # metric_configuration: {
1195
+ # filter: "MetricsFilter", # required
1196
+ # },
1197
+ # },
1157
1198
  # resource_types: ["AWS::CloudWatch::Metric"], # required, accepts AWS::CloudWatch::Metric, AWS::Logs::LogGroup, AWS::XRay::Trace, AWS::ApplicationInsights::Application, AWS::InternetMonitor::Monitor
1158
1199
  # })
1159
1200
  #
@@ -1163,6 +1204,8 @@ module Aws::OAM
1163
1204
  # resp.id #=> String
1164
1205
  # resp.label #=> String
1165
1206
  # resp.label_template #=> String
1207
+ # resp.link_configuration.log_group_configuration.filter #=> String
1208
+ # resp.link_configuration.metric_configuration.filter #=> String
1166
1209
  # resp.resource_types #=> Array
1167
1210
  # resp.resource_types[0] #=> String
1168
1211
  # resp.sink_arn #=> String
@@ -1191,7 +1234,7 @@ module Aws::OAM
1191
1234
  params: params,
1192
1235
  config: config)
1193
1236
  context[:gem_name] = 'aws-sdk-oam'
1194
- context[:gem_version] = '1.14.0'
1237
+ context[:gem_version] = '1.15.0'
1195
1238
  Seahorse::Client::Request.new(handlers, context)
1196
1239
  end
1197
1240
 
@@ -32,6 +32,7 @@ module Aws::OAM
32
32
  InternalServiceFault = Shapes::StructureShape.new(name: 'InternalServiceFault')
33
33
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
34
34
  LabelTemplate = Shapes::StringShape.new(name: 'LabelTemplate')
35
+ LinkConfiguration = Shapes::StructureShape.new(name: 'LinkConfiguration')
35
36
  ListAttachedLinksInput = Shapes::StructureShape.new(name: 'ListAttachedLinksInput')
36
37
  ListAttachedLinksItem = Shapes::StructureShape.new(name: 'ListAttachedLinksItem')
37
38
  ListAttachedLinksItems = Shapes::ListShape.new(name: 'ListAttachedLinksItems')
@@ -49,6 +50,10 @@ module Aws::OAM
49
50
  ListSinksOutput = Shapes::StructureShape.new(name: 'ListSinksOutput')
50
51
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
51
52
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
53
+ LogGroupConfiguration = Shapes::StructureShape.new(name: 'LogGroupConfiguration')
54
+ LogsFilter = Shapes::StringShape.new(name: 'LogsFilter')
55
+ MetricConfiguration = Shapes::StructureShape.new(name: 'MetricConfiguration')
56
+ MetricsFilter = Shapes::StringShape.new(name: 'MetricsFilter')
52
57
  MissingRequiredParameterException = Shapes::StructureShape.new(name: 'MissingRequiredParameterException')
53
58
  NextToken = Shapes::StringShape.new(name: 'NextToken')
54
59
  PutSinkPolicyInput = Shapes::StructureShape.new(name: 'PutSinkPolicyInput')
@@ -81,6 +86,7 @@ module Aws::OAM
81
86
  ConflictException.struct_class = Types::ConflictException
82
87
 
83
88
  CreateLinkInput.add_member(:label_template, Shapes::ShapeRef.new(shape: LabelTemplate, required: true, location_name: "LabelTemplate"))
89
+ CreateLinkInput.add_member(:link_configuration, Shapes::ShapeRef.new(shape: LinkConfiguration, location_name: "LinkConfiguration"))
84
90
  CreateLinkInput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypesInput, required: true, location_name: "ResourceTypes"))
85
91
  CreateLinkInput.add_member(:sink_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "SinkIdentifier"))
86
92
  CreateLinkInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMapInput, location_name: "Tags"))
@@ -90,6 +96,7 @@ module Aws::OAM
90
96
  CreateLinkOutput.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
91
97
  CreateLinkOutput.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "Label"))
92
98
  CreateLinkOutput.add_member(:label_template, Shapes::ShapeRef.new(shape: String, location_name: "LabelTemplate"))
99
+ CreateLinkOutput.add_member(:link_configuration, Shapes::ShapeRef.new(shape: LinkConfiguration, location_name: "LinkConfiguration"))
93
100
  CreateLinkOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypesOutput, location_name: "ResourceTypes"))
94
101
  CreateLinkOutput.add_member(:sink_arn, Shapes::ShapeRef.new(shape: String, location_name: "SinkArn"))
95
102
  CreateLinkOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMapOutput, location_name: "Tags"))
@@ -122,6 +129,7 @@ module Aws::OAM
122
129
  GetLinkOutput.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
123
130
  GetLinkOutput.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "Label"))
124
131
  GetLinkOutput.add_member(:label_template, Shapes::ShapeRef.new(shape: String, location_name: "LabelTemplate"))
132
+ GetLinkOutput.add_member(:link_configuration, Shapes::ShapeRef.new(shape: LinkConfiguration, location_name: "LinkConfiguration"))
125
133
  GetLinkOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypesOutput, location_name: "ResourceTypes"))
126
134
  GetLinkOutput.add_member(:sink_arn, Shapes::ShapeRef.new(shape: String, location_name: "SinkArn"))
127
135
  GetLinkOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMapOutput, location_name: "Tags"))
@@ -139,19 +147,23 @@ module Aws::OAM
139
147
  GetSinkPolicyInput.add_member(:sink_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "SinkIdentifier"))
140
148
  GetSinkPolicyInput.struct_class = Types::GetSinkPolicyInput
141
149
 
150
+ GetSinkPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
142
151
  GetSinkPolicyOutput.add_member(:sink_arn, Shapes::ShapeRef.new(shape: String, location_name: "SinkArn"))
143
152
  GetSinkPolicyOutput.add_member(:sink_id, Shapes::ShapeRef.new(shape: String, location_name: "SinkId"))
144
- GetSinkPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
145
153
  GetSinkPolicyOutput.struct_class = Types::GetSinkPolicyOutput
146
154
 
147
155
  InternalServiceFault.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
148
156
  InternalServiceFault.add_member(:amzn_error_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "x-amzn-ErrorType"))
149
157
  InternalServiceFault.struct_class = Types::InternalServiceFault
150
158
 
151
- InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
152
159
  InvalidParameterException.add_member(:amzn_error_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "x-amzn-ErrorType"))
160
+ InvalidParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
153
161
  InvalidParameterException.struct_class = Types::InvalidParameterException
154
162
 
163
+ LinkConfiguration.add_member(:log_group_configuration, Shapes::ShapeRef.new(shape: LogGroupConfiguration, location_name: "LogGroupConfiguration"))
164
+ LinkConfiguration.add_member(:metric_configuration, Shapes::ShapeRef.new(shape: MetricConfiguration, location_name: "MetricConfiguration"))
165
+ LinkConfiguration.struct_class = Types::LinkConfiguration
166
+
155
167
  ListAttachedLinksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListAttachedLinksMaxResults, location_name: "MaxResults"))
156
168
  ListAttachedLinksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
157
169
  ListAttachedLinksInput.add_member(:sink_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "SinkIdentifier"))
@@ -206,17 +218,23 @@ module Aws::OAM
206
218
  ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMapOutput, location_name: "Tags"))
207
219
  ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
208
220
 
209
- MissingRequiredParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
221
+ LogGroupConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: LogsFilter, required: true, location_name: "Filter"))
222
+ LogGroupConfiguration.struct_class = Types::LogGroupConfiguration
223
+
224
+ MetricConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: MetricsFilter, required: true, location_name: "Filter"))
225
+ MetricConfiguration.struct_class = Types::MetricConfiguration
226
+
210
227
  MissingRequiredParameterException.add_member(:amzn_error_type, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "x-amzn-ErrorType"))
228
+ MissingRequiredParameterException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
211
229
  MissingRequiredParameterException.struct_class = Types::MissingRequiredParameterException
212
230
 
213
- PutSinkPolicyInput.add_member(:sink_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "SinkIdentifier"))
214
231
  PutSinkPolicyInput.add_member(:policy, Shapes::ShapeRef.new(shape: SinkPolicy, required: true, location_name: "Policy"))
232
+ PutSinkPolicyInput.add_member(:sink_identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "SinkIdentifier"))
215
233
  PutSinkPolicyInput.struct_class = Types::PutSinkPolicyInput
216
234
 
235
+ PutSinkPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
217
236
  PutSinkPolicyOutput.add_member(:sink_arn, Shapes::ShapeRef.new(shape: String, location_name: "SinkArn"))
218
237
  PutSinkPolicyOutput.add_member(:sink_id, Shapes::ShapeRef.new(shape: String, location_name: "SinkId"))
219
- PutSinkPolicyOutput.add_member(:policy, Shapes::ShapeRef.new(shape: String, location_name: "Policy"))
220
238
  PutSinkPolicyOutput.struct_class = Types::PutSinkPolicyOutput
221
239
 
222
240
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -255,6 +273,7 @@ module Aws::OAM
255
273
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
256
274
 
257
275
  UpdateLinkInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "Identifier"))
276
+ UpdateLinkInput.add_member(:link_configuration, Shapes::ShapeRef.new(shape: LinkConfiguration, location_name: "LinkConfiguration"))
258
277
  UpdateLinkInput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypesInput, required: true, location_name: "ResourceTypes"))
259
278
  UpdateLinkInput.struct_class = Types::UpdateLinkInput
260
279
 
@@ -262,6 +281,7 @@ module Aws::OAM
262
281
  UpdateLinkOutput.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
263
282
  UpdateLinkOutput.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "Label"))
264
283
  UpdateLinkOutput.add_member(:label_template, Shapes::ShapeRef.new(shape: LabelTemplate, location_name: "LabelTemplate"))
284
+ UpdateLinkOutput.add_member(:link_configuration, Shapes::ShapeRef.new(shape: LinkConfiguration, location_name: "LinkConfiguration"))
265
285
  UpdateLinkOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypesOutput, location_name: "ResourceTypes"))
266
286
  UpdateLinkOutput.add_member(:sink_arn, Shapes::ShapeRef.new(shape: String, location_name: "SinkArn"))
267
287
  UpdateLinkOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMapOutput, location_name: "Tags"))
@@ -281,6 +301,7 @@ module Aws::OAM
281
301
  "endpointPrefix" => "oam",
282
302
  "jsonVersion" => "1.1",
283
303
  "protocol" => "rest-json",
304
+ "protocols" => ["rest-json"],
284
305
  "serviceFullName" => "CloudWatch Observability Access Manager",
285
306
  "serviceId" => "OAM",
286
307
  "signatureVersion" => "v4",
@@ -92,13 +92,13 @@ module Aws::OAM
92
92
  end
93
93
 
94
94
  # @return [String]
95
- def message
96
- @message || @data[:message]
95
+ def amzn_error_type
96
+ @data[:amzn_error_type]
97
97
  end
98
98
 
99
99
  # @return [String]
100
- def amzn_error_type
101
- @data[:amzn_error_type]
100
+ def message
101
+ @message || @data[:message]
102
102
  end
103
103
  end
104
104
 
@@ -112,13 +112,13 @@ module Aws::OAM
112
112
  end
113
113
 
114
114
  # @return [String]
115
- def message
116
- @message || @data[:message]
115
+ def amzn_error_type
116
+ @data[:amzn_error_type]
117
117
  end
118
118
 
119
119
  # @return [String]
120
- def amzn_error_type
121
- @data[:amzn_error_type]
120
+ def message
121
+ @message || @data[:message]
122
122
  end
123
123
  end
124
124
 
@@ -45,6 +45,12 @@ module Aws::OAM
45
45
  # without the domain name
46
46
  # @return [String]
47
47
  #
48
+ # @!attribute [rw] link_configuration
49
+ # Use this structure to optionally create filters that specify that
50
+ # only some metric namespaces or log groups are to be shared from the
51
+ # source account to the monitoring account.
52
+ # @return [Types::LinkConfiguration]
53
+ #
48
54
  # @!attribute [rw] resource_types
49
55
  # An array of strings that define which types of data that the source
50
56
  # account shares with the monitoring account.
@@ -82,6 +88,7 @@ module Aws::OAM
82
88
  #
83
89
  class CreateLinkInput < Struct.new(
84
90
  :label_template,
91
+ :link_configuration,
85
92
  :resource_types,
86
93
  :sink_identifier,
87
94
  :tags)
@@ -109,6 +116,12 @@ module Aws::OAM
109
116
  # resolved.
110
117
  # @return [String]
111
118
  #
119
+ # @!attribute [rw] link_configuration
120
+ # This structure includes filters that specify which metric namespaces
121
+ # and which log groups are shared from the source account to the
122
+ # monitoring account.
123
+ # @return [Types::LinkConfiguration]
124
+ #
112
125
  # @!attribute [rw] resource_types
113
126
  # The resource types supported by this link.
114
127
  # @return [Array<String>]
@@ -128,6 +141,7 @@ module Aws::OAM
128
141
  :id,
129
142
  :label,
130
143
  :label_template,
144
+ :link_configuration,
131
145
  :resource_types,
132
146
  :sink_arn,
133
147
  :tags)
@@ -255,6 +269,12 @@ module Aws::OAM
255
269
  # created, with the template variables not resolved.
256
270
  # @return [String]
257
271
  #
272
+ # @!attribute [rw] link_configuration
273
+ # This structure includes filters that specify which metric namespaces
274
+ # and which log groups are shared from the source account to the
275
+ # monitoring account.
276
+ # @return [Types::LinkConfiguration]
277
+ #
258
278
  # @!attribute [rw] resource_types
259
279
  # The resource types supported by this link.
260
280
  # @return [Array<String>]
@@ -274,6 +294,7 @@ module Aws::OAM
274
294
  :id,
275
295
  :label,
276
296
  :label_template,
297
+ :link_configuration,
277
298
  :resource_types,
278
299
  :sink_arn,
279
300
  :tags)
@@ -333,6 +354,10 @@ module Aws::OAM
333
354
  include Aws::Structure
334
355
  end
335
356
 
357
+ # @!attribute [rw] policy
358
+ # The policy that you specified, in JSON format.
359
+ # @return [String]
360
+ #
336
361
  # @!attribute [rw] sink_arn
337
362
  # The ARN of the sink.
338
363
  # @return [String]
@@ -342,16 +367,12 @@ module Aws::OAM
342
367
  # the sink ARN.
343
368
  # @return [String]
344
369
  #
345
- # @!attribute [rw] policy
346
- # The policy that you specified, in JSON format.
347
- # @return [String]
348
- #
349
370
  # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/GetSinkPolicyOutput AWS API Documentation
350
371
  #
351
372
  class GetSinkPolicyOutput < Struct.new(
373
+ :policy,
352
374
  :sink_arn,
353
- :sink_id,
354
- :policy)
375
+ :sink_id)
355
376
  SENSITIVE = []
356
377
  include Aws::Structure
357
378
  end
@@ -376,18 +397,41 @@ module Aws::OAM
376
397
 
377
398
  # A parameter is specified incorrectly.
378
399
  #
379
- # @!attribute [rw] message
380
- # @return [String]
381
- #
382
400
  # @!attribute [rw] amzn_error_type
383
401
  # The name of the exception.
384
402
  # @return [String]
385
403
  #
404
+ # @!attribute [rw] message
405
+ # @return [String]
406
+ #
386
407
  # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/InvalidParameterException AWS API Documentation
387
408
  #
388
409
  class InvalidParameterException < Struct.new(
389
- :message,
390
- :amzn_error_type)
410
+ :amzn_error_type,
411
+ :message)
412
+ SENSITIVE = []
413
+ include Aws::Structure
414
+ end
415
+
416
+ # Use this structure to optionally create filters that specify that only
417
+ # some metric namespaces or log groups are to be shared from the source
418
+ # account to the monitoring account.
419
+ #
420
+ # @!attribute [rw] log_group_configuration
421
+ # Use this structure to filter which log groups are to send log events
422
+ # from the source account to the monitoring account.
423
+ # @return [Types::LogGroupConfiguration]
424
+ #
425
+ # @!attribute [rw] metric_configuration
426
+ # Use this structure to filter which metric namespaces are to be
427
+ # shared from the source account to the monitoring account.
428
+ # @return [Types::MetricConfiguration]
429
+ #
430
+ # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/LinkConfiguration AWS API Documentation
431
+ #
432
+ class LinkConfiguration < Struct.new(
433
+ :log_group_configuration,
434
+ :metric_configuration)
391
435
  SENSITIVE = []
392
436
  include Aws::Structure
393
437
  end
@@ -636,28 +680,128 @@ module Aws::OAM
636
680
  include Aws::Structure
637
681
  end
638
682
 
639
- # A required parameter is missing from the request.
683
+ # This structure contains the `Filter` parameter which you can use to
684
+ # specify which log groups are to share log events from this source
685
+ # account to the monitoring account.
640
686
  #
641
- # @!attribute [rw] message
687
+ # @!attribute [rw] filter
688
+ # Use this field to specify which log groups are to share their log
689
+ # events with the monitoring account. Use the term `LogGroupName` and
690
+ # one or more of the following operands. Use single quotation marks
691
+ # (') around log group names. The matching of log group names is case
692
+ # sensitive. Each filter has a limit of five conditional operands.
693
+ # Conditional operands are `AND` and `OR`.
694
+ #
695
+ # * `=` and `!=`
696
+ #
697
+ # * `AND`
698
+ #
699
+ # * `OR`
700
+ #
701
+ # * `LIKE` and `NOT LIKE`. These can be used only as prefix searches.
702
+ # Include a `%` at the end of the string that you want to search for
703
+ # and include.
704
+ #
705
+ # * `IN` and `NOT IN`, using parentheses `( )`
706
+ #
707
+ # Examples:
708
+ #
709
+ # * `LogGroupName IN ('This-Log-Group', 'Other-Log-Group')` includes
710
+ # only the log groups with names `This-Log-Group` and
711
+ # `Other-Log-Group`.
712
+ #
713
+ # * `LogGroupName NOT IN ('Private-Log-Group', 'Private-Log-Group-2')`
714
+ # includes all log groups except the log groups with names
715
+ # `Private-Log-Group` and `Private-Log-Group-2`.
716
+ #
717
+ # * `LogGroupName LIKE 'aws/lambda/%' OR LogGroupName LIKE 'AWSLogs%'`
718
+ # includes all log groups that have names that start with
719
+ # `aws/lambda/` or `AWSLogs`.
720
+ #
721
+ # <note markdown="1"> If you are updating a link that uses filters, you can specify `*` as
722
+ # the only value for the `filter` parameter to delete the filter and
723
+ # share all log groups with the monitoring account.
724
+ #
725
+ # </note>
726
+ # @return [String]
727
+ #
728
+ # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/LogGroupConfiguration AWS API Documentation
729
+ #
730
+ class LogGroupConfiguration < Struct.new(
731
+ :filter)
732
+ SENSITIVE = []
733
+ include Aws::Structure
734
+ end
735
+
736
+ # This structure contains the `Filter` parameter which you can use to
737
+ # specify which metric namespaces are to be shared from this source
738
+ # account to the monitoring account.
739
+ #
740
+ # @!attribute [rw] filter
741
+ # Use this field to specify which metrics are to be shared with the
742
+ # monitoring account. Use the term `Namespace` and one or more of the
743
+ # following operands. Use single quotation marks (') around namespace
744
+ # names. The matching of namespace names is case sensitive. Each
745
+ # filter has a limit of five conditional operands. Conditional
746
+ # operands are `AND` and `OR`.
747
+ #
748
+ # * `=` and `!=`
749
+ #
750
+ # * `AND`
751
+ #
752
+ # * `OR`
753
+ #
754
+ # * `LIKE` and `NOT LIKE`. These can be used only as prefix searches.
755
+ # Include a `%` at the end of the string that you want to search for
756
+ # and include.
757
+ #
758
+ # * `IN` and `NOT IN`, using parentheses `( )`
759
+ #
760
+ # Examples:
761
+ #
762
+ # * `Namespace NOT LIKE 'AWS/%'` includes only namespaces that don't
763
+ # start with `AWS/`, such as custom namespaces.
764
+ #
765
+ # * `Namespace IN ('AWS/EC2', 'AWS/ELB', 'AWS/S3')` includes only the
766
+ # metrics in the EC2, Elastic Load Balancing, and Amazon S3
767
+ # namespaces.
768
+ #
769
+ # * `Namespace = 'AWS/EC2' OR Namespace NOT LIKE 'AWS/%'` includes
770
+ # only the EC2 namespace and your custom namespaces.
771
+ #
772
+ # <note markdown="1"> If you are updating a link that uses filters, you can specify `*` as
773
+ # the only value for the `filter` parameter to delete the filter and
774
+ # share all metric namespaces with the monitoring account.
775
+ #
776
+ # </note>
642
777
  # @return [String]
643
778
  #
779
+ # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/MetricConfiguration AWS API Documentation
780
+ #
781
+ class MetricConfiguration < Struct.new(
782
+ :filter)
783
+ SENSITIVE = []
784
+ include Aws::Structure
785
+ end
786
+
787
+ # A required parameter is missing from the request.
788
+ #
644
789
  # @!attribute [rw] amzn_error_type
645
790
  # The name of the exception.
646
791
  # @return [String]
647
792
  #
793
+ # @!attribute [rw] message
794
+ # @return [String]
795
+ #
648
796
  # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/MissingRequiredParameterException AWS API Documentation
649
797
  #
650
798
  class MissingRequiredParameterException < Struct.new(
651
- :message,
652
- :amzn_error_type)
799
+ :amzn_error_type,
800
+ :message)
653
801
  SENSITIVE = []
654
802
  include Aws::Structure
655
803
  end
656
804
 
657
- # @!attribute [rw] sink_identifier
658
- # The ARN of the sink to attach this policy to.
659
- # @return [String]
660
- #
661
805
  # @!attribute [rw] policy
662
806
  # The JSON policy to use. If you are updating an existing policy, the
663
807
  # entire existing policy is replaced by what you specify here.
@@ -669,15 +813,23 @@ module Aws::OAM
669
813
  # section on this page.
670
814
  # @return [String]
671
815
  #
816
+ # @!attribute [rw] sink_identifier
817
+ # The ARN of the sink to attach this policy to.
818
+ # @return [String]
819
+ #
672
820
  # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/PutSinkPolicyInput AWS API Documentation
673
821
  #
674
822
  class PutSinkPolicyInput < Struct.new(
675
- :sink_identifier,
676
- :policy)
823
+ :policy,
824
+ :sink_identifier)
677
825
  SENSITIVE = []
678
826
  include Aws::Structure
679
827
  end
680
828
 
829
+ # @!attribute [rw] policy
830
+ # The policy that you specified.
831
+ # @return [String]
832
+ #
681
833
  # @!attribute [rw] sink_arn
682
834
  # The ARN of the sink.
683
835
  # @return [String]
@@ -687,16 +839,12 @@ module Aws::OAM
687
839
  # the sink ARN.
688
840
  # @return [String]
689
841
  #
690
- # @!attribute [rw] policy
691
- # The policy that you specified.
692
- # @return [String]
693
- #
694
842
  # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/PutSinkPolicyOutput AWS API Documentation
695
843
  #
696
844
  class PutSinkPolicyOutput < Struct.new(
845
+ :policy,
697
846
  :sink_arn,
698
- :sink_id,
699
- :policy)
847
+ :sink_id)
700
848
  SENSITIVE = []
701
849
  include Aws::Structure
702
850
  end
@@ -822,6 +970,12 @@ module Aws::OAM
822
970
  # The ARN of the link that you want to update.
823
971
  # @return [String]
824
972
  #
973
+ # @!attribute [rw] link_configuration
974
+ # Use this structure to filter which metric namespaces and which log
975
+ # groups are to be shared from the source account to the monitoring
976
+ # account.
977
+ # @return [Types::LinkConfiguration]
978
+ #
825
979
  # @!attribute [rw] resource_types
826
980
  # An array of strings that define which types of data that the source
827
981
  # account will send to the monitoring account.
@@ -834,6 +988,7 @@ module Aws::OAM
834
988
  #
835
989
  class UpdateLinkInput < Struct.new(
836
990
  :identifier,
991
+ :link_configuration,
837
992
  :resource_types)
838
993
  SENSITIVE = []
839
994
  include Aws::Structure
@@ -858,6 +1013,12 @@ module Aws::OAM
858
1013
  # created, with the template variables not resolved.
859
1014
  # @return [String]
860
1015
  #
1016
+ # @!attribute [rw] link_configuration
1017
+ # This structure includes filters that specify which metric namespaces
1018
+ # and which log groups are shared from the source account to the
1019
+ # monitoring account.
1020
+ # @return [Types::LinkConfiguration]
1021
+ #
861
1022
  # @!attribute [rw] resource_types
862
1023
  # The resource types now supported by this link.
863
1024
  # @return [Array<String>]
@@ -877,6 +1038,7 @@ module Aws::OAM
877
1038
  :id,
878
1039
  :label,
879
1040
  :label_template,
1041
+ :link_configuration,
880
1042
  :resource_types,
881
1043
  :sink_arn,
882
1044
  :tags)
data/lib/aws-sdk-oam.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-oam/customizations'
52
52
  # @!group service
53
53
  module Aws::OAM
54
54
 
55
- GEM_VERSION = '1.14.0'
55
+ GEM_VERSION = '1.15.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -78,6 +78,7 @@ module Aws
78
78
  def id: () -> ::String
79
79
  def label: () -> ::String
80
80
  def label_template: () -> ::String
81
+ def link_configuration: () -> Types::LinkConfiguration
81
82
  def resource_types: () -> ::Array[::String]
82
83
  def sink_arn: () -> ::String
83
84
  def tags: () -> ::Hash[::String, ::String]
@@ -85,6 +86,14 @@ module Aws
85
86
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#create_link-instance_method
86
87
  def create_link: (
87
88
  label_template: ::String,
89
+ ?link_configuration: {
90
+ log_group_configuration: {
91
+ filter: ::String
92
+ }?,
93
+ metric_configuration: {
94
+ filter: ::String
95
+ }?
96
+ },
88
97
  resource_types: Array[("AWS::CloudWatch::Metric" | "AWS::Logs::LogGroup" | "AWS::XRay::Trace" | "AWS::ApplicationInsights::Application" | "AWS::InternetMonitor::Monitor")],
89
98
  sink_identifier: ::String,
90
99
  ?tags: Hash[::String, ::String]
@@ -129,6 +138,7 @@ module Aws
129
138
  def id: () -> ::String
130
139
  def label: () -> ::String
131
140
  def label_template: () -> ::String
141
+ def link_configuration: () -> Types::LinkConfiguration
132
142
  def resource_types: () -> ::Array[::String]
133
143
  def sink_arn: () -> ::String
134
144
  def tags: () -> ::Hash[::String, ::String]
@@ -154,9 +164,9 @@ module Aws
154
164
 
155
165
  interface _GetSinkPolicyResponseSuccess
156
166
  include ::Seahorse::Client::_ResponseSuccess[Types::GetSinkPolicyOutput]
167
+ def policy: () -> ::String
157
168
  def sink_arn: () -> ::String
158
169
  def sink_id: () -> ::String
159
- def policy: () -> ::String
160
170
  end
161
171
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#get_sink_policy-instance_method
162
172
  def get_sink_policy: (
@@ -213,14 +223,14 @@ module Aws
213
223
 
214
224
  interface _PutSinkPolicyResponseSuccess
215
225
  include ::Seahorse::Client::_ResponseSuccess[Types::PutSinkPolicyOutput]
226
+ def policy: () -> ::String
216
227
  def sink_arn: () -> ::String
217
228
  def sink_id: () -> ::String
218
- def policy: () -> ::String
219
229
  end
220
230
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#put_sink_policy-instance_method
221
231
  def put_sink_policy: (
222
- sink_identifier: ::String,
223
- policy: ::String
232
+ policy: ::String,
233
+ sink_identifier: ::String
224
234
  ) -> _PutSinkPolicyResponseSuccess
225
235
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSinkPolicyResponseSuccess
226
236
 
@@ -250,6 +260,7 @@ module Aws
250
260
  def id: () -> ::String
251
261
  def label: () -> ::String
252
262
  def label_template: () -> ::String
263
+ def link_configuration: () -> Types::LinkConfiguration
253
264
  def resource_types: () -> ::Array[::String]
254
265
  def sink_arn: () -> ::String
255
266
  def tags: () -> ::Hash[::String, ::String]
@@ -257,6 +268,14 @@ module Aws
257
268
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#update_link-instance_method
258
269
  def update_link: (
259
270
  identifier: ::String,
271
+ ?link_configuration: {
272
+ log_group_configuration: {
273
+ filter: ::String
274
+ }?,
275
+ metric_configuration: {
276
+ filter: ::String
277
+ }?
278
+ },
260
279
  resource_types: Array[("AWS::CloudWatch::Metric" | "AWS::Logs::LogGroup" | "AWS::XRay::Trace" | "AWS::ApplicationInsights::Application" | "AWS::InternetMonitor::Monitor")]
261
280
  ) -> _UpdateLinkResponseSuccess
262
281
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLinkResponseSuccess
data/sig/errors.rbs CHANGED
@@ -20,12 +20,12 @@ module Aws
20
20
  def amzn_error_type: () -> ::String
21
21
  end
22
22
  class InvalidParameterException < ::Aws::Errors::ServiceError
23
- def message: () -> ::String
24
23
  def amzn_error_type: () -> ::String
24
+ def message: () -> ::String
25
25
  end
26
26
  class MissingRequiredParameterException < ::Aws::Errors::ServiceError
27
- def message: () -> ::String
28
27
  def amzn_error_type: () -> ::String
28
+ def message: () -> ::String
29
29
  end
30
30
  class ResourceNotFoundException < ::Aws::Errors::ServiceError
31
31
  def message: () -> ::String
data/sig/types.rbs CHANGED
@@ -16,6 +16,7 @@ module Aws::OAM
16
16
 
17
17
  class CreateLinkInput
18
18
  attr_accessor label_template: ::String
19
+ attr_accessor link_configuration: Types::LinkConfiguration
19
20
  attr_accessor resource_types: ::Array[("AWS::CloudWatch::Metric" | "AWS::Logs::LogGroup" | "AWS::XRay::Trace" | "AWS::ApplicationInsights::Application" | "AWS::InternetMonitor::Monitor")]
20
21
  attr_accessor sink_identifier: ::String
21
22
  attr_accessor tags: ::Hash[::String, ::String]
@@ -27,6 +28,7 @@ module Aws::OAM
27
28
  attr_accessor id: ::String
28
29
  attr_accessor label: ::String
29
30
  attr_accessor label_template: ::String
31
+ attr_accessor link_configuration: Types::LinkConfiguration
30
32
  attr_accessor resource_types: ::Array[::String]
31
33
  attr_accessor sink_arn: ::String
32
34
  attr_accessor tags: ::Hash[::String, ::String]
@@ -73,6 +75,7 @@ module Aws::OAM
73
75
  attr_accessor id: ::String
74
76
  attr_accessor label: ::String
75
77
  attr_accessor label_template: ::String
78
+ attr_accessor link_configuration: Types::LinkConfiguration
76
79
  attr_accessor resource_types: ::Array[::String]
77
80
  attr_accessor sink_arn: ::String
78
81
  attr_accessor tags: ::Hash[::String, ::String]
@@ -98,9 +101,9 @@ module Aws::OAM
98
101
  end
99
102
 
100
103
  class GetSinkPolicyOutput
104
+ attr_accessor policy: ::String
101
105
  attr_accessor sink_arn: ::String
102
106
  attr_accessor sink_id: ::String
103
- attr_accessor policy: ::String
104
107
  SENSITIVE: []
105
108
  end
106
109
 
@@ -111,8 +114,14 @@ module Aws::OAM
111
114
  end
112
115
 
113
116
  class InvalidParameterException
114
- attr_accessor message: ::String
115
117
  attr_accessor amzn_error_type: ::String
118
+ attr_accessor message: ::String
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class LinkConfiguration
123
+ attr_accessor log_group_configuration: Types::LogGroupConfiguration
124
+ attr_accessor metric_configuration: Types::MetricConfiguration
116
125
  SENSITIVE: []
117
126
  end
118
127
 
@@ -186,22 +195,32 @@ module Aws::OAM
186
195
  SENSITIVE: []
187
196
  end
188
197
 
198
+ class LogGroupConfiguration
199
+ attr_accessor filter: ::String
200
+ SENSITIVE: []
201
+ end
202
+
203
+ class MetricConfiguration
204
+ attr_accessor filter: ::String
205
+ SENSITIVE: []
206
+ end
207
+
189
208
  class MissingRequiredParameterException
190
- attr_accessor message: ::String
191
209
  attr_accessor amzn_error_type: ::String
210
+ attr_accessor message: ::String
192
211
  SENSITIVE: []
193
212
  end
194
213
 
195
214
  class PutSinkPolicyInput
196
- attr_accessor sink_identifier: ::String
197
215
  attr_accessor policy: ::String
216
+ attr_accessor sink_identifier: ::String
198
217
  SENSITIVE: []
199
218
  end
200
219
 
201
220
  class PutSinkPolicyOutput
221
+ attr_accessor policy: ::String
202
222
  attr_accessor sink_arn: ::String
203
223
  attr_accessor sink_id: ::String
204
- attr_accessor policy: ::String
205
224
  SENSITIVE: []
206
225
  end
207
226
 
@@ -242,6 +261,7 @@ module Aws::OAM
242
261
 
243
262
  class UpdateLinkInput
244
263
  attr_accessor identifier: ::String
264
+ attr_accessor link_configuration: Types::LinkConfiguration
245
265
  attr_accessor resource_types: ::Array[("AWS::CloudWatch::Metric" | "AWS::Logs::LogGroup" | "AWS::XRay::Trace" | "AWS::ApplicationInsights::Application" | "AWS::InternetMonitor::Monitor")]
246
266
  SENSITIVE: []
247
267
  end
@@ -251,6 +271,7 @@ module Aws::OAM
251
271
  attr_accessor id: ::String
252
272
  attr_accessor label: ::String
253
273
  attr_accessor label_template: ::String
274
+ attr_accessor link_configuration: Types::LinkConfiguration
254
275
  attr_accessor resource_types: ::Array[::String]
255
276
  attr_accessor sink_arn: ::String
256
277
  attr_accessor tags: ::Hash[::String, ::String]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-oam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core