Skip to content

Commit

Permalink
chore: Updates version to 0.46.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Jun 21, 2024
1 parent 07afa93 commit 3c20e0b
Show file tree
Hide file tree
Showing 21 changed files with 5,619 additions and 338 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ func addResolvedTargets() {
// MARK: - Generated

addDependencies(
clientRuntimeVersion: "0.50.0",
clientRuntimeVersion: "0.51.0",
crtVersion: "0.30.0"
)

Expand Down
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.45.0
0.46.0
5 changes: 5 additions & 0 deletions Sources/Services/AWSArtifact/Sources/AWSArtifact/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,8 @@ public struct ListReportsInput {
extension ArtifactClientTypes {
/// Summary for report resource.
public struct ReportSummary {
/// Acceptance type for report.
public var acceptanceType: ArtifactClientTypes.AcceptanceType?
/// ARN for the report resource.
public var arn: Swift.String?
/// Category for the report resource.
Expand Down Expand Up @@ -736,6 +738,7 @@ extension ArtifactClientTypes {
public var version: Swift.Int?

public init(
acceptanceType: ArtifactClientTypes.AcceptanceType? = nil,
arn: Swift.String? = nil,
category: Swift.String? = nil,
companyName: Swift.String? = nil,
Expand All @@ -752,6 +755,7 @@ extension ArtifactClientTypes {
version: Swift.Int? = nil
)
{
self.acceptanceType = acceptanceType
self.arn = arn
self.category = category
self.companyName = companyName
Expand Down Expand Up @@ -1274,6 +1278,7 @@ extension ArtifactClientTypes.ReportSummary {
value.companyName = try reader["companyName"].readIfPresent()
value.productName = try reader["productName"].readIfPresent()
value.statusMessage = try reader["statusMessage"].readIfPresent()
value.acceptanceType = try reader["acceptanceType"].readIfPresent()
return value
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ extension BedrockRuntimeClient {
extension BedrockRuntimeClient {
/// Performs the `Converse` operation on the `AmazonBedrockFrontendService` service.
///
/// Sends messages to the specified Amazon Bedrock model. Converse provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. For more information, see [Run inference](https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html) in the Bedrock User Guide. This operation requires permission for the bedrock:InvokeModel action.
/// Sends messages to the specified Amazon Bedrock model. Converse provides a consistent interface that works with all models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Converse API examples in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModel action.
///
/// - Parameter ConverseInput : [no documentation found]
///
Expand Down Expand Up @@ -216,7 +216,7 @@ extension BedrockRuntimeClient {

/// Performs the `ConverseStream` operation on the `AmazonBedrockFrontendService` service.
///
/// Sends messages to the specified Amazon Bedrock model and returns the response in a stream. ConverseStream provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. For more information, see [Run inference](https://docs.aws.amazon.com/bedrock/latest/userguide/api-methods-run.html) in the Bedrock User Guide. To find out if a model supports streaming, call [GetFoundationModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html) and check the responseStreamingSupported field in the response. For example code, see Invoke model with streaming code example in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModelWithResponseStream action.
/// Sends messages to the specified Amazon Bedrock model and returns the response in a stream. ConverseStream provides a consistent API that works with all Amazon Bedrock models that support messages. This allows you to write code once and use it with different models. Should a model have unique inference parameters, you can also pass those unique parameters to the model. To find out if a model supports streaming, call [GetFoundationModel](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetFoundationModel.html) and check the responseStreamingSupported field in the response. For information about the Converse API, see Use the Converse API in the Amazon Bedrock User Guide. To use a guardrail, see Use a guardrail with the Converse API in the Amazon Bedrock User Guide. To use a tool with a model, see Tool use (Function calling) in the Amazon Bedrock User Guide For example code, see Conversation streaming example in the Amazon Bedrock User Guide. This operation requires permission for the bedrock:InvokeModelWithResponseStream action.
///
/// - Parameter ConverseStreamInput : [no documentation found]
///
Expand Down
Loading

0 comments on commit 3c20e0b

Please sign in to comment.