Skip to content

Commit

Permalink
chore: Updates version to 1.0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-swift-automation committed Oct 23, 2024
1 parent 3bdc4fe commit 055c022
Show file tree
Hide file tree
Showing 11 changed files with 838 additions and 36 deletions.
2 changes: 1 addition & 1 deletion Package.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.25
1.0.26
2 changes: 1 addition & 1 deletion Package.version.next
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.26
1.0.27
4 changes: 2 additions & 2 deletions Sources/Services/AWSBedrock/Sources/AWSBedrock/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3236,7 +3236,7 @@ public struct GetImportedModelInput: Swift.Sendable {
public struct GetImportedModelOutput: Swift.Sendable {
/// Creation time of the imported model.
public var creationTime: Foundation.Date?
/// Specifies if the imported model supports fine tuning.
/// Specifies if the imported model supports converse.
public var instructSupported: Swift.Bool?
/// Job Amazon Resource Name (ARN) associated with the imported model.
public var jobArn: Swift.String?
Expand Down Expand Up @@ -3451,7 +3451,7 @@ extension BedrockClientTypes {
/// Creation time of the imported model.
/// This member is required.
public var creationTime: Foundation.Date?
/// Specifies if the imported model supports fine tuning.
/// Specifies if the imported model supports converse.
public var instructSupported: Swift.Bool?
/// The architecture of the imported model.
public var modelArchitecture: Swift.String?
Expand Down
81 changes: 78 additions & 3 deletions Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ extension ConnectClient {

/// Performs the `AssociateTrafficDistributionGroupUser` operation on the `AmazonConnectService` service.
///
/// Associates an agent with a traffic distribution group.
/// Associates an agent with a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created.
///
/// - Parameter AssociateTrafficDistributionGroupUserInput : [no documentation found]
///
Expand Down Expand Up @@ -7878,7 +7878,7 @@ extension ConnectClient {

/// Performs the `DisassociateTrafficDistributionGroupUser` operation on the `AmazonConnectService` service.
///
/// Disassociates an agent from a traffic distribution group.
/// Disassociates an agent from a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created.
///
/// - Parameter DisassociateTrafficDistributionGroupUserInput : [no documentation found]
///
Expand Down Expand Up @@ -8597,7 +8597,7 @@ extension ConnectClient {

/// Performs the `GetMetricDataV2` operation on the `AmazonConnectService` service.
///
/// Gets metric data from the specified Amazon Connect instance. GetMetricDataV2 offers more features than [GetMetricData](https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html), the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals. For a description of the historical metrics that are supported by GetMetricDataV2 and GetMetricData, see [Historical metrics definitions](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html) in the Amazon Connect Administrator Guide.
/// Gets metric data from the specified Amazon Connect instance. GetMetricDataV2 offers more features than [GetMetricData](https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html), the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals. It does not support agent queues. For a description of the historical metrics that are supported by GetMetricDataV2 and GetMetricData, see [Historical metrics definitions](https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html) in the Amazon Connect Administrator Guide.
///
/// - Parameter GetMetricDataV2Input : [no documentation found]
///
Expand Down Expand Up @@ -14475,6 +14475,81 @@ extension ConnectClient {
return try await op.execute(input: input)
}

/// Performs the `StartScreenSharing` operation on the `AmazonConnectService` service.
///
/// Starts screen sharing for a contact. For more information about screen sharing, see [Set up in-app, web, video calling, and screen sharing capabilities](https://docs.aws.amazon.com/connect/latest/adminguide/inapp-calling.html) in the Amazon Connect Administrator Guide.
///
/// - Parameter StartScreenSharingInput : [no documentation found]
///
/// - Returns: `StartScreenSharingOutput` : [no documentation found]
///
/// - Throws: One of the exceptions listed below __Possible Exceptions__.
///
/// __Possible Exceptions:__
/// - `AccessDeniedException` : You do not have sufficient permissions to perform this action.
/// - `InternalServiceException` : Request processing failed because of an error or failure with the service.
/// - `InvalidParameterException` : One or more of the specified parameters are not valid.
/// - `InvalidRequestException` : The request is not valid.
/// - `ResourceNotFoundException` : The specified resource was not found.
/// - `ThrottlingException` : The throttling limit has been exceeded.
public func startScreenSharing(input: StartScreenSharingInput) async throws -> StartScreenSharingOutput {
let context = Smithy.ContextBuilder()
.withMethod(value: .put)
.withServiceName(value: serviceName)
.withOperation(value: "startScreenSharing")
.withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator)
.withLogger(value: config.logger)
.withPartitionID(value: config.partitionID)
.withAuthSchemes(value: config.authSchemes ?? [])
.withAuthSchemeResolver(value: config.authSchemeResolver)
.withUnsignedPayloadTrait(value: false)
.withSocketTimeout(value: config.httpClientConfiguration.socketTimeout)
.withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth")
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4")
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a")
.withRegion(value: config.region)
.withSigningName(value: "connect")
.withSigningRegion(value: config.signingRegion)
.build()
let builder = ClientRuntime.OrchestratorBuilder<StartScreenSharingInput, StartScreenSharingOutput, SmithyHTTPAPI.HTTPRequest, SmithyHTTPAPI.HTTPResponse>()
config.interceptorProviders.forEach { provider in
builder.interceptors.add(provider.create())
}
config.httpInterceptorProviders.forEach { provider in
builder.interceptors.add(provider.create())
}
builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(keyPath: \.clientToken))
builder.interceptors.add(ClientRuntime.URLPathMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(StartScreenSharingInput.urlPathProvider(_:)))
builder.interceptors.add(ClientRuntime.URLHostMiddleware<StartScreenSharingInput, StartScreenSharingOutput>())
builder.interceptors.add(ClientRuntime.ContentTypeMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(contentType: "application/json"))
builder.serialize(ClientRuntime.BodyMiddleware<StartScreenSharingInput, StartScreenSharingOutput, SmithyJSON.Writer>(rootNodeInfo: "", inputWritingClosure: StartScreenSharingInput.write(value:to:)))
builder.interceptors.add(ClientRuntime.ContentLengthMiddleware<StartScreenSharingInput, StartScreenSharingOutput>())
builder.deserialize(ClientRuntime.DeserializeMiddleware<StartScreenSharingOutput>(StartScreenSharingOutput.httpOutput(from:), StartScreenSharingOutputError.httpError(from:)))
builder.interceptors.add(ClientRuntime.LoggerMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(clientLogMode: config.clientLogMode))
builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions))
builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:))
builder.applySigner(ClientRuntime.SignerMiddleware<StartScreenSharingOutput>())
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware<StartScreenSharingOutput, EndpointParams>(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams))
builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(serviceID: serviceName, version: "1.0", config: config))
builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware<StartScreenSharingOutput>())
builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware<StartScreenSharingInput, StartScreenSharingOutput>())
builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(maxRetries: config.retryStrategyOptions.maxRetriesBase))
var metricsAttributes = Smithy.Attributes()
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "Connect")
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "StartScreenSharing")
let op = builder.attributes(context)
.telemetry(ClientRuntime.OrchestratorTelemetry(
telemetryProvider: config.telemetryProvider,
metricsAttributes: metricsAttributes,
meterScope: serviceName,
tracerScope: serviceName
))
.executeRequest(client)
.build()
return try await op.execute(input: input)
}

/// Performs the `StartTaskContact` operation on the `AmazonConnectService` service.
///
/// Initiates a flow to start a new task contact. For more information about task contacts, see [Concepts: Tasks in Amazon Connect](https://docs.aws.amazon.com/connect/latest/adminguide/tasks.html) in the Amazon Connect Administrator Guide. When using PreviousContactId and RelatedContactId input parameters, note the following:
Expand Down
Loading

0 comments on commit 055c022

Please sign in to comment.