@aws-sdk/client-cloudwatch 3.298.0 → 3.299.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const t = "fn", u = "argv", v = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [{ [v]: d }, "supportsFIPS"] }] }, o = { [v]: d }, p = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [o, "supportsDualStack"] }] }, q = { "url": "https://monitoring.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, r = [k], s = [l];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [t]: "isSet", [u]: [j] }], type: e, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: h, [u]: [o, "name"] }] }], endpoint: q, type: g }, { endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: q, type: g }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://monitoring.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const t = "fn", u = "argv", v = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = { "required": true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [{ [v]: d }, "supportsFIPS"] }] }, o = { [v]: d }, p = { [t]: "booleanEquals", [u]: [true, { [t]: h, [u]: [o, "supportsDualStack"] }] }, q = { "url": "https://monitoring.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, r = [k], s = [l];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [t]: "aws.partition", [u]: [{ [v]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [t]: "isSet", [u]: [j] }], type: e, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: j, properties: m, headers: m }, type: g }] }] }, { conditions: [k, l], type: e, rules: [{ conditions: [n, p], type: e, rules: [{ endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: r, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: h, [u]: [o, "name"] }] }], endpoint: q, type: g }, { endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: s, type: e, rules: [{ conditions: [p], type: e, rules: [{ endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: q, type: g }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://monitoring.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://monitoring-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://monitoring.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -61,8 +61,10 @@ export declare class CloudWatch extends CloudWatchClient {
61
61
  * than one composite alarm. For example, you could delete 99 metric alarms and one composite alarms with one operation, but you can't
62
62
  * delete two composite alarms with one operation.</p>
63
63
  * <p>
64
- * In the event of an error, no alarms are
65
- * deleted.</p>
64
+ * If you specify an incorrect alarm name or make any other error in the operation, no alarms are
65
+ * deleted. To confirm that alarms were deleted successfully, you can use
66
+ * the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> operation after using
67
+ * <code>DeleteAlarms</code>.</p>
66
68
  * <note>
67
69
  * <p>It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and
68
70
  * composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle
@@ -578,11 +580,11 @@ export declare class CloudWatch extends CloudWatchClient {
578
580
  * Amazon EC2 permissions for some alarm operations:</p>
579
581
  * <ul>
580
582
  * <li>
581
- * <p>The <code>iam:CreateServiceLinkedRole</code> for all alarms with EC2 actions</p>
583
+ * <p>The <code>iam:CreateServiceLinkedRole</code> permission for all alarms with EC2 actions</p>
582
584
  * </li>
583
585
  * <li>
584
- * <p>The <code>iam:CreateServiceLinkedRole</code> to create an alarm
585
- * with Systems Manager OpsItem actions.</p>
586
+ * <p>The <code>iam:CreateServiceLinkedRole</code> permissions to create an alarm
587
+ * with Systems Manager OpsItem or response plan actions.</p>
586
588
  * </li>
587
589
  * </ul>
588
590
  * <p>The first time you create an alarm in the
@@ -23,8 +23,10 @@ export interface DeleteAlarmsCommandOutput extends __MetadataBearer {
23
23
  * than one composite alarm. For example, you could delete 99 metric alarms and one composite alarms with one operation, but you can't
24
24
  * delete two composite alarms with one operation.</p>
25
25
  * <p>
26
- * In the event of an error, no alarms are
27
- * deleted.</p>
26
+ * If you specify an incorrect alarm name or make any other error in the operation, no alarms are
27
+ * deleted. To confirm that alarms were deleted successfully, you can use
28
+ * the <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html">DescribeAlarms</a> operation after using
29
+ * <code>DeleteAlarms</code>.</p>
28
30
  * <note>
29
31
  * <p>It is possible to create a loop or cycle of composite alarms, where composite alarm A depends on composite alarm B, and
30
32
  * composite alarm B also depends on composite alarm A. In this scenario, you can't delete any composite alarm that is part of the cycle
@@ -32,11 +32,11 @@ export interface PutMetricAlarmCommandOutput extends __MetadataBearer {
32
32
  * Amazon EC2 permissions for some alarm operations:</p>
33
33
  * <ul>
34
34
  * <li>
35
- * <p>The <code>iam:CreateServiceLinkedRole</code> for all alarms with EC2 actions</p>
35
+ * <p>The <code>iam:CreateServiceLinkedRole</code> permission for all alarms with EC2 actions</p>
36
36
  * </li>
37
37
  * <li>
38
- * <p>The <code>iam:CreateServiceLinkedRole</code> to create an alarm
39
- * with Systems Manager OpsItem actions.</p>
38
+ * <p>The <code>iam:CreateServiceLinkedRole</code> permissions to create an alarm
39
+ * with Systems Manager OpsItem or response plan actions.</p>
40
40
  * </li>
41
41
  * </ul>
42
42
  * <p>The first time you create an alarm in the
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -104,12 +104,15 @@ export interface AnomalyDetectorConfiguration {
104
104
  export interface Dimension {
105
105
  /**
106
106
  * <p>The name of the dimension. Dimension names must contain only ASCII characters, must include
107
- * at least one non-whitespace character, and cannot start with a colon (<code>:</code>).</p>
107
+ * at least one non-whitespace character, and cannot start with a colon (<code>:</code>).
108
+ * ASCII
109
+ * control characters are not supported as part of dimension names.</p>
108
110
  */
109
111
  Name: string | undefined;
110
112
  /**
111
113
  * <p>The value of the dimension. Dimension values must contain only ASCII characters and must include
112
- * at least one non-whitespace character.</p>
114
+ * at least one non-whitespace character. ASCII
115
+ * control characters are not supported as part of dimension values.</p>
113
116
  */
114
117
  Value: string | undefined;
115
118
  }
@@ -723,7 +726,7 @@ export interface Datapoint {
723
726
  */
724
727
  export interface DeleteAlarmsInput {
725
728
  /**
726
- * <p>The alarms to be deleted.</p>
729
+ * <p>The alarms to be deleted. Do not enclose the alarm names in quote marks.</p>
727
730
  */
728
731
  AlarmNames: string[] | undefined;
729
732
  }
@@ -2052,6 +2055,8 @@ export interface GetMetricStreamInput {
2052
2055
  * @public
2053
2056
  * <p>This structure contains the name of one of the metric namespaces that is listed in
2054
2057
  * a filter of a metric stream.</p>
2058
+ * <p>The namespace can contain only ASCII printable characters (ASCII range 32 through 126). It must
2059
+ * contain at least one non-whitespace character.</p>
2055
2060
  */
2056
2061
  export interface MetricStreamFilter {
2057
2062
  /**
@@ -3029,6 +3034,8 @@ export interface PutManagedInsightRulesOutput {
3029
3034
  export interface PutMetricAlarmInput {
3030
3035
  /**
3031
3036
  * <p>The name for the alarm. This name must be unique within the Region.</p>
3037
+ * <p>The name must contain only UTF-8
3038
+ * characters, and can't contain ASCII control characters</p>
3032
3039
  */
3033
3040
  AlarmName: string | undefined;
3034
3041
  /**
@@ -3042,65 +3049,269 @@ export interface PutMetricAlarmInput {
3042
3049
  ActionsEnabled?: boolean;
3043
3050
  /**
3044
3051
  * <p>The actions to execute when this alarm transitions to an <code>OK</code> state
3045
- * from any other state. Each action is specified as an Amazon Resource Name (ARN).</p>
3046
- * <p>Valid Values: <code>arn:aws:automate:<i>region</i>:ec2:stop</code> |
3047
- * <code>arn:aws:automate:<i>region</i>:ec2:terminate</code> |
3048
- * <code>arn:aws:automate:<i>region</i>:ec2:recover</code> |
3049
- * <code>arn:aws:automate:<i>region</i>:ec2:reboot</code> |
3050
- * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3051
- * </code> |
3052
- * <code>arn:aws:autoscaling:<i>region</i>:<i>account-id</i>:scalingPolicy:<i>policy-id</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3053
- * </code>
3052
+ * from any other state. Each action is specified as an Amazon Resource Name (ARN). Valid values:</p>
3053
+ * <p>
3054
+ * <b>EC2 actions:</b>
3054
3055
  * </p>
3055
- * <p>Valid Values (for use with IAM roles):
3056
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Stop/1.0</code> |
3057
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Terminate/1.0</code> |
3058
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Reboot/1.0</code> |
3059
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Recover/1.0</code>
3056
+ * <ul>
3057
+ * <li>
3058
+ * <p>
3059
+ * <code>arn:aws:automate:<i>region</i>:ec2:stop</code>
3060
+ * </p>
3061
+ * </li>
3062
+ * <li>
3063
+ * <p>
3064
+ * <code>arn:aws:automate:<i>region</i>:ec2:terminate</code>
3065
+ * </p>
3066
+ * </li>
3067
+ * <li>
3068
+ * <p>
3069
+ * <code>arn:aws:automate:<i>region</i>:ec2:reboot</code>
3070
+ * </p>
3071
+ * </li>
3072
+ * <li>
3073
+ * <p>
3074
+ * <code>arn:aws:automate:<i>region</i>:ec2:recover</code>
3075
+ * </p>
3076
+ * </li>
3077
+ * <li>
3078
+ * <p>
3079
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Stop/1.0</code>
3080
+ * </p>
3081
+ * </li>
3082
+ * <li>
3083
+ * <p>
3084
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Terminate/1.0</code>
3085
+ * </p>
3086
+ * </li>
3087
+ * <li>
3088
+ * <p>
3089
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Reboot/1.0</code>
3090
+ * </p>
3091
+ * </li>
3092
+ * <li>
3093
+ * <p>
3094
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Recover/1.0</code>
3095
+ * </p>
3096
+ * </li>
3097
+ * </ul>
3098
+ * <p>
3099
+ * <b>Autoscaling action:</b>
3100
+ * </p>
3101
+ * <ul>
3102
+ * <li>
3103
+ * <p>
3104
+ * <code>arn:aws:autoscaling:<i>region</i>:<i>account-id</i>:scalingPolicy:<i>policy-id</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3105
+ * </code>
3106
+ * </p>
3107
+ * </li>
3108
+ * </ul>
3109
+ * <p>
3110
+ * <b>SSN notification action:</b>
3111
+ * </p>
3112
+ * <ul>
3113
+ * <li>
3114
+ * <p>
3115
+ * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3116
+ * </code>
3117
+ * </p>
3118
+ * </li>
3119
+ * </ul>
3120
+ * <p>
3121
+ * <b>SSM integration actions:</b>
3060
3122
  * </p>
3123
+ * <ul>
3124
+ * <li>
3125
+ * <p>
3126
+ * <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i>#CATEGORY=<i>category-name</i>
3127
+ * </code>
3128
+ * </p>
3129
+ * </li>
3130
+ * <li>
3131
+ * <p>
3132
+ * <code>arn:aws:ssm-incidents::<i>account-id</i>:responseplan/<i>response-plan-name</i>
3133
+ * </code>
3134
+ * </p>
3135
+ * </li>
3136
+ * </ul>
3061
3137
  */
3062
3138
  OKActions?: string[];
3063
3139
  /**
3064
3140
  * <p>The actions to execute when this alarm transitions to the <code>ALARM</code> state from any other state.
3065
- * Each action is specified as an Amazon Resource Name (ARN).</p>
3066
- * <p>Valid Values: <code>arn:aws:automate:<i>region</i>:ec2:stop</code> |
3067
- * <code>arn:aws:automate:<i>region</i>:ec2:terminate</code> |
3068
- * <code>arn:aws:automate:<i>region</i>:ec2:recover</code> |
3069
- * <code>arn:aws:automate:<i>region</i>:ec2:reboot</code> |
3070
- * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3071
- * </code> |
3072
- * <code>arn:aws:autoscaling:<i>region</i>:<i>account-id</i>:scalingPolicy:<i>policy-id</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3073
- * </code>
3074
- * | <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i>
3075
- * </code>
3076
- * | <code>arn:aws:ssm-incidents::<i>account-id</i>:response-plan:<i>response-plan-name</i>
3077
- * </code>
3141
+ * Each action is specified as an Amazon Resource Name (ARN). Valid values:</p>
3142
+ * <p>
3143
+ * <b>EC2 actions:</b>
3078
3144
  * </p>
3079
- * <p>Valid Values (for use with IAM roles):
3080
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Stop/1.0</code> |
3081
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Terminate/1.0</code> |
3082
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Reboot/1.0</code> |
3083
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Recover/1.0</code>
3145
+ * <ul>
3146
+ * <li>
3147
+ * <p>
3148
+ * <code>arn:aws:automate:<i>region</i>:ec2:stop</code>
3149
+ * </p>
3150
+ * </li>
3151
+ * <li>
3152
+ * <p>
3153
+ * <code>arn:aws:automate:<i>region</i>:ec2:terminate</code>
3154
+ * </p>
3155
+ * </li>
3156
+ * <li>
3157
+ * <p>
3158
+ * <code>arn:aws:automate:<i>region</i>:ec2:reboot</code>
3159
+ * </p>
3160
+ * </li>
3161
+ * <li>
3162
+ * <p>
3163
+ * <code>arn:aws:automate:<i>region</i>:ec2:recover</code>
3164
+ * </p>
3165
+ * </li>
3166
+ * <li>
3167
+ * <p>
3168
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Stop/1.0</code>
3169
+ * </p>
3170
+ * </li>
3171
+ * <li>
3172
+ * <p>
3173
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Terminate/1.0</code>
3174
+ * </p>
3175
+ * </li>
3176
+ * <li>
3177
+ * <p>
3178
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Reboot/1.0</code>
3179
+ * </p>
3180
+ * </li>
3181
+ * <li>
3182
+ * <p>
3183
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Recover/1.0</code>
3184
+ * </p>
3185
+ * </li>
3186
+ * </ul>
3187
+ * <p>
3188
+ * <b>Autoscaling action:</b>
3084
3189
  * </p>
3190
+ * <ul>
3191
+ * <li>
3192
+ * <p>
3193
+ * <code>arn:aws:autoscaling:<i>region</i>:<i>account-id</i>:scalingPolicy:<i>policy-id</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3194
+ * </code>
3195
+ * </p>
3196
+ * </li>
3197
+ * </ul>
3198
+ * <p>
3199
+ * <b>SSN notification action:</b>
3200
+ * </p>
3201
+ * <ul>
3202
+ * <li>
3203
+ * <p>
3204
+ * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3205
+ * </code>
3206
+ * </p>
3207
+ * </li>
3208
+ * </ul>
3209
+ * <p>
3210
+ * <b>SSM integration actions:</b>
3211
+ * </p>
3212
+ * <ul>
3213
+ * <li>
3214
+ * <p>
3215
+ * <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i>#CATEGORY=<i>category-name</i>
3216
+ * </code>
3217
+ * </p>
3218
+ * </li>
3219
+ * <li>
3220
+ * <p>
3221
+ * <code>arn:aws:ssm-incidents::<i>account-id</i>:responseplan/<i>response-plan-name</i>
3222
+ * </code>
3223
+ * </p>
3224
+ * </li>
3225
+ * </ul>
3085
3226
  */
3086
3227
  AlarmActions?: string[];
3087
3228
  /**
3088
3229
  * <p>The actions to execute when this alarm transitions to the <code>INSUFFICIENT_DATA</code> state from any other state.
3089
- * Each action is specified as an Amazon Resource Name (ARN).</p>
3090
- * <p>Valid Values: <code>arn:aws:automate:<i>region</i>:ec2:stop</code> |
3091
- * <code>arn:aws:automate:<i>region</i>:ec2:terminate</code> |
3092
- * <code>arn:aws:automate:<i>region</i>:ec2:recover</code> |
3093
- * <code>arn:aws:automate:<i>region</i>:ec2:reboot</code> |
3094
- * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>
3095
- * </code> |
3096
- * <code>arn:aws:autoscaling:<i>region</i>:<i>account-id</i>:scalingPolicy:<i>policy-id</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3097
- * </code>
3230
+ * Each action is specified as an Amazon Resource Name (ARN). Valid values:</p>
3231
+ * <p>
3232
+ * <b>EC2 actions:</b>
3098
3233
  * </p>
3099
- * <p>Valid Values (for use with IAM roles):
3100
- * <code>>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Stop/1.0</code> |
3101
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Terminate/1.0</code> |
3102
- * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Reboot/1.0</code>
3234
+ * <ul>
3235
+ * <li>
3236
+ * <p>
3237
+ * <code>arn:aws:automate:<i>region</i>:ec2:stop</code>
3238
+ * </p>
3239
+ * </li>
3240
+ * <li>
3241
+ * <p>
3242
+ * <code>arn:aws:automate:<i>region</i>:ec2:terminate</code>
3243
+ * </p>
3244
+ * </li>
3245
+ * <li>
3246
+ * <p>
3247
+ * <code>arn:aws:automate:<i>region</i>:ec2:reboot</code>
3248
+ * </p>
3249
+ * </li>
3250
+ * <li>
3251
+ * <p>
3252
+ * <code>arn:aws:automate:<i>region</i>:ec2:recover</code>
3253
+ * </p>
3254
+ * </li>
3255
+ * <li>
3256
+ * <p>
3257
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Stop/1.0</code>
3258
+ * </p>
3259
+ * </li>
3260
+ * <li>
3261
+ * <p>
3262
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Terminate/1.0</code>
3263
+ * </p>
3264
+ * </li>
3265
+ * <li>
3266
+ * <p>
3267
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Reboot/1.0</code>
3268
+ * </p>
3269
+ * </li>
3270
+ * <li>
3271
+ * <p>
3272
+ * <code>arn:aws:swf:<i>region</i>:<i>account-id</i>:action/actions/AWS_EC2.InstanceId.Recover/1.0</code>
3273
+ * </p>
3274
+ * </li>
3275
+ * </ul>
3276
+ * <p>
3277
+ * <b>Autoscaling action:</b>
3278
+ * </p>
3279
+ * <ul>
3280
+ * <li>
3281
+ * <p>
3282
+ * <code>arn:aws:autoscaling:<i>region</i>:<i>account-id</i>:scalingPolicy:<i>policy-id</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3283
+ * </code>
3284
+ * </p>
3285
+ * </li>
3286
+ * </ul>
3287
+ * <p>
3288
+ * <b>SSN notification action:</b>
3289
+ * </p>
3290
+ * <ul>
3291
+ * <li>
3292
+ * <p>
3293
+ * <code>arn:aws:sns:<i>region</i>:<i>account-id</i>:<i>sns-topic-name</i>:autoScalingGroupName/<i>group-friendly-name</i>:policyName/<i>policy-friendly-name</i>
3294
+ * </code>
3295
+ * </p>
3296
+ * </li>
3297
+ * </ul>
3298
+ * <p>
3299
+ * <b>SSM integration actions:</b>
3103
3300
  * </p>
3301
+ * <ul>
3302
+ * <li>
3303
+ * <p>
3304
+ * <code>arn:aws:ssm:<i>region</i>:<i>account-id</i>:opsitem:<i>severity</i>#CATEGORY=<i>category-name</i>
3305
+ * </code>
3306
+ * </p>
3307
+ * </li>
3308
+ * <li>
3309
+ * <p>
3310
+ * <code>arn:aws:ssm-incidents::<i>account-id</i>:responseplan/<i>response-plan-name</i>
3311
+ * </code>
3312
+ * </p>
3313
+ * </li>
3314
+ * </ul>
3104
3315
  */
3105
3316
  InsufficientDataActions?: string[];
3106
3317
  /**
@@ -3289,7 +3500,7 @@ export interface MetricDatum {
3289
3500
  */
3290
3501
  MetricName: string | undefined;
3291
3502
  /**
3292
- * <p>The dimensions associated with the metric.</p>
3503
+ * <p>The dimensions associated with the metric. </p>
3293
3504
  */
3294
3505
  Dimensions?: Dimension[];
3295
3506
  /**
@@ -3347,7 +3558,8 @@ export interface MetricDatum {
3347
3558
  */
3348
3559
  export interface PutMetricDataInput {
3349
3560
  /**
3350
- * <p>The namespace for the metric data.</p>
3561
+ * <p>The namespace for the metric data. You can use ASCII characters for the namespace, except for
3562
+ * control characters which are not supported.</p>
3351
3563
  * <p>To avoid conflicts
3352
3564
  * with Amazon Web Services service namespaces, you should not specify a namespace that begins with <code>AWS/</code>
3353
3565
  * </p>
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch Client for Node.js, Browser and React Native",
4
- "version": "3.298.0",
4
+ "version": "3.299.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,22 +21,22 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.299.0",
25
+ "@aws-sdk/config-resolver": "3.299.0",
26
+ "@aws-sdk/credential-provider-node": "3.299.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
35
  "@aws-sdk/middleware-retry": "3.296.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
40
  "@aws-sdk/node-config-provider": "3.296.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.299.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.299.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "@aws-sdk/util-waiter": "3.296.0",
57
57
  "fast-xml-parser": "4.1.2",