lib/aws-sdk-synthetics/client.rb in aws-sdk-synthetics-1.50.0 vs lib/aws-sdk-synthetics/client.rb in aws-sdk-synthetics-1.51.0
- old
+ new
@@ -582,18 +582,30 @@
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html
#
+ # @option params [Array<String>] :resources_to_replicate_tags
+ # To have the tags that you apply to this canary also be applied to the
+ # Lambda function that the canary uses, specify this parameter with the
+ # value `lambda-function`.
+ #
+ # If you specify this parameter and don't specify any tags in the
+ # `Tags` parameter, the canary creation fails.
+ #
# @option params [Hash<String,String>] :tags
# A list of key-value pairs to associate with the canary. You can
# associate as many as 50 tags with a canary.
#
# Tags can help you organize and categorize your resources. You can also
# use them to scope user permissions, by granting a user permission to
# access or change only the resources that have certain tag values.
#
+ # To have the tags that you apply to this canary also be applied to the
+ # Lambda function that the canary uses, specify this parameter with the
+ # value `lambda-function`.
+ #
# @option params [Types::ArtifactConfigInput] :artifact_config
# A structure that contains the configuration for canary artifacts,
# including the encryption-at-rest settings for artifacts that the
# canary uploads to Amazon S3.
#
@@ -631,10 +643,11 @@
# runtime_version: "String", # required
# vpc_config: {
# subnet_ids: ["SubnetId"],
# security_group_ids: ["SecurityGroupId"],
# },
+ # resources_to_replicate_tags: ["lambda-function"], # accepts lambda-function
# tags: {
# "TagKey" => "TagValue",
# },
# artifact_config: {
# s3_encryption: {
@@ -771,21 +784,24 @@
# Other resources used and created by the canary are not automatically
# deleted. After you delete a canary that you do not intend to use
# again, you should also delete the following:
#
# * The CloudWatch alarms created for this canary. These alarms have a
- # name of `Synthetics-SharpDrop-Alarm-MyCanaryName `.
+ # name of
+ # `Synthetics-Alarm-first-198-characters-of-canary-name-canaryId-alarm
+ # number `
#
# * Amazon S3 objects and buckets, such as the canary's artifact
# location.
#
# * IAM roles created for the canary. If they were created in the
# console, these roles have the name `
- # role/service-role/CloudWatchSyntheticsRole-MyCanaryName `.
+ # role/service-role/CloudWatchSyntheticsRole-First-21-Characters-of-CanaryName
+ # `
#
# * CloudWatch Logs log groups created for the canary. These logs groups
- # have the name `/aws/lambda/cwsyn-MyCanaryName `.
+ # have the name `/aws/lambda/cwsyn-First-21-Characters-of-CanaryName `
#
# Before you delete a canary, you might want to use `GetCanary` to
# display the information about this canary. Make note of the
# information returned by this operation so that you can delete these
# resources after you delete the canary.
@@ -876,11 +892,11 @@
# results.
#
# @option params [Integer] :max_results
# Specify this parameter to limit how many canaries are returned each
# time you use the `DescribeCanaries` operation. If you omit this
- # parameter, the default of 100 is used.
+ # parameter, the default of 20 is used.
#
# @option params [Array<String>] :names
# Use this parameter to return only canaries that match the names that
# you specify here. You can specify as many as five canary names.
#
@@ -1788,10 +1804,10 @@
params: params,
config: config,
tracer: tracer
)
context[:gem_name] = 'aws-sdk-synthetics'
- context[:gem_version] = '1.50.0'
+ context[:gem_version] = '1.51.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated