Skip to content

Commit

Permalink
chore: Updates version to 1.0.24
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Oct 21, 2024
1 parent 5ab7c14 commit 57b74db
Show file tree
Hide file tree
Showing 23 changed files with 1,324 additions and 174 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import PackageDescription

// MARK: - Dynamic Content

let clientRuntimeVersion: Version = "0.81.0"
let clientRuntimeVersion: Version = "0.82.0"
let crtVersion: Version = "0.36.0"

let excludeRuntimeUnitTests = false
Expand Down
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.23
1.0.24
2 changes: 1 addition & 1 deletion Package.version.next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.24
1.0.25
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ A pure-Swift SDK for accessing all published AWS services.

## Overview

**The AWS SDK for Swift is currently in developer preview and is intended strictly for feedback purposes only. Do not use this SDK for production workloads. Refer to the SDK [stability guidelines](docs/stability.md) for more detail.**

This SDK is open-source. Code is available on Github [here](https://github.com/awslabs/aws-sdk-swift).


Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/Models.swift

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2771,7 +2771,7 @@ extension BedrockAgentRuntimeClientTypes {

/// The foundation model output from the orchestration step.
public struct OrchestrationModelInvocationOutput: Swift.Sendable {
/// Contains information about the foundation model output.
/// Contains information about the foundation model output from the orchestration step.
public var metadata: BedrockAgentRuntimeClientTypes.Metadata?
/// Contains details of the raw response from the foundation model output.
public var rawResponse: BedrockAgentRuntimeClientTypes.RawResponse?
Expand Down Expand Up @@ -3090,11 +3090,11 @@ extension BedrockAgentRuntimeClientTypes {

/// The foundation model output from the post-processing step.
public struct PostProcessingModelInvocationOutput: Swift.Sendable {
/// Provides details of the foundation model.
/// Contains information about the foundation model output from the post-processing step.
public var metadata: BedrockAgentRuntimeClientTypes.Metadata?
/// Details about the response from the Lambda parsing of the output of the post-processing step.
public var parsedResponse: BedrockAgentRuntimeClientTypes.PostProcessingParsedResponse?
/// Contains the raw output from the foundation model.
/// Details of the raw response from the foundation model output.
public var rawResponse: BedrockAgentRuntimeClientTypes.RawResponse?
/// The unique identifier of the trace.
public var traceId: Swift.String?
Expand Down Expand Up @@ -3168,11 +3168,11 @@ extension BedrockAgentRuntimeClientTypes {

/// The foundation model output from the pre-processing step.
public struct PreProcessingModelInvocationOutput: Swift.Sendable {
/// Provides details of the foundation model.
/// Contains information about the foundation model output from the pre-processing step.
public var metadata: BedrockAgentRuntimeClientTypes.Metadata?
/// Details about the response from the Lambda parsing of the output of the pre-processing step.
public var parsedResponse: BedrockAgentRuntimeClientTypes.PreProcessingParsedResponse?
/// Contains the raw output from the foundation model.
/// Details of the raw response from the foundation model output.
public var rawResponse: BedrockAgentRuntimeClientTypes.RawResponse?
/// The unique identifier of the trace.
public var traceId: Swift.String?
Expand Down Expand Up @@ -3814,14 +3814,25 @@ extension BedrockAgentRuntimeClientTypes {

/// Settings for how the model processes the prompt prior to retrieval and generation.
public struct OrchestrationConfiguration: Swift.Sendable {
/// Additional model parameters and corresponding values not included in the textInferenceConfig structure for a knowledge base. This allows users to provide custom model parameters specific to the language model being used.
public var additionalModelRequestFields: [Swift.String: Smithy.Document]?
/// Configuration settings for inference when using RetrieveAndGenerate to generate responses while using a knowledge base as a source.
public var inferenceConfig: BedrockAgentRuntimeClientTypes.InferenceConfig?
/// Contains the template for the prompt that's sent to the model for response generation.
public var promptTemplate: BedrockAgentRuntimeClientTypes.PromptTemplate?
/// To split up the prompt and retrieve multiple sources, set the transformation type to QUERY_DECOMPOSITION.
/// This member is required.
public var queryTransformationConfiguration: BedrockAgentRuntimeClientTypes.QueryTransformationConfiguration?

public init(
additionalModelRequestFields: [Swift.String: Smithy.Document]? = nil,
inferenceConfig: BedrockAgentRuntimeClientTypes.InferenceConfig? = nil,
promptTemplate: BedrockAgentRuntimeClientTypes.PromptTemplate? = nil,
queryTransformationConfiguration: BedrockAgentRuntimeClientTypes.QueryTransformationConfiguration? = nil
)
{
self.additionalModelRequestFields = additionalModelRequestFields
self.inferenceConfig = inferenceConfig
self.promptTemplate = promptTemplate
self.queryTransformationConfiguration = queryTransformationConfiguration
}
}
Expand Down Expand Up @@ -6278,6 +6289,9 @@ extension BedrockAgentRuntimeClientTypes.OrchestrationConfiguration {

static func write(value: BedrockAgentRuntimeClientTypes.OrchestrationConfiguration?, to writer: SmithyJSON.Writer) throws {
guard let value else { return }
try writer["additionalModelRequestFields"].writeMap(value.additionalModelRequestFields, valueWritingClosure: SmithyReadWrite.WritingClosures.writeDocument(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false)
try writer["inferenceConfig"].write(value.inferenceConfig, with: BedrockAgentRuntimeClientTypes.InferenceConfig.write(value:to:))
try writer["promptTemplate"].write(value.promptTemplate, with: BedrockAgentRuntimeClientTypes.PromptTemplate.write(value:to:))
try writer["queryTransformationConfiguration"].write(value.queryTransformationConfiguration, with: BedrockAgentRuntimeClientTypes.QueryTransformationConfiguration.write(value:to:))
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,38 @@ extension DatabaseMigrationClientTypes {
}
}

extension DatabaseMigrationClientTypes {

/// The object containing the result statistics for a completed assessment run.
public struct ReplicationTaskAssessmentRunResultStatistic: Swift.Sendable {
/// The number of individual assessments that were cancelled during the assessment run.
public var cancelled: Swift.Int
/// The number of individual assessments that encountered a critical error and could not complete properly.
public var error: Swift.Int
/// The number of individual assessments that failed to meet the criteria defined in the assessment run.
public var failed: Swift.Int
/// The number of individual assessments that successfully passed all checks in the assessment run.
public var passed: Swift.Int
/// Indicates that the recent completed AssessmentRun triggered a warning.
public var warning: Swift.Int

public init(
cancelled: Swift.Int = 0,
error: Swift.Int = 0,
failed: Swift.Int = 0,
passed: Swift.Int = 0,
warning: Swift.Int = 0
)
{
self.cancelled = cancelled
self.error = error
self.failed = failed
self.passed = passed
self.warning = warning
}
}
}

extension DatabaseMigrationClientTypes {

/// Provides information that describes a premigration assessment run that you have started using the StartReplicationTaskAssessmentRun operation. Some of the information appears based on other operations that can return the ReplicationTaskAssessmentRun object.
Expand All @@ -429,6 +461,8 @@ extension DatabaseMigrationClientTypes {
public var assessmentProgress: DatabaseMigrationClientTypes.ReplicationTaskAssessmentRunProgress?
/// Unique name of the assessment run.
public var assessmentRunName: Swift.String?
/// Indicates that the following PreflightAssessmentRun is the latest for the ReplicationTask. The status is either true or false.
public var isLatestTaskAssessmentRun: Swift.Bool
/// Last message generated by an individual assessment failure.
public var lastFailureMessage: Swift.String?
/// ARN of the migration task associated with this premigration assessment run.
Expand All @@ -445,6 +479,8 @@ extension DatabaseMigrationClientTypes {
public var resultLocationBucket: Swift.String?
/// Folder in an Amazon S3 bucket where DMS stores the results of this assessment run.
public var resultLocationFolder: Swift.String?
/// Result statistics for a completed assessment run, showing aggregated statistics of IndividualAssessments for how many assessments were passed, failed, or encountered issues such as errors or warnings.
public var resultStatistic: DatabaseMigrationClientTypes.ReplicationTaskAssessmentRunResultStatistic?
/// ARN of the service role used to start the assessment run using the StartReplicationTaskAssessmentRun operation. The role must allow the iam:PassRole action.
public var serviceAccessRoleArn: Swift.String?
/// Assessment run status. This status can have one of the following values:
Expand Down Expand Up @@ -473,6 +509,7 @@ extension DatabaseMigrationClientTypes {
public init(
assessmentProgress: DatabaseMigrationClientTypes.ReplicationTaskAssessmentRunProgress? = nil,
assessmentRunName: Swift.String? = nil,
isLatestTaskAssessmentRun: Swift.Bool = false,
lastFailureMessage: Swift.String? = nil,
replicationTaskArn: Swift.String? = nil,
replicationTaskAssessmentRunArn: Swift.String? = nil,
Expand All @@ -481,12 +518,14 @@ extension DatabaseMigrationClientTypes {
resultKmsKeyArn: Swift.String? = nil,
resultLocationBucket: Swift.String? = nil,
resultLocationFolder: Swift.String? = nil,
resultStatistic: DatabaseMigrationClientTypes.ReplicationTaskAssessmentRunResultStatistic? = nil,
serviceAccessRoleArn: Swift.String? = nil,
status: Swift.String? = nil
)
{
self.assessmentProgress = assessmentProgress
self.assessmentRunName = assessmentRunName
self.isLatestTaskAssessmentRun = isLatestTaskAssessmentRun
self.lastFailureMessage = lastFailureMessage
self.replicationTaskArn = replicationTaskArn
self.replicationTaskAssessmentRunArn = replicationTaskAssessmentRunArn
Expand All @@ -495,6 +534,7 @@ extension DatabaseMigrationClientTypes {
self.resultKmsKeyArn = resultKmsKeyArn
self.resultLocationBucket = resultLocationBucket
self.resultLocationFolder = resultLocationFolder
self.resultStatistic = resultStatistic
self.serviceAccessRoleArn = serviceAccessRoleArn
self.status = status
}
Expand Down Expand Up @@ -817,6 +857,8 @@ extension DatabaseMigrationClientTypes {
public struct DataMigration: Swift.Sendable {
/// The Amazon Resource Name (ARN) that identifies this replication.
public var dataMigrationArn: Swift.String?
/// The CIDR blocks of the endpoints for the data migration.
public var dataMigrationCidrBlocks: [Swift.String]?
/// The UTC time when DMS created the data migration.
public var dataMigrationCreateTime: Foundation.Date?
/// The UTC time when data migration ended.
Expand Down Expand Up @@ -848,6 +890,7 @@ extension DatabaseMigrationClientTypes {

public init(
dataMigrationArn: Swift.String? = nil,
dataMigrationCidrBlocks: [Swift.String]? = nil,
dataMigrationCreateTime: Foundation.Date? = nil,
dataMigrationEndTime: Foundation.Date? = nil,
dataMigrationName: Swift.String? = nil,
Expand All @@ -865,6 +908,7 @@ extension DatabaseMigrationClientTypes {
)
{
self.dataMigrationArn = dataMigrationArn
self.dataMigrationCidrBlocks = dataMigrationCidrBlocks
self.dataMigrationCreateTime = dataMigrationCreateTime
self.dataMigrationEndTime = dataMigrationEndTime
self.dataMigrationName = dataMigrationName
Expand All @@ -885,7 +929,7 @@ extension DatabaseMigrationClientTypes {

extension DatabaseMigrationClientTypes.DataMigration: Swift.CustomDebugStringConvertible {
public var debugDescription: Swift.String {
"DataMigration(dataMigrationArn: \(Swift.String(describing: dataMigrationArn)), dataMigrationCreateTime: \(Swift.String(describing: dataMigrationCreateTime)), dataMigrationEndTime: \(Swift.String(describing: dataMigrationEndTime)), dataMigrationName: \(Swift.String(describing: dataMigrationName)), dataMigrationSettings: \(Swift.String(describing: dataMigrationSettings)), dataMigrationStartTime: \(Swift.String(describing: dataMigrationStartTime)), dataMigrationStatistics: \(Swift.String(describing: dataMigrationStatistics)), dataMigrationStatus: \(Swift.String(describing: dataMigrationStatus)), dataMigrationType: \(Swift.String(describing: dataMigrationType)), lastFailureMessage: \(Swift.String(describing: lastFailureMessage)), migrationProjectArn: \(Swift.String(describing: migrationProjectArn)), serviceAccessRoleArn: \(Swift.String(describing: serviceAccessRoleArn)), sourceDataSettings: \(Swift.String(describing: sourceDataSettings)), stopReason: \(Swift.String(describing: stopReason)), publicIpAddresses: \"CONTENT_REDACTED\")"}
"DataMigration(dataMigrationArn: \(Swift.String(describing: dataMigrationArn)), dataMigrationCidrBlocks: \(Swift.String(describing: dataMigrationCidrBlocks)), dataMigrationCreateTime: \(Swift.String(describing: dataMigrationCreateTime)), dataMigrationEndTime: \(Swift.String(describing: dataMigrationEndTime)), dataMigrationName: \(Swift.String(describing: dataMigrationName)), dataMigrationSettings: \(Swift.String(describing: dataMigrationSettings)), dataMigrationStartTime: \(Swift.String(describing: dataMigrationStartTime)), dataMigrationStatistics: \(Swift.String(describing: dataMigrationStatistics)), dataMigrationStatus: \(Swift.String(describing: dataMigrationStatus)), dataMigrationType: \(Swift.String(describing: dataMigrationType)), lastFailureMessage: \(Swift.String(describing: lastFailureMessage)), migrationProjectArn: \(Swift.String(describing: migrationProjectArn)), serviceAccessRoleArn: \(Swift.String(describing: serviceAccessRoleArn)), sourceDataSettings: \(Swift.String(describing: sourceDataSettings)), stopReason: \(Swift.String(describing: stopReason)), publicIpAddresses: \"CONTENT_REDACTED\")"}
}

public struct CreateDataMigrationOutput: Swift.Sendable {
Expand Down Expand Up @@ -11141,6 +11185,8 @@ public struct StartReplicationTaskAssessmentRunInput: Swift.Sendable {
/// ARN of the service role needed to start the assessment run. The role must allow the iam:PassRole action.
/// This member is required.
public var serviceAccessRoleArn: Swift.String?
/// One or more tags to be assigned to the premigration assessment run that you want to start.
public var tags: [DatabaseMigrationClientTypes.Tag]?

public init(
assessmentRunName: Swift.String? = nil,
Expand All @@ -11151,7 +11197,8 @@ public struct StartReplicationTaskAssessmentRunInput: Swift.Sendable {
resultKmsKeyArn: Swift.String? = nil,
resultLocationBucket: Swift.String? = nil,
resultLocationFolder: Swift.String? = nil,
serviceAccessRoleArn: Swift.String? = nil
serviceAccessRoleArn: Swift.String? = nil,
tags: [DatabaseMigrationClientTypes.Tag]? = nil
)
{
self.assessmentRunName = assessmentRunName
Expand All @@ -11163,6 +11210,7 @@ public struct StartReplicationTaskAssessmentRunInput: Swift.Sendable {
self.resultLocationBucket = resultLocationBucket
self.resultLocationFolder = resultLocationFolder
self.serviceAccessRoleArn = serviceAccessRoleArn
self.tags = tags
}
}

Expand Down Expand Up @@ -13304,6 +13352,7 @@ extension StartReplicationTaskAssessmentRunInput {
try writer["ResultLocationBucket"].write(value.resultLocationBucket)
try writer["ResultLocationFolder"].write(value.resultLocationFolder)
try writer["ServiceAccessRoleArn"].write(value.serviceAccessRoleArn)
try writer["Tags"].writeList(value.tags, memberWritingClosure: DatabaseMigrationClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false)
}
}

Expand Down Expand Up @@ -16925,6 +16974,22 @@ extension DatabaseMigrationClientTypes.ReplicationTaskAssessmentRun {
value.resultEncryptionMode = try reader["ResultEncryptionMode"].readIfPresent()
value.resultKmsKeyArn = try reader["ResultKmsKeyArn"].readIfPresent()
value.assessmentRunName = try reader["AssessmentRunName"].readIfPresent()
value.isLatestTaskAssessmentRun = try reader["IsLatestTaskAssessmentRun"].readIfPresent() ?? false
value.resultStatistic = try reader["ResultStatistic"].readIfPresent(with: DatabaseMigrationClientTypes.ReplicationTaskAssessmentRunResultStatistic.read(from:))
return value
}
}

extension DatabaseMigrationClientTypes.ReplicationTaskAssessmentRunResultStatistic {

static func read(from reader: SmithyJSON.Reader) throws -> DatabaseMigrationClientTypes.ReplicationTaskAssessmentRunResultStatistic {
guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent }
var value = DatabaseMigrationClientTypes.ReplicationTaskAssessmentRunResultStatistic()
value.passed = try reader["Passed"].readIfPresent() ?? 0
value.failed = try reader["Failed"].readIfPresent() ?? 0
value.error = try reader["Error"].readIfPresent() ?? 0
value.warning = try reader["Warning"].readIfPresent() ?? 0
value.cancelled = try reader["Cancelled"].readIfPresent() ?? 0
return value
}
}
Expand Down Expand Up @@ -16958,6 +17023,7 @@ extension DatabaseMigrationClientTypes.DataMigration {
value.dataMigrationStatistics = try reader["DataMigrationStatistics"].readIfPresent(with: DatabaseMigrationClientTypes.DataMigrationStatistics.read(from:))
value.dataMigrationStatus = try reader["DataMigrationStatus"].readIfPresent()
value.publicIpAddresses = try reader["PublicIpAddresses"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false)
value.dataMigrationCidrBlocks = try reader["DataMigrationCidrBlocks"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false)
value.lastFailureMessage = try reader["LastFailureMessage"].readIfPresent()
value.stopReason = try reader["StopReason"].readIfPresent()
return value
Expand Down
Loading

0 comments on commit 57b74db

Please sign in to comment.