You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/Models.swift
+48-13
Original file line number
Diff line number
Diff line change
@@ -1212,6 +1212,35 @@ public struct CreateDocumentationVersionOutput: Swift.Sendable {
1212
1212
}
1213
1213
}
1214
1214
1215
+
extension APIGatewayClientTypes {
1216
+
1217
+
public enum IpAddressType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
1218
+
case dualstack
1219
+
case ipv4
1220
+
case sdkUnknown(Swift.String)
1221
+
1222
+
public static var allCases: [IpAddressType] {
1223
+
return [
1224
+
.dualstack,
1225
+
.ipv4
1226
+
]
1227
+
}
1228
+
1229
+
public init?(rawValue: Swift.String) {
1230
+
let value = Self.allCases.first(where: { $0.rawValue == rawValue })
1231
+
self = value ?? Self.sdkUnknown(rawValue)
1232
+
}
1233
+
1234
+
public var rawValue: Swift.String {
1235
+
switch self {
1236
+
case .dualstack: return "dualstack"
1237
+
case .ipv4: return "ipv4"
1238
+
case let .sdkUnknown(s): return s
1239
+
}
1240
+
}
1241
+
}
1242
+
}
1243
+
1215
1244
extension APIGatewayClientTypes {
1216
1245
1217
1246
/// The endpoint type. The valid values are EDGE for edge-optimized API setup, most suitable for mobile applications; REGIONAL for regional API endpoint setup, most suitable for calling from AWS Region; and PRIVATE for private APIs.
/// The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has.
1279
+
/// The endpoint configuration to indicate the types of endpoints an API (RestApi) or its custom domain name (DomainName) has and the IP address types that can invoke it.
1251
1280
public struct EndpointConfiguration: Swift.Sendable {
1281
+
/// 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.
1282
+
public var ipAddressType: APIGatewayClientTypes.IpAddressType?
1252
1283
/// 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.
1253
1284
public var types: [APIGatewayClientTypes.EndpointType]?
1254
1285
/// A list of VpcEndpointIds of an API (RestApi) against which to create Route53 ALIASes. It is only supported for PRIVATE endpoint type.
@@ -1327,7 +1360,7 @@ public struct CreateDomainNameInput: Swift.Sendable {
1327
1360
/// The name of the DomainName resource.
1328
1361
/// This member is required.
1329
1362
public var domainName: Swift.String?
1330
-
/// The endpoint configuration of this DomainName showing the endpoint types of the domain name.
1363
+
/// The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
1331
1364
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
1332
1365
/// The mutual TLS authentication configuration for a custom domain name. If specified, API Gateway performs two-way authentication between the client and the server. Clients must present a trusted certificate to access your API.
1333
1366
public var mutualTlsAuthentication: APIGatewayClientTypes.MutualTlsAuthenticationInput?
@@ -1460,7 +1493,7 @@ public struct CreateDomainNameOutput: Swift.Sendable {
1460
1493
public var domainNameStatus: APIGatewayClientTypes.DomainNameStatus?
1461
1494
/// An optional text message containing detailed information about status of the DomainName migration.
1462
1495
public var domainNameStatusMessage: Swift.String?
1463
-
/// The endpoint configuration of this DomainName showing the endpoint types of the domain name.
1496
+
/// The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
1464
1497
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
1465
1498
/// 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.
1466
1499
public var managementPolicy: Swift.String?
@@ -2047,7 +2080,7 @@ public struct CreateRestApiInput: Swift.Sendable {
2047
2080
public var description: Swift.String?
2048
2081
/// 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
2049
2082
public var disableExecuteApiEndpoint: Swift.Bool?
2050
-
/// The endpoint configuration of this RestApi showing the endpoint types of the API.
2083
+
/// The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
2051
2084
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
2052
2085
/// 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.
2053
2086
public var minimumCompressionSize: Swift.Int?
@@ -2100,7 +2133,7 @@ public struct CreateRestApiOutput: Swift.Sendable {
2100
2133
public var description: Swift.String?
2101
2134
/// 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.
2102
2135
public var disableExecuteApiEndpoint: Swift.Bool
2103
-
/// The endpoint configuration of this RestApi showing the endpoint types of the API.
2136
+
/// The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
2104
2137
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
2105
2138
/// The API's identifier. This identifier is unique across all of your APIs in API Gateway.
2106
2139
public var id: Swift.String?
@@ -4126,7 +4159,7 @@ public struct GetDomainNameOutput: Swift.Sendable {
4126
4159
public var domainNameStatus: APIGatewayClientTypes.DomainNameStatus?
4127
4160
/// An optional text message containing detailed information about status of the DomainName migration.
4128
4161
public var domainNameStatusMessage: Swift.String?
4129
-
/// The endpoint configuration of this DomainName showing the endpoint types of the domain name.
4162
+
/// The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
4130
4163
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
4131
4164
/// 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.
public var domainNameStatus: APIGatewayClientTypes.DomainNameStatus?
4335
4368
/// An optional text message containing detailed information about status of the DomainName migration.
4336
4369
public var domainNameStatusMessage: Swift.String?
4337
-
/// The endpoint configuration of this DomainName showing the endpoint types of the domain name.
4370
+
/// The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
4338
4371
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
4339
4372
/// 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.
4340
4373
public var managementPolicy: Swift.String?
@@ -5257,7 +5290,7 @@ public struct GetRestApiOutput: Swift.Sendable {
5257
5290
public var description: Swift.String?
5258
5291
/// 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.
5259
5292
public var disableExecuteApiEndpoint: Swift.Bool
5260
-
/// The endpoint configuration of this RestApi showing the endpoint types of the API.
5293
+
/// The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
5261
5294
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
5262
5295
/// The API's identifier. This identifier is unique across all of your APIs in API Gateway.
/// 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.
5341
5374
public var disableExecuteApiEndpoint: Swift.Bool
5342
-
/// The endpoint configuration of this RestApi showing the endpoint types of the API.
5375
+
/// The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
5343
5376
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
5344
5377
/// The API's identifier. This identifier is unique across all of your APIs in API Gateway.
5345
5378
public var id: Swift.String?
@@ -6380,7 +6413,7 @@ public struct ImportRestApiOutput: Swift.Sendable {
6380
6413
public var description: Swift.String?
6381
6414
/// 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.
6382
6415
public var disableExecuteApiEndpoint: Swift.Bool
6383
-
/// The endpoint configuration of this RestApi showing the endpoint types of the API.
6416
+
/// The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
6384
6417
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
6385
6418
/// The API's identifier. This identifier is unique across all of your APIs in API Gateway.
6386
6419
public var id: Swift.String?
@@ -6916,7 +6949,7 @@ public struct PutRestApiOutput: Swift.Sendable {
6916
6949
public var description: Swift.String?
6917
6950
/// 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.
6918
6951
public var disableExecuteApiEndpoint: Swift.Bool
6919
-
/// The endpoint configuration of this RestApi showing the endpoint types of the API.
6952
+
/// The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
6920
6953
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
6921
6954
/// The API's identifier. This identifier is unique across all of your APIs in API Gateway.
6922
6955
public var id: Swift.String?
@@ -7685,7 +7718,7 @@ public struct UpdateDomainNameOutput: Swift.Sendable {
7685
7718
public var domainNameStatus: APIGatewayClientTypes.DomainNameStatus?
7686
7719
/// An optional text message containing detailed information about status of the DomainName migration.
7687
7720
public var domainNameStatusMessage: Swift.String?
7688
-
/// The endpoint configuration of this DomainName showing the endpoint types of the domain name.
7721
+
/// The endpoint configuration of this DomainName showing the endpoint types and IP address types of the domain name.
7689
7722
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
7690
7723
/// 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.
7691
7724
public var managementPolicy: Swift.String?
@@ -8266,7 +8299,7 @@ public struct UpdateRestApiOutput: Swift.Sendable {
8266
8299
public var description: Swift.String?
8267
8300
/// 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.
8268
8301
public var disableExecuteApiEndpoint: Swift.Bool
8269
-
/// The endpoint configuration of this RestApi showing the endpoint types of the API.
8302
+
/// The endpoint configuration of this RestApi showing the endpoint types and IP address types of the API.
8270
8303
public var endpointConfiguration: APIGatewayClientTypes.EndpointConfiguration?
8271
8304
/// The API's identifier. This identifier is unique across all of your APIs in API Gateway.
0 commit comments