Skip to content

Commit

Permalink
Code generate with EventBridge Scheduler client and Go SDK v1.46.5 mo…
Browse files Browse the repository at this point in the history
…dels. (#144)
  • Loading branch information
knovichikhin authored Oct 27, 2023
1 parent e6344e5 commit 07e658e
Show file tree
Hide file tree
Showing 116 changed files with 15,786 additions and 325 deletions.
15 changes: 15 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ let package = Package(
.library(
name: "S3Model",
targets: ["S3Model"]),
.library(
name: "SchedulerClient",
targets: ["SchedulerClient"]),
.library(
name: "SchedulerModel",
targets: ["SchedulerModel"]),
.library(
name: "SecurityTokenClient",
targets: ["SecurityTokenClient"]),
Expand Down Expand Up @@ -241,6 +247,15 @@ let package = Package(
name: "S3Model", dependencies: [
.product(name: "Logging", package: "swift-log"),
]),
.target(
name: "SchedulerClient", dependencies: [
.target(name: "SchedulerModel"),
.target(name: "SmokeAWSHttp"),
]),
.target(
name: "SchedulerModel", dependencies: [
.product(name: "Logging", package: "swift-log"),
]),
.target(
name: "SecurityTokenClient", dependencies: [
.target(name: "SecurityTokenModel"),
Expand Down
24 changes: 12 additions & 12 deletions Sources/AppConfigClient/AWSAppConfigClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- completion: The Application object or an error will be passed to this
callback when the operation is complete. The Application
object will be validated before being returned to caller.
The possible errors are: badRequest, internalServer.
The possible errors are: badRequest, internalServer, serviceQuotaExceeded.
*/
public func createApplicationAsync(
input: AppConfigModel.CreateApplicationRequest,
Expand Down Expand Up @@ -206,7 +206,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- input: The validated CreateApplicationRequest object being passed to this operation.
- Returns: The Application object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
public func createApplicationSync(
input: AppConfigModel.CreateApplicationRequest) throws -> AppConfigModel.Application {
Expand Down Expand Up @@ -243,7 +243,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- completion: The ConfigurationProfile object or an error will be passed to this
callback when the operation is complete. The ConfigurationProfile
object will be validated before being returned to caller.
The possible errors are: badRequest, internalServer, resourceNotFound.
The possible errors are: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
public func createConfigurationProfileAsync(
input: AppConfigModel.CreateConfigurationProfileRequest,
Expand Down Expand Up @@ -276,7 +276,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- input: The validated CreateConfigurationProfileRequest object being passed to this operation.
- Returns: The ConfigurationProfile object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
public func createConfigurationProfileSync(
input: AppConfigModel.CreateConfigurationProfileRequest) throws -> AppConfigModel.ConfigurationProfile {
Expand Down Expand Up @@ -313,7 +313,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- completion: The DeploymentStrategy object or an error will be passed to this
callback when the operation is complete. The DeploymentStrategy
object will be validated before being returned to caller.
The possible errors are: badRequest, internalServer.
The possible errors are: badRequest, internalServer, serviceQuotaExceeded.
*/
public func createDeploymentStrategyAsync(
input: AppConfigModel.CreateDeploymentStrategyRequest,
Expand Down Expand Up @@ -346,7 +346,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- input: The validated CreateDeploymentStrategyRequest object being passed to this operation.
- Returns: The DeploymentStrategy object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
public func createDeploymentStrategySync(
input: AppConfigModel.CreateDeploymentStrategyRequest) throws -> AppConfigModel.DeploymentStrategy {
Expand Down Expand Up @@ -383,7 +383,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- completion: The Environment object or an error will be passed to this
callback when the operation is complete. The Environment
object will be validated before being returned to caller.
The possible errors are: badRequest, internalServer, resourceNotFound.
The possible errors are: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
public func createEnvironmentAsync(
input: AppConfigModel.CreateEnvironmentRequest,
Expand Down Expand Up @@ -416,7 +416,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- input: The validated CreateEnvironmentRequest object being passed to this operation.
- Returns: The Environment object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
public func createEnvironmentSync(
input: AppConfigModel.CreateEnvironmentRequest) throws -> AppConfigModel.Environment {
Expand Down Expand Up @@ -3154,7 +3154,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- input: The validated CreateApplicationRequest object being passed to this operation.
- Returns: The Application object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
public func createApplication(
input: AppConfigModel.CreateApplicationRequest) async throws -> AppConfigModel.Application {
Expand Down Expand Up @@ -3190,7 +3190,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- input: The validated CreateConfigurationProfileRequest object being passed to this operation.
- Returns: The ConfigurationProfile object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
public func createConfigurationProfile(
input: AppConfigModel.CreateConfigurationProfileRequest) async throws -> AppConfigModel.ConfigurationProfile {
Expand Down Expand Up @@ -3226,7 +3226,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- input: The validated CreateDeploymentStrategyRequest object being passed to this operation.
- Returns: The DeploymentStrategy object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
public func createDeploymentStrategy(
input: AppConfigModel.CreateDeploymentStrategyRequest) async throws -> AppConfigModel.DeploymentStrategy {
Expand Down Expand Up @@ -3262,7 +3262,7 @@ public struct AWSAppConfigClient<InvocationReportingType: HTTPClientCoreInvocati
- input: The validated CreateEnvironmentRequest object being passed to this operation.
- Returns: The Environment object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
public func createEnvironment(
input: AppConfigModel.CreateEnvironmentRequest) async throws -> AppConfigModel.Environment {
Expand Down
8 changes: 4 additions & 4 deletions Sources/AppConfigClient/AppConfigClientProtocol+async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public extension AppConfigClientProtocol {
- input: The validated CreateApplicationRequest object being passed to this operation.
- Returns: The Application object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
func createApplication(input: AppConfigModel.CreateApplicationRequest) async throws
-> AppConfigModel.Application {
Expand All @@ -64,7 +64,7 @@ public extension AppConfigClientProtocol {
- input: The validated CreateConfigurationProfileRequest object being passed to this operation.
- Returns: The ConfigurationProfile object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
func createConfigurationProfile(input: AppConfigModel.CreateConfigurationProfileRequest) async throws
-> AppConfigModel.ConfigurationProfile {
Expand All @@ -91,7 +91,7 @@ public extension AppConfigClientProtocol {
- input: The validated CreateDeploymentStrategyRequest object being passed to this operation.
- Returns: The DeploymentStrategy object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
func createDeploymentStrategy(input: AppConfigModel.CreateDeploymentStrategyRequest) async throws
-> AppConfigModel.DeploymentStrategy {
Expand All @@ -118,7 +118,7 @@ public extension AppConfigClientProtocol {
- input: The validated CreateEnvironmentRequest object being passed to this operation.
- Returns: The Environment object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
func createEnvironment(input: AppConfigModel.CreateEnvironmentRequest) async throws
-> AppConfigModel.Environment {
Expand Down
16 changes: 8 additions & 8 deletions Sources/AppConfigClient/AppConfigClientProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public protocol AppConfigClientProtocol: AppConfigClientProtocolV2 {
- completion: The Application object or an error will be passed to this
callback when the operation is complete. The Application
object will be validated before being returned to caller.
The possible errors are: badRequest, internalServer.
The possible errors are: badRequest, internalServer, serviceQuotaExceeded.
*/
func createApplicationAsync(
input: AppConfigModel.CreateApplicationRequest,
Expand All @@ -266,7 +266,7 @@ public protocol AppConfigClientProtocol: AppConfigClientProtocolV2 {
- input: The validated CreateApplicationRequest object being passed to this operation.
- Returns: The Application object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
func createApplicationSync(
input: AppConfigModel.CreateApplicationRequest) throws -> AppConfigModel.Application
Expand All @@ -279,7 +279,7 @@ public protocol AppConfigClientProtocol: AppConfigClientProtocolV2 {
- completion: The ConfigurationProfile object or an error will be passed to this
callback when the operation is complete. The ConfigurationProfile
object will be validated before being returned to caller.
The possible errors are: badRequest, internalServer, resourceNotFound.
The possible errors are: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
func createConfigurationProfileAsync(
input: AppConfigModel.CreateConfigurationProfileRequest,
Expand All @@ -292,7 +292,7 @@ public protocol AppConfigClientProtocol: AppConfigClientProtocolV2 {
- input: The validated CreateConfigurationProfileRequest object being passed to this operation.
- Returns: The ConfigurationProfile object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
func createConfigurationProfileSync(
input: AppConfigModel.CreateConfigurationProfileRequest) throws -> AppConfigModel.ConfigurationProfile
Expand All @@ -305,7 +305,7 @@ public protocol AppConfigClientProtocol: AppConfigClientProtocolV2 {
- completion: The DeploymentStrategy object or an error will be passed to this
callback when the operation is complete. The DeploymentStrategy
object will be validated before being returned to caller.
The possible errors are: badRequest, internalServer.
The possible errors are: badRequest, internalServer, serviceQuotaExceeded.
*/
func createDeploymentStrategyAsync(
input: AppConfigModel.CreateDeploymentStrategyRequest,
Expand All @@ -318,7 +318,7 @@ public protocol AppConfigClientProtocol: AppConfigClientProtocolV2 {
- input: The validated CreateDeploymentStrategyRequest object being passed to this operation.
- Returns: The DeploymentStrategy object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
func createDeploymentStrategySync(
input: AppConfigModel.CreateDeploymentStrategyRequest) throws -> AppConfigModel.DeploymentStrategy
Expand All @@ -331,7 +331,7 @@ public protocol AppConfigClientProtocol: AppConfigClientProtocolV2 {
- completion: The Environment object or an error will be passed to this
callback when the operation is complete. The Environment
object will be validated before being returned to caller.
The possible errors are: badRequest, internalServer, resourceNotFound.
The possible errors are: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
func createEnvironmentAsync(
input: AppConfigModel.CreateEnvironmentRequest,
Expand All @@ -344,7 +344,7 @@ public protocol AppConfigClientProtocol: AppConfigClientProtocolV2 {
- input: The validated CreateEnvironmentRequest object being passed to this operation.
- Returns: The Environment object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
func createEnvironmentSync(
input: AppConfigModel.CreateEnvironmentRequest) throws -> AppConfigModel.Environment
Expand Down
8 changes: 4 additions & 4 deletions Sources/AppConfigClient/AppConfigClientProtocolV2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public protocol AppConfigClientProtocolV2 {
- input: The validated CreateApplicationRequest object being passed to this operation.
- Returns: The Application object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
func createApplication(
input: AppConfigModel.CreateApplicationRequest) async throws -> AppConfigModel.Application
Expand All @@ -136,7 +136,7 @@ public protocol AppConfigClientProtocolV2 {
- input: The validated CreateConfigurationProfileRequest object being passed to this operation.
- Returns: The ConfigurationProfile object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
func createConfigurationProfile(
input: AppConfigModel.CreateConfigurationProfileRequest) async throws -> AppConfigModel.ConfigurationProfile
Expand All @@ -148,7 +148,7 @@ public protocol AppConfigClientProtocolV2 {
- input: The validated CreateDeploymentStrategyRequest object being passed to this operation.
- Returns: The DeploymentStrategy object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer.
- Throws: badRequest, internalServer, serviceQuotaExceeded.
*/
func createDeploymentStrategy(
input: AppConfigModel.CreateDeploymentStrategyRequest) async throws -> AppConfigModel.DeploymentStrategy
Expand All @@ -160,7 +160,7 @@ public protocol AppConfigClientProtocolV2 {
- input: The validated CreateEnvironmentRequest object being passed to this operation.
- Returns: The Environment object to be passed back from the caller of this operation.
Will be validated before being returned to caller.
- Throws: badRequest, internalServer, resourceNotFound.
- Throws: badRequest, internalServer, resourceNotFound, serviceQuotaExceeded.
*/
func createEnvironment(
input: AppConfigModel.CreateEnvironmentRequest) async throws -> AppConfigModel.Environment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ extension HostedConfigurationVersion: HTTPResponseOutputProtocol {
content: body,
contentType: headers.contentType,
description: headers.description,
kmsKeyArn: headers.kmsKeyArn,
versionLabel: headers.versionLabel,
versionNumber: headers.versionNumber)
}
Expand Down
Loading

0 comments on commit 07e658e

Please sign in to comment.