Skip to content

Commit

Permalink
chore: Updates version to 0.34.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Jan 18, 2024
1 parent 014fa3c commit 36821c2
Show file tree
Hide file tree
Showing 158 changed files with 20,988 additions and 1,020 deletions.
4 changes: 3 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func addResolvedTargets() {
// MARK: - Generated

addDependencies(
clientRuntimeVersion: "0.38.0",
clientRuntimeVersion: "0.39.0",
crtVersion: "0.22.0"
)

Expand Down Expand Up @@ -488,6 +488,7 @@ let serviceTargets: [String] = [
"AWSNeptunedata",
"AWSNetworkFirewall",
"AWSNetworkManager",
"AWSNetworkMonitor",
"AWSNimble",
"AWSOAM",
"AWSOSIS",
Expand Down Expand Up @@ -584,6 +585,7 @@ let serviceTargets: [String] = [
"AWSSnowball",
"AWSSsmSap",
"AWSStorageGateway",
"AWSSupplyChain",
"AWSSupport",
"AWSSupportApp",
"AWSSynthetics",
Expand Down
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.33.0
0.34.0
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,8 @@ This SDK is open-source. Code is available on Github [here](https://github.com/

[AWSNetworkManager](../../../../../swift/api/awsnetworkmanager/latest)

[AWSNetworkMonitor](../../../../../swift/api/awsnetworkmonitor/latest)

[AWSNimble](../../../../../swift/api/awsnimble/latest)

[AWSOAM](../../../../../swift/api/awsoam/latest)
Expand Down Expand Up @@ -703,6 +705,8 @@ This SDK is open-source. Code is available on Github [here](https://github.com/

[AWSStorageGateway](../../../../../swift/api/awsstoragegateway/latest)

[AWSSupplyChain](../../../../../swift/api/awssupplychain/latest)

[AWSSupport](../../../../../swift/api/awssupport/latest)

[AWSSupportApp](../../../../../swift/api/awssupportapp/latest)
Expand Down
42 changes: 42 additions & 0 deletions Sources/Services/AWSAmp/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,7 @@ extension CreateWorkspaceInput: Swift.Encodable {
enum CodingKeys: Swift.String, Swift.CodingKey {
case alias
case clientToken
case kmsKeyArn
case tags
}

Expand All @@ -1037,6 +1038,9 @@ extension CreateWorkspaceInput: Swift.Encodable {
if let clientToken = self.clientToken {
try encodeContainer.encode(clientToken, forKey: .clientToken)
}
if let kmsKeyArn = self.kmsKeyArn {
try encodeContainer.encode(kmsKeyArn, forKey: .kmsKeyArn)
}
if let tags = tags {
var tagsContainer = encodeContainer.nestedContainer(keyedBy: ClientRuntime.Key.self, forKey: .tags)
for (dictKey0, tagMap0) in tags {
Expand All @@ -1058,17 +1062,21 @@ public struct CreateWorkspaceInput: Swift.Equatable {
public var alias: Swift.String?
/// Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
public var clientToken: Swift.String?
/// Optional, customer managed KMS key used to encrypt data for this workspace
public var kmsKeyArn: Swift.String?
/// Optional, user-provided tags for this workspace.
public var tags: [Swift.String:Swift.String]?

public init(
alias: Swift.String? = nil,
clientToken: Swift.String? = nil,
kmsKeyArn: Swift.String? = nil,
tags: [Swift.String:Swift.String]? = nil
)
{
self.alias = alias
self.clientToken = clientToken
self.kmsKeyArn = kmsKeyArn
self.tags = tags
}
}
Expand All @@ -1077,12 +1085,14 @@ struct CreateWorkspaceInputBody: Swift.Equatable {
let alias: Swift.String?
let clientToken: Swift.String?
let tags: [Swift.String:Swift.String]?
let kmsKeyArn: Swift.String?
}

extension CreateWorkspaceInputBody: Swift.Decodable {
enum CodingKeys: Swift.String, Swift.CodingKey {
case alias
case clientToken
case kmsKeyArn
case tags
}

Expand All @@ -1103,6 +1113,8 @@ extension CreateWorkspaceInputBody: Swift.Decodable {
}
}
tags = tagsDecoded0
let kmsKeyArnDecoded = try containerValues.decodeIfPresent(Swift.String.self, forKey: .kmsKeyArn)
kmsKeyArn = kmsKeyArnDecoded
}
}

Expand All @@ -1112,11 +1124,13 @@ extension CreateWorkspaceOutput: ClientRuntime.HttpResponseBinding {
let responseDecoder = decoder {
let output: CreateWorkspaceOutputBody = try responseDecoder.decode(responseBody: data)
self.arn = output.arn
self.kmsKeyArn = output.kmsKeyArn
self.status = output.status
self.tags = output.tags
self.workspaceId = output.workspaceId
} else {
self.arn = nil
self.kmsKeyArn = nil
self.status = nil
self.tags = nil
self.workspaceId = nil
Expand All @@ -1129,6 +1143,8 @@ public struct CreateWorkspaceOutput: Swift.Equatable {
/// The ARN of the workspace that was just created.
/// This member is required.
public var arn: Swift.String?
/// Customer managed KMS key ARN for this workspace
public var kmsKeyArn: Swift.String?
/// The status of the workspace that was just created (usually CREATING).
/// This member is required.
public var status: AmpClientTypes.WorkspaceStatus?
Expand All @@ -1140,12 +1156,14 @@ public struct CreateWorkspaceOutput: Swift.Equatable {

public init(
arn: Swift.String? = nil,
kmsKeyArn: Swift.String? = nil,
status: AmpClientTypes.WorkspaceStatus? = nil,
tags: [Swift.String:Swift.String]? = nil,
workspaceId: Swift.String? = nil
)
{
self.arn = arn
self.kmsKeyArn = kmsKeyArn
self.status = status
self.tags = tags
self.workspaceId = workspaceId
Expand All @@ -1157,11 +1175,13 @@ struct CreateWorkspaceOutputBody: Swift.Equatable {
let arn: Swift.String?
let status: AmpClientTypes.WorkspaceStatus?
let tags: [Swift.String:Swift.String]?
let kmsKeyArn: Swift.String?
}

extension CreateWorkspaceOutputBody: Swift.Decodable {
enum CodingKeys: Swift.String, Swift.CodingKey {
case arn
case kmsKeyArn
case status
case tags
case workspaceId
Expand All @@ -1186,6 +1206,8 @@ extension CreateWorkspaceOutputBody: Swift.Decodable {
}
}
tags = tagsDecoded0
let kmsKeyArnDecoded = try containerValues.decodeIfPresent(Swift.String.self, forKey: .kmsKeyArn)
kmsKeyArn = kmsKeyArnDecoded
}
}

Expand Down Expand Up @@ -4957,6 +4979,7 @@ extension AmpClientTypes.WorkspaceDescription: Swift.Codable {
case alias
case arn
case createdAt
case kmsKeyArn
case prometheusEndpoint
case status
case tags
Expand All @@ -4974,6 +4997,9 @@ extension AmpClientTypes.WorkspaceDescription: Swift.Codable {
if let createdAt = self.createdAt {
try encodeContainer.encodeTimestamp(createdAt, format: .epochSeconds, forKey: .createdAt)
}
if let kmsKeyArn = self.kmsKeyArn {
try encodeContainer.encode(kmsKeyArn, forKey: .kmsKeyArn)
}
if let prometheusEndpoint = self.prometheusEndpoint {
try encodeContainer.encode(prometheusEndpoint, forKey: .prometheusEndpoint)
}
Expand Down Expand Up @@ -5016,6 +5042,8 @@ extension AmpClientTypes.WorkspaceDescription: Swift.Codable {
}
}
tags = tagsDecoded0
let kmsKeyArnDecoded = try containerValues.decodeIfPresent(Swift.String.self, forKey: .kmsKeyArn)
kmsKeyArn = kmsKeyArnDecoded
}
}

Expand All @@ -5030,6 +5058,8 @@ extension AmpClientTypes {
/// The time when the workspace was created.
/// This member is required.
public var createdAt: ClientRuntime.Date?
/// The customer managed KMS key of this workspace.
public var kmsKeyArn: Swift.String?
/// Prometheus endpoint URI.
public var prometheusEndpoint: Swift.String?
/// The status of this workspace.
Expand All @@ -5045,6 +5075,7 @@ extension AmpClientTypes {
alias: Swift.String? = nil,
arn: Swift.String? = nil,
createdAt: ClientRuntime.Date? = nil,
kmsKeyArn: Swift.String? = nil,
prometheusEndpoint: Swift.String? = nil,
status: AmpClientTypes.WorkspaceStatus? = nil,
tags: [Swift.String:Swift.String]? = nil,
Expand All @@ -5054,6 +5085,7 @@ extension AmpClientTypes {
self.alias = alias
self.arn = arn
self.createdAt = createdAt
self.kmsKeyArn = kmsKeyArn
self.prometheusEndpoint = prometheusEndpoint
self.status = status
self.tags = tags
Expand Down Expand Up @@ -5151,6 +5183,7 @@ extension AmpClientTypes.WorkspaceSummary: Swift.Codable {
case alias
case arn
case createdAt
case kmsKeyArn
case status
case tags
case workspaceId
Expand All @@ -5167,6 +5200,9 @@ extension AmpClientTypes.WorkspaceSummary: Swift.Codable {
if let createdAt = self.createdAt {
try encodeContainer.encodeTimestamp(createdAt, format: .epochSeconds, forKey: .createdAt)
}
if let kmsKeyArn = self.kmsKeyArn {
try encodeContainer.encode(kmsKeyArn, forKey: .kmsKeyArn)
}
if let status = self.status {
try encodeContainer.encode(status, forKey: .status)
}
Expand Down Expand Up @@ -5204,6 +5240,8 @@ extension AmpClientTypes.WorkspaceSummary: Swift.Codable {
}
}
tags = tagsDecoded0
let kmsKeyArnDecoded = try containerValues.decodeIfPresent(Swift.String.self, forKey: .kmsKeyArn)
kmsKeyArn = kmsKeyArnDecoded
}
}

Expand All @@ -5218,6 +5256,8 @@ extension AmpClientTypes {
/// The time when the workspace was created.
/// This member is required.
public var createdAt: ClientRuntime.Date?
/// Customer managed KMS key ARN for this workspace
public var kmsKeyArn: Swift.String?
/// The status of this workspace.
/// This member is required.
public var status: AmpClientTypes.WorkspaceStatus?
Expand All @@ -5231,6 +5271,7 @@ extension AmpClientTypes {
alias: Swift.String? = nil,
arn: Swift.String? = nil,
createdAt: ClientRuntime.Date? = nil,
kmsKeyArn: Swift.String? = nil,
status: AmpClientTypes.WorkspaceStatus? = nil,
tags: [Swift.String:Swift.String]? = nil,
workspaceId: Swift.String? = nil
Expand All @@ -5239,6 +5280,7 @@ extension AmpClientTypes {
self.alias = alias
self.arn = arn
self.createdAt = createdAt
self.kmsKeyArn = kmsKeyArn
self.status = status
self.tags = tags
self.workspaceId = workspaceId
Expand Down
Loading

0 comments on commit 36821c2

Please sign in to comment.