Skip to content

Commit

Permalink
Merge branch 'main' into feat/operation-context-params
Browse files Browse the repository at this point in the history
  • Loading branch information
sichanyoo authored Aug 20, 2024
2 parents 036edec + 2699940 commit 73fa4a2
Show file tree
Hide file tree
Showing 15 changed files with 2,693 additions and 210 deletions.
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.60.0
0.61.0
283 changes: 283 additions & 0 deletions Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift

Large diffs are not rendered by default.

766 changes: 766 additions & 0 deletions Sources/Services/AWSBedrock/Sources/AWSBedrock/Models.swift

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,7 @@ extension CodeBuildClientTypes {
case linuxContainer
case linuxGpuContainer
case linuxLambdaContainer
case macArm
case windowsContainer
case windowsServer2019Container
case sdkUnknown(Swift.String)
Expand All @@ -910,6 +911,7 @@ extension CodeBuildClientTypes {
.linuxContainer,
.linuxGpuContainer,
.linuxLambdaContainer,
.macArm,
.windowsContainer,
.windowsServer2019Container
]
Expand All @@ -927,6 +929,7 @@ extension CodeBuildClientTypes {
case .linuxContainer: return "LINUX_CONTAINER"
case .linuxGpuContainer: return "LINUX_GPU_CONTAINER"
case .linuxLambdaContainer: return "LINUX_LAMBDA_CONTAINER"
case .macArm: return "MAC_ARM"
case .windowsContainer: return "WINDOWS_CONTAINER"
case .windowsServer2019Container: return "WINDOWS_SERVER_2019_CONTAINER"
case let .sdkUnknown(s): return s
Expand Down Expand Up @@ -2341,13 +2344,17 @@ extension CodeBuildClientTypes {
public enum FleetContextCode: Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
case actionRequired
case createFailed
case insufficientCapacity
case pendingDeletion
case updateFailed
case sdkUnknown(Swift.String)

public static var allCases: [FleetContextCode] {
return [
.actionRequired,
.createFailed,
.insufficientCapacity,
.pendingDeletion,
.updateFailed
]
}
Expand All @@ -2361,6 +2368,8 @@ extension CodeBuildClientTypes {
switch self {
case .actionRequired: return "ACTION_REQUIRED"
case .createFailed: return "CREATE_FAILED"
case .insufficientCapacity: return "INSUFFICIENT_CAPACITY"
case .pendingDeletion: return "PENDING_DELETION"
case .updateFailed: return "UPDATE_FAILED"
case let .sdkUnknown(s): return s
}
Expand Down Expand Up @@ -2540,6 +2549,8 @@ extension CodeBuildClientTypes {
public var fleetServiceRole: Swift.String?
/// The ID of the compute fleet.
public var id: Swift.String?
/// The Amazon Machine Image (AMI) of the compute fleet.
public var imageId: Swift.String?
/// The time at which the compute fleet was last modified.
public var lastModified: Foundation.Date?
/// The name of the compute fleet.
Expand Down Expand Up @@ -2567,6 +2578,7 @@ extension CodeBuildClientTypes {
environmentType: CodeBuildClientTypes.EnvironmentType? = nil,
fleetServiceRole: Swift.String? = nil,
id: Swift.String? = nil,
imageId: Swift.String? = nil,
lastModified: Foundation.Date? = nil,
name: Swift.String? = nil,
overflowBehavior: CodeBuildClientTypes.FleetOverflowBehavior? = nil,
Expand All @@ -2583,6 +2595,7 @@ extension CodeBuildClientTypes {
self.environmentType = environmentType
self.fleetServiceRole = fleetServiceRole
self.id = id
self.imageId = imageId
self.lastModified = lastModified
self.name = name
self.overflowBehavior = overflowBehavior
Expand Down Expand Up @@ -3787,6 +3800,8 @@ public struct CreateFleetInput {
public var environmentType: CodeBuildClientTypes.EnvironmentType?
/// The service role associated with the compute fleet. For more information, see [ Allow a user to add a permission policy for a fleet service role](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html) in the CodeBuild User Guide.
public var fleetServiceRole: Swift.String?
/// The Amazon Machine Image (AMI) of the compute fleet.
public var imageId: Swift.String?
/// The name of the compute fleet.
/// This member is required.
public var name: Swift.String?
Expand All @@ -3808,6 +3823,7 @@ public struct CreateFleetInput {
computeType: CodeBuildClientTypes.ComputeType? = nil,
environmentType: CodeBuildClientTypes.EnvironmentType? = nil,
fleetServiceRole: Swift.String? = nil,
imageId: Swift.String? = nil,
name: Swift.String? = nil,
overflowBehavior: CodeBuildClientTypes.FleetOverflowBehavior? = nil,
scalingConfiguration: CodeBuildClientTypes.ScalingConfigurationInput? = nil,
Expand All @@ -3819,6 +3835,7 @@ public struct CreateFleetInput {
self.computeType = computeType
self.environmentType = environmentType
self.fleetServiceRole = fleetServiceRole
self.imageId = imageId
self.name = name
self.overflowBehavior = overflowBehavior
self.scalingConfiguration = scalingConfiguration
Expand Down Expand Up @@ -6192,6 +6209,8 @@ public struct UpdateFleetInput {
public var environmentType: CodeBuildClientTypes.EnvironmentType?
/// The service role associated with the compute fleet. For more information, see [ Allow a user to add a permission policy for a fleet service role](https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-permission-policy-fleet-service-role.html) in the CodeBuild User Guide.
public var fleetServiceRole: Swift.String?
/// The Amazon Machine Image (AMI) of the compute fleet.
public var imageId: Swift.String?
/// The compute fleet overflow behavior.
///
/// * For overflow behavior QUEUE, your overflow builds need to wait on the existing fleet instance to become available.
Expand All @@ -6211,6 +6230,7 @@ public struct UpdateFleetInput {
computeType: CodeBuildClientTypes.ComputeType? = nil,
environmentType: CodeBuildClientTypes.EnvironmentType? = nil,
fleetServiceRole: Swift.String? = nil,
imageId: Swift.String? = nil,
overflowBehavior: CodeBuildClientTypes.FleetOverflowBehavior? = nil,
scalingConfiguration: CodeBuildClientTypes.ScalingConfigurationInput? = nil,
tags: [CodeBuildClientTypes.Tag]? = nil,
Expand All @@ -6222,6 +6242,7 @@ public struct UpdateFleetInput {
self.computeType = computeType
self.environmentType = environmentType
self.fleetServiceRole = fleetServiceRole
self.imageId = imageId
self.overflowBehavior = overflowBehavior
self.scalingConfiguration = scalingConfiguration
self.tags = tags
Expand Down Expand Up @@ -6893,6 +6914,7 @@ extension CreateFleetInput {
try writer["computeType"].write(value.computeType)
try writer["environmentType"].write(value.environmentType)
try writer["fleetServiceRole"].write(value.fleetServiceRole)
try writer["imageId"].write(value.imageId)
try writer["name"].write(value.name)
try writer["overflowBehavior"].write(value.overflowBehavior)
try writer["scalingConfiguration"].write(value.scalingConfiguration, with: CodeBuildClientTypes.ScalingConfigurationInput.write(value:to:))
Expand Down Expand Up @@ -7346,6 +7368,7 @@ extension UpdateFleetInput {
try writer["computeType"].write(value.computeType)
try writer["environmentType"].write(value.environmentType)
try writer["fleetServiceRole"].write(value.fleetServiceRole)
try writer["imageId"].write(value.imageId)
try writer["overflowBehavior"].write(value.overflowBehavior)
try writer["scalingConfiguration"].write(value.scalingConfiguration, with: CodeBuildClientTypes.ScalingConfigurationInput.write(value:to:))
try writer["tags"].writeList(value.tags, memberWritingClosure: CodeBuildClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false)
Expand Down Expand Up @@ -9398,6 +9421,7 @@ extension CodeBuildClientTypes.Fleet {
value.scalingConfiguration = try reader["scalingConfiguration"].readIfPresent(with: CodeBuildClientTypes.ScalingConfigurationOutput.read(from:))
value.overflowBehavior = try reader["overflowBehavior"].readIfPresent()
value.vpcConfig = try reader["vpcConfig"].readIfPresent(with: CodeBuildClientTypes.VpcConfig.read(from:))
value.imageId = try reader["imageId"].readIfPresent()
value.fleetServiceRole = try reader["fleetServiceRole"].readIfPresent()
value.tags = try reader["tags"].readListIfPresent(memberReadingClosure: CodeBuildClientTypes.Tag.read(from:), memberNodeInfo: "member", isFlattened: false)
return value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ extension DeadlineClient {

/// Performs the `CreateJob` operation on the `Deadline` service.
///
/// Creates a job. A job is a render submission submitted by a user. It contains specific job properties outlined as steps and tasks.
/// Creates a job. A job is a set of instructions that AWS Deadline Cloud uses to schedule and run work on available workers. For more information, see [Deadline Cloud jobs](https://docs.aws.amazon.com/deadline-cloud/latest/userguide/deadline-cloud-jobs.html).
///
/// - Parameter CreateJobInput : [no documentation found]
///
Expand Down Expand Up @@ -2219,7 +2219,7 @@ extension DeadlineClient {

/// Performs the `DeleteQueue` operation on the `Deadline` service.
///
/// Deletes a queue.
/// Deletes a queue. You can't recover the jobs in a queue if you delete the queue. Deleting the queue also deletes the jobs in that queue.
///
/// - Parameter DeleteQueueInput : [no documentation found]
///
Expand Down Expand Up @@ -6187,7 +6187,7 @@ extension DeadlineClient {

/// Performs the `StartSessionsStatisticsAggregation` operation on the `Deadline` service.
///
/// Starts an asynchronous request for getting aggregated statistics about queues and farms. Get the statistics using the GetSessionsStatisticsAggregation operation. Statistics are available for 1 hour after you call the StartSessionsStatisticsAggregation operation.
/// Starts an asynchronous request for getting aggregated statistics about queues and farms. Get the statistics using the GetSessionsStatisticsAggregation operation. You can only have one running aggregation for your Deadline Cloud farm. Call the GetSessionsStatisticsAggregation operation and check the status field to see if an aggregation is running. Statistics are available for 1 hour after you call the StartSessionsStatisticsAggregation operation.
///
/// - Parameter StartSessionsStatisticsAggregationInput : [no documentation found]
///
Expand Down Expand Up @@ -6624,7 +6624,7 @@ extension DeadlineClient {

/// Performs the `UpdateJob` operation on the `Deadline` service.
///
/// Updates a job.
/// Updates a job. When you change the status of the job to ARCHIVED, the job can't be scheduled or archived. An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.
///
/// - Parameter UpdateJobInput : [no documentation found]
///
Expand Down
Loading

0 comments on commit 73fa4a2

Please sign in to comment.