Skip to content

Commit

Permalink
Merge branch 'main' into jbe/versioning_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelkins authored Oct 16, 2024
2 parents d5a99e5 + 78ae103 commit 7945e63
Show file tree
Hide file tree
Showing 125 changed files with 27,918 additions and 16,650 deletions.
5 changes: 3 additions & 2 deletions 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.80.0"
let crtVersion: Version = "0.36.0"

let excludeRuntimeUnitTests = false
Expand Down Expand Up @@ -98,7 +98,9 @@ let serviceTargets: [String] = [
"AWSCodeGuruReviewer",
"AWSCodeGuruSecurity",
"AWSCodePipeline",
"AWSCodeStarconnections",
"AWSCodeartifact",
"AWSCodestarnotifications",
"AWSCognitoIdentity",
"AWSCognitoIdentityProvider",
"AWSCognitoSync",
Expand Down Expand Up @@ -400,7 +402,6 @@ let serviceTargets: [String] = [
"AWSWellArchitected",
"AWSWisdom",
"AWSWorkDocs",
"AWSWorkLink",
"AWSWorkMail",
"AWSWorkMailMessageFlow",
"AWSWorkSpaces",
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.21
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.22
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 Expand Up @@ -833,8 +837,6 @@ This SDK is open-source. Code is available on Github [here](https://github.com/

[AWSWorkDocs](../../../../../swift/api/awsworkdocs/latest)

[AWSWorkLink](../../../../../swift/api/awsworklink/latest)

[AWSWorkMail](../../../../../swift/api/awsworkmail/latest)

[AWSWorkMailMessageFlow](../../../../../swift/api/awsworkmailmessageflow/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
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
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 7945e63

Please sign in to comment.