lib/aws-sdk-cloudwatch/metric.rb in aws-sdk-cloudwatch-1.86.0 vs lib/aws-sdk-cloudwatch/metric.rb in aws-sdk-cloudwatch-1.87.0
- old
+ new
@@ -407,15 +407,27 @@
# * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
# `
#
# ^
#
- # **SNS notification action:**
+ # **Lambda actions:**
#
- # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
+ # * Invoke the latest version of a Lambda function:
+ # `arn:aws:lambda:region:account-id:function:function-name `
+ #
+ # * Invoke a specific version of a Lambda function:
+ # `arn:aws:lambda:region:account-id:function:function-name:version-number
# `
#
+ # * Invoke a function by using an alias Lambda function:
+ # `arn:aws:lambda:region:account-id:function:function-name:alias-name
+ # `
+ #
+ # **SNS notification action:**
+ #
+ # * `arn:aws:sns:region:account-id:sns-topic-name `
+ #
# ^
#
# **SSM integration actions:**
#
# * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
@@ -450,15 +462,27 @@
# * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
# `
#
# ^
#
- # **SNS notification action:**
+ # **Lambda actions:**
#
- # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
+ # * Invoke the latest version of a Lambda function:
+ # `arn:aws:lambda:region:account-id:function:function-name `
+ #
+ # * Invoke a specific version of a Lambda function:
+ # `arn:aws:lambda:region:account-id:function:function-name:version-number
# `
#
+ # * Invoke a function by using an alias Lambda function:
+ # `arn:aws:lambda:region:account-id:function:function-name:alias-name
+ # `
+ #
+ # **SNS notification action:**
+ #
+ # * `arn:aws:sns:region:account-id:sns-topic-name `
+ #
# ^
#
# **SSM integration actions:**
#
# * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
@@ -493,13 +517,25 @@
# * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
# `
#
# ^
#
- # **SNS notification action:**
+ # **Lambda actions:**
#
- # * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
+ # * Invoke the latest version of a Lambda function:
+ # `arn:aws:lambda:region:account-id:function:function-name `
+ #
+ # * Invoke a specific version of a Lambda function:
+ # `arn:aws:lambda:region:account-id:function:function-name:version-number
# `
+ #
+ # * Invoke a function by using an alias Lambda function:
+ # `arn:aws:lambda:region:account-id:function:function-name:alias-name
+ # `
+ #
+ # **SNS notification action:**
+ #
+ # * `arn:aws:sns:region:account-id:sns-topic-name `
#
# ^
#
# **SSM integration actions:**
#