Skip to content

Commit

Permalink
chore: Updates version to 1.0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Oct 22, 2024
1 parent cc91506 commit 14c9760
Show file tree
Hide file tree
Showing 18 changed files with 1,147 additions and 171 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.82.0"
let clientRuntimeVersion: Version = "0.83.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.24
1.0.25
2 changes: 1 addition & 1 deletion Package.version.next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.25
1.0.26
Original file line number Diff line number Diff line change
Expand Up @@ -3504,6 +3504,9 @@ extension BatchDeleteUniqueIdInput {
items.add(SmithyHTTPAPI.Header(name: "inputSource", value: Swift.String(inputSource)))
}
if let uniqueIds = value.uniqueIds {
if uniqueIds.isEmpty {
items.add(name: "uniqueIds", value: "")
}
uniqueIds.forEach { headerValue in
items.add(SmithyHTTPAPI.Header(name: "uniqueIds", value: ClientRuntime.quoteHeaderValue(Swift.String(headerValue))))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3036,7 +3036,7 @@ extension ImagebuilderClient {

/// Performs the `ListComponentBuildVersions` operation on the `imagebuilder` service.
///
/// Returns the list of component build versions for the specified semantic version. The semantic version has four nodes: ../. You can assign values for the first three, and can filter on all of them. Filtering: With semantic versioning, you have the flexibility to use wildcards (x) to specify the most recent versions or nodes when selecting the base image or components for your recipe. When you use a wildcard in any node, all nodes to the right of the first wildcard must also be wildcards.
/// Returns the list of component build versions for the specified component version Amazon Resource Name (ARN).
///
/// - Parameter ListComponentBuildVersionsInput : [no documentation found]
///
Expand Down
112 changes: 108 additions & 4 deletions Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/Models.swift

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Sources/Services/AWSM2/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ let package = Package(
package: "aws-sdk-swift.AWSSDKHTTPAuth"
),
.product(
name: "SmithyRetries",
name: "SmithyJSON",
package: "aws-sdk-swift.smithy-swift"
),
.product(
name: "SmithyJSON",
name: "SmithyReadWrite",
package: "aws-sdk-swift.smithy-swift"
),
.product(
name: "SmithyReadWrite",
name: "SmithyRetries",
package: "aws-sdk-swift.smithy-swift"
),
.product(
Expand Down
6 changes: 5 additions & 1 deletion Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ extension M2Client {
}
builder.interceptors.add(ClientRuntime.URLPathMiddleware<CancelBatchJobExecutionInput, CancelBatchJobExecutionOutput>(CancelBatchJobExecutionInput.urlPathProvider(_:)))
builder.interceptors.add(ClientRuntime.URLHostMiddleware<CancelBatchJobExecutionInput, CancelBatchJobExecutionOutput>())
builder.interceptors.add(ClientRuntime.ContentTypeMiddleware<CancelBatchJobExecutionInput, CancelBatchJobExecutionOutput>(contentType: "application/json"))
builder.serialize(ClientRuntime.BodyMiddleware<CancelBatchJobExecutionInput, CancelBatchJobExecutionOutput, SmithyJSON.Writer>(rootNodeInfo: "", inputWritingClosure: CancelBatchJobExecutionInput.write(value:to:)))
builder.interceptors.add(ClientRuntime.ContentLengthMiddleware<CancelBatchJobExecutionInput, CancelBatchJobExecutionOutput>())
builder.deserialize(ClientRuntime.DeserializeMiddleware<CancelBatchJobExecutionOutput>(CancelBatchJobExecutionOutput.httpOutput(from:), CancelBatchJobExecutionOutputError.httpError(from:)))
builder.interceptors.add(ClientRuntime.LoggerMiddleware<CancelBatchJobExecutionInput, CancelBatchJobExecutionOutput>(clientLogMode: config.clientLogMode))
builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions))
Expand Down Expand Up @@ -1625,7 +1628,7 @@ extension M2Client {

/// Performs the `ListBatchJobRestartPoints` operation on the `AwsSupernovaControlPlaneService` service.
///
/// Lists all the job steps for JCL files to restart a batch job. This is only applicable for Micro Focus engine with versions 8.0.6 and above.
/// Lists all the job steps for a JCL file to restart a batch job. This is only applicable for Micro Focus engine with versions 8.0.6 and above.
///
/// - Parameter ListBatchJobRestartPointsInput : [no documentation found]
///
Expand Down Expand Up @@ -1668,6 +1671,7 @@ extension M2Client {
}
builder.interceptors.add(ClientRuntime.URLPathMiddleware<ListBatchJobRestartPointsInput, ListBatchJobRestartPointsOutput>(ListBatchJobRestartPointsInput.urlPathProvider(_:)))
builder.interceptors.add(ClientRuntime.URLHostMiddleware<ListBatchJobRestartPointsInput, ListBatchJobRestartPointsOutput>())
builder.serialize(ClientRuntime.QueryItemMiddleware<ListBatchJobRestartPointsInput, ListBatchJobRestartPointsOutput>(ListBatchJobRestartPointsInput.queryItemProvider(_:)))
builder.deserialize(ClientRuntime.DeserializeMiddleware<ListBatchJobRestartPointsOutput>(ListBatchJobRestartPointsOutput.httpOutput(from:), ListBatchJobRestartPointsOutputError.httpError(from:)))
builder.interceptors.add(ClientRuntime.LoggerMiddleware<ListBatchJobRestartPointsInput, ListBatchJobRestartPointsOutput>(clientLogMode: config.clientLogMode))
builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions))
Expand Down
56 changes: 46 additions & 10 deletions Sources/Services/AWSM2/Sources/AWSM2/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -321,16 +321,20 @@ public struct CancelBatchJobExecutionInput: Swift.Sendable {
/// The unique identifier of the application.
/// This member is required.
public var applicationId: Swift.String?
/// The Amazon Web Services Secrets Manager containing user's credentials for authentication and authorization for Cancel Batch Job Execution operation.
public var authSecretsManagerArn: Swift.String?
/// The unique identifier of the batch job execution.
/// This member is required.
public var executionId: Swift.String?

public init(
applicationId: Swift.String? = nil,
authSecretsManagerArn: Swift.String? = nil,
executionId: Swift.String? = nil
)
{
self.applicationId = applicationId
self.authSecretsManagerArn = authSecretsManagerArn
self.executionId = executionId
}
}
Expand Down Expand Up @@ -423,7 +427,7 @@ extension M2ClientTypes {
}

public struct CreateApplicationInput: Swift.Sendable {
/// Unique, case-sensitive identifier the service generates to ensure the idempotency of the request to create an application. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
/// A client token is a unique, case-sensitive string of up to 128 ASCII characters with ASCII values of 33-126 inclusive. It's generated by the client to ensure idempotent operations, allowing for safe retries without unintended side effects.
public var clientToken: Swift.String?
/// The application definition for this application. You can specify either inline JSON or an S3 bucket location.
/// This member is required.
Expand Down Expand Up @@ -1257,16 +1261,16 @@ extension M2ClientTypes {

extension M2ClientTypes {

/// Provides restart step information for the most recent restart operation.
/// Provides step/procedure step information for a restart batch job operation.
public struct JobStepRestartMarker: Swift.Sendable {
/// The procedure step name that a job was restarted from.
/// The procedure step name that a batch job was restarted from.
public var fromProcStep: Swift.String?
/// The step name that a batch job restart was from.
/// The step name that a batch job was restarted from.
/// This member is required.
public var fromStep: Swift.String?
/// The procedure step name that a batch job was restarted to.
public var toProcStep: Swift.String?
/// The step name that a job was restarted to.
/// The step name that a batch job was restarted to.
public var toStep: Swift.String?

public init(
Expand All @@ -1291,7 +1295,7 @@ extension M2ClientTypes {
/// The executionId from the StartBatchJob response when the job ran for the first time.
/// This member is required.
public var executionId: Swift.String?
/// The restart step information for the most recent restart operation.
/// The step/procedure step information for a restart batch job operation.
/// This member is required.
public var jobStepRestartMarker: M2ClientTypes.JobStepRestartMarker?

Expand Down Expand Up @@ -1371,7 +1375,7 @@ extension M2ClientTypes {
case scriptbatchjobidentifier(M2ClientTypes.ScriptBatchJobIdentifier)
/// Specifies an Amazon S3 location that identifies the batch jobs that you want to run. Use this identifier to run ad hoc batch jobs.
case s3batchjobidentifier(M2ClientTypes.S3BatchJobIdentifier)
/// Specifies the required information for restart, including execution ID and jobsteprestartmarker.
/// Specifies the required information for restart, including executionId and JobStepRestartMarker.
case restartbatchjobidentifier(M2ClientTypes.RestartBatchJobIdentifier)
case sdkUnknown(Swift.String)
}
Expand Down Expand Up @@ -1477,7 +1481,7 @@ public struct GetBatchJobExecutionOutput: Swift.Sendable {
public var jobId: Swift.String?
/// The name of this batch job.
public var jobName: Swift.String?
/// The restart steps information for the most recent restart operation.
/// The step/procedure step information for the restart batch job operation.
public var jobStepRestartMarker: M2ClientTypes.JobStepRestartMarker?
/// The type of job.
public var jobType: M2ClientTypes.BatchJobType?
Expand Down Expand Up @@ -2316,16 +2320,20 @@ public struct ListBatchJobRestartPointsInput: Swift.Sendable {
/// The unique identifier of the application.
/// This member is required.
public var applicationId: Swift.String?
/// The unique identifier of each batch job execution.
/// The Amazon Web Services Secrets Manager containing user's credentials for authentication and authorization for List Batch Job Restart Points operation.
public var authSecretsManagerArn: Swift.String?
/// The unique identifier of the batch job execution.
/// This member is required.
public var executionId: Swift.String?

public init(
applicationId: Swift.String? = nil,
authSecretsManagerArn: Swift.String? = nil,
executionId: Swift.String? = nil
)
{
self.applicationId = applicationId
self.authSecretsManagerArn = authSecretsManagerArn
self.executionId = executionId
}
}
Expand Down Expand Up @@ -2636,6 +2644,8 @@ public struct StartBatchJobInput: Swift.Sendable {
/// The unique identifier of the application associated with this batch job.
/// This member is required.
public var applicationId: Swift.String?
/// The Amazon Web Services Secrets Manager containing user's credentials for authentication and authorization for Start Batch Job execution operation.
public var authSecretsManagerArn: Swift.String?
/// The unique identifier of the batch job.
/// This member is required.
public var batchJobIdentifier: M2ClientTypes.BatchJobIdentifier?
Expand All @@ -2644,11 +2654,13 @@ public struct StartBatchJobInput: Swift.Sendable {

public init(
applicationId: Swift.String? = nil,
authSecretsManagerArn: Swift.String? = nil,
batchJobIdentifier: M2ClientTypes.BatchJobIdentifier? = nil,
jobParams: [Swift.String: Swift.String]? = nil
)
{
self.applicationId = applicationId
self.authSecretsManagerArn = authSecretsManagerArn
self.batchJobIdentifier = batchJobIdentifier
self.jobParams = jobParams
}
Expand Down Expand Up @@ -2959,6 +2971,7 @@ extension M2ClientTypes {
case creating
case deleting
case failed
case unhealthy
case updating
case sdkUnknown(Swift.String)

Expand All @@ -2968,6 +2981,7 @@ extension M2ClientTypes {
.creating,
.deleting,
.failed,
.unhealthy,
.updating
]
}
Expand All @@ -2983,6 +2997,7 @@ extension M2ClientTypes {
case .creating: return "Creating"
case .deleting: return "Deleting"
case .failed: return "Failed"
case .unhealthy: return "UnHealthy"
case .updating: return "Updating"
case let .sdkUnknown(s): return s
}
Expand Down Expand Up @@ -3031,7 +3046,7 @@ public struct GetEnvironmentOutput: Swift.Sendable {
/// The unique identifiers of the security groups assigned to this runtime environment.
/// This member is required.
public var securityGroupIds: [Swift.String]?
/// The status of the runtime environment.
/// The status of the runtime environment. If the Amazon Web Services Mainframe Modernization environment is missing a connection to the customer owned dependent resource, the status will be Unhealthy.
/// This member is required.
public var status: M2ClientTypes.EnvironmentLifecycle?
/// The reason for the reported status.
Expand Down Expand Up @@ -3706,6 +3721,18 @@ extension ListBatchJobRestartPointsInput {
}
}

extension ListBatchJobRestartPointsInput {

static func queryItemProvider(_ value: ListBatchJobRestartPointsInput) throws -> [Smithy.URIQueryItem] {
var items = [Smithy.URIQueryItem]()
if let authSecretsManagerArn = value.authSecretsManagerArn {
let authSecretsManagerArnQueryItem = Smithy.URIQueryItem(name: "authSecretsManagerArn".urlPercentEncoding(), value: Swift.String(authSecretsManagerArn).urlPercentEncoding())
items.append(authSecretsManagerArnQueryItem)
}
return items
}
}

extension ListDataSetImportHistoryInput {

static func urlPathProvider(_ value: ListDataSetImportHistoryInput) -> Swift.String? {
Expand Down Expand Up @@ -3948,6 +3975,14 @@ extension UpdateEnvironmentInput {
}
}

extension CancelBatchJobExecutionInput {

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

extension CreateApplicationInput {

static func write(value: CreateApplicationInput?, to writer: SmithyJSON.Writer) throws {
Expand Down Expand Up @@ -4007,6 +4042,7 @@ extension StartBatchJobInput {

static func write(value: StartBatchJobInput?, to writer: SmithyJSON.Writer) throws {
guard let value else { return }
try writer["authSecretsManagerArn"].write(value.authSecretsManagerArn)
try writer["batchJobIdentifier"].write(value.batchJobIdentifier, with: M2ClientTypes.BatchJobIdentifier.write(value:to:))
try writer["jobParams"].writeMap(value.jobParams, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false)
}
Expand Down
8 changes: 7 additions & 1 deletion Sources/Services/AWSRDS/Sources/AWSRDS/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8764,7 +8764,7 @@ public struct CreateEventSubscriptionOutput: Swift.Sendable {
}
}

/// The GlobalClusterIdentifier already exists. Choose a new global database identifier (unique name) to create a new global database cluster.
/// The GlobalClusterIdentifier already exists. Specify a new global database identifier (unique name) to create a new global database cluster or to rename an existing one.
public struct GlobalClusterAlreadyExistsFault: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error {

public struct Properties {
Expand Down Expand Up @@ -9009,6 +9009,8 @@ extension RDSClientTypes {
public var databaseName: Swift.String?
/// The deletion protection setting for the new global database cluster.
public var deletionProtection: Swift.Bool?
/// The writer endpoint for the new global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.
public var endpoint: Swift.String?
/// The Aurora database engine used by the global database cluster.
public var engine: Swift.String?
/// The life cycle type for the global cluster. For more information, see CreateGlobalCluster.
Expand All @@ -9035,6 +9037,7 @@ extension RDSClientTypes {
public init(
databaseName: Swift.String? = nil,
deletionProtection: Swift.Bool? = nil,
endpoint: Swift.String? = nil,
engine: Swift.String? = nil,
engineLifecycleSupport: Swift.String? = nil,
engineVersion: Swift.String? = nil,
Expand All @@ -9050,6 +9053,7 @@ extension RDSClientTypes {
{
self.databaseName = databaseName
self.deletionProtection = deletionProtection
self.endpoint = endpoint
self.engine = engine
self.engineLifecycleSupport = engineLifecycleSupport
self.engineVersion = engineVersion
Expand Down Expand Up @@ -29621,6 +29625,7 @@ enum ModifyGlobalClusterOutputError {
let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false)
if let error = baseError.customError() { return error }
switch baseError.code {
case "GlobalClusterAlreadyExistsFault": return try GlobalClusterAlreadyExistsFault.makeError(baseError: baseError)
case "GlobalClusterNotFoundFault": return try GlobalClusterNotFoundFault.makeError(baseError: baseError)
case "InvalidDBClusterStateFault": return try InvalidDBClusterStateFault.makeError(baseError: baseError)
case "InvalidDBInstanceState": return try InvalidDBInstanceStateFault.makeError(baseError: baseError)
Expand Down Expand Up @@ -33206,6 +33211,7 @@ extension RDSClientTypes.GlobalCluster {
value.storageEncrypted = try reader["StorageEncrypted"].readIfPresent()
value.deletionProtection = try reader["DeletionProtection"].readIfPresent()
value.globalClusterMembers = try reader["GlobalClusterMembers"].readListIfPresent(memberReadingClosure: RDSClientTypes.GlobalClusterMember.read(from:), memberNodeInfo: "GlobalClusterMember", isFlattened: false)
value.endpoint = try reader["Endpoint"].readIfPresent()
value.failoverState = try reader["FailoverState"].readIfPresent(with: RDSClientTypes.FailoverState.read(from:))
value.tagList = try reader["TagList"].readListIfPresent(memberReadingClosure: RDSClientTypes.Tag.read(from:), memberNodeInfo: "Tag", isFlattened: false)
return value
Expand Down
Loading

0 comments on commit 14c9760

Please sign in to comment.