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/Models.swift
+56
Original file line number
Diff line number
Diff line change
@@ -631,6 +631,25 @@ extension AmpClientTypes {
631
631
}
632
632
}
633
633
634
+
extensionAmpClientTypes{
635
+
636
+
/// To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.
637
+
publicstructRoleConfiguration:Swift.Sendable{
638
+
/// A ARN identifying the source role configuration.
639
+
publicvarsourceRoleArn:Swift.String?
640
+
/// A ARN identifying the target role configuration.
641
+
publicvartargetRoleArn:Swift.String?
642
+
643
+
publicinit(
644
+
sourceRoleArn:Swift.String?=nil,
645
+
targetRoleArn:Swift.String?=nil
646
+
){
647
+
self.sourceRoleArn = sourceRoleArn
648
+
self.targetRoleArn = targetRoleArn
649
+
}
650
+
}
651
+
}
652
+
634
653
extensionAmpClientTypes{
635
654
636
655
/// A scrape configuration for a scraper, base 64 encoded. 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.
@@ -685,6 +704,8 @@ public struct CreateScraperInput: Swift.Sendable {
685
704
/// The Amazon Managed Service for Prometheus workspace to send metrics to.
686
705
/// This member is required.
687
706
publicvardestination:AmpClientTypes.Destination?
707
+
/// The scraper role configuration for the workspace.
/// 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 Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf. For example, arn:aws:iam::123456789012:role/service-role/AmazonGrafanaServiceRole-12example.
876
899
/// This member is required.
877
900
publicvarroleArn:Swift.String?
901
+
/// To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.
/// Contains the base-64 encoded YAML configuration for the scraper. For more information about configuring a 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.
Copy file name to clipboardExpand all lines: Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift
0 commit comments