Skip to content

Commit 17f4707

Browse files
Update models from aws-sdk-go-v2 release-2025-04-14 (#759)
1 parent 65512ae commit 17f4707

File tree

251 files changed

+49183
-13861
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

251 files changed

+49183
-13861
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.10
1+
// swift-tools-version:5.9
22
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the Soto for AWS open source project
@@ -433,7 +433,7 @@ let package = Package(
433433
.library(name: "SotoXRay", targets: ["SotoXRay"]),
434434
],
435435
dependencies: [
436-
.package(url: "https://github.com/soto-project/soto-core.git", from: "7.6.0")
436+
.package(url: "https://github.com/soto-project/soto-core.git", from: "7.4.0")
437437
],
438438
targets: [
439439
.target(

Sources/Soto/Services/APIGateway/APIGateway_api.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public struct APIGateway: AWSService {
423423
/// - certificateName: The user-friendly name of the certificate that will be used by edge-optimized endpoint or private endpoint for this domain name.
424424
/// - certificatePrivateKey: [Deprecated] Your edge-optimized endpoint's domain name certificate's private key.
425425
/// - domainName: The name of the DomainName resource.
426-
/// - endpointConfiguration: The endpoint configuration of this DomainName showing the endpoint types of the domain name.
426+
/// - endpointConfiguration: The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
427427
/// - mutualTlsAuthentication:
428428
/// - ownershipVerificationCertificateArn: The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.
429429
/// - policy: A stringified JSON policy document that applies to the execute-api service for this DomainName regardless of the caller and Method configuration. Supported only for private custom domain names.
@@ -642,7 +642,7 @@ public struct APIGateway: AWSService {
642642
/// - cloneFrom: The ID of the RestApi that you want to clone from.
643643
/// - description: The description of the RestApi.
644644
/// - disableExecuteApiEndpoint: Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
645-
/// - endpointConfiguration: The endpoint configuration of this RestApi showing the endpoint types of the API.
645+
/// - endpointConfiguration: The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
646646
/// - minimumCompressionSize: A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
647647
/// - name: The name of the RestApi.
648648
/// - policy: A stringified JSON policy document that applies to this RestApi regardless of the caller and Method configuration.

Sources/Soto/Services/APIGateway/APIGateway_shapes.swift

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ extension APIGateway {
147147
public var description: String { return self.rawValue }
148148
}
149149

150+
public enum IpAddressType: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
151+
case dualstack = "dualstack"
152+
case ipv4 = "ipv4"
153+
public var description: String { return self.rawValue }
154+
}
155+
150156
public enum LocationStatusType: String, CustomStringConvertible, Codable, Sendable, CodingKeyRepresentable {
151157
case documented = "DOCUMENTED"
152158
case undocumented = "UNDOCUMENTED"
@@ -856,7 +862,7 @@ extension APIGateway {
856862
public let certificatePrivateKey: String?
857863
/// The name of the DomainName resource.
858864
public let domainName: String
859-
/// The endpoint configuration of this DomainName showing the endpoint types of the domain name.
865+
/// The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
860866
public let endpointConfiguration: EndpointConfiguration?
861867
public let mutualTlsAuthentication: MutualTlsAuthenticationInput?
862868
/// The ARN of the public certificate issued by ACM to validate ownership of your custom domain. Only required when configuring mutual TLS and using an ACM imported or private CA certificate ARN as the regionalCertificateArn.
@@ -1020,7 +1026,7 @@ extension APIGateway {
10201026
public let description: String?
10211027
/// Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint
10221028
public let disableExecuteApiEndpoint: Bool?
1023-
/// The endpoint configuration of this RestApi showing the endpoint types of the API.
1029+
/// The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
10241030
public let endpointConfiguration: EndpointConfiguration?
10251031
/// A nullable integer that is used to enable compression (with non-negative between 0 and 10485760 (10M) bytes, inclusive) or disable compression (with a null value) on an API. When compression is enabled, compression or decompression is not applied on the payload if the payload size is smaller than this value. Setting it to zero allows compression for any payload size.
10261032
public let minimumCompressionSize: Int?
@@ -1936,7 +1942,7 @@ extension APIGateway {
19361942
public let domainNameStatus: DomainNameStatus?
19371943
/// An optional text message containing detailed information about status of the DomainName migration.
19381944
public let domainNameStatusMessage: String?
1939-
/// The endpoint configuration of this DomainName showing the endpoint types of the domain name.
1945+
/// The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
19401946
public let endpointConfiguration: EndpointConfiguration?
19411947
/// A stringified JSON policy document that applies to the API Gateway Management service for this DomainName. This policy document controls access for access association sources to create domain name access associations with this DomainName. Supported only for private custom domain names.
19421948
public let managementPolicy: String?
@@ -2076,18 +2082,22 @@ extension APIGateway {
20762082
}
20772083

20782084
public struct EndpointConfiguration: AWSEncodableShape & AWSDecodableShape {
2085+
/// The IP address types that can invoke an API (RestApi) or a DomainName. Use ipv4 to allow only IPv4 addresses to invoke an API or DomainName, or use dualstack to allow both IPv4 and IPv6 addresses to invoke an API or a DomainName. For the PRIVATE endpoint type, only dualstack is supported.
2086+
public let ipAddressType: IpAddressType?
20792087
/// A list of endpoint types of an API (RestApi) or its custom domain name (DomainName). For an edge-optimized API and its custom domain name, the endpoint type is "EDGE". For a regional API and its custom domain name, the endpoint type is REGIONAL. For a private API, the endpoint type is PRIVATE.
20802088
public let types: [EndpointType]?
20812089
/// A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
20822090
public let vpcEndpointIds: [String]?
20832091

20842092
@inlinable
2085-
public init(types: [EndpointType]? = nil, vpcEndpointIds: [String]? = nil) {
2093+
public init(ipAddressType: IpAddressType? = nil, types: [EndpointType]? = nil, vpcEndpointIds: [String]? = nil) {
2094+
self.ipAddressType = ipAddressType
20862095
self.types = types
20872096
self.vpcEndpointIds = vpcEndpointIds
20882097
}
20892098

20902099
private enum CodingKeys: String, CodingKey {
2100+
case ipAddressType = "ipAddressType"
20912101
case types = "types"
20922102
case vpcEndpointIds = "vpcEndpointIds"
20932103
}
@@ -4355,7 +4365,7 @@ extension APIGateway {
43554365
public let description: String?
43564366
/// Specifies whether clients can invoke your API by using the default execute-api endpoint. By default, clients can invoke your API with the default https://{api_id}.execute-api.{region}.amazonaws.com endpoint. To require that clients use a custom domain name to invoke your API, disable the default endpoint.
43574367
public let disableExecuteApiEndpoint: Bool?
4358-
/// The endpoint configuration of this RestApi showing the endpoint types of the API.
4368+
/// The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
43594369
public let endpointConfiguration: EndpointConfiguration?
43604370
/// The API's identifier. This identifier is unique across all of your APIs in API Gateway.
43614371
public let id: String?

0 commit comments

Comments
 (0)