Skip to content

Commit

Permalink
Update models from aws-sdk-go-v2 release-2024-04-26
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed Apr 29, 2024
1 parent 58634b7 commit bc0c0fa
Show file tree
Hide file tree
Showing 206 changed files with 56,291 additions and 16,165 deletions.
4 changes: 4 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ let package = Package(
.library(name: "SotoConnectCases", targets: ["SotoConnectCases"]),
.library(name: "SotoConnectContactLens", targets: ["SotoConnectContactLens"]),
.library(name: "SotoConnectParticipant", targets: ["SotoConnectParticipant"]),
.library(name: "SotoControlCatalog", targets: ["SotoControlCatalog"]),
.library(name: "SotoControlTower", targets: ["SotoControlTower"]),
.library(name: "SotoCostAndUsageReportService", targets: ["SotoCostAndUsageReportService"]),
.library(name: "SotoCostExplorer", targets: ["SotoCostExplorer"]),
Expand Down Expand Up @@ -332,6 +333,7 @@ let package = Package(
.library(name: "SotoRolesAnywhere", targets: ["SotoRolesAnywhere"]),
.library(name: "SotoRoute53", targets: ["SotoRoute53"]),
.library(name: "SotoRoute53Domains", targets: ["SotoRoute53Domains"]),
.library(name: "SotoRoute53Profiles", targets: ["SotoRoute53Profiles"]),
.library(name: "SotoRoute53RecoveryCluster", targets: ["SotoRoute53RecoveryCluster"]),
.library(name: "SotoRoute53RecoveryControlConfig", targets: ["SotoRoute53RecoveryControlConfig"]),
.library(name: "SotoRoute53RecoveryReadiness", targets: ["SotoRoute53RecoveryReadiness"]),
Expand Down Expand Up @@ -506,6 +508,7 @@ let package = Package(
.target(name: "SotoConnectCases", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectCases", swiftSettings: swiftSettings),
.target(name: "SotoConnectContactLens", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectContactLens", swiftSettings: swiftSettings),
.target(name: "SotoConnectParticipant", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ConnectParticipant", swiftSettings: swiftSettings),
.target(name: "SotoControlCatalog", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ControlCatalog", swiftSettings: swiftSettings),
.target(name: "SotoControlTower", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/ControlTower", swiftSettings: swiftSettings),
.target(name: "SotoCostAndUsageReportService", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/CostAndUsageReportService", swiftSettings: swiftSettings),
.target(name: "SotoCostExplorer", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/CostExplorer", swiftSettings: swiftSettings),
Expand Down Expand Up @@ -717,6 +720,7 @@ let package = Package(
.target(name: "SotoRolesAnywhere", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/RolesAnywhere", swiftSettings: swiftSettings),
.target(name: "SotoRoute53", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Route53", swiftSettings: swiftSettings),
.target(name: "SotoRoute53Domains", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Route53Domains", swiftSettings: swiftSettings),
.target(name: "SotoRoute53Profiles", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Route53Profiles", swiftSettings: swiftSettings),
.target(name: "SotoRoute53RecoveryCluster", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Route53RecoveryCluster", swiftSettings: swiftSettings),
.target(name: "SotoRoute53RecoveryControlConfig", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Route53RecoveryControlConfig", swiftSettings: swiftSettings),
.target(name: "SotoRoute53RecoveryReadiness", dependencies: [.product(name: "SotoCore", package: "soto-core")], path: "./Sources/Soto/Services/Route53RecoveryReadiness", swiftSettings: swiftSettings),
Expand Down
8 changes: 4 additions & 4 deletions Sources/Soto/Services/AppSync/AppSync_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3437,7 +3437,7 @@ extension AppSync {
try self.validate(self.resourceArn, name: "resourceArn", parent: name, pattern: "^arn:[a-z-]*:rds:[a-z0-9-]*:\\d{12}:cluster:[0-9A-Za-z_/-]*$")
try self.validate(self.secretArn, name: "secretArn", parent: name, max: 2048)
try self.validate(self.secretArn, name: "secretArn", parent: name, min: 20)
try self.validate(self.secretArn, name: "secretArn", parent: name, pattern: "^arn:[a-z-]*:secretsmanager:[a-z0-9-]*:\\d{12}:secret:[0-9A-Za-z_/-]*$")
try self.validate(self.secretArn, name: "secretArn", parent: name, pattern: "^arn:[a-z-]*:secretsmanager:[a-z0-9-]*:\\d{12}:secret:[0-9A-Za-z_/+=.@!-]*$")
}

private enum CodingKeys: String, CodingKey {
Expand Down Expand Up @@ -4245,7 +4245,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 @@ -4271,7 +4271,7 @@ extension AppSync {
/// A flag indicating whether to use X-Ray tracing for the GraphqlApi.
public let xrayEnabled: Bool?

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 @@ -4294,7 +4294,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
14 changes: 14 additions & 0 deletions Sources/Soto/Services/AutoScalingPlans/AutoScalingPlans_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public struct AutoScalingPlans: AWSService {
serviceProtocol: .json(version: "1.1"),
apiVersion: "2018-01-06",
endpoint: endpoint,
serviceEndpoints: Self.serviceEndpoints,
variantEndpoints: Self.variantEndpoints,
errorType: AutoScalingPlansErrorType.self,
middleware: middleware,
timeout: timeout,
Expand All @@ -70,8 +72,20 @@ public struct AutoScalingPlans: AWSService {
}


/// custom endpoints for regions
static var serviceEndpoints: [String: String] {[
"us-gov-east-1": "autoscaling-plans.us-gov-east-1.amazonaws.com",
"us-gov-west-1": "autoscaling-plans.us-gov-west-1.amazonaws.com"
]}


/// FIPS and dualstack endpoints
static var variantEndpoints: [EndpointVariantType: AWSServiceConfig.EndpointVariant] {[
[.fips]: .init(endpoints: [
"us-gov-east-1": "autoscaling-plans.us-gov-east-1.amazonaws.com",
"us-gov-west-1": "autoscaling-plans.us-gov-west-1.amazonaws.com"
])
]}

// MARK: API Calls

Expand Down
2 changes: 1 addition & 1 deletion Sources/Soto/Services/Batch/Batch_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/// Service object for interacting with AWS Batch service.
///
/// Batch Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently provision resources d, and work toward eliminating capacity constraints, reducing your overall compute costs, and delivering results more quickly. As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus on analyzing results and solving your specific problems instead.
/// Batch Using Batch, you can run batch computing workloads on the Amazon Web Services Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. Batch uses the advantages of the batch computing to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. You can use Batch to efficiently provision resources, and work toward eliminating capacity constraints, reducing your overall compute costs, and delivering results more quickly. As a fully managed service, Batch can run batch computing workloads of any scale. Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With Batch, there's no need to install or manage batch computing software. This means that you can focus on analyzing results and solving your specific problems instead.
public struct Batch: AWSService {
// MARK: Member variables

Expand Down
Loading

0 comments on commit bc0c0fa

Please sign in to comment.