Skip to content

Commit

Permalink
chore: Regenerate services (#1344)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelkins authored Feb 10, 2024
1 parent 368026e commit 79f49ea
Show file tree
Hide file tree
Showing 51 changed files with 89,025 additions and 232,371 deletions.
3 changes: 3 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ func addIntegrationTestTarget(_ name: String) {
]
case "AWSS3":
additionalDependencies = ["AWSSSOAdmin"]
case "AWSSTS":
additionalDependencies = ["AWSIAM", "AWSCognitoIdentity"]
default:
break
}
Expand Down Expand Up @@ -625,6 +627,7 @@ let servicesWithIntegrationTests: [String] = [
"AWSMediaConvert",
"AWSS3",
"AWSSQS",
"AWSSTS",
"AWSTranscribeStreaming",
]

Expand Down
198 changes: 65 additions & 133 deletions Sources/Services/AWSAutoScaling/AutoScalingClient.swift

Large diffs are not rendered by default.

8,660 changes: 2,641 additions & 6,019 deletions Sources/Services/AWSAutoScaling/models/Models.swift

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ extension InvokeAgentOutput: ClientRuntime.HttpResponseBinding {
}
if case let .stream(stream) = httpResponse.body, let responseDecoder = decoder {
let messageDecoder = AWSClientRuntime.AWSEventStream.AWSMessageDecoder()
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<BedrockAgentRuntimeClientTypes.ResponseStream>(stream: stream, messageDecoder: messageDecoder, responseDecoder: responseDecoder)
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<BedrockAgentRuntimeClientTypes.ResponseStream>(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: jsonUnmarshalClosure(responseDecoder: responseDecoder))
self.completion = decoderStream.toAsyncStream()
} else {
self.completion = nil
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSBedrockRuntime/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ extension InvokeModelWithResponseStreamOutput: ClientRuntime.HttpResponseBinding
}
if case let .stream(stream) = httpResponse.body, let responseDecoder = decoder {
let messageDecoder = AWSClientRuntime.AWSEventStream.AWSMessageDecoder()
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<BedrockRuntimeClientTypes.ResponseStream>(stream: stream, messageDecoder: messageDecoder, responseDecoder: responseDecoder)
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<BedrockRuntimeClientTypes.ResponseStream>(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: jsonUnmarshalClosure(responseDecoder: responseDecoder))
self.body = decoderStream.toAsyncStream()
} else {
self.body = nil
Expand Down
213 changes: 70 additions & 143 deletions Sources/Services/AWSCloudFormation/CloudFormationClient.swift

Large diffs are not rendered by default.

10,656 changes: 2,957 additions & 7,699 deletions Sources/Services/AWSCloudFormation/models/Models.swift

Large diffs are not rendered by default.

536 changes: 152 additions & 384 deletions Sources/Services/AWSCloudFront/CloudFrontClient.swift

Large diffs are not rendered by default.

20,423 changes: 7,914 additions & 12,509 deletions Sources/Services/AWSCloudFront/models/Models.swift

Large diffs are not rendered by default.

81 changes: 26 additions & 55 deletions Sources/Services/AWSCloudSearch/CloudSearchClient.swift

Large diffs are not rendered by default.

3,330 changes: 1,159 additions & 2,171 deletions Sources/Services/AWSCloudSearch/models/Models.swift

Large diffs are not rendered by default.

117 changes: 38 additions & 79 deletions Sources/Services/AWSCloudWatch/CloudWatchClient.swift

Large diffs are not rendered by default.

5,971 changes: 1,540 additions & 4,431 deletions Sources/Services/AWSCloudWatch/models/Models.swift

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Sources/Services/AWSCloudWatchLogs/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12494,7 +12494,7 @@ extension StartLiveTailOutput: ClientRuntime.HttpResponseBinding {
public init(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws {
if case let .stream(stream) = httpResponse.body, let responseDecoder = decoder {
let messageDecoder = AWSClientRuntime.AWSEventStream.AWSMessageDecoder()
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<CloudWatchLogsClientTypes.StartLiveTailResponseStream>(stream: stream, messageDecoder: messageDecoder, responseDecoder: responseDecoder)
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<CloudWatchLogsClientTypes.StartLiveTailResponseStream>(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: jsonUnmarshalClosure(responseDecoder: responseDecoder))
self.responseStream = decoderStream.toAsyncStream()
} else {
self.responseStream = nil
Expand Down
162 changes: 53 additions & 109 deletions Sources/Services/AWSDocDB/DocDBClient.swift

Large diffs are not rendered by default.

9,330 changes: 2,482 additions & 6,848 deletions Sources/Services/AWSDocDB/models/Models.swift

Large diffs are not rendered by default.

1,848 changes: 615 additions & 1,233 deletions Sources/Services/AWSEC2/EC2Client.swift

Large diffs are not rendered by default.

93,191 changes: 20,647 additions & 72,544 deletions Sources/Services/AWSEC2/models/Models.swift

Large diffs are not rendered by default.

228 changes: 75 additions & 153 deletions Sources/Services/AWSElastiCache/ElastiCacheClient.swift

Large diffs are not rendered by default.

14,942 changes: 3,965 additions & 10,977 deletions Sources/Services/AWSElastiCache/models/Models.swift

Large diffs are not rendered by default.

144 changes: 47 additions & 97 deletions Sources/Services/AWSElasticBeanstalk/ElasticBeanstalkClient.swift

Large diffs are not rendered by default.

7,441 changes: 2,090 additions & 5,351 deletions Sources/Services/AWSElasticBeanstalk/models/Models.swift

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4,091 changes: 1,152 additions & 2,939 deletions Sources/Services/AWSElasticLoadBalancing/models/Models.swift

Large diffs are not rendered by default.

Large diffs are not rendered by default.

7,822 changes: 2,088 additions & 5,734 deletions Sources/Services/AWSElasticLoadBalancingv2/models/Models.swift

Large diffs are not rendered by default.

480 changes: 159 additions & 321 deletions Sources/Services/AWSIAM/IAMClient.swift

Large diffs are not rendered by default.

16,043 changes: 5,121 additions & 10,922 deletions Sources/Services/AWSIAM/models/Models.swift

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Sources/Services/AWSKinesis/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6685,7 +6685,7 @@ extension SubscribeToShardOutput: ClientRuntime.HttpResponseBinding {
public init(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws {
if case let .stream(stream) = httpResponse.body, let responseDecoder = decoder {
let messageDecoder = AWSClientRuntime.AWSEventStream.AWSMessageDecoder()
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<KinesisClientTypes.SubscribeToShardEventStream>(stream: stream, messageDecoder: messageDecoder, responseDecoder: responseDecoder)
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<KinesisClientTypes.SubscribeToShardEventStream>(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: jsonUnmarshalClosure(responseDecoder: responseDecoder))
self.eventStream = decoderStream.toAsyncStream()
} else {
self.eventStream = nil
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSLambda/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10873,7 +10873,7 @@ extension InvokeWithResponseStreamOutput: ClientRuntime.HttpResponseBinding {
}
if case let .stream(stream) = httpResponse.body, let responseDecoder = decoder {
let messageDecoder = AWSClientRuntime.AWSEventStream.AWSMessageDecoder()
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<LambdaClientTypes.InvokeWithResponseStreamResponseEvent>(stream: stream, messageDecoder: messageDecoder, responseDecoder: responseDecoder)
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<LambdaClientTypes.InvokeWithResponseStreamResponseEvent>(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: jsonUnmarshalClosure(responseDecoder: responseDecoder))
self.eventStream = decoderStream.toAsyncStream()
} else {
self.eventStream = nil
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSLexRuntimeV2/models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3760,7 +3760,7 @@ extension StartConversationOutput: ClientRuntime.HttpResponseBinding {
public init(httpResponse: ClientRuntime.HttpResponse, decoder: ClientRuntime.ResponseDecoder? = nil) async throws {
if case let .stream(stream) = httpResponse.body, let responseDecoder = decoder {
let messageDecoder = AWSClientRuntime.AWSEventStream.AWSMessageDecoder()
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<LexRuntimeV2ClientTypes.StartConversationResponseEventStream>(stream: stream, messageDecoder: messageDecoder, responseDecoder: responseDecoder)
let decoderStream = ClientRuntime.EventStream.DefaultMessageDecoderStream<LexRuntimeV2ClientTypes.StartConversationResponseEventStream>(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: jsonUnmarshalClosure(responseDecoder: responseDecoder))
self.responseEventStream = decoderStream.toAsyncStream()
} else {
self.responseEventStream = nil
Expand Down
Loading

0 comments on commit 79f49ea

Please sign in to comment.