Skip to content

Commit 2227947

Browse files
chore: Updates version to 1.5.83
1 parent 99c0e64 commit 2227947

File tree

18 files changed

+2375
-202
lines changed

18 files changed

+2375
-202
lines changed

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.82
1+
1.5.83

Package.version.next

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.83
1+
1.5.84

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.5.82"
10+
public let packageVersion = "1.5.83"

Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ extension AmpClient {
665665

666666
/// Performs the `CreateRuleGroupsNamespace` operation on the `Amp` service.
667667
///
668-
/// The CreateRuleGroupsNamespace operation creates a rule groups namespace within a workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces. Use this operation only to create new rule groups namespaces. To update an existing rule groups namespace, use PutRuleGroupsNamespace.
668+
/// The CreateRuleGroupsNamespace operation creates a rule groups namespace within a workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces. The combined length of a rule group namespace and a rule group name cannot exceed 721 UTF-8 bytes. Use this operation only to create new rule groups namespaces. To update an existing rule groups namespace, use PutRuleGroupsNamespace.
669669
///
670670
/// - Parameter input: Represents the input of a CreateRuleGroupsNamespace operation. (Type: `CreateRuleGroupsNamespaceInput`)
671671
///
@@ -740,7 +740,7 @@ extension AmpClient {
740740

741741
/// Performs the `CreateScraper` operation on the `Amp` service.
742742
///
743-
/// The CreateScraper operation creates a scraper to collect metrics. A scraper pulls metrics from Prometheus-compatible sources within an Amazon EKS cluster, and sends them to your Amazon Managed Service for Prometheus workspace. Scrapers are flexible, and can be configured to control what metrics are collected, the frequency of collection, what transformations are applied to the metrics, and more. An IAM role will be created for you that Amazon Managed Service for Prometheus uses to access the metrics in your cluster. You must configure this role with a policy that allows it to scrape metrics from your cluster. For more information, see [Configuring your Amazon EKS cluster](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup) in the Amazon Managed Service for Prometheus User Guide. The scrapeConfiguration parameter contains the base-64 encoded YAML configuration for the scraper. When creating a scraper, the service creates a Network Interface in each Availability Zone that are passed into CreateScraper through subnets. These network interfaces are used to connect to the Amazon EKS cluster within the VPC for scraping metrics. For more information about collectors, including what metrics are collected, and how to configure the scraper, see [Using an Amazon Web Services managed collector](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html) in the Amazon Managed Service for Prometheus User Guide.
743+
/// The CreateScraper operation creates a scraper to collect metrics. A scraper pulls metrics from Prometheus-compatible sources and sends them to your Amazon Managed Service for Prometheus workspace. You can configure scrapers to collect metrics from Amazon EKS clusters, Amazon MSK clusters, or from VPC-based sources that support DNS-based service discovery. Scrapers are flexible, and can be configured to control what metrics are collected, the frequency of collection, what transformations are applied to the metrics, and more. An IAM role will be created for you that Amazon Managed Service for Prometheus uses to access the metrics in your source. You must configure this role with a policy that allows it to scrape metrics from your source. For Amazon EKS sources, see [Configuring your Amazon EKS cluster](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-eks-setup) in the Amazon Managed Service for Prometheus User Guide. The scrapeConfiguration parameter contains the base-64 encoded YAML configuration for the scraper. When creating a scraper, the service creates a Network Interface in each Availability Zone that are passed into CreateScraper through subnets. These network interfaces are used to connect to your source within the VPC for scraping metrics. For more information about collectors, including what metrics are collected, and how to configure the scraper, see [Using an Amazon Web Services managed collector](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html) in the Amazon Managed Service for Prometheus User Guide.
744744
///
745745
/// - Parameter input: Represents the input of a CreateScraper operation. (Type: `CreateScraperInput`)
746746
///
@@ -2858,7 +2858,7 @@ extension AmpClient {
28582858

28592859
/// Performs the `PutRuleGroupsNamespace` operation on the `Amp` service.
28602860
///
2861-
/// Updates an existing rule groups namespace within a workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces. Use this operation only to update existing rule groups namespaces. To create a new rule groups namespace, use CreateRuleGroupsNamespace. You can't use this operation to add tags to an existing rule groups namespace. Instead, use TagResource.
2861+
/// Updates an existing rule groups namespace within a workspace. A rule groups namespace is associated with exactly one rules file. A workspace can have multiple rule groups namespaces. The combined length of a rule group namespace and a rule group name cannot exceed 721 UTF-8 bytes. Use this operation only to update existing rule groups namespaces. To create a new rule groups namespace, use CreateRuleGroupsNamespace. You can't use this operation to add tags to an existing rule groups namespace. Instead, use TagResource.
28622862
///
28632863
/// - Parameter input: Represents the input of a PutRuleGroupsNamespace operation. (Type: `PutRuleGroupsNamespaceInput`)
28642864
///

Sources/Services/AWSAmp/Sources/AWSAmp/Models.swift

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,12 +705,35 @@ extension AmpClientTypes {
705705
}
706706
}
707707

708+
extension AmpClientTypes {
709+
710+
/// The Amazon VPC configuration that specifies the network settings for a Prometheus collector to securely connect to Amazon MSK clusters. This configuration includes the security groups and subnets that control network access and placement for the collector.
711+
public struct VpcConfiguration: Swift.Sendable {
712+
/// The security group IDs that control network access for the Prometheus collector. These security groups must allow the collector to communicate with your Amazon MSK cluster on the required ports.
713+
/// This member is required.
714+
public var securityGroupIds: [Swift.String]?
715+
/// The subnet IDs where the Prometheus collector will be deployed. The subnets must be in the same Amazon VPC as your Amazon MSK cluster and have network connectivity to the cluster.
716+
/// This member is required.
717+
public var subnetIds: [Swift.String]?
718+
719+
public init(
720+
securityGroupIds: [Swift.String]? = nil,
721+
subnetIds: [Swift.String]? = nil
722+
) {
723+
self.securityGroupIds = securityGroupIds
724+
self.subnetIds = subnetIds
725+
}
726+
}
727+
}
728+
708729
extension AmpClientTypes {
709730

710731
/// The source of collected metrics for a scraper.
711732
public enum Source: Swift.Sendable {
712733
/// The Amazon EKS cluster from which a scraper collects metrics.
713734
case eksconfiguration(AmpClientTypes.EksConfiguration)
735+
/// The Amazon VPC configuration for the Prometheus collector when connecting to Amazon MSK clusters. This configuration enables secure, private network connectivity between the collector and your Amazon MSK cluster within your Amazon VPC.
736+
case vpcconfiguration(AmpClientTypes.VpcConfiguration)
714737
case sdkUnknown(Swift.String)
715738
}
716739
}
@@ -729,7 +752,7 @@ public struct CreateScraperInput: Swift.Sendable {
729752
/// The configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration) in the Amazon Managed Service for Prometheus User Guide.
730753
/// This member is required.
731754
public var scrapeConfiguration: AmpClientTypes.ScrapeConfiguration?
732-
/// The Amazon EKS cluster from which the scraper will collect metrics.
755+
/// The Amazon EKS or Amazon Web Services cluster from which the scraper will collect metrics.
733756
/// This member is required.
734757
public var source: AmpClientTypes.Source?
735758
/// (Optional) The list of tag keys and values to associate with the scraper.
@@ -5996,6 +6019,8 @@ extension AmpClientTypes.Source {
59966019
switch value {
59976020
case let .eksconfiguration(eksconfiguration):
59986021
try writer["eksConfiguration"].write(eksconfiguration, with: AmpClientTypes.EksConfiguration.write(value:to:))
6022+
case let .vpcconfiguration(vpcconfiguration):
6023+
try writer["vpcConfiguration"].write(vpcconfiguration, with: AmpClientTypes.VpcConfiguration.write(value:to:))
59996024
case let .sdkUnknown(sdkUnknown):
60006025
try writer["sdkUnknown"].write(sdkUnknown)
60016026
}
@@ -6007,12 +6032,31 @@ extension AmpClientTypes.Source {
60076032
switch name {
60086033
case "eksConfiguration":
60096034
return .eksconfiguration(try reader["eksConfiguration"].read(with: AmpClientTypes.EksConfiguration.read(from:)))
6035+
case "vpcConfiguration":
6036+
return .vpcconfiguration(try reader["vpcConfiguration"].read(with: AmpClientTypes.VpcConfiguration.read(from:)))
60106037
default:
60116038
return .sdkUnknown(name ?? "")
60126039
}
60136040
}
60146041
}
60156042

6043+
extension AmpClientTypes.VpcConfiguration {
6044+
6045+
static func write(value: AmpClientTypes.VpcConfiguration?, to writer: SmithyJSON.Writer) throws {
6046+
guard let value else { return }
6047+
try writer["securityGroupIds"].writeList(value.securityGroupIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false)
6048+
try writer["subnetIds"].writeList(value.subnetIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false)
6049+
}
6050+
6051+
static func read(from reader: SmithyJSON.Reader) throws -> AmpClientTypes.VpcConfiguration {
6052+
guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent }
6053+
var value = AmpClientTypes.VpcConfiguration()
6054+
value.securityGroupIds = try reader["securityGroupIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) ?? []
6055+
value.subnetIds = try reader["subnetIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) ?? []
6056+
return value
6057+
}
6058+
}
6059+
60166060
extension AmpClientTypes.EksConfiguration {
60176061

60186062
static func write(value: AmpClientTypes.EksConfiguration?, to writer: SmithyJSON.Writer) throws {

Sources/Services/AWSConnect/Sources/AWSConnect/Models.swift

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9061,7 +9061,12 @@ extension ConnectClientTypes {
90619061
/// The name for the authentication profile.
90629062
public var name: Swift.String?
90639063
/// The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, see [Configure the session duration](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts) in the Amazon Connect Administrator Guide.
9064+
@available(*, deprecated, message: "PeriodicSessionDuration is deprecated. Use SessionInactivityDuration instead. API deprecated since 10/31/2025")
90649065
public var periodicSessionDuration: Swift.Int?
9066+
/// The period, in minutes, before an agent is automatically signed out of the contact center when they go inactive.
9067+
public var sessionInactivityDuration: Swift.Int?
9068+
/// Determines if automatic logout on user inactivity is enabled.
9069+
public var sessionInactivityHandlingEnabled: Swift.Bool?
90659070

90669071
public init(
90679072
allowedIps: [Swift.String]? = nil,
@@ -9075,7 +9080,9 @@ extension ConnectClientTypes {
90759080
lastModifiedTime: Foundation.Date? = nil,
90769081
maxSessionDuration: Swift.Int? = nil,
90779082
name: Swift.String? = nil,
9078-
periodicSessionDuration: Swift.Int? = nil
9083+
periodicSessionDuration: Swift.Int? = nil,
9084+
sessionInactivityDuration: Swift.Int? = nil,
9085+
sessionInactivityHandlingEnabled: Swift.Bool? = false
90799086
) {
90809087
self.allowedIps = allowedIps
90819088
self.arn = arn
@@ -9089,6 +9096,8 @@ extension ConnectClientTypes {
90899096
self.maxSessionDuration = maxSessionDuration
90909097
self.name = name
90919098
self.periodicSessionDuration = periodicSessionDuration
9099+
self.sessionInactivityDuration = sessionInactivityDuration
9100+
self.sessionInactivityHandlingEnabled = sessionInactivityHandlingEnabled
90929101
}
90939102
}
90949103
}
@@ -24429,7 +24438,12 @@ public struct UpdateAuthenticationProfileInput: Swift.Sendable {
2442924438
/// The name for the authentication profile.
2443024439
public var name: Swift.String?
2443124440
/// The short lived session duration configuration for users logged in to Amazon Connect, in minutes. This value determines the maximum possible time before an agent is authenticated. For more information, For more information on how to configure IP addresses, see [Configure session timeouts](https://docs.aws.amazon.com/connect/latest/adminguide/authentication-profiles.html#configure-session-timeouts) in the Amazon Connect Administrator Guide.
24441+
@available(*, deprecated, message: "PeriodicSessionDuration is deprecated. Use SessionInactivityDuration instead. API deprecated since 10/31/2025")
2443224442
public var periodicSessionDuration: Swift.Int?
24443+
/// The period, in minutes, before an agent is automatically signed out of the contact center when they go inactive.
24444+
public var sessionInactivityDuration: Swift.Int?
24445+
/// Determines if automatic logout on user inactivity is enabled.
24446+
public var sessionInactivityHandlingEnabled: Swift.Bool?
2443324447

2443424448
public init(
2443524449
allowedIps: [Swift.String]? = nil,
@@ -24438,7 +24452,9 @@ public struct UpdateAuthenticationProfileInput: Swift.Sendable {
2443824452
description: Swift.String? = nil,
2443924453
instanceId: Swift.String? = nil,
2444024454
name: Swift.String? = nil,
24441-
periodicSessionDuration: Swift.Int? = nil
24455+
periodicSessionDuration: Swift.Int? = nil,
24456+
sessionInactivityDuration: Swift.Int? = nil,
24457+
sessionInactivityHandlingEnabled: Swift.Bool? = false
2444224458
) {
2444324459
self.allowedIps = allowedIps
2444424460
self.authenticationProfileId = authenticationProfileId
@@ -24447,6 +24463,8 @@ public struct UpdateAuthenticationProfileInput: Swift.Sendable {
2444724463
self.instanceId = instanceId
2444824464
self.name = name
2444924465
self.periodicSessionDuration = periodicSessionDuration
24466+
self.sessionInactivityDuration = sessionInactivityDuration
24467+
self.sessionInactivityHandlingEnabled = sessionInactivityHandlingEnabled
2445024468
}
2445124469
}
2445224470

@@ -34032,6 +34050,8 @@ extension UpdateAuthenticationProfileInput {
3403234050
try writer["Description"].write(value.description)
3403334051
try writer["Name"].write(value.name)
3403434052
try writer["PeriodicSessionDuration"].write(value.periodicSessionDuration)
34053+
try writer["SessionInactivityDuration"].write(value.sessionInactivityDuration)
34054+
try writer["SessionInactivityHandlingEnabled"].write(value.sessionInactivityHandlingEnabled)
3403534055
}
3403634056
}
3403734057

@@ -43515,6 +43535,8 @@ extension ConnectClientTypes.AuthenticationProfile {
4351543535
value.lastModifiedRegion = try reader["LastModifiedRegion"].readIfPresent()
4351643536
value.periodicSessionDuration = try reader["PeriodicSessionDuration"].readIfPresent()
4351743537
value.maxSessionDuration = try reader["MaxSessionDuration"].readIfPresent()
43538+
value.sessionInactivityDuration = try reader["SessionInactivityDuration"].readIfPresent()
43539+
value.sessionInactivityHandlingEnabled = try reader["SessionInactivityHandlingEnabled"].readIfPresent()
4351843540
return value
4351943541
}
4352043542
}

0 commit comments

Comments
 (0)