Skip to content

Commit

Permalink
chore: Updates version to 1.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Jan 31, 2025
1 parent 5bc197d commit 445c23c
Show file tree
Hide file tree
Showing 410 changed files with 651 additions and 480 deletions.
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.8
1.2.9
2 changes: 1 addition & 1 deletion Package.version.next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.9
1.2.10
2 changes: 1 addition & 1 deletion Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ACMClient: ClientRuntime.Client {
public static let clientName = "ACMClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: ACMClient.ACMClientConfiguration
let serviceName = "ACM"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ACMPCAClient: ClientRuntime.Client {
public static let clientName = "ACMPCAClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: ACMPCAClient.ACMPCAClientConfiguration
let serviceName = "ACM PCA"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class APIGatewayClient: ClientRuntime.Client {
public static let clientName = "APIGatewayClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: APIGatewayClient.APIGatewayClientConfiguration
let serviceName = "API Gateway"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ARCZonalShiftClient: ClientRuntime.Client {
public static let clientName = "ARCZonalShiftClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: ARCZonalShiftClient.ARCZonalShiftClientConfiguration
let serviceName = "ARC Zonal Shift"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AccessAnalyzerClient: ClientRuntime.Client {
public static let clientName = "AccessAnalyzerClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AccessAnalyzerClient.AccessAnalyzerClientConfiguration
let serviceName = "AccessAnalyzer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AccountClient: ClientRuntime.Client {
public static let clientName = "AccountClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AccountClient.AccountClientConfiguration
let serviceName = "Account"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AmpClient: ClientRuntime.Client {
public static let clientName = "AmpClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AmpClient.AmpClientConfiguration
let serviceName = "amp"
Expand Down
56 changes: 56 additions & 0 deletions Sources/Services/AWSAmp/Sources/AWSAmp/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,25 @@ extension AmpClientTypes {
}
}

extension AmpClientTypes {

/// To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.
public struct RoleConfiguration: Swift.Sendable {
/// A ARN identifying the source role configuration.
public var sourceRoleArn: Swift.String?
/// A ARN identifying the target role configuration.
public var targetRoleArn: Swift.String?

public init(
sourceRoleArn: Swift.String? = nil,
targetRoleArn: Swift.String? = nil
) {
self.sourceRoleArn = sourceRoleArn
self.targetRoleArn = targetRoleArn
}
}
}

extension AmpClientTypes {

/// 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.
Expand Down Expand Up @@ -685,6 +704,8 @@ public struct CreateScraperInput: Swift.Sendable {
/// The Amazon Managed Service for Prometheus workspace to send metrics to.
/// This member is required.
public var destination: AmpClientTypes.Destination?
/// The scraper role configuration for the workspace.
public var roleConfiguration: AmpClientTypes.RoleConfiguration?
/// 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.
/// This member is required.
public var scrapeConfiguration: AmpClientTypes.ScrapeConfiguration?
Expand All @@ -698,13 +719,15 @@ public struct CreateScraperInput: Swift.Sendable {
alias: Swift.String? = nil,
clientToken: Swift.String? = nil,
destination: AmpClientTypes.Destination? = nil,
roleConfiguration: AmpClientTypes.RoleConfiguration? = nil,
scrapeConfiguration: AmpClientTypes.ScrapeConfiguration? = nil,
source: AmpClientTypes.Source? = nil,
tags: [Swift.String: Swift.String]? = nil
) {
self.alias = alias
self.clientToken = clientToken
self.destination = destination
self.roleConfiguration = roleConfiguration
self.scrapeConfiguration = scrapeConfiguration
self.source = source
self.tags = tags
Expand Down Expand Up @@ -875,6 +898,8 @@ extension AmpClientTypes {
/// 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.
/// This member is required.
public var roleArn: Swift.String?
/// To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.
public var roleConfiguration: AmpClientTypes.RoleConfiguration?
/// The configuration in use by the scraper.
/// This member is required.
public var scrapeConfiguration: AmpClientTypes.ScrapeConfiguration?
Expand All @@ -899,6 +924,7 @@ extension AmpClientTypes {
destination: AmpClientTypes.Destination? = nil,
lastModifiedAt: Foundation.Date? = nil,
roleArn: Swift.String? = nil,
roleConfiguration: AmpClientTypes.RoleConfiguration? = nil,
scrapeConfiguration: AmpClientTypes.ScrapeConfiguration? = nil,
scraperId: Swift.String? = nil,
source: AmpClientTypes.Source? = nil,
Expand All @@ -912,6 +938,7 @@ extension AmpClientTypes {
self.destination = destination
self.lastModifiedAt = lastModifiedAt
self.roleArn = roleArn
self.roleConfiguration = roleConfiguration
self.scrapeConfiguration = scrapeConfiguration
self.scraperId = scraperId
self.source = source
Expand Down Expand Up @@ -976,6 +1003,8 @@ extension AmpClientTypes {
/// The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to discover and collect metrics on your behalf.
/// This member is required.
public var roleArn: Swift.String?
/// To configure roles that allows users to write to an Amazon Managed Service for Prometheus workspace in a different account.
public var roleConfiguration: AmpClientTypes.RoleConfiguration?
/// The ID of the scraper.
/// This member is required.
public var scraperId: Swift.String?
Expand All @@ -997,6 +1026,7 @@ extension AmpClientTypes {
destination: AmpClientTypes.Destination? = nil,
lastModifiedAt: Foundation.Date? = nil,
roleArn: Swift.String? = nil,
roleConfiguration: AmpClientTypes.RoleConfiguration? = nil,
scraperId: Swift.String? = nil,
source: AmpClientTypes.Source? = nil,
status: AmpClientTypes.ScraperStatus? = nil,
Expand All @@ -1009,6 +1039,7 @@ extension AmpClientTypes {
self.destination = destination
self.lastModifiedAt = lastModifiedAt
self.roleArn = roleArn
self.roleConfiguration = roleConfiguration
self.scraperId = scraperId
self.source = source
self.status = status
Expand Down Expand Up @@ -1042,6 +1073,8 @@ public struct UpdateScraperInput: Swift.Sendable {
public var clientToken: Swift.String?
/// The new Amazon Managed Service for Prometheus workspace to send metrics to.
public var destination: AmpClientTypes.Destination?
/// The scraper role configuration for the workspace.
public var roleConfiguration: AmpClientTypes.RoleConfiguration?
/// 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.
public var scrapeConfiguration: AmpClientTypes.ScrapeConfiguration?
/// The ID of the scraper to update.
Expand All @@ -1052,12 +1085,14 @@ public struct UpdateScraperInput: Swift.Sendable {
alias: Swift.String? = nil,
clientToken: Swift.String? = nil,
destination: AmpClientTypes.Destination? = nil,
roleConfiguration: AmpClientTypes.RoleConfiguration? = nil,
scrapeConfiguration: AmpClientTypes.ScrapeConfiguration? = nil,
scraperId: Swift.String? = nil
) {
self.alias = alias
self.clientToken = clientToken
self.destination = destination
self.roleConfiguration = roleConfiguration
self.scrapeConfiguration = scrapeConfiguration
self.scraperId = scraperId
}
Expand Down Expand Up @@ -2459,6 +2494,7 @@ extension CreateScraperInput {
try writer["alias"].write(value.alias)
try writer["clientToken"].write(value.clientToken)
try writer["destination"].write(value.destination, with: AmpClientTypes.Destination.write(value:to:))
try writer["roleConfiguration"].write(value.roleConfiguration, with: AmpClientTypes.RoleConfiguration.write(value:to:))
try writer["scrapeConfiguration"].write(value.scrapeConfiguration, with: AmpClientTypes.ScrapeConfiguration.write(value:to:))
try writer["source"].write(value.source, with: AmpClientTypes.Source.write(value:to:))
try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false)
Expand Down Expand Up @@ -2518,6 +2554,7 @@ extension UpdateScraperInput {
try writer["alias"].write(value.alias)
try writer["clientToken"].write(value.clientToken)
try writer["destination"].write(value.destination, with: AmpClientTypes.Destination.write(value:to:))
try writer["roleConfiguration"].write(value.roleConfiguration, with: AmpClientTypes.RoleConfiguration.write(value:to:))
try writer["scrapeConfiguration"].write(value.scrapeConfiguration, with: AmpClientTypes.ScrapeConfiguration.write(value:to:))
}
}
Expand Down Expand Up @@ -3563,6 +3600,24 @@ extension AmpClientTypes.ScraperDescription {
value.scrapeConfiguration = try reader["scrapeConfiguration"].readIfPresent(with: AmpClientTypes.ScrapeConfiguration.read(from:))
value.source = try reader["source"].readIfPresent(with: AmpClientTypes.Source.read(from:))
value.destination = try reader["destination"].readIfPresent(with: AmpClientTypes.Destination.read(from:))
value.roleConfiguration = try reader["roleConfiguration"].readIfPresent(with: AmpClientTypes.RoleConfiguration.read(from:))
return value
}
}

extension AmpClientTypes.RoleConfiguration {

static func write(value: AmpClientTypes.RoleConfiguration?, to writer: SmithyJSON.Writer) throws {
guard let value else { return }
try writer["sourceRoleArn"].write(value.sourceRoleArn)
try writer["targetRoleArn"].write(value.targetRoleArn)
}

static func read(from reader: SmithyJSON.Reader) throws -> AmpClientTypes.RoleConfiguration {
guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent }
var value = AmpClientTypes.RoleConfiguration()
value.sourceRoleArn = try reader["sourceRoleArn"].readIfPresent()
value.targetRoleArn = try reader["targetRoleArn"].readIfPresent()
return value
}
}
Expand Down Expand Up @@ -3721,6 +3776,7 @@ extension AmpClientTypes.ScraperSummary {
value.statusReason = try reader["statusReason"].readIfPresent()
value.source = try reader["source"].readIfPresent(with: AmpClientTypes.Source.read(from:))
value.destination = try reader["destination"].readIfPresent(with: AmpClientTypes.Destination.read(from:))
value.roleConfiguration = try reader["roleConfiguration"].readIfPresent(with: AmpClientTypes.RoleConfiguration.read(from:))
return value
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AmplifyClient: ClientRuntime.Client {
public static let clientName = "AmplifyClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AmplifyClient.AmplifyClientConfiguration
let serviceName = "Amplify"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AmplifyBackendClient: ClientRuntime.Client {
public static let clientName = "AmplifyBackendClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AmplifyBackendClient.AmplifyBackendClientConfiguration
let serviceName = "AmplifyBackend"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AmplifyUIBuilderClient: ClientRuntime.Client {
public static let clientName = "AmplifyUIBuilderClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AmplifyUIBuilderClient.AmplifyUIBuilderClientConfiguration
let serviceName = "AmplifyUIBuilder"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ApiGatewayManagementApiClient: ClientRuntime.Client {
public static let clientName = "ApiGatewayManagementApiClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: ApiGatewayManagementApiClient.ApiGatewayManagementApiClientConfiguration
let serviceName = "ApiGatewayManagementApi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ApiGatewayV2Client: ClientRuntime.Client {
public static let clientName = "ApiGatewayV2Client"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: ApiGatewayV2Client.ApiGatewayV2ClientConfiguration
let serviceName = "ApiGatewayV2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppConfigClient: ClientRuntime.Client {
public static let clientName = "AppConfigClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppConfigClient.AppConfigClientConfiguration
let serviceName = "AppConfig"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppConfigDataClient: ClientRuntime.Client {
public static let clientName = "AppConfigDataClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppConfigDataClient.AppConfigDataClientConfiguration
let serviceName = "AppConfigData"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppFabricClient: ClientRuntime.Client {
public static let clientName = "AppFabricClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppFabricClient.AppFabricClientConfiguration
let serviceName = "AppFabric"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppIntegrationsClient: ClientRuntime.Client {
public static let clientName = "AppIntegrationsClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppIntegrationsClient.AppIntegrationsClientConfiguration
let serviceName = "AppIntegrations"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppMeshClient: ClientRuntime.Client {
public static let clientName = "AppMeshClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppMeshClient.AppMeshClientConfiguration
let serviceName = "App Mesh"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppRunnerClient: ClientRuntime.Client {
public static let clientName = "AppRunnerClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppRunnerClient.AppRunnerClientConfiguration
let serviceName = "AppRunner"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppStreamClient: ClientRuntime.Client {
public static let clientName = "AppStreamClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppStreamClient.AppStreamClientConfiguration
let serviceName = "AppStream"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppSyncClient: ClientRuntime.Client {
public static let clientName = "AppSyncClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppSyncClient.AppSyncClientConfiguration
let serviceName = "AppSync"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppTestClient: ClientRuntime.Client {
public static let clientName = "AppTestClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppTestClient.AppTestClientConfiguration
let serviceName = "AppTest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class AppflowClient: ClientRuntime.Client {
public static let clientName = "AppflowClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: AppflowClient.AppflowClientConfiguration
let serviceName = "Appflow"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ApplicationAutoScalingClient: ClientRuntime.Client {
public static let clientName = "ApplicationAutoScalingClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: ApplicationAutoScalingClient.ApplicationAutoScalingClientConfiguration
let serviceName = "Application Auto Scaling"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes

public class ApplicationCostProfilerClient: ClientRuntime.Client {
public static let clientName = "ApplicationCostProfilerClient"
public static let version = "1.2.8"
public static let version = "1.2.9"
let client: ClientRuntime.SdkHttpClient
let config: ApplicationCostProfilerClient.ApplicationCostProfilerClientConfiguration
let serviceName = "ApplicationCostProfiler"
Expand Down
Loading

0 comments on commit 445c23c

Please sign in to comment.