aws-sdk-lambda 1.182.0 → 1.183.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: a1ba6525c3884361e1bc802e392bfb687f6424a981c4324b900657dcbdec9e76
4
- data.tar.gz: 49d95a83160328582000ce9a4214f0006bc202d7057e172eb891c2229b102538
3
+ metadata.gz: 6b9400e699fc64285aa508d42c0c484f51a71e7d23992eeddfde330325e28225
4
+ data.tar.gz: 1d52b1ce2dba8eea92a5629e46a776987f43a491557af42fd686d82bf7ca6de1
5
5
  SHA512:
6
- metadata.gz: ce5dfc0331f3f5bbf190d7fb7151e4dd2e68fe3b5776fe68ee656db85f40b4bbd19ac68131ea4b7ec503e91054ed22ac6512c225a5bfa414c4183152737228ab
7
- data.tar.gz: b1165711e7ba6e9952a0d9ca09e160f57fb2b87feb755649db44e9b51755668fa0b2516ee804e274908791488b5bec0594b741b32052684deeba4f6c2f024557
6
+ metadata.gz: 0bb4ff32d058dcbc4aff69e80c5fd0fc2c6726d76fa0db2ffd4a816987f8c1d394ece0512e8f3b244f8739d929519c4b9865127ca689d0ea92337e74f24a0de7
7
+ data.tar.gz: a8005b3f810d74ceca0364ca69e5b6b5118b8f87e82c39afefeeb9acd611b075ae65c7966342c3c7ebf4bb3bbf90c8442ccc41b5cf54e241699f88deeb47552c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.183.0 (2026-06-02)
5
+ ------------------
6
+
7
+ * Feature - Adds configuration for tag propagation to Lambda-managed resources.
8
+
4
9
  1.182.0 (2026-06-01)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.182.0
1
+ 1.183.0
@@ -1027,6 +1027,10 @@ module Aws::Lambda
1027
1027
  # @option params [Hash<String,String>] :tags
1028
1028
  # A list of tags to associate with the capacity provider.
1029
1029
  #
1030
+ # @option params [Types::PropagateTags] :propagate_tags
1031
+ # The tag propagation configuration for the capacity provider. Specifies
1032
+ # tags to apply to managed resources at launch.
1033
+ #
1030
1034
  # @return [Types::CreateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1031
1035
  #
1032
1036
  # * {Types::CreateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
@@ -1061,6 +1065,12 @@ module Aws::Lambda
1061
1065
  # tags: {
1062
1066
  # "TagKey" => "TagValue",
1063
1067
  # },
1068
+ # propagate_tags: {
1069
+ # mode: "None", # accepts None, Explicit
1070
+ # explicit_tags: {
1071
+ # "TagKey" => "TagValue",
1072
+ # },
1073
+ # },
1064
1074
  # })
1065
1075
  #
1066
1076
  # @example Response structure
@@ -1085,6 +1095,9 @@ module Aws::Lambda
1085
1095
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
1086
1096
  # resp.capacity_provider.kms_key_arn #=> String
1087
1097
  # resp.capacity_provider.last_modified #=> Time
1098
+ # resp.capacity_provider.propagate_tags.mode #=> String, one of "None", "Explicit"
1099
+ # resp.capacity_provider.propagate_tags.explicit_tags #=> Hash
1100
+ # resp.capacity_provider.propagate_tags.explicit_tags["TagKey"] #=> String
1088
1101
  #
1089
1102
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProvider AWS API Documentation
1090
1103
  #
@@ -2451,6 +2464,9 @@ module Aws::Lambda
2451
2464
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
2452
2465
  # resp.capacity_provider.kms_key_arn #=> String
2453
2466
  # resp.capacity_provider.last_modified #=> Time
2467
+ # resp.capacity_provider.propagate_tags.mode #=> String, one of "None", "Explicit"
2468
+ # resp.capacity_provider.propagate_tags.explicit_tags #=> Hash
2469
+ # resp.capacity_provider.propagate_tags.explicit_tags["TagKey"] #=> String
2454
2470
  #
2455
2471
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteCapacityProvider AWS API Documentation
2456
2472
  #
@@ -3136,6 +3152,9 @@ module Aws::Lambda
3136
3152
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
3137
3153
  # resp.capacity_provider.kms_key_arn #=> String
3138
3154
  # resp.capacity_provider.last_modified #=> Time
3155
+ # resp.capacity_provider.propagate_tags.mode #=> String, one of "None", "Explicit"
3156
+ # resp.capacity_provider.propagate_tags.explicit_tags #=> Hash
3157
+ # resp.capacity_provider.propagate_tags.explicit_tags["TagKey"] #=> String
3139
3158
  #
3140
3159
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetCapacityProvider AWS API Documentation
3141
3160
  #
@@ -4698,9 +4717,9 @@ module Aws::Lambda
4698
4717
  # * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
4699
4718
  #
4700
4719
  #
4701
- # @example Example: To get a provisioned concurrency configuration
4720
+ # @example Example: To view a provisioned concurrency configuration
4702
4721
  #
4703
- # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4722
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4704
4723
  # # function.
4705
4724
  #
4706
4725
  # resp = client.get_provisioned_concurrency_config({
@@ -4717,9 +4736,9 @@ module Aws::Lambda
4717
4736
  # status: "READY",
4718
4737
  # }
4719
4738
  #
4720
- # @example Example: To view a provisioned concurrency configuration
4739
+ # @example Example: To get a provisioned concurrency configuration
4721
4740
  #
4722
- # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
4741
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
4723
4742
  # # function.
4724
4743
  #
4725
4744
  # resp = client.get_provisioned_concurrency_config({
@@ -5470,6 +5489,9 @@ module Aws::Lambda
5470
5489
  # resp.capacity_providers[0].capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
5471
5490
  # resp.capacity_providers[0].kms_key_arn #=> String
5472
5491
  # resp.capacity_providers[0].last_modified #=> Time
5492
+ # resp.capacity_providers[0].propagate_tags.mode #=> String, one of "None", "Explicit"
5493
+ # resp.capacity_providers[0].propagate_tags.explicit_tags #=> Hash
5494
+ # resp.capacity_providers[0].propagate_tags.explicit_tags["TagKey"] #=> String
5473
5495
  # resp.next_marker #=> String
5474
5496
  #
5475
5497
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListCapacityProviders AWS API Documentation
@@ -8203,6 +8225,10 @@ module Aws::Lambda
8203
8225
  # @option params [Types::CapacityProviderScalingConfig] :capacity_provider_scaling_config
8204
8226
  # The updated scaling configuration for the capacity provider.
8205
8227
  #
8228
+ # @option params [Types::PropagateTags] :propagate_tags
8229
+ # Configuration for tag propagation to managed resources launched by the
8230
+ # capacity provider.
8231
+ #
8206
8232
  # @return [Types::UpdateCapacityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
8207
8233
  #
8208
8234
  # * {Types::UpdateCapacityProviderResponse#capacity_provider #capacity_provider} => Types::CapacityProvider
@@ -8221,6 +8247,12 @@ module Aws::Lambda
8221
8247
  # },
8222
8248
  # ],
8223
8249
  # },
8250
+ # propagate_tags: {
8251
+ # mode: "None", # accepts None, Explicit
8252
+ # explicit_tags: {
8253
+ # "TagKey" => "TagValue",
8254
+ # },
8255
+ # },
8224
8256
  # })
8225
8257
  #
8226
8258
  # @example Response structure
@@ -8245,6 +8277,9 @@ module Aws::Lambda
8245
8277
  # resp.capacity_provider.capacity_provider_scaling_config.scaling_policies[0].target_value #=> Float
8246
8278
  # resp.capacity_provider.kms_key_arn #=> String
8247
8279
  # resp.capacity_provider.last_modified #=> Time
8280
+ # resp.capacity_provider.propagate_tags.mode #=> String, one of "None", "Explicit"
8281
+ # resp.capacity_provider.propagate_tags.explicit_tags #=> Hash
8282
+ # resp.capacity_provider.propagate_tags.explicit_tags["TagKey"] #=> String
8248
8283
  #
8249
8284
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProvider AWS API Documentation
8250
8285
  #
@@ -9746,7 +9781,7 @@ module Aws::Lambda
9746
9781
  tracer: tracer
9747
9782
  )
9748
9783
  context[:gem_name] = 'aws-sdk-lambda'
9749
- context[:gem_version] = '1.182.0'
9784
+ context[:gem_version] = '1.183.0'
9750
9785
  Seahorse::Client::Request.new(handlers, context)
9751
9786
  end
9752
9787
 
@@ -414,6 +414,9 @@ module Aws::Lambda
414
414
  PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
415
415
  Principal = Shapes::StringShape.new(name: 'Principal')
416
416
  PrincipalOrgID = Shapes::StringShape.new(name: 'PrincipalOrgID')
417
+ PropagateTags = Shapes::StructureShape.new(name: 'PropagateTags')
418
+ PropagateTagsExplicitTagsMap = Shapes::MapShape.new(name: 'PropagateTagsExplicitTagsMap')
419
+ PropagateTagsMode = Shapes::StringShape.new(name: 'PropagateTagsMode')
417
420
  ProvisionedConcurrencyConfigList = Shapes::ListShape.new(name: 'ProvisionedConcurrencyConfigList')
418
421
  ProvisionedConcurrencyConfigListItem = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigListItem')
419
422
  ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
@@ -676,6 +679,7 @@ module Aws::Lambda
676
679
  CapacityProvider.add_member(:capacity_provider_scaling_config, Shapes::ShapeRef.new(shape: CapacityProviderScalingConfig, location_name: "CapacityProviderScalingConfig"))
677
680
  CapacityProvider.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KmsKeyArn"))
678
681
  CapacityProvider.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
682
+ CapacityProvider.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "PropagateTags"))
679
683
  CapacityProvider.struct_class = Types::CapacityProvider
680
684
 
681
685
  CapacityProviderConfig.add_member(:lambda_managed_instances_capacity_provider_config, Shapes::ShapeRef.new(shape: LambdaManagedInstancesCapacityProviderConfig, required: true, location_name: "LambdaManagedInstancesCapacityProviderConfig"))
@@ -816,6 +820,7 @@ module Aws::Lambda
816
820
  CreateCapacityProviderRequest.add_member(:capacity_provider_scaling_config, Shapes::ShapeRef.new(shape: CapacityProviderScalingConfig, location_name: "CapacityProviderScalingConfig"))
817
821
  CreateCapacityProviderRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArnNonEmpty, location_name: "KmsKeyArn"))
818
822
  CreateCapacityProviderRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
823
+ CreateCapacityProviderRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "PropagateTags"))
819
824
  CreateCapacityProviderRequest.struct_class = Types::CreateCapacityProviderRequest
820
825
 
821
826
  CreateCapacityProviderResponse.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, required: true, location_name: "CapacityProvider"))
@@ -1848,6 +1853,13 @@ module Aws::Lambda
1848
1853
  PreconditionFailedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1849
1854
  PreconditionFailedException.struct_class = Types::PreconditionFailedException
1850
1855
 
1856
+ PropagateTags.add_member(:mode, Shapes::ShapeRef.new(shape: PropagateTagsMode, location_name: "Mode"))
1857
+ PropagateTags.add_member(:explicit_tags, Shapes::ShapeRef.new(shape: PropagateTagsExplicitTagsMap, location_name: "ExplicitTags"))
1858
+ PropagateTags.struct_class = Types::PropagateTags
1859
+
1860
+ PropagateTagsExplicitTagsMap.key = Shapes::ShapeRef.new(shape: TagKey)
1861
+ PropagateTagsExplicitTagsMap.value = Shapes::ShapeRef.new(shape: TagValue)
1862
+
1851
1863
  ProvisionedConcurrencyConfigList.member = Shapes::ShapeRef.new(shape: ProvisionedConcurrencyConfigListItem)
1852
1864
 
1853
1865
  ProvisionedConcurrencyConfigListItem.add_member(:function_arn, Shapes::ShapeRef.new(shape: FunctionArn, location_name: "FunctionArn"))
@@ -2175,6 +2187,7 @@ module Aws::Lambda
2175
2187
 
2176
2188
  UpdateCapacityProviderRequest.add_member(:capacity_provider_name, Shapes::ShapeRef.new(shape: CapacityProviderName, required: true, location: "uri", location_name: "CapacityProviderName"))
2177
2189
  UpdateCapacityProviderRequest.add_member(:capacity_provider_scaling_config, Shapes::ShapeRef.new(shape: CapacityProviderScalingConfig, location_name: "CapacityProviderScalingConfig"))
2190
+ UpdateCapacityProviderRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "PropagateTags"))
2178
2191
  UpdateCapacityProviderRequest.struct_class = Types::UpdateCapacityProviderRequest
2179
2192
 
2180
2193
  UpdateCapacityProviderResponse.add_member(:capacity_provider, Shapes::ShapeRef.new(shape: CapacityProvider, required: true, location_name: "CapacityProvider"))
@@ -543,6 +543,11 @@ module Aws::Lambda
543
543
  # The date and time when the capacity provider was last modified.
544
544
  # @return [Time]
545
545
  #
546
+ # @!attribute [rw] propagate_tags
547
+ # Configuration for tag propagation to managed resources launched by
548
+ # the capacity provider.
549
+ # @return [Types::PropagateTags]
550
+ #
546
551
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CapacityProvider AWS API Documentation
547
552
  #
548
553
  class CapacityProvider < Struct.new(
@@ -553,7 +558,8 @@ module Aws::Lambda
553
558
  :instance_requirements,
554
559
  :capacity_provider_scaling_config,
555
560
  :kms_key_arn,
556
- :last_modified)
561
+ :last_modified,
562
+ :propagate_tags)
557
563
  SENSITIVE = []
558
564
  include Aws::Structure
559
565
  end
@@ -1246,6 +1252,11 @@ module Aws::Lambda
1246
1252
  # A list of tags to associate with the capacity provider.
1247
1253
  # @return [Hash<String,String>]
1248
1254
  #
1255
+ # @!attribute [rw] propagate_tags
1256
+ # The tag propagation configuration for the capacity provider.
1257
+ # Specifies tags to apply to managed resources at launch.
1258
+ # @return [Types::PropagateTags]
1259
+ #
1249
1260
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCapacityProviderRequest AWS API Documentation
1250
1261
  #
1251
1262
  class CreateCapacityProviderRequest < Struct.new(
@@ -1255,7 +1266,8 @@ module Aws::Lambda
1255
1266
  :instance_requirements,
1256
1267
  :capacity_provider_scaling_config,
1257
1268
  :kms_key_arn,
1258
- :tags)
1269
+ :tags,
1270
+ :propagate_tags)
1259
1271
  SENSITIVE = []
1260
1272
  include Aws::Structure
1261
1273
  end
@@ -7273,6 +7285,29 @@ module Aws::Lambda
7273
7285
  include Aws::Structure
7274
7286
  end
7275
7287
 
7288
+ # Configuration for tag propagation to managed resources launched by the
7289
+ # capacity provider.
7290
+ #
7291
+ # @!attribute [rw] mode
7292
+ # The tag propagation mode. Set to `Explicit` to propagate the tags
7293
+ # specified in `ExplicitTags` to managed resources. Set to `None` to
7294
+ # disable tag propagation.
7295
+ # @return [String]
7296
+ #
7297
+ # @!attribute [rw] explicit_tags
7298
+ # A list of tags to apply to managed resources when `Mode` is set to
7299
+ # `Explicit`. You can specify up to 40 tags.
7300
+ # @return [Hash<String,String>]
7301
+ #
7302
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PropagateTags AWS API Documentation
7303
+ #
7304
+ class PropagateTags < Struct.new(
7305
+ :mode,
7306
+ :explicit_tags)
7307
+ SENSITIVE = []
7308
+ include Aws::Structure
7309
+ end
7310
+
7276
7311
  # Details about the provisioned concurrency configuration for a function
7277
7312
  # alias or version.
7278
7313
  #
@@ -9049,11 +9084,17 @@ module Aws::Lambda
9049
9084
  # The updated scaling configuration for the capacity provider.
9050
9085
  # @return [Types::CapacityProviderScalingConfig]
9051
9086
  #
9087
+ # @!attribute [rw] propagate_tags
9088
+ # Configuration for tag propagation to managed resources launched by
9089
+ # the capacity provider.
9090
+ # @return [Types::PropagateTags]
9091
+ #
9052
9092
  # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateCapacityProviderRequest AWS API Documentation
9053
9093
  #
9054
9094
  class UpdateCapacityProviderRequest < Struct.new(
9055
9095
  :capacity_provider_name,
9056
- :capacity_provider_scaling_config)
9096
+ :capacity_provider_scaling_config,
9097
+ :propagate_tags)
9057
9098
  SENSITIVE = []
9058
9099
  include Aws::Structure
9059
9100
  end
@@ -56,7 +56,7 @@ module Aws::Lambda
56
56
  autoload :Endpoints, 'aws-sdk-lambda/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-lambda/event_streams'
58
58
 
59
- GEM_VERSION = '1.182.0'
59
+ GEM_VERSION = '1.183.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -208,7 +208,11 @@ module Aws
208
208
  },
209
209
  ?capacity_provider_scaling_config: Params::capacity_provider_scaling_config,
210
210
  ?kms_key_arn: ::String,
211
- ?tags: Hash[::String, ::String]
211
+ ?tags: Hash[::String, ::String],
212
+ ?propagate_tags: {
213
+ mode: ("None" | "Explicit")?,
214
+ explicit_tags: Hash[::String, ::String]?
215
+ }
212
216
  ) -> _CreateCapacityProviderResponseSuccess
213
217
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapacityProviderResponseSuccess
214
218
 
@@ -1499,7 +1503,11 @@ module Aws
1499
1503
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_capacity_provider-instance_method
1500
1504
  def update_capacity_provider: (
1501
1505
  capacity_provider_name: ::String,
1502
- ?capacity_provider_scaling_config: Params::capacity_provider_scaling_config
1506
+ ?capacity_provider_scaling_config: Params::capacity_provider_scaling_config,
1507
+ ?propagate_tags: {
1508
+ mode: ("None" | "Explicit")?,
1509
+ explicit_tags: Hash[::String, ::String]?
1510
+ }
1503
1511
  ) -> _UpdateCapacityProviderResponseSuccess
1504
1512
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapacityProviderResponseSuccess
1505
1513
 
data/sig/types.rbs CHANGED
@@ -137,6 +137,7 @@ module Aws::Lambda
137
137
  attr_accessor capacity_provider_scaling_config: Types::CapacityProviderScalingConfig
138
138
  attr_accessor kms_key_arn: ::String
139
139
  attr_accessor last_modified: ::Time
140
+ attr_accessor propagate_tags: Types::PropagateTags
140
141
  SENSITIVE: []
141
142
  end
142
143
 
@@ -320,6 +321,7 @@ module Aws::Lambda
320
321
  attr_accessor capacity_provider_scaling_config: Types::CapacityProviderScalingConfig
321
322
  attr_accessor kms_key_arn: ::String
322
323
  attr_accessor tags: ::Hash[::String, ::String]
324
+ attr_accessor propagate_tags: Types::PropagateTags
323
325
  SENSITIVE: []
324
326
  end
325
327
 
@@ -1635,6 +1637,12 @@ module Aws::Lambda
1635
1637
  SENSITIVE: []
1636
1638
  end
1637
1639
 
1640
+ class PropagateTags
1641
+ attr_accessor mode: ("None" | "Explicit")
1642
+ attr_accessor explicit_tags: ::Hash[::String, ::String]
1643
+ SENSITIVE: []
1644
+ end
1645
+
1638
1646
  class ProvisionedConcurrencyConfigListItem
1639
1647
  attr_accessor function_arn: ::String
1640
1648
  attr_accessor requested_provisioned_concurrent_executions: ::Integer
@@ -2066,6 +2074,7 @@ module Aws::Lambda
2066
2074
  class UpdateCapacityProviderRequest
2067
2075
  attr_accessor capacity_provider_name: ::String
2068
2076
  attr_accessor capacity_provider_scaling_config: Types::CapacityProviderScalingConfig
2077
+ attr_accessor propagate_tags: Types::PropagateTags
2069
2078
  SENSITIVE: []
2070
2079
  end
2071
2080
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lambda
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.182.0
4
+ version: 1.183.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services