aws-sdk-oam 1.33.0 → 1.34.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c0f03722273b52c5d24619436a87582716bd5106898eff93840d454471043878
4
- data.tar.gz: 58227de33b2d80da04f5b6012f398cd160183ae4cdba50ec2bd804da15da62da
3
+ metadata.gz: 9aa10f52a8eb08d68bd785b2723c69e52b3a6688316e7ca627221ada3cd5e190
4
+ data.tar.gz: 2464b4c3cba410aa1ed75ee36a5e15ca990ed4b0a0c856e884cd6f4a579a4825
5
5
  SHA512:
6
- metadata.gz: 6147c068725328913746977393d0bcbd6ae2e0fd7db43ce3ec0d9b210bc0efa06a7a42e891e417432ba461c3741f8bfd4f5261f86c37f10e5fdb01119d90fc07
7
- data.tar.gz: 5792a4bdfd131b9c8bf409a49a010d46eac745d81c8f3d66ec268391d3b4ec8a372e51013fa51919d4c9ed99a3731cd22536fc792805887754207a65b4b51646
6
+ metadata.gz: e388f44a2256a46e9b6420254c030319f2561953a86e761fd252f23e47ee7c9b645f38e20c5feca8b69d21b7535dce4c984e9ae2181bcd6d9e9a71596de1fb12
7
+ data.tar.gz: eec967be4ffeea2fbc67d4fd8a42d1240b46b9d3ec8f40b679875c800f9ede7b7ddf3ee934669ed3289a4a7d3a1b5b0af63b167a41cd99f7ca864d74fd1ab66a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2025-05-20)
5
+ ------------------
6
+
7
+ * Feature - Add IncludeTags field to GetLink, GetSink and UpdateLink API
8
+
4
9
  1.33.0 (2025-05-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.34.0
@@ -508,6 +508,14 @@ module Aws::OAM
508
508
  # * `$AccountEmailNoDomain` is the email address of the account without
509
509
  # the domain name
510
510
  #
511
+ # <note markdown="1"> In the Amazon Web Services GovCloud (US-East) and Amazon Web Services
512
+ # GovCloud (US-West) Regions, the only supported option is to use custom
513
+ # labels, and the `$AccountName`, `$AccountEmail`, and
514
+ # `$AccountEmailNoDomain` variables all resolve as *account-id* instead
515
+ # of the specified variable.
516
+ #
517
+ # </note>
518
+ #
511
519
  # @option params [Types::LinkConfiguration] :link_configuration
512
520
  # Use this structure to optionally create filters that specify that only
513
521
  # some metric namespaces or log groups are to be shared from the source
@@ -720,6 +728,16 @@ module Aws::OAM
720
728
  # @option params [required, String] :identifier
721
729
  # The ARN of the link to retrieve information for.
722
730
  #
731
+ # @option params [Boolean] :include_tags
732
+ # Specifies whether to include the tags associated with the link in the
733
+ # response. When `IncludeTags` is set to `true` and the caller has the
734
+ # required permission, `oam:ListTagsForResource`, the API will return
735
+ # the tags for the specified resource. If the caller doesn't have the
736
+ # required permission, `oam:ListTagsForResource`, the API will raise an
737
+ # exception.
738
+ #
739
+ # The default value is `false`.
740
+ #
723
741
  # @return [Types::GetLinkOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
724
742
  #
725
743
  # * {Types::GetLinkOutput#arn #arn} => String
@@ -735,6 +753,7 @@ module Aws::OAM
735
753
  #
736
754
  # resp = client.get_link({
737
755
  # identifier: "ResourceIdentifier", # required
756
+ # include_tags: false,
738
757
  # })
739
758
  #
740
759
  # @example Response structure
@@ -772,6 +791,16 @@ module Aws::OAM
772
791
  # @option params [required, String] :identifier
773
792
  # The ARN of the sink to retrieve information for.
774
793
  #
794
+ # @option params [Boolean] :include_tags
795
+ # Specifies whether to include the tags associated with the sink in the
796
+ # response. When `IncludeTags` is set to `true` and the caller has the
797
+ # required permission, `oam:ListTagsForResource`, the API will return
798
+ # the tags for the specified resource. If the caller doesn't have the
799
+ # required permission, `oam:ListTagsForResource`, the API will raise an
800
+ # exception.
801
+ #
802
+ # The default value is `false`.
803
+ #
775
804
  # @return [Types::GetSinkOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
776
805
  #
777
806
  # * {Types::GetSinkOutput#arn #arn} => String
@@ -783,6 +812,7 @@ module Aws::OAM
783
812
  #
784
813
  # resp = client.get_sink({
785
814
  # identifier: "ResourceIdentifier", # required
815
+ # include_tags: false,
786
816
  # })
787
817
  #
788
818
  # @example Response structure
@@ -1038,7 +1068,8 @@ module Aws::OAM
1038
1068
  # organization or to individual accounts.
1039
1069
  #
1040
1070
  # You can also use a sink policy to limit the types of data that is
1041
- # shared. The three types that you can allow or deny are:
1071
+ # shared. The six types of services with their respective resource types
1072
+ # that you can allow or deny are:
1042
1073
  #
1043
1074
  # * **Metrics** - Specify with `AWS::CloudWatch::Metric`
1044
1075
  #
@@ -1049,6 +1080,12 @@ module Aws::OAM
1049
1080
  # * **Application Insights - Applications** - Specify with
1050
1081
  # `AWS::ApplicationInsights::Application`
1051
1082
  #
1083
+ # * **Internet Monitor** - Specify with `AWS::InternetMonitor::Monitor`
1084
+ #
1085
+ # * **Application Signals** - Specify with
1086
+ # `AWS::ApplicationSignals::Service` and
1087
+ # `AWS::ApplicationSignals::ServiceLevelObjective`
1088
+ #
1052
1089
  # See the examples in this section to see how to specify permitted
1053
1090
  # source accounts and data types.
1054
1091
  #
@@ -1217,6 +1254,17 @@ module Aws::OAM
1217
1254
  # @option params [required, String] :identifier
1218
1255
  # The ARN of the link that you want to update.
1219
1256
  #
1257
+ # @option params [Boolean] :include_tags
1258
+ # Specifies whether to include the tags associated with the link in the
1259
+ # response after the update operation. When `IncludeTags` is set to
1260
+ # `true` and the caller has the required permission,
1261
+ # `oam:ListTagsForResource`, the API will return the tags for the
1262
+ # specified resource. If the caller doesn't have the required
1263
+ # permission, `oam:ListTagsForResource`, the API will raise an
1264
+ # exception.
1265
+ #
1266
+ # The default value is `false`.
1267
+ #
1220
1268
  # @option params [Types::LinkConfiguration] :link_configuration
1221
1269
  # Use this structure to filter which metric namespaces and which log
1222
1270
  # groups are to be shared from the source account to the monitoring
@@ -1244,6 +1292,7 @@ module Aws::OAM
1244
1292
  #
1245
1293
  # resp = client.update_link({
1246
1294
  # identifier: "ResourceIdentifier", # required
1295
+ # include_tags: false,
1247
1296
  # link_configuration: {
1248
1297
  # log_group_configuration: {
1249
1298
  # filter: "LogsFilter", # required
@@ -1296,7 +1345,7 @@ module Aws::OAM
1296
1345
  tracer: tracer
1297
1346
  )
1298
1347
  context[:gem_name] = 'aws-sdk-oam'
1299
- context[:gem_version] = '1.33.0'
1348
+ context[:gem_version] = '1.34.0'
1300
1349
  Seahorse::Client::Request.new(handlers, context)
1301
1350
  end
1302
1351
 
@@ -30,6 +30,7 @@ module Aws::OAM
30
30
  GetSinkOutput = Shapes::StructureShape.new(name: 'GetSinkOutput')
31
31
  GetSinkPolicyInput = Shapes::StructureShape.new(name: 'GetSinkPolicyInput')
32
32
  GetSinkPolicyOutput = Shapes::StructureShape.new(name: 'GetSinkPolicyOutput')
33
+ IncludeTags = Shapes::BooleanShape.new(name: 'IncludeTags')
33
34
  InternalServiceFault = Shapes::StructureShape.new(name: 'InternalServiceFault')
34
35
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
35
36
  LabelTemplate = Shapes::StringShape.new(name: 'LabelTemplate')
@@ -124,6 +125,7 @@ module Aws::OAM
124
125
  DeleteSinkOutput.struct_class = Types::DeleteSinkOutput
125
126
 
126
127
  GetLinkInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "Identifier"))
128
+ GetLinkInput.add_member(:include_tags, Shapes::ShapeRef.new(shape: IncludeTags, location_name: "IncludeTags"))
127
129
  GetLinkInput.struct_class = Types::GetLinkInput
128
130
 
129
131
  GetLinkOutput.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
@@ -137,6 +139,7 @@ module Aws::OAM
137
139
  GetLinkOutput.struct_class = Types::GetLinkOutput
138
140
 
139
141
  GetSinkInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "Identifier"))
142
+ GetSinkInput.add_member(:include_tags, Shapes::ShapeRef.new(shape: IncludeTags, location_name: "IncludeTags"))
140
143
  GetSinkInput.struct_class = Types::GetSinkInput
141
144
 
142
145
  GetSinkOutput.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "Arn"))
@@ -274,6 +277,7 @@ module Aws::OAM
274
277
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
275
278
 
276
279
  UpdateLinkInput.add_member(:identifier, Shapes::ShapeRef.new(shape: ResourceIdentifier, required: true, location_name: "Identifier"))
280
+ UpdateLinkInput.add_member(:include_tags, Shapes::ShapeRef.new(shape: IncludeTags, location_name: "IncludeTags"))
277
281
  UpdateLinkInput.add_member(:link_configuration, Shapes::ShapeRef.new(shape: LinkConfiguration, location_name: "LinkConfiguration"))
278
282
  UpdateLinkInput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypesInput, required: true, location_name: "ResourceTypes"))
279
283
  UpdateLinkInput.struct_class = Types::UpdateLinkInput
@@ -43,6 +43,14 @@ module Aws::OAM
43
43
  #
44
44
  # * `$AccountEmailNoDomain` is the email address of the account
45
45
  # without the domain name
46
+ #
47
+ # <note markdown="1"> In the Amazon Web Services GovCloud (US-East) and Amazon Web
48
+ # Services GovCloud (US-West) Regions, the only supported option is to
49
+ # use custom labels, and the `$AccountName`, `$AccountEmail`, and
50
+ # `$AccountEmailNoDomain` variables all resolve as *account-id*
51
+ # instead of the specified variable.
52
+ #
53
+ # </note>
46
54
  # @return [String]
47
55
  #
48
56
  # @!attribute [rw] link_configuration
@@ -242,10 +250,22 @@ module Aws::OAM
242
250
  # The ARN of the link to retrieve information for.
243
251
  # @return [String]
244
252
  #
253
+ # @!attribute [rw] include_tags
254
+ # Specifies whether to include the tags associated with the link in
255
+ # the response. When `IncludeTags` is set to `true` and the caller has
256
+ # the required permission, `oam:ListTagsForResource`, the API will
257
+ # return the tags for the specified resource. If the caller doesn't
258
+ # have the required permission, `oam:ListTagsForResource`, the API
259
+ # will raise an exception.
260
+ #
261
+ # The default value is `false`.
262
+ # @return [Boolean]
263
+ #
245
264
  # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/GetLinkInput AWS API Documentation
246
265
  #
247
266
  class GetLinkInput < Struct.new(
248
- :identifier)
267
+ :identifier,
268
+ :include_tags)
249
269
  SENSITIVE = []
250
270
  include Aws::Structure
251
271
  end
@@ -306,10 +326,22 @@ module Aws::OAM
306
326
  # The ARN of the sink to retrieve information for.
307
327
  # @return [String]
308
328
  #
329
+ # @!attribute [rw] include_tags
330
+ # Specifies whether to include the tags associated with the sink in
331
+ # the response. When `IncludeTags` is set to `true` and the caller has
332
+ # the required permission, `oam:ListTagsForResource`, the API will
333
+ # return the tags for the specified resource. If the caller doesn't
334
+ # have the required permission, `oam:ListTagsForResource`, the API
335
+ # will raise an exception.
336
+ #
337
+ # The default value is `false`.
338
+ # @return [Boolean]
339
+ #
309
340
  # @see http://docs.aws.amazon.com/goto/WebAPI/oam-2022-06-10/GetSinkInput AWS API Documentation
310
341
  #
311
342
  class GetSinkInput < Struct.new(
312
- :identifier)
343
+ :identifier,
344
+ :include_tags)
313
345
  SENSITIVE = []
314
346
  include Aws::Structure
315
347
  end
@@ -970,6 +1002,18 @@ module Aws::OAM
970
1002
  # The ARN of the link that you want to update.
971
1003
  # @return [String]
972
1004
  #
1005
+ # @!attribute [rw] include_tags
1006
+ # Specifies whether to include the tags associated with the link in
1007
+ # the response after the update operation. When `IncludeTags` is set
1008
+ # to `true` and the caller has the required permission,
1009
+ # `oam:ListTagsForResource`, the API will return the tags for the
1010
+ # specified resource. If the caller doesn't have the required
1011
+ # permission, `oam:ListTagsForResource`, the API will raise an
1012
+ # exception.
1013
+ #
1014
+ # The default value is `false`.
1015
+ # @return [Boolean]
1016
+ #
973
1017
  # @!attribute [rw] link_configuration
974
1018
  # Use this structure to filter which metric namespaces and which log
975
1019
  # groups are to be shared from the source account to the monitoring
@@ -988,6 +1032,7 @@ module Aws::OAM
988
1032
  #
989
1033
  class UpdateLinkInput < Struct.new(
990
1034
  :identifier,
1035
+ :include_tags,
991
1036
  :link_configuration,
992
1037
  :resource_types)
993
1038
  SENSITIVE = []
data/lib/aws-sdk-oam.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::OAM
54
54
  autoload :EndpointProvider, 'aws-sdk-oam/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-oam/endpoints'
56
56
 
57
- GEM_VERSION = '1.33.0'
57
+ GEM_VERSION = '1.34.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -150,7 +150,8 @@ module Aws
150
150
  end
151
151
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#get_link-instance_method
152
152
  def get_link: (
153
- identifier: ::String
153
+ identifier: ::String,
154
+ ?include_tags: bool
154
155
  ) -> _GetLinkResponseSuccess
155
156
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLinkResponseSuccess
156
157
 
@@ -163,7 +164,8 @@ module Aws
163
164
  end
164
165
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#get_sink-instance_method
165
166
  def get_sink: (
166
- identifier: ::String
167
+ identifier: ::String,
168
+ ?include_tags: bool
167
169
  ) -> _GetSinkResponseSuccess
168
170
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSinkResponseSuccess
169
171
 
@@ -273,6 +275,7 @@ module Aws
273
275
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OAM/Client.html#update_link-instance_method
274
276
  def update_link: (
275
277
  identifier: ::String,
278
+ ?include_tags: bool,
276
279
  ?link_configuration: {
277
280
  log_group_configuration: {
278
281
  filter: ::String
data/sig/types.rbs CHANGED
@@ -67,6 +67,7 @@ module Aws::OAM
67
67
 
68
68
  class GetLinkInput
69
69
  attr_accessor identifier: ::String
70
+ attr_accessor include_tags: bool
70
71
  SENSITIVE: []
71
72
  end
72
73
 
@@ -84,6 +85,7 @@ module Aws::OAM
84
85
 
85
86
  class GetSinkInput
86
87
  attr_accessor identifier: ::String
88
+ attr_accessor include_tags: bool
87
89
  SENSITIVE: []
88
90
  end
89
91
 
@@ -261,6 +263,7 @@ module Aws::OAM
261
263
 
262
264
  class UpdateLinkInput
263
265
  attr_accessor identifier: ::String
266
+ attr_accessor include_tags: bool
264
267
  attr_accessor link_configuration: Types::LinkConfiguration
265
268
  attr_accessor resource_types: ::Array[("AWS::CloudWatch::Metric" | "AWS::Logs::LogGroup" | "AWS::XRay::Trace" | "AWS::ApplicationInsights::Application" | "AWS::InternetMonitor::Monitor" | "AWS::ApplicationSignals::Service" | "AWS::ApplicationSignals::ServiceLevelObjective")]
266
269
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-oam
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services