Skip to content

Commit

Permalink
Update models from aws-sdk-go-v2 4d3e8fd5051e0eed88b3a36ef24bd82d8f39…
Browse files Browse the repository at this point in the history
…23f5
  • Loading branch information
adam-fowler authored Jun 3, 2024
1 parent 07da2b3 commit 35f542b
Show file tree
Hide file tree
Showing 692 changed files with 21,298 additions and 1,431,409 deletions.
3 changes: 3 additions & 0 deletions Sources/Soto/Services/ACMPCA/ACMPCA_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ extension ACMPCA {
acceptors: [
.init(state: .success, matcher: try! JMESPathMatcher("auditReportStatus", expected: "SUCCESS")),
.init(state: .failure, matcher: try! JMESPathMatcher("auditReportStatus", expected: "FAILED")),
.init(state: .failure, matcher: AWSErrorCodeMatcher("AccessDeniedException")),
],
minDelayTime: .seconds(3),
command: self.describeCertificateAuthorityAuditReport
Expand All @@ -728,6 +729,7 @@ extension ACMPCA {
acceptors: [
.init(state: .success, matcher: AWSSuccessMatcher()),
.init(state: .retry, matcher: AWSErrorCodeMatcher("RequestInProgressException")),
.init(state: .failure, matcher: AWSErrorCodeMatcher("AccessDeniedException")),
],
minDelayTime: .seconds(3),
command: self.getCertificateAuthorityCsr
Expand All @@ -744,6 +746,7 @@ extension ACMPCA {
acceptors: [
.init(state: .success, matcher: AWSSuccessMatcher()),
.init(state: .retry, matcher: AWSErrorCodeMatcher("RequestInProgressException")),
.init(state: .failure, matcher: AWSErrorCodeMatcher("AccessDeniedException")),
],
minDelayTime: .seconds(1),
command: self.getCertificate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ public struct AccessAnalyzer: AWSService {
static var variantEndpoints: [EndpointVariantType: AWSServiceConfig.EndpointVariant] {[
[.fips]: .init(endpoints: [
"ca-central-1": "access-analyzer-fips.ca-central-1.amazonaws.com",
"ca-west-1": "access-analyzer-fips.ca-west-1.amazonaws.com",
"us-east-1": "access-analyzer-fips.us-east-1.amazonaws.com",
"us-east-2": "access-analyzer-fips.us-east-2.amazonaws.com",
"us-gov-east-1": "access-analyzer.us-gov-east-1.amazonaws.com",
Expand Down
2 changes: 1 addition & 1 deletion Sources/Soto/Services/Athena/Athena_api.swift
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ public struct Athena: AWSService {
)
}

/// Returns query execution runtime statistics related to a single execution of a query if you have access to the workgroup in which the query ran. Query execution runtime statistics are returned only when QueryExecutionStatus$State is in a SUCCEEDED or FAILED state. Stage-level input and output row count and data size statistics are not shown when a query has row-level filters defined in Lake Formation.
/// Returns query execution runtime statistics related to a single execution of a query if you have access to the workgroup in which the query ran. Statistics from the Timeline section of the response object are available as soon as QueryExecutionStatus$State is in a SUCCEEDED or FAILED state. The remaining non-timeline statistics in the response (like stage-level input and output row count and data size) are updated asynchronously and may not be available immediately after a query completes. The non-timeline statistics are also not included when a query has row-level filters defined in Lake Formation.
@Sendable
public func getQueryRuntimeStatistics(_ input: GetQueryRuntimeStatisticsInput, logger: Logger = AWSClient.loggingDisabled) async throws -> GetQueryRuntimeStatisticsOutput {
return try await self.client.execute(
Expand Down
14 changes: 7 additions & 7 deletions Sources/Soto/Services/Athena/Athena_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ extension Athena {
try self.validate(self.clientRequestToken, name: "clientRequestToken", parent: name, pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$")
try self.validate(self.name, name: "name", parent: name, max: 255)
try self.validate(self.name, name: "name", parent: name, min: 1)
try self.validate(self.name, name: "name", parent: name, pattern: "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]+$")
try self.validate(self.name, name: "name", parent: name, pattern: "^(?!.*[/:\\\\])[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]+$")
try self.validate(self.workGroup, name: "workGroup", parent: name, pattern: "^[a-zA-Z0-9._-]{1,128}$")
}

Expand Down Expand Up @@ -1334,7 +1334,7 @@ extension Athena {
public func validate(name: String) throws {
try self.validate(self.name, name: "name", parent: name, max: 255)
try self.validate(self.name, name: "name", parent: name, min: 1)
try self.validate(self.name, name: "name", parent: name, pattern: "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]+$")
try self.validate(self.name, name: "name", parent: name, pattern: "^(?!.*[/:\\\\])[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]+$")
}

private enum CodingKeys: String, CodingKey {
Expand Down Expand Up @@ -2052,7 +2052,7 @@ extension Athena {
try self.validate(self.clientRequestToken, name: "clientRequestToken", parent: name, pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$")
try self.validate(self.name, name: "name", parent: name, max: 255)
try self.validate(self.name, name: "name", parent: name, min: 1)
try self.validate(self.name, name: "name", parent: name, pattern: "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]+$")
try self.validate(self.name, name: "name", parent: name, pattern: "^(?!.*[/:\\\\])[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]+$")
try self.validate(self.notebookS3LocationUri, name: "notebookS3LocationUri", parent: name, max: 1024)
try self.validate(self.notebookS3LocationUri, name: "notebookS3LocationUri", parent: name, pattern: "^(https|s3|S3)://([^/]+)/?(.*)$")
try self.validate(self.payload, name: "payload", parent: name, max: 10485760)
Expand Down Expand Up @@ -3340,7 +3340,7 @@ extension Athena {
public let encryptionConfiguration: EncryptionConfiguration?
/// The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.
public let expectedBucketOwner: String?
/// The location in Amazon S3 where your query and calculation results are stored, such as s3://path/to/query/bucket/. To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using WorkGroupConfiguration. If none of them is set, Athena issues an error that no output location is provided. For more information, see Working with query results, recent queries, and output files. If workgroup settings override client-side settings, then the query uses the settings specified for the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
/// The location in Amazon S3 where your query and calculation results are stored, such as s3://path/to/query/bucket/. To run the query, you must specify the query results location using one of the ways: either for individual queries using either this setting (client-side), or in the workgroup, using WorkGroupConfiguration. If none of them is set, Athena issues an error that no output location is provided. If workgroup settings override client-side settings, then the query uses the settings specified for the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
public let outputLocation: String?

public init(aclConfiguration: AclConfiguration? = nil, encryptionConfiguration: EncryptionConfiguration? = nil, expectedBucketOwner: String? = nil, outputLocation: String? = nil) {
Expand Down Expand Up @@ -3371,7 +3371,7 @@ extension Athena {
public let encryptionConfiguration: EncryptionConfiguration?
/// The Amazon Web Services account ID that you expect to be the owner of the Amazon S3 bucket specified by ResultConfiguration$OutputLocation. If set, Athena uses the value for ExpectedBucketOwner when it makes Amazon S3 calls to your specified output location. If the ExpectedBucketOwner Amazon Web Services account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error. If workgroup settings override client-side settings, then the query uses the ExpectedBucketOwner setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. See WorkGroupConfiguration$EnforceWorkGroupConfiguration and Workgroup Settings Override Client-Side Settings.
public let expectedBucketOwner: String?
/// The location in Amazon S3 where your query and calculation results are stored, such as s3://path/to/query/bucket/. For more information, see Working with query results, recent queries, and output files. If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
/// The location in Amazon S3 where your query and calculation results are stored, such as s3://path/to/query/bucket/. If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
public let outputLocation: String?
/// If set to true, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null. If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates, the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings.
public let removeAclConfiguration: Bool?
Expand Down Expand Up @@ -4240,7 +4240,7 @@ extension Athena {
try self.validate(self.clientRequestToken, name: "clientRequestToken", parent: name, pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$")
try self.validate(self.name, name: "name", parent: name, max: 255)
try self.validate(self.name, name: "name", parent: name, min: 1)
try self.validate(self.name, name: "name", parent: name, pattern: "^[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]+$")
try self.validate(self.name, name: "name", parent: name, pattern: "^(?!.*[/:\\\\])[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]+$")
try self.validate(self.notebookId, name: "notebookId", parent: name, max: 36)
try self.validate(self.notebookId, name: "notebookId", parent: name, min: 1)
try self.validate(self.notebookId, name: "notebookId", parent: name, pattern: "^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$")
Expand Down Expand Up @@ -4392,7 +4392,7 @@ extension Athena {
public let queryResultsS3AccessGrantsConfiguration: QueryResultsS3AccessGrantsConfiguration?
/// If set to true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide.
public let requesterPaysEnabled: Bool?
/// The configuration for the workgroup, which includes the location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query and calculation results. To run the query, you must specify the query results location using one of the ways: either in the workgroup using this setting, or for individual queries (client-side), using ResultConfiguration$OutputLocation. If none of them is set, Athena issues an error that no output location is provided. For more information, see Working with query results, recent queries, and output files.
/// The configuration for the workgroup, which includes the location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query and calculation results. To run the query, you must specify the query results location using one of the ways: either in the workgroup using this setting, or for individual queries (client-side), using ResultConfiguration$OutputLocation. If none of them is set, Athena issues an error that no output location is provided.
public let resultConfiguration: ResultConfiguration?

public init(additionalConfiguration: String? = nil, bytesScannedCutoffPerQuery: Int64? = nil, customerContentEncryptionConfiguration: CustomerContentEncryptionConfiguration? = nil, enableMinimumEncryptionConfiguration: Bool? = nil, enforceWorkGroupConfiguration: Bool? = nil, engineVersion: EngineVersion? = nil, executionRole: String? = nil, identityCenterConfiguration: IdentityCenterConfiguration? = nil, publishCloudWatchMetricsEnabled: Bool? = nil, queryResultsS3AccessGrantsConfiguration: QueryResultsS3AccessGrantsConfiguration? = nil, requesterPaysEnabled: Bool? = nil, resultConfiguration: ResultConfiguration? = nil) {
Expand Down
14 changes: 7 additions & 7 deletions Sources/Soto/Services/B2bi/B2bi_shapes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ extension B2bi {
public let ediType: EdiType
/// Specifies that the currently supported file formats for EDI transformations are JSON and XML.
public let fileFormat: FileFormat
/// Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
/// Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
public let mappingTemplate: String
/// Specifies the name of the transformer, used to identify it.
public let name: String
Expand Down Expand Up @@ -523,7 +523,7 @@ extension B2bi {
public let ediType: EdiType
/// Returns that the currently supported file formats for EDI transformations are JSON and XML.
public let fileFormat: FileFormat
/// Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
/// Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
public let mappingTemplate: String
/// Returns the name of the transformer, used to identify it.
public let name: String
Expand Down Expand Up @@ -982,7 +982,7 @@ extension B2bi {
public let ediType: EdiType
/// Returns that the currently supported file formats for EDI transformations are JSON and XML.
public let fileFormat: FileFormat
/// Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
/// Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
public let mappingTemplate: String
/// Returns a timestamp for last time the transformer was modified.
@OptionalCustomCoding<ISO8601DateCoder>
Expand Down Expand Up @@ -1454,7 +1454,7 @@ extension B2bi {
public let fileFormat: FileFormat
/// Specify the contents of the EDI (electronic data interchange) XML or JSON file that is used as input for the transform.
public let inputFileContent: String
/// Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
/// Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
public let mappingTemplate: String

public init(fileFormat: FileFormat, inputFileContent: String, mappingTemplate: String) {
Expand Down Expand Up @@ -1534,7 +1534,7 @@ extension B2bi {
public let ediType: EdiType
/// Returns that the currently supported file formats for EDI transformations are JSON and XML.
public let fileFormat: FileFormat
/// Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
/// Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
public let mappingTemplate: String
/// Returns a timestamp representing the date and time for the most recent change for the transformer object.
@OptionalCustomCoding<ISO8601DateCoder>
Expand Down Expand Up @@ -1895,7 +1895,7 @@ extension B2bi {
public let ediType: EdiType?
/// Specifies that the currently supported file formats for EDI transformations are JSON and XML.
public let fileFormat: FileFormat?
/// Specifies the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
/// Specifies the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
public let mappingTemplate: String?
/// Specify a new name for the transformer, if you want to update it.
public let name: String?
Expand Down Expand Up @@ -1956,7 +1956,7 @@ extension B2bi {
public let ediType: EdiType
/// Returns that the currently supported file formats for EDI transformations are JSON and XML.
public let fileFormat: FileFormat
/// Returns the name of the mapping template for the transformer. This template is used to convert the input document into the correct set of objects.
/// Returns the mapping template for the transformer. This template is used to map the parsed EDI file using JSONata or XSLT.
public let mappingTemplate: String
/// Returns a timestamp for last time the transformer was modified.
@CustomCoding<ISO8601DateCoder>
Expand Down
Loading

0 comments on commit 35f542b

Please sign in to comment.