Skip to content

Commit

Permalink
chore: Updates version to 1.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Oct 15, 2024
1 parent 0b70322 commit 1790d49
Show file tree
Hide file tree
Showing 62 changed files with 19,115 additions and 896 deletions.
2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ let serviceTargets: [String] = [
"AWSCodeGuruReviewer",
"AWSCodeGuruSecurity",
"AWSCodePipeline",
"AWSCodeStarconnections",
"AWSCodeartifact",
"AWSCodestarnotifications",
"AWSCognitoIdentity",
"AWSCognitoIdentityProvider",
"AWSCognitoSync",
Expand Down
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.19
1.0.20
2 changes: 1 addition & 1 deletion Package.version.next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.20
1.0.21
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,12 @@ This SDK is open-source. Code is available on Github [here](https://github.com/

[AWSCodePipeline](../../../../../swift/api/awscodepipeline/latest)

[AWSCodeStarconnections](../../../../../swift/api/awscodestarconnections/latest)

[AWSCodeartifact](../../../../../swift/api/awscodeartifact/latest)

[AWSCodestarnotifications](../../../../../swift/api/awscodestarnotifications/latest)

[AWSCognitoIdentity](../../../../../swift/api/awscognitoidentity/latest)

[AWSCognitoIdentityProvider](../../../../../swift/api/awscognitoidentityprovider/latest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ extension AmplifyClient {

/// Performs the `CreateDeployment` operation on the `Amplify` service.
///
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository. The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.
/// Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a Git repository. The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.
///
/// - Parameter CreateDeploymentInput : The request structure for the create a new deployment request.
///
Expand Down Expand Up @@ -2168,7 +2168,7 @@ extension AmplifyClient {

/// Performs the `StartDeployment` operation on the `Amplify` service.
///
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a repository. The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.
/// Starts a deployment for a manually deployed app. Manually deployed apps are not connected to a Git repository. The maximum duration between the CreateDeployment call and the StartDeployment call cannot exceed 8 hours. If the duration exceeds 8 hours, the StartDeployment call and the associated Job will fail.
///
/// - Parameter StartDeploymentInput : The request structure for the start a deployment request.
///
Expand Down
54 changes: 49 additions & 5 deletions Sources/Services/AWSAmplify/Sources/AWSAmplify/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1673,6 +1673,35 @@ extension AmplifyClientTypes {
}
}

extension AmplifyClientTypes {

public enum SourceUrlType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
case bucketPrefix
case zip
case sdkUnknown(Swift.String)

public static var allCases: [SourceUrlType] {
return [
.bucketPrefix,
.zip
]
}

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 .bucketPrefix: return "BUCKET_PREFIX"
case .zip: return "ZIP"
case let .sdkUnknown(s): return s
}
}
}
}

extension AmplifyClientTypes {

public enum JobStatus: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
Expand Down Expand Up @@ -1738,9 +1767,13 @@ extension AmplifyClientTypes {
/// The unique ID for the job.
/// This member is required.
public var jobId: Swift.String?
/// The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks.
/// The type for the job. If the value is RELEASE, the job was manually released from its source by using the StartJob API. This value is available only for apps that are connected to a repository. If the value is RETRY, the job was manually retried using the StartJob API. If the value is WEB_HOOK, the job was automatically triggered by webhooks. If the value is MANUAL, the job is for a manually deployed app. Manually deployed apps are not connected to a Git repository.
/// This member is required.
public var jobType: AmplifyClientTypes.JobType?
/// The source URL for the files to deploy. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.
public var sourceUrl: Swift.String?
/// The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.
public var sourceUrlType: AmplifyClientTypes.SourceUrlType?
/// The start date and time for the job.
/// This member is required.
public var startTime: Foundation.Date?
Expand All @@ -1756,6 +1789,8 @@ extension AmplifyClientTypes {
jobArn: Swift.String? = nil,
jobId: Swift.String? = nil,
jobType: AmplifyClientTypes.JobType? = nil,
sourceUrl: Swift.String? = nil,
sourceUrlType: AmplifyClientTypes.SourceUrlType? = nil,
startTime: Foundation.Date? = nil,
status: AmplifyClientTypes.JobStatus? = nil
)
Expand All @@ -1767,6 +1802,8 @@ extension AmplifyClientTypes {
self.jobArn = jobArn
self.jobId = jobId
self.jobType = jobType
self.sourceUrl = sourceUrl
self.sourceUrlType = sourceUrlType
self.startTime = startTime
self.status = status
}
Expand Down Expand Up @@ -2537,25 +2574,29 @@ public struct StartDeploymentInput: Swift.Sendable {
/// The unique ID for an Amplify app.
/// This member is required.
public var appId: Swift.String?
/// The name of the branch to use for the job.
/// The name of the branch to use for the deployment job.
/// This member is required.
public var branchName: Swift.String?
/// The job ID for this deployment, generated by the create deployment request.
/// The job ID for this deployment that is generated by the CreateDeployment request.
public var jobId: Swift.String?
/// The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
/// The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.
public var sourceUrl: Swift.String?
/// The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.
public var sourceUrlType: AmplifyClientTypes.SourceUrlType?

public init(
appId: Swift.String? = nil,
branchName: Swift.String? = nil,
jobId: Swift.String? = nil,
sourceUrl: Swift.String? = nil
sourceUrl: Swift.String? = nil,
sourceUrlType: AmplifyClientTypes.SourceUrlType? = nil
)
{
self.appId = appId
self.branchName = branchName
self.jobId = jobId
self.sourceUrl = sourceUrl
self.sourceUrlType = sourceUrlType
}
}

Expand Down Expand Up @@ -3683,6 +3724,7 @@ extension StartDeploymentInput {
guard let value else { return }
try writer["jobId"].write(value.jobId)
try writer["sourceUrl"].write(value.sourceUrl)
try writer["sourceUrlType"].write(value.sourceUrlType)
}
}

Expand Down Expand Up @@ -5232,6 +5274,8 @@ extension AmplifyClientTypes.JobSummary {
value.status = try reader["status"].readIfPresent() ?? .sdkUnknown("")
value.endTime = try reader["endTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds)
value.jobType = try reader["jobType"].readIfPresent() ?? .sdkUnknown("")
value.sourceUrl = try reader["sourceUrl"].readIfPresent()
value.sourceUrlType = try reader["sourceUrlType"].readIfPresent()
return value
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1869,7 +1869,9 @@ extension ApplicationAutoScalingClientTypes {
case neptunereaderaveragecpuutilization
case rdsreaderaveragecpuutilization
case rdsreaderaveragedatabaseconnections
case sagemakerinferencecomponentconcurrentrequestspercopyhighresolution
case sagemakerinferencecomponentinvocationspercopy
case sagemakervariantconcurrentrequestspermodelhighresolution
case sagemakervariantinvocationsperinstance
case sagemakervariantprovisionedconcurrencyutilization
case workspacesaverageusersessionscapacityutilization
Expand Down Expand Up @@ -1898,7 +1900,9 @@ extension ApplicationAutoScalingClientTypes {
.neptunereaderaveragecpuutilization,
.rdsreaderaveragecpuutilization,
.rdsreaderaveragedatabaseconnections,
.sagemakerinferencecomponentconcurrentrequestspercopyhighresolution,
.sagemakerinferencecomponentinvocationspercopy,
.sagemakervariantconcurrentrequestspermodelhighresolution,
.sagemakervariantinvocationsperinstance,
.sagemakervariantprovisionedconcurrencyutilization,
.workspacesaverageusersessionscapacityutilization
Expand Down Expand Up @@ -1933,7 +1937,9 @@ extension ApplicationAutoScalingClientTypes {
case .neptunereaderaveragecpuutilization: return "NeptuneReaderAverageCPUUtilization"
case .rdsreaderaveragecpuutilization: return "RDSReaderAverageCPUUtilization"
case .rdsreaderaveragedatabaseconnections: return "RDSReaderAverageDatabaseConnections"
case .sagemakerinferencecomponentconcurrentrequestspercopyhighresolution: return "SageMakerInferenceComponentConcurrentRequestsPerCopyHighResolution"
case .sagemakerinferencecomponentinvocationspercopy: return "SageMakerInferenceComponentInvocationsPerCopy"
case .sagemakervariantconcurrentrequestspermodelhighresolution: return "SageMakerVariantConcurrentRequestsPerModelHighResolution"
case .sagemakervariantinvocationsperinstance: return "SageMakerVariantInvocationsPerInstance"
case .sagemakervariantprovisionedconcurrencyutilization: return "SageMakerVariantProvisionedConcurrencyUtilization"
case .workspacesaverageusersessionscapacityutilization: return "WorkSpacesAverageUserSessionsCapacityUtilization"
Expand Down
Loading

0 comments on commit 1790d49

Please sign in to comment.