Skip to content

Commit

Permalink
chore: Updates version to 1.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Oct 11, 2024
1 parent d9e8da0 commit 8ec5c0c
Show file tree
Hide file tree
Showing 11 changed files with 278 additions and 151 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import PackageDescription

// MARK: - Dynamic Content

let clientRuntimeVersion: Version = "0.78.0"
let clientRuntimeVersion: Version = "0.79.0"
let crtVersion: Version = "0.36.0"

let excludeRuntimeUnitTests = false
Expand Down
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.17
1.0.18
2 changes: 1 addition & 1 deletion Package.version.next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.18
1.0.19
4 changes: 2 additions & 2 deletions Sources/Services/AWSAppflow/Sources/AWSAppflow/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ extension AppflowClientTypes {
public var dataTransferApis: [AppflowClientTypes.SalesforceDataTransferApi]?
/// The desired authorization scope for the Salesforce account.
public var oAuthScopes: [Swift.String]?
/// The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records. AUTHORIZATION_CODE Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records. CLIENT_CREDENTIALS Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account. JWT_BEARER Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
/// The OAuth 2.0 grant types that Amazon AppFlow can use when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records. AUTHORIZATION_CODE Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records. JWT_BEARER Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records. The CLIENT_CREDENTIALS value is not supported for Salesforce.
public var oauth2GrantTypesSupported: [AppflowClientTypes.OAuth2GrantType]?

public init(
Expand Down Expand Up @@ -4270,7 +4270,7 @@ extension AppflowClientTypes {
public var clientCredentialsArn: Swift.String?
/// A JSON web token (JWT) that authorizes Amazon AppFlow to access your Salesforce records.
public var jwtToken: Swift.String?
/// Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records. You can specify one of the following values: AUTHORIZATION_CODE Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records. CLIENT_CREDENTIALS Amazon AppFlow passes client credentials (a client ID and client secret) when it requests the access token from Salesforce. You provide these credentials to Amazon AppFlow when you define the connection to your Salesforce account. JWT_BEARER Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records.
/// Specifies the OAuth 2.0 grant type that Amazon AppFlow uses when it requests an access token from Salesforce. Amazon AppFlow requires an access token each time it attempts to access your Salesforce records. You can specify one of the following values: AUTHORIZATION_CODE Amazon AppFlow passes an authorization code when it requests the access token from Salesforce. Amazon AppFlow receives the authorization code from Salesforce after you log in to your Salesforce account and authorize Amazon AppFlow to access your records. JWT_BEARER Amazon AppFlow passes a JSON web token (JWT) when it requests the access token from Salesforce. You provide the JWT to Amazon AppFlow when you define the connection to your Salesforce account. When you use this grant type, you don't need to log in to your Salesforce account to authorize Amazon AppFlow to access your records. The CLIENT_CREDENTIALS value is not supported for Salesforce.
public var oAuth2GrantType: AppflowClientTypes.OAuth2GrantType?
/// The OAuth requirement needed to request security tokens from the connector endpoint.
public var oAuthRequest: AppflowClientTypes.ConnectorOAuthRequest?
Expand Down
15 changes: 15 additions & 0 deletions Sources/Services/AWSEMR/Sources/AWSEMR/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6393,6 +6393,8 @@ extension EMRClientTypes {

/// Describes an instance fleet, which is a group of Amazon EC2 instances that host a particular node type (master, core, or task) in an Amazon EMR cluster. Instance fleets can consist of a mix of instance types and On-Demand and Spot Instances, which are provisioned to meet a defined target capacity. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
public struct InstanceFleet: Swift.Sendable {
/// Reserved.
public var context: Swift.String?
/// The unique identifier of the instance fleet.
public var id: Swift.String?
/// The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK.
Expand All @@ -6417,6 +6419,7 @@ extension EMRClientTypes {
public var targetSpotCapacity: Swift.Int?

public init(
context: Swift.String? = nil,
id: Swift.String? = nil,
instanceFleetType: EMRClientTypes.InstanceFleetType? = nil,
instanceTypeSpecifications: [EMRClientTypes.InstanceTypeSpecification]? = nil,
Expand All @@ -6430,6 +6433,7 @@ extension EMRClientTypes {
targetSpotCapacity: Swift.Int? = nil
)
{
self.context = context
self.id = id
self.instanceFleetType = instanceFleetType
self.instanceTypeSpecifications = instanceTypeSpecifications
Expand All @@ -6449,6 +6453,8 @@ extension EMRClientTypes {

/// The configuration that defines an instance fleet. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
public struct InstanceFleetConfig: Swift.Sendable {
/// Reserved.
public var context: Swift.String?
/// The node type that the instance fleet hosts. Valid values are MASTER, CORE, and TASK.
/// This member is required.
public var instanceFleetType: EMRClientTypes.InstanceFleetType?
Expand All @@ -6466,6 +6472,7 @@ extension EMRClientTypes {
public var targetSpotCapacity: Swift.Int?

public init(
context: Swift.String? = nil,
instanceFleetType: EMRClientTypes.InstanceFleetType? = nil,
instanceTypeConfigs: [EMRClientTypes.InstanceTypeConfig]? = nil,
launchSpecifications: EMRClientTypes.InstanceFleetProvisioningSpecifications? = nil,
Expand All @@ -6475,6 +6482,7 @@ extension EMRClientTypes {
targetSpotCapacity: Swift.Int? = nil
)
{
self.context = context
self.instanceFleetType = instanceFleetType
self.instanceTypeConfigs = instanceTypeConfigs
self.launchSpecifications = launchSpecifications
Expand All @@ -6490,6 +6498,8 @@ extension EMRClientTypes {

/// Configuration parameters for an instance fleet modification request. The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
public struct InstanceFleetModifyConfig: Swift.Sendable {
/// Reserved.
public var context: Swift.String?
/// A unique identifier for the instance fleet.
/// This member is required.
public var instanceFleetId: Swift.String?
Expand All @@ -6503,13 +6513,15 @@ extension EMRClientTypes {
public var targetSpotCapacity: Swift.Int?

public init(
context: Swift.String? = nil,
instanceFleetId: Swift.String? = nil,
instanceTypeConfigs: [EMRClientTypes.InstanceTypeConfig]? = nil,
resizeSpecifications: EMRClientTypes.InstanceFleetResizingSpecifications? = nil,
targetOnDemandCapacity: Swift.Int? = nil,
targetSpotCapacity: Swift.Int? = nil
)
{
self.context = context
self.instanceFleetId = instanceFleetId
self.instanceTypeConfigs = instanceTypeConfigs
self.resizeSpecifications = resizeSpecifications
Expand Down Expand Up @@ -10192,6 +10204,7 @@ extension EMRClientTypes.InstanceFleet {
value.instanceTypeSpecifications = try reader["InstanceTypeSpecifications"].readListIfPresent(memberReadingClosure: EMRClientTypes.InstanceTypeSpecification.read(from:), memberNodeInfo: "member", isFlattened: false)
value.launchSpecifications = try reader["LaunchSpecifications"].readIfPresent(with: EMRClientTypes.InstanceFleetProvisioningSpecifications.read(from:))
value.resizeSpecifications = try reader["ResizeSpecifications"].readIfPresent(with: EMRClientTypes.InstanceFleetResizingSpecifications.read(from:))
value.context = try reader["Context"].readIfPresent()
return value
}
}
Expand Down Expand Up @@ -10841,6 +10854,7 @@ extension EMRClientTypes.InstanceFleetConfig {

static func write(value: EMRClientTypes.InstanceFleetConfig?, to writer: SmithyJSON.Writer) throws {
guard let value else { return }
try writer["Context"].write(value.context)
try writer["InstanceFleetType"].write(value.instanceFleetType)
try writer["InstanceTypeConfigs"].writeList(value.instanceTypeConfigs, memberWritingClosure: EMRClientTypes.InstanceTypeConfig.write(value:to:), memberNodeInfo: "member", isFlattened: false)
try writer["LaunchSpecifications"].write(value.launchSpecifications, with: EMRClientTypes.InstanceFleetProvisioningSpecifications.write(value:to:))
Expand Down Expand Up @@ -10923,6 +10937,7 @@ extension EMRClientTypes.InstanceFleetModifyConfig {

static func write(value: EMRClientTypes.InstanceFleetModifyConfig?, to writer: SmithyJSON.Writer) throws {
guard let value else { return }
try writer["Context"].write(value.context)
try writer["InstanceFleetId"].write(value.instanceFleetId)
try writer["InstanceTypeConfigs"].writeList(value.instanceTypeConfigs, memberWritingClosure: EMRClientTypes.InstanceTypeConfig.write(value:to:), memberNodeInfo: "member", isFlattened: false)
try writer["ResizeSpecifications"].write(value.resizeSpecifications, with: EMRClientTypes.InstanceFleetResizingSpecifications.write(value:to:))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,100 @@ public struct AddTrustStoreRevocationsOutput: Swift.Sendable {
}
}

extension ElasticLoadBalancingv2ClientTypes {

public enum TargetAdministrativeOverrideReasonEnum: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
case internalError
case noOverrideEngaged
case zonalShiftDelegatedToDns
case zonalShiftEngaged
case sdkUnknown(Swift.String)

public static var allCases: [TargetAdministrativeOverrideReasonEnum] {
return [
.internalError,
.noOverrideEngaged,
.zonalShiftDelegatedToDns,
.zonalShiftEngaged
]
}

public init?(rawValue: Swift.String) {
let value = Self.allCases.first(where: { $0.rawValue == rawValue })
self = value ?? Self.sdkUnknown(rawValue)
}

public var rawValue: Swift.String {
switch self {
case .internalError: return "AdministrativeOverride.Unknown"
case .noOverrideEngaged: return "AdministrativeOverride.NoOverride"
case .zonalShiftDelegatedToDns: return "AdministrativeOverride.ZonalShiftDelegatedToDns"
case .zonalShiftEngaged: return "AdministrativeOverride.ZonalShiftActive"
case let .sdkUnknown(s): return s
}
}
}
}

extension ElasticLoadBalancingv2ClientTypes {

public enum TargetAdministrativeOverrideStateEnum: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
case noOverride
case unknown
case zonalShiftActive
case zonalShiftDelegatedToDns
case sdkUnknown(Swift.String)

public static var allCases: [TargetAdministrativeOverrideStateEnum] {
return [
.noOverride,
.unknown,
.zonalShiftActive,
.zonalShiftDelegatedToDns
]
}

public init?(rawValue: Swift.String) {
let value = Self.allCases.first(where: { $0.rawValue == rawValue })
self = value ?? Self.sdkUnknown(rawValue)
}

public var rawValue: Swift.String {
switch self {
case .noOverride: return "no_override"
case .unknown: return "unknown"
case .zonalShiftActive: return "zonal_shift_active"
case .zonalShiftDelegatedToDns: return "zonal_shift_delegated_to_dns"
case let .sdkUnknown(s): return s
}
}
}
}

extension ElasticLoadBalancingv2ClientTypes {

/// Information about the override status applied to a target.
public struct AdministrativeOverride: Swift.Sendable {
/// A description of the override state that provides additional details.
public var description: Swift.String?
/// The reason code for the state.
public var reason: ElasticLoadBalancingv2ClientTypes.TargetAdministrativeOverrideReasonEnum?
/// The state of the override.
public var state: ElasticLoadBalancingv2ClientTypes.TargetAdministrativeOverrideStateEnum?

public init(
description: Swift.String? = nil,
reason: ElasticLoadBalancingv2ClientTypes.TargetAdministrativeOverrideReasonEnum? = nil,
state: ElasticLoadBalancingv2ClientTypes.TargetAdministrativeOverrideStateEnum? = nil
)
{
self.description = description
self.reason = reason
self.state = state
}
}
}

/// The specified allocation ID does not exist.
public struct AllocationIdNotFoundException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error {

Expand Down Expand Up @@ -3590,6 +3684,8 @@ extension ElasticLoadBalancingv2ClientTypes {
/// The following attributes are supported by only Network Load Balancers:
///
/// * dns_record.client_routing_policy - Indicates how traffic is distributed among the load balancer Availability Zones. The possible values are availability_zone_affinity with 100 percent zonal affinity, partial_availability_zone_affinity with 85 percent zonal affinity, and any_availability_zone with 0 percent zonal affinity.
///
/// * zonal_shift.config.enabled - Indicates whether zonal shift is enabled. The possible values are true and false. The default is false.
public var key: Swift.String?
/// The value of the attribute.
public var value: Swift.String?
Expand Down Expand Up @@ -4210,6 +4306,8 @@ extension ElasticLoadBalancingv2ClientTypes {

/// Information about the health of a target.
public struct TargetHealthDescription: Swift.Sendable {
/// The administrative override information for the target.
public var administrativeOverride: ElasticLoadBalancingv2ClientTypes.AdministrativeOverride?
/// The anomaly detection result for the target. If no anomalies were detected, the result is normal. If anomalies were detected, the result is anomalous.
public var anomalyDetection: ElasticLoadBalancingv2ClientTypes.AnomalyDetection?
/// The port to use to connect with the target.
Expand All @@ -4220,12 +4318,14 @@ extension ElasticLoadBalancingv2ClientTypes {
public var targetHealth: ElasticLoadBalancingv2ClientTypes.TargetHealth?

public init(
administrativeOverride: ElasticLoadBalancingv2ClientTypes.AdministrativeOverride? = nil,
anomalyDetection: ElasticLoadBalancingv2ClientTypes.AnomalyDetection? = nil,
healthCheckPort: Swift.String? = nil,
target: ElasticLoadBalancingv2ClientTypes.TargetDescription? = nil,
targetHealth: ElasticLoadBalancingv2ClientTypes.TargetHealth? = nil
)
{
self.administrativeOverride = administrativeOverride
self.anomalyDetection = anomalyDetection
self.healthCheckPort = healthCheckPort
self.target = target
Expand Down Expand Up @@ -8679,6 +8779,19 @@ extension ElasticLoadBalancingv2ClientTypes.TargetHealthDescription {
value.healthCheckPort = try reader["HealthCheckPort"].readIfPresent()
value.targetHealth = try reader["TargetHealth"].readIfPresent(with: ElasticLoadBalancingv2ClientTypes.TargetHealth.read(from:))
value.anomalyDetection = try reader["AnomalyDetection"].readIfPresent(with: ElasticLoadBalancingv2ClientTypes.AnomalyDetection.read(from:))
value.administrativeOverride = try reader["AdministrativeOverride"].readIfPresent(with: ElasticLoadBalancingv2ClientTypes.AdministrativeOverride.read(from:))
return value
}
}

extension ElasticLoadBalancingv2ClientTypes.AdministrativeOverride {

static func read(from reader: SmithyXML.Reader) throws -> ElasticLoadBalancingv2ClientTypes.AdministrativeOverride {
guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent }
var value = ElasticLoadBalancingv2ClientTypes.AdministrativeOverride()
value.state = try reader["State"].readIfPresent()
value.reason = try reader["Reason"].readIfPresent()
value.description = try reader["Description"].readIfPresent()
return value
}
}
Expand Down
Loading

0 comments on commit 8ec5c0c

Please sign in to comment.