You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -665,7 +665,7 @@ extension AmpClient {
665
665
666
666
/// Performs the `CreateRuleGroupsNamespace` operation on the `Amp` service.
667
667
///
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.
669
669
///
670
670
/// - Parameter input: Represents the input of a CreateRuleGroupsNamespace operation. (Type: `CreateRuleGroupsNamespaceInput`)
671
671
///
@@ -740,7 +740,7 @@ extension AmpClient {
740
740
741
741
/// Performs the `CreateScraper` operation on the `Amp` service.
742
742
///
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.
744
744
///
745
745
/// - Parameter input: Represents the input of a CreateScraper operation. (Type: `CreateScraperInput`)
746
746
///
@@ -2858,7 +2858,7 @@ extension AmpClient {
2858
2858
2859
2859
/// Performs the `PutRuleGroupsNamespace` operation on the `Amp` service.
2860
2860
///
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.
2862
2862
///
2863
2863
/// - Parameter input: Represents the input of a PutRuleGroupsNamespace operation. (Type: `PutRuleGroupsNamespaceInput`)
Copy file name to clipboardExpand all lines: Sources/Services/AWSAmp/Sources/AWSAmp/Models.swift
+45-1Lines changed: 45 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -705,12 +705,35 @@ extension AmpClientTypes {
705
705
}
706
706
}
707
707
708
+
extensionAmpClientTypes{
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
+
publicstructVpcConfiguration: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
+
publicvarsecurityGroupIds:[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
+
publicvarsubnetIds:[Swift.String]?
718
+
719
+
publicinit(
720
+
securityGroupIds:[Swift.String]?=nil,
721
+
subnetIds:[Swift.String]?=nil
722
+
){
723
+
self.securityGroupIds = securityGroupIds
724
+
self.subnetIds = subnetIds
725
+
}
726
+
}
727
+
}
728
+
708
729
extensionAmpClientTypes{
709
730
710
731
/// The source of collected metrics for a scraper.
711
732
publicenumSource:Swift.Sendable{
712
733
/// The Amazon EKS cluster from which a scraper collects metrics.
713
734
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)
714
737
case sdkUnknown(Swift.String)
715
738
}
716
739
}
@@ -729,7 +752,7 @@ public struct CreateScraperInput: Swift.Sendable {
729
752
/// 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.
/// 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")
9064
9065
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?
@@ -24429,7 +24438,12 @@ public struct UpdateAuthenticationProfileInput: Swift.Sendable {
24429
24438
/// The name for the authentication profile.
24430
24439
public var name: Swift.String?
24431
24440
/// 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")
24432
24442
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?
24433
24447
24434
24448
public init(
24435
24449
allowedIps: [Swift.String]? = nil,
@@ -24438,7 +24452,9 @@ public struct UpdateAuthenticationProfileInput: Swift.Sendable {
0 commit comments