Skip to content

Commit 9de6292

Browse files
chore: Updates version to 1.7.36
1 parent e61990f commit 9de6292

14 files changed

Lines changed: 1867 additions & 267 deletions

File tree

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import PackageDescription
1515

1616
// MARK: - Dynamic Content
1717

18-
let clientRuntimeVersion: Version = "0.231.0"
18+
let clientRuntimeVersion: Version = "0.232.0"
1919
let crtVersion: Version = "0.63.0"
2020

2121
let excludeRuntimeUnitTests = false

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.35
1+
1.7.36

Package.version.next

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.36
1+
1.7.37

Sources/Core/AWSSDKDynamic/Sources/AWSSDKDynamic/PackageVersion.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
// Code is auto-generated. DO NOT EDIT!
99

10-
public let packageVersion = "1.7.35"
10+
public let packageVersion = "1.7.36"

Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Models.swift

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,8 @@ extension CloudWatchClientTypes {
688688

689689
/// An anomaly detection model associated with a particular CloudWatch metric, statistic, or metric math expression. You can use the model to display a band of expected, normal values when the metric is graphed. If you have enabled unified cross-account observability, and this account is a monitoring account, the metric can be in the same account or a source account.
690690
public struct AnomalyDetector: Swift.Sendable {
691+
/// The unique identifier of the anomaly detector. The identifier does not restrict access to a specific anomaly detector in an IAM policy. Permissions for anomaly detector operations apply to all anomaly detectors in the account.
692+
public var anomalyDetectorId: Swift.String?
691693
/// The configuration specifies details about how the anomaly detection model is to be trained, including time ranges to exclude from use for training the model, and the time zone to use for the metric.
692694
public var configuration: CloudWatchClientTypes.AnomalyDetectorConfiguration?
693695
/// The metric dimensions associated with the anomaly detection model.
@@ -712,6 +714,7 @@ extension CloudWatchClientTypes {
712714
public var stateValue: CloudWatchClientTypes.AnomalyDetectorStateValue?
713715

714716
public init(
717+
anomalyDetectorId: Swift.String? = nil,
715718
configuration: CloudWatchClientTypes.AnomalyDetectorConfiguration? = nil,
716719
dimensions: [CloudWatchClientTypes.Dimension]? = nil,
717720
metricCharacteristics: CloudWatchClientTypes.MetricCharacteristics? = nil,
@@ -722,6 +725,7 @@ extension CloudWatchClientTypes {
722725
stat: Swift.String? = nil,
723726
stateValue: CloudWatchClientTypes.AnomalyDetectorStateValue? = nil
724727
) {
728+
self.anomalyDetectorId = anomalyDetectorId
725729
self.configuration = configuration
726730
self.dimensions = dimensions
727731
self.metricCharacteristics = metricCharacteristics
@@ -1429,6 +1433,8 @@ public struct MissingRequiredParameterException: ClientRuntime.ModeledError, Cli
14291433
}
14301434

14311435
public struct DeleteAnomalyDetectorInput: Swift.Sendable {
1436+
/// Specifies the unique identifier of the anomaly detector to delete. If you specify this parameter, you do not need to specify a metric to identify the detector.
1437+
public var anomalyDetectorId: Swift.String?
14321438
/// The metric dimensions associated with the anomaly detection model to delete.
14331439
@available(*, deprecated, message: "Use SingleMetricAnomalyDetector.")
14341440
public var dimensions: [CloudWatchClientTypes.Dimension]?
@@ -1473,13 +1479,15 @@ public struct DeleteAnomalyDetectorInput: Swift.Sendable {
14731479
public var stat: Swift.String?
14741480

14751481
public init(
1482+
anomalyDetectorId: Swift.String? = nil,
14761483
dimensions: [CloudWatchClientTypes.Dimension]? = nil,
14771484
metricMathAnomalyDetector: CloudWatchClientTypes.MetricMathAnomalyDetector? = nil,
14781485
metricName: Swift.String? = nil,
14791486
namespace: Swift.String? = nil,
14801487
singleMetricAnomalyDetector: CloudWatchClientTypes.SingleMetricAnomalyDetector? = nil,
14811488
stat: Swift.String? = nil
14821489
) {
1490+
self.anomalyDetectorId = anomalyDetectorId
14831491
self.dimensions = dimensions
14841492
self.metricMathAnomalyDetector = metricMathAnomalyDetector
14851493
self.metricName = metricName
@@ -2251,6 +2259,8 @@ public struct DescribeAlarmsForMetricOutput: Swift.Sendable {
22512259
}
22522260

22532261
public struct DescribeAnomalyDetectorsInput: Swift.Sendable {
2262+
/// Specifies the unique identifiers of the anomaly detectors to describe. You can specify up to 50 identifiers. If you specify this parameter, you cannot also specify the Namespace, MetricName, Dimensions, or AnomalyDetectorTypes metric filters.
2263+
public var anomalyDetectorIds: [Swift.String]?
22542264
/// The anomaly detector types to request when using DescribeAnomalyDetectorsInput. If empty, defaults to SINGLE_METRIC.
22552265
public var anomalyDetectorTypes: [CloudWatchClientTypes.AnomalyDetectorType]?
22562266
/// Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.
@@ -2265,13 +2275,15 @@ public struct DescribeAnomalyDetectorsInput: Swift.Sendable {
22652275
public var nextToken: Swift.String?
22662276

22672277
public init(
2278+
anomalyDetectorIds: [Swift.String]? = nil,
22682279
anomalyDetectorTypes: [CloudWatchClientTypes.AnomalyDetectorType]? = nil,
22692280
dimensions: [CloudWatchClientTypes.Dimension]? = nil,
22702281
maxResults: Swift.Int? = nil,
22712282
metricName: Swift.String? = nil,
22722283
namespace: Swift.String? = nil,
22732284
nextToken: Swift.String? = nil
22742285
) {
2286+
self.anomalyDetectorIds = anomalyDetectorIds
22752287
self.anomalyDetectorTypes = anomalyDetectorTypes
22762288
self.dimensions = dimensions
22772289
self.maxResults = maxResults
@@ -3967,8 +3979,14 @@ public struct PutAnomalyDetectorInput: Swift.Sendable {
39673979
}
39683980

39693981
public struct PutAnomalyDetectorOutput: Swift.Sendable {
3982+
/// The unique identifier of the anomaly detector that you created or updated.
3983+
public var anomalyDetectorId: Swift.String?
39703984

3971-
public init() { }
3985+
public init(
3986+
anomalyDetectorId: Swift.String? = nil
3987+
) {
3988+
self.anomalyDetectorId = anomalyDetectorId
3989+
}
39723990
}
39733991

39743992
public struct PutCompositeAlarmInput: Swift.Sendable {

Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/Paginators.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ extension CloudWatchClient {
9393
extension DescribeAnomalyDetectorsInput: ClientRuntime.PaginateToken {
9494
public func usingPaginationToken(_ token: Swift.String) -> DescribeAnomalyDetectorsInput {
9595
return DescribeAnomalyDetectorsInput(
96+
anomalyDetectorIds: self.anomalyDetectorIds,
9697
anomalyDetectorTypes: self.anomalyDetectorTypes,
9798
dimensions: self.dimensions,
9899
maxResults: self.maxResults,

0 commit comments

Comments
 (0)