Skip to content

Commit

Permalink
Update models from aws-sdk-go-v2 feature/dynamodbstreams/attributeval…
Browse files Browse the repository at this point in the history
…ue/v1.13.66
  • Loading branch information
adam-fowler authored Aug 19, 2024
1 parent 989fbb1 commit c875227
Show file tree
Hide file tree
Showing 191 changed files with 32,993 additions and 7,468 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ let package = Package(
.library(name: "SotoMigrationHubOrchestrator", targets: ["SotoMigrationHubOrchestrator"]),
.library(name: "SotoMigrationHubRefactorSpaces", targets: ["SotoMigrationHubRefactorSpaces"]),
.library(name: "SotoMigrationHubStrategy", targets: ["SotoMigrationHubStrategy"]),
.library(name: "SotoMobile", targets: ["SotoMobile"]),
.library(name: "SotoNeptune", targets: ["SotoNeptune"]),
.library(name: "SotoNeptuneGraph", targets: ["SotoNeptuneGraph"]),
.library(name: "SotoNeptunedata", targets: ["SotoNeptunedata"]),
Expand Down Expand Up @@ -352,6 +351,7 @@ let package = Package(
.library(name: "SotoSSM", targets: ["SotoSSM"]),
.library(name: "SotoSSMContacts", targets: ["SotoSSMContacts"]),
.library(name: "SotoSSMIncidents", targets: ["SotoSSMIncidents"]),
.library(name: "SotoSSMQuickSetup", targets: ["SotoSSMQuickSetup"]),
.library(name: "SotoSSO", targets: ["SotoSSO"]),
.library(name: "SotoSSOAdmin", targets: ["SotoSSOAdmin"]),
.library(name: "SotoSSOOIDC", targets: ["SotoSSOOIDC"]),
Expand Down Expand Up @@ -666,7 +666,6 @@ let package = Package(
.target(name: "SotoMigrationHubOrchestrator", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MigrationHubOrchestrator", swiftSettings: swiftSettings),
.target(name: "SotoMigrationHubRefactorSpaces", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MigrationHubRefactorSpaces", swiftSettings: swiftSettings),
.target(name: "SotoMigrationHubStrategy", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/MigrationHubStrategy", swiftSettings: swiftSettings),
.target(name: "SotoMobile", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Mobile", swiftSettings: swiftSettings),
.target(name: "SotoNeptune", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Neptune", swiftSettings: swiftSettings),
.target(name: "SotoNeptuneGraph", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/NeptuneGraph", swiftSettings: swiftSettings),
.target(name: "SotoNeptunedata", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Neptunedata", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -742,6 +741,7 @@ let package = Package(
.target(name: "SotoSSM", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SSM", swiftSettings: swiftSettings),
.target(name: "SotoSSMContacts", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SSMContacts", swiftSettings: swiftSettings),
.target(name: "SotoSSMIncidents", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SSMIncidents", swiftSettings: swiftSettings),
.target(name: "SotoSSMQuickSetup", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SSMQuickSetup", swiftSettings: swiftSettings),
.target(name: "SotoSSO", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SSO", swiftSettings: swiftSettings),
.target(name: "SotoSSOAdmin", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SSOAdmin", swiftSettings: swiftSettings),
.target(name: "SotoSSOOIDC", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/SSOOIDC", swiftSettings: swiftSettings),
Expand Down
40 changes: 36 additions & 4 deletions Sources/Soto/Services/Amplify/Amplify_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ import Foundation
extension Amplify {
// MARK: Enums

public enum CacheConfigType: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case amplifyManaged = "AMPLIFY_MANAGED"
case amplifyManagedNoCookies = "AMPLIFY_MANAGED_NO_COOKIES"
public var description: String { return self.rawValue }
}

public enum CertificateType: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
case amplifyManaged = "AMPLIFY_MANAGED"
case custom = "CUSTOM"
Expand Down Expand Up @@ -114,6 +120,8 @@ extension Amplify {
public let basicAuthCredentials: String?
/// Describes the content of the build specification (build spec) for the Amplify app.
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.
public let createTime: Date
/// Describes the custom HTTP headers for the Amplify app.
Expand Down Expand Up @@ -151,13 +159,14 @@ extension Amplify {
/// Updates the date and time for the Amplify app.
public let updateTime: Date

public init(appArn: String, appId: String, autoBranchCreationConfig: AutoBranchCreationConfig? = nil, autoBranchCreationPatterns: [String]? = nil, basicAuthCredentials: String? = nil, buildSpec: String? = 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) {
self.appArn = appArn
self.appId = appId
self.autoBranchCreationConfig = autoBranchCreationConfig
self.autoBranchCreationPatterns = autoBranchCreationPatterns
self.basicAuthCredentials = basicAuthCredentials
self.buildSpec = buildSpec
self.cacheConfig = cacheConfig
self.createTime = createTime
self.customHeaders = customHeaders
self.customRules = customRules
Expand Down Expand Up @@ -185,6 +194,7 @@ extension Amplify {
case autoBranchCreationPatterns = "autoBranchCreationPatterns"
case basicAuthCredentials = "basicAuthCredentials"
case buildSpec = "buildSpec"
case cacheConfig = "cacheConfig"
case createTime = "createTime"
case customHeaders = "customHeaders"
case customRules = "customRules"
Expand Down Expand Up @@ -462,12 +472,25 @@ extension Amplify {
}
}

public struct CacheConfig: AWSEncodableShape & AWSDecodableShape {
/// The type of cache configuration to use for an Amplify app. The AMPLIFY_MANAGED cache configuration automatically applies an optimized cache configuration for your app based on its platform, routing rules, and rewrite rules. This is the default setting. The AMPLIFY_MANAGED_NO_COOKIES cache configuration type is the same as AMPLIFY_MANAGED, except that it excludes all cookies from the cache key.
public let type: CacheConfigType

public init(type: CacheConfigType) {
self.type = type
}

private enum CodingKeys: String, CodingKey {
case type = "type"
}
}

public struct Certificate: AWSDecodableShape {
/// The DNS record for certificate verification.
public let certificateVerificationDNSRecord: String?
/// The Amazon resource name (ARN) for a custom certificate that you have already added to Certificate Manager in your Amazon Web Services account. This field is required only when the certificate type is CUSTOM.
public let customCertificateArn: String?
/// The type of SSL/TLS certificate that you want to use. Specify AMPLIFY_MANAGED to use the default certificate that Amplify provisions for you. Specify CUSTOM to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide .
/// The type of SSL/TLS certificate that you want to use. Specify AMPLIFY_MANAGED to use the default certificate that Amplify provisions for you. Specify CUSTOM to use your own certificate that you have already added to Certificate Manager in your Amazon Web Services account. Make sure you request (or import) the certificate in the US East (N. Virginia) Region (us-east-1). For more information about using ACM, see Importing certificates into Certificate Manager in the ACM User guide.
public let type: CertificateType

public init(certificateVerificationDNSRecord: String? = nil, customCertificateArn: String? = nil, type: CertificateType) {
Expand Down Expand Up @@ -516,6 +539,8 @@ extension Amplify {
public let basicAuthCredentials: String?
/// The build specification (build spec) for an Amplify app.
public let buildSpec: String?
/// The cache configuration for the Amplify app.
public let cacheConfig: CacheConfig?
/// The custom HTTP headers for an Amplify app.
public let customHeaders: String?
/// The custom rewrite and redirect rules for an Amplify app.
Expand Down Expand Up @@ -545,12 +570,13 @@ extension Amplify {
/// The tag for an Amplify app.
public let tags: [String: String]?

public init(accessToken: String? = nil, autoBranchCreationConfig: AutoBranchCreationConfig? = nil, autoBranchCreationPatterns: [String]? = nil, basicAuthCredentials: String? = nil, buildSpec: String? = nil, customHeaders: String? = nil, customRules: [CustomRule]? = nil, description: String? = nil, enableAutoBranchCreation: Bool? = nil, enableBasicAuth: Bool? = nil, enableBranchAutoBuild: Bool? = nil, enableBranchAutoDeletion: Bool? = nil, environmentVariables: [String: String]? = nil, iamServiceRoleArn: String? = nil, name: String, oauthToken: String? = nil, platform: Platform? = nil, repository: String? = nil, tags: [String: String]? = nil) {
public init(accessToken: String? = nil, autoBranchCreationConfig: AutoBranchCreationConfig? = nil, autoBranchCreationPatterns: [String]? = nil, basicAuthCredentials: String? = nil, buildSpec: String? = nil, cacheConfig: CacheConfig? = nil, customHeaders: String? = nil, customRules: [CustomRule]? = nil, description: String? = nil, enableAutoBranchCreation: Bool? = nil, enableBasicAuth: Bool? = nil, enableBranchAutoBuild: Bool? = nil, enableBranchAutoDeletion: Bool? = nil, environmentVariables: [String: String]? = nil, iamServiceRoleArn: String? = nil, name: String, oauthToken: String? = nil, platform: Platform? = nil, repository: String? = nil, tags: [String: String]? = nil) {
self.accessToken = accessToken
self.autoBranchCreationConfig = autoBranchCreationConfig
self.autoBranchCreationPatterns = autoBranchCreationPatterns
self.basicAuthCredentials = basicAuthCredentials
self.buildSpec = buildSpec
self.cacheConfig = cacheConfig
self.customHeaders = customHeaders
self.customRules = customRules
self.description = description
Expand Down Expand Up @@ -620,6 +646,7 @@ extension Amplify {
case autoBranchCreationPatterns = "autoBranchCreationPatterns"
case basicAuthCredentials = "basicAuthCredentials"
case buildSpec = "buildSpec"
case cacheConfig = "cacheConfig"
case customHeaders = "customHeaders"
case customRules = "customRules"
case description = "description"
Expand Down Expand Up @@ -2627,6 +2654,8 @@ extension Amplify {
public let basicAuthCredentials: String?
/// The build specification (build spec) for an Amplify app.
public let buildSpec: String?
/// The cache configuration for the Amplify app.
public let cacheConfig: CacheConfig?
/// The custom HTTP headers for an Amplify app.
public let customHeaders: String?
/// The custom redirect and rewrite rules for an Amplify app.
Expand Down Expand Up @@ -2654,13 +2683,14 @@ extension Amplify {
/// The name of the Git repository for an Amplify app.
public let repository: String?

public init(accessToken: String? = nil, appId: String, autoBranchCreationConfig: AutoBranchCreationConfig? = nil, autoBranchCreationPatterns: [String]? = nil, basicAuthCredentials: String? = nil, buildSpec: String? = nil, customHeaders: String? = nil, customRules: [CustomRule]? = nil, description: String? = nil, enableAutoBranchCreation: Bool? = nil, enableBasicAuth: Bool? = nil, enableBranchAutoBuild: Bool? = nil, enableBranchAutoDeletion: Bool? = nil, environmentVariables: [String: String]? = nil, iamServiceRoleArn: String? = nil, name: String? = nil, oauthToken: String? = nil, platform: Platform? = nil, repository: String? = nil) {
public init(accessToken: String? = nil, appId: String, autoBranchCreationConfig: AutoBranchCreationConfig? = nil, autoBranchCreationPatterns: [String]? = nil, basicAuthCredentials: String? = nil, buildSpec: String? = nil, cacheConfig: CacheConfig? = nil, customHeaders: String? = nil, customRules: [CustomRule]? = nil, description: String? = nil, enableAutoBranchCreation: Bool? = nil, enableBasicAuth: Bool? = nil, enableBranchAutoBuild: Bool? = nil, enableBranchAutoDeletion: Bool? = nil, environmentVariables: [String: String]? = nil, iamServiceRoleArn: String? = nil, name: String? = nil, oauthToken: String? = nil, platform: Platform? = nil, repository: String? = nil) {
self.accessToken = accessToken
self.appId = appId
self.autoBranchCreationConfig = autoBranchCreationConfig
self.autoBranchCreationPatterns = autoBranchCreationPatterns
self.basicAuthCredentials = basicAuthCredentials
self.buildSpec = buildSpec
self.cacheConfig = cacheConfig
self.customHeaders = customHeaders
self.customRules = customRules
self.description = description
Expand All @@ -2685,6 +2715,7 @@ extension Amplify {
try container.encodeIfPresent(self.autoBranchCreationPatterns, forKey: .autoBranchCreationPatterns)
try container.encodeIfPresent(self.basicAuthCredentials, forKey: .basicAuthCredentials)
try container.encodeIfPresent(self.buildSpec, forKey: .buildSpec)
try container.encodeIfPresent(self.cacheConfig, forKey: .cacheConfig)
try container.encodeIfPresent(self.customHeaders, forKey: .customHeaders)
try container.encodeIfPresent(self.customRules, forKey: .customRules)
try container.encodeIfPresent(self.description, forKey: .description)
Expand Down Expand Up @@ -2748,6 +2779,7 @@ extension Amplify {
case autoBranchCreationPatterns = "autoBranchCreationPatterns"
case basicAuthCredentials = "basicAuthCredentials"
case buildSpec = "buildSpec"
case cacheConfig = "cacheConfig"
case customHeaders = "customHeaders"
case customRules = "customRules"
case description = "description"
Expand Down
Loading

0 comments on commit c875227

Please sign in to comment.