Skip to content

Commit

Permalink
Update models from aws-sdk-go-v2 config/v1.28.10
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler authored Jan 13, 2025
1 parent 444b728 commit eddb45a
Show file tree
Hide file tree
Showing 173 changed files with 14,124 additions and 9,505 deletions.
14 changes: 0 additions & 14 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ let package = Package(
.library(name: "SotoInternetMonitor", targets: ["SotoInternetMonitor"]),
.library(name: "SotoInvoicing", targets: ["SotoInvoicing"]),
.library(name: "SotoIoT", targets: ["SotoIoT"]),
.library(name: "SotoIoT1ClickDevicesService", targets: ["SotoIoT1ClickDevicesService"]),
.library(name: "SotoIoT1ClickProjects", targets: ["SotoIoT1ClickProjects"]),
.library(name: "SotoIoTAnalytics", targets: ["SotoIoTAnalytics"]),
.library(name: "SotoIoTDataPlane", targets: ["SotoIoTDataPlane"]),
.library(name: "SotoIoTDeviceAdvisor", targets: ["SotoIoTDeviceAdvisor"]),
Expand Down Expand Up @@ -1529,18 +1527,6 @@ let package = Package(
path: "./Sources/Soto/Services/IoT",
swiftSettings: swiftSettings
),
.target(
name: "SotoIoT1ClickDevicesService",
dependencies: [.product(name: "SotoCore", package: "soto-core")],
path: "./Sources/Soto/Services/IoT1ClickDevicesService",
swiftSettings: swiftSettings
),
.target(
name: "SotoIoT1ClickProjects",
dependencies: [.product(name: "SotoCore", package: "soto-core")],
path: "./Sources/Soto/Services/IoT1ClickProjects",
swiftSettings: swiftSettings
),
.target(
name: "SotoIoTAnalytics",
dependencies: [.product(name: "SotoCore", package: "soto-core")],
Expand Down
56 changes: 48 additions & 8 deletions Sources/Soto/Services/Amplify/Amplify_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ extension Amplify {
public enum JobStatus: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case cancelled = "CANCELLED"
case cancelling = "CANCELLING"
case created = "CREATED"
case failed = "FAILED"
case pending = "PENDING"
case provisioning = "PROVISIONING"
Expand Down Expand Up @@ -111,6 +112,15 @@ extension Amplify {
public var description: String { return self.rawValue }
}

public enum WafStatus: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case associating = "ASSOCIATING"
case associationFailed = "ASSOCIATION_FAILED"
case associationSuccess = "ASSOCIATION_SUCCESS"
case disassociating = "DISASSOCIATING"
case disassociationFailed = "DISASSOCIATION_FAILED"
public var description: String { return self.rawValue }
}

// MARK: Shapes

public struct App: AWSDecodableShape {
Expand All @@ -128,7 +138,7 @@ extension Amplify {
public let buildSpec: String?
/// The cache configuration for the Amplify app. If you don't specify the cache configuration type, Amplify uses the default AMPLIFY_MANAGED setting.
public let cacheConfig: CacheConfig?
/// Creates a date and time for the Amplify app.
/// A timestamp of when Amplify created the application.
public let createTime: Date
/// Describes the custom HTTP headers for the Amplify app.
public let customHeaders: String?
Expand Down Expand Up @@ -162,11 +172,15 @@ extension Amplify {
public let repositoryCloneMethod: RepositoryCloneMethod?
/// The tag for the Amplify app.
public let tags: [String: String]?
/// Updates the date and time for the Amplify app.
/// A timestamp of when Amplify updated the application.
public let updateTime: Date
/// Describes the Firewall configuration for the Amplify app. Firewall support enables you to protect your hosted applications with a direct integration with WAF.
public let wafConfiguration: WafConfiguration?
/// A timestamp of when Amplify created the webhook in your Git repository.
public let webhookCreateTime: Date?

@inlinable
public init(appArn: String, appId: String, autoBranchCreationConfig: AutoBranchCreationConfig? = nil, autoBranchCreationPatterns: [String]? = nil, basicAuthCredentials: String? = nil, buildSpec: String? = nil, cacheConfig: CacheConfig? = nil, createTime: Date, customHeaders: String? = nil, customRules: [CustomRule]? = nil, defaultDomain: String, description: String? = nil, enableAutoBranchCreation: Bool? = nil, enableBasicAuth: Bool, enableBranchAutoBuild: Bool, enableBranchAutoDeletion: Bool? = nil, environmentVariables: [String: String]? = nil, iamServiceRoleArn: String? = nil, name: String, platform: Platform, productionBranch: ProductionBranch? = nil, repository: String? = nil, repositoryCloneMethod: RepositoryCloneMethod? = nil, tags: [String: String]? = nil, updateTime: Date) {
public init(appArn: String, appId: String, autoBranchCreationConfig: AutoBranchCreationConfig? = nil, autoBranchCreationPatterns: [String]? = nil, basicAuthCredentials: String? = nil, buildSpec: String? = nil, cacheConfig: CacheConfig? = nil, createTime: Date, customHeaders: String? = nil, customRules: [CustomRule]? = nil, defaultDomain: String, description: String? = nil, enableAutoBranchCreation: Bool? = nil, enableBasicAuth: Bool, enableBranchAutoBuild: Bool, enableBranchAutoDeletion: Bool? = nil, environmentVariables: [String: String]? = nil, iamServiceRoleArn: String? = nil, name: String, platform: Platform, productionBranch: ProductionBranch? = nil, repository: String? = nil, repositoryCloneMethod: RepositoryCloneMethod? = nil, tags: [String: String]? = nil, updateTime: Date, wafConfiguration: WafConfiguration? = nil, webhookCreateTime: Date? = nil) {
self.appArn = appArn
self.appId = appId
self.autoBranchCreationConfig = autoBranchCreationConfig
Expand All @@ -192,6 +206,8 @@ extension Amplify {
self.repositoryCloneMethod = repositoryCloneMethod
self.tags = tags
self.updateTime = updateTime
self.wafConfiguration = wafConfiguration
self.webhookCreateTime = webhookCreateTime
}

private enum CodingKeys: String, CodingKey {
Expand Down Expand Up @@ -220,6 +236,8 @@ extension Amplify {
case repositoryCloneMethod = "repositoryCloneMethod"
case tags = "tags"
case updateTime = "updateTime"
case wafConfiguration = "wafConfiguration"
case webhookCreateTime = "webhookCreateTime"
}
}

Expand Down Expand Up @@ -379,7 +397,7 @@ extension Amplify {
public let branchName: String
/// The build specification (build spec) content for the branch of an Amplify app.
public let buildSpec: String?
/// The creation date and time for a branch that is part of an Amplify app.
/// A timestamp of when Amplify created the branch.
public let createTime: Date
/// The custom domains for a branch of an Amplify app.
public let customDomains: [String]
Expand Down Expand Up @@ -417,7 +435,7 @@ extension Amplify {
public let totalNumberOfJobs: String
/// The content Time to Live (TTL) for the website in seconds.
public let ttl: String
/// The last updated date and time for a branch that is part of an Amplify app.
/// A timestamp for the last updated time for a branch.
public let updateTime: Date

@inlinable
Expand Down Expand Up @@ -1850,7 +1868,7 @@ extension Amplify {
public let commitId: String
/// The commit message from a third-party repository provider for the job.
public let commitMessage: String
/// The commit date and time for the job.
/// The commit date and time for the job.
public let commitTime: Date
/// The end date and time for the job.
public let endTime: Date?
Expand Down Expand Up @@ -3196,14 +3214,36 @@ extension Amplify {
}
}

public struct WafConfiguration: AWSDecodableShape {
/// The reason for the current status of the Firewall configuration.
public let statusReason: String?
/// The status of the process to associate or disassociate a web ACL to an Amplify app.
public let wafStatus: WafStatus?
/// The Amazon Resource Name (ARN) for the web ACL associated with an Amplify app.
public let webAclArn: String?

@inlinable
public init(statusReason: String? = nil, wafStatus: WafStatus? = nil, webAclArn: String? = nil) {
self.statusReason = statusReason
self.wafStatus = wafStatus
self.webAclArn = webAclArn
}

private enum CodingKeys: String, CodingKey {
case statusReason = "statusReason"
case wafStatus = "wafStatus"
case webAclArn = "webAclArn"
}
}

public struct Webhook: AWSDecodableShape {
/// The name for a branch that is part of an Amplify app.
public let branchName: String
/// The create date and time for a webhook.
/// A timestamp of when Amplify created the webhook in your Git repository.
public let createTime: Date
/// The description for a webhook.
public let description: String
/// Updates the date and time for a webhook.
/// A timestamp of when Amplify updated the webhook in your Git repository.
public let updateTime: Date
/// The Amazon Resource Name (ARN) for the webhook.
public let webhookArn: String
Expand Down
1 change: 1 addition & 0 deletions Sources/Soto/Services/AppStream/AppStream_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ extension AppStream {
public enum PlatformType: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case amazonLinux2 = "AMAZON_LINUX2"
case rhel8 = "RHEL8"
case rockyLinux8 = "ROCKY_LINUX8"
case windows = "WINDOWS"
case windowsServer2016 = "WINDOWS_SERVER_2016"
case windowsServer2019 = "WINDOWS_SERVER_2019"
Expand Down
2 changes: 1 addition & 1 deletion Sources/Soto/Services/AppSync/AppSync_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2671,7 +2671,7 @@ public struct AppSync: AWSService {
public func updateGraphqlApi(
additionalAuthenticationProviders: [AdditionalAuthenticationProvider]? = nil,
apiId: String,
authenticationType: AuthenticationType? = nil,
authenticationType: AuthenticationType,
enhancedMetricsConfig: EnhancedMetricsConfig? = nil,
introspectionConfig: GraphQLApiIntrospectionConfig? = nil,
lambdaAuthorizerConfig: LambdaAuthorizerConfig? = nil,
Expand Down
6 changes: 3 additions & 3 deletions Sources/Soto/Services/AppSync/AppSync_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5093,7 +5093,7 @@ extension AppSync {
/// The API ID.
public let apiId: String
/// The new authentication type for the GraphqlApi object.
public let authenticationType: AuthenticationType?
public let authenticationType: AuthenticationType
/// The enhancedMetricsConfig object.
public let enhancedMetricsConfig: EnhancedMetricsConfig?
/// Sets the value of the GraphQL API to enable (ENABLED) or disable (DISABLED) introspection. If no value is provided, the introspection configuration will be set to ENABLED by default. This field will produce an error if the operation attempts to use the introspection feature while this field is disabled. For more information about introspection, see GraphQL introspection.
Expand All @@ -5120,7 +5120,7 @@ extension AppSync {
public let xrayEnabled: Bool?

@inlinable
public init(additionalAuthenticationProviders: [AdditionalAuthenticationProvider]? = nil, apiId: String, authenticationType: AuthenticationType? = nil, enhancedMetricsConfig: EnhancedMetricsConfig? = nil, introspectionConfig: GraphQLApiIntrospectionConfig? = nil, lambdaAuthorizerConfig: LambdaAuthorizerConfig? = nil, logConfig: LogConfig? = nil, mergedApiExecutionRoleArn: String? = nil, name: String, openIDConnectConfig: OpenIDConnectConfig? = nil, ownerContact: String? = nil, queryDepthLimit: Int? = nil, resolverCountLimit: Int? = nil, userPoolConfig: UserPoolConfig? = nil, xrayEnabled: Bool? = nil) {
public init(additionalAuthenticationProviders: [AdditionalAuthenticationProvider]? = nil, apiId: String, authenticationType: AuthenticationType, enhancedMetricsConfig: EnhancedMetricsConfig? = nil, introspectionConfig: GraphQLApiIntrospectionConfig? = nil, lambdaAuthorizerConfig: LambdaAuthorizerConfig? = nil, logConfig: LogConfig? = nil, mergedApiExecutionRoleArn: String? = nil, name: String, openIDConnectConfig: OpenIDConnectConfig? = nil, ownerContact: String? = nil, queryDepthLimit: Int? = nil, resolverCountLimit: Int? = nil, userPoolConfig: UserPoolConfig? = nil, xrayEnabled: Bool? = nil) {
self.additionalAuthenticationProviders = additionalAuthenticationProviders
self.apiId = apiId
self.authenticationType = authenticationType
Expand All @@ -5143,7 +5143,7 @@ extension AppSync {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(self.additionalAuthenticationProviders, forKey: .additionalAuthenticationProviders)
request.encodePath(self.apiId, key: "apiId")
try container.encodeIfPresent(self.authenticationType, forKey: .authenticationType)
try container.encode(self.authenticationType, forKey: .authenticationType)
try container.encodeIfPresent(self.enhancedMetricsConfig, forKey: .enhancedMetricsConfig)
try container.encodeIfPresent(self.introspectionConfig, forKey: .introspectionConfig)
try container.encodeIfPresent(self.lambdaAuthorizerConfig, forKey: .lambdaAuthorizerConfig)
Expand Down
1 change: 1 addition & 0 deletions Sources/Soto/Services/Batch/Batch_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public struct Batch: AWSService {
"ap-southeast-3": "fips.batch.ap-southeast-3.amazonaws.com",
"ap-southeast-4": "fips.batch.ap-southeast-4.amazonaws.com",
"ap-southeast-5": "fips.batch.ap-southeast-5.amazonaws.com",
"ap-southeast-7": "fips.batch.ap-southeast-7.amazonaws.com",
"ca-central-1": "fips.batch.ca-central-1.amazonaws.com",
"ca-west-1": "fips.batch.ca-west-1.amazonaws.com",
"eu-central-1": "fips.batch.eu-central-1.amazonaws.com",
Expand Down
Loading

0 comments on commit eddb45a

Please sign in to comment.