Skip to content

Commit 055c022

Browse files
chore: Updates version to 1.0.26
1 parent 3bdc4fe commit 055c022

File tree

11 files changed

+838
-36
lines changed

11 files changed

+838
-36
lines changed

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.25
1+
1.0.26

Package.version.next

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.26
1+
1.0.27

Sources/Services/AWSBedrock/Sources/AWSBedrock/Models.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3236,7 +3236,7 @@ public struct GetImportedModelInput: Swift.Sendable {
32363236
public struct GetImportedModelOutput: Swift.Sendable {
32373237
/// Creation time of the imported model.
32383238
public var creationTime: Foundation.Date?
3239-
/// Specifies if the imported model supports fine tuning.
3239+
/// Specifies if the imported model supports converse.
32403240
public var instructSupported: Swift.Bool?
32413241
/// Job Amazon Resource Name (ARN) associated with the imported model.
32423242
public var jobArn: Swift.String?
@@ -3451,7 +3451,7 @@ extension BedrockClientTypes {
34513451
/// Creation time of the imported model.
34523452
/// This member is required.
34533453
public var creationTime: Foundation.Date?
3454-
/// Specifies if the imported model supports fine tuning.
3454+
/// Specifies if the imported model supports converse.
34553455
public var instructSupported: Swift.Bool?
34563456
/// The architecture of the imported model.
34573457
public var modelArchitecture: Swift.String?

Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift

Lines changed: 78 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ extension ConnectClient {
11591159

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

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

85988598
/// Performs the `GetMetricDataV2` operation on the `AmazonConnectService` service.
85998599
///
8600-
/// 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.
8600+
/// 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.
86018601
///
86028602
/// - Parameter GetMetricDataV2Input : [no documentation found]
86038603
///
@@ -14475,6 +14475,81 @@ extension ConnectClient {
1447514475
return try await op.execute(input: input)
1447614476
}
1447714477

14478+
/// Performs the `StartScreenSharing` operation on the `AmazonConnectService` service.
14479+
///
14480+
/// 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.
14481+
///
14482+
/// - Parameter StartScreenSharingInput : [no documentation found]
14483+
///
14484+
/// - Returns: `StartScreenSharingOutput` : [no documentation found]
14485+
///
14486+
/// - Throws: One of the exceptions listed below __Possible Exceptions__.
14487+
///
14488+
/// __Possible Exceptions:__
14489+
/// - `AccessDeniedException` : You do not have sufficient permissions to perform this action.
14490+
/// - `InternalServiceException` : Request processing failed because of an error or failure with the service.
14491+
/// - `InvalidParameterException` : One or more of the specified parameters are not valid.
14492+
/// - `InvalidRequestException` : The request is not valid.
14493+
/// - `ResourceNotFoundException` : The specified resource was not found.
14494+
/// - `ThrottlingException` : The throttling limit has been exceeded.
14495+
public func startScreenSharing(input: StartScreenSharingInput) async throws -> StartScreenSharingOutput {
14496+
let context = Smithy.ContextBuilder()
14497+
.withMethod(value: .put)
14498+
.withServiceName(value: serviceName)
14499+
.withOperation(value: "startScreenSharing")
14500+
.withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator)
14501+
.withLogger(value: config.logger)
14502+
.withPartitionID(value: config.partitionID)
14503+
.withAuthSchemes(value: config.authSchemes ?? [])
14504+
.withAuthSchemeResolver(value: config.authSchemeResolver)
14505+
.withUnsignedPayloadTrait(value: false)
14506+
.withSocketTimeout(value: config.httpClientConfiguration.socketTimeout)
14507+
.withIdentityResolver(value: config.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth")
14508+
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4")
14509+
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a")
14510+
.withRegion(value: config.region)
14511+
.withSigningName(value: "connect")
14512+
.withSigningRegion(value: config.signingRegion)
14513+
.build()
14514+
let builder = ClientRuntime.OrchestratorBuilder<StartScreenSharingInput, StartScreenSharingOutput, SmithyHTTPAPI.HTTPRequest, SmithyHTTPAPI.HTTPResponse>()
14515+
config.interceptorProviders.forEach { provider in
14516+
builder.interceptors.add(provider.create())
14517+
}
14518+
config.httpInterceptorProviders.forEach { provider in
14519+
builder.interceptors.add(provider.create())
14520+
}
14521+
builder.interceptors.add(ClientRuntime.IdempotencyTokenMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(keyPath: \.clientToken))
14522+
builder.interceptors.add(ClientRuntime.URLPathMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(StartScreenSharingInput.urlPathProvider(_:)))
14523+
builder.interceptors.add(ClientRuntime.URLHostMiddleware<StartScreenSharingInput, StartScreenSharingOutput>())
14524+
builder.interceptors.add(ClientRuntime.ContentTypeMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(contentType: "application/json"))
14525+
builder.serialize(ClientRuntime.BodyMiddleware<StartScreenSharingInput, StartScreenSharingOutput, SmithyJSON.Writer>(rootNodeInfo: "", inputWritingClosure: StartScreenSharingInput.write(value:to:)))
14526+
builder.interceptors.add(ClientRuntime.ContentLengthMiddleware<StartScreenSharingInput, StartScreenSharingOutput>())
14527+
builder.deserialize(ClientRuntime.DeserializeMiddleware<StartScreenSharingOutput>(StartScreenSharingOutput.httpOutput(from:), StartScreenSharingOutputError.httpError(from:)))
14528+
builder.interceptors.add(ClientRuntime.LoggerMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(clientLogMode: config.clientLogMode))
14529+
builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions))
14530+
builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:))
14531+
builder.applySigner(ClientRuntime.SignerMiddleware<StartScreenSharingOutput>())
14532+
let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
14533+
builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware<StartScreenSharingOutput, EndpointParams>(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams))
14534+
builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(serviceID: serviceName, version: "1.0", config: config))
14535+
builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware<StartScreenSharingOutput>())
14536+
builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware<StartScreenSharingInput, StartScreenSharingOutput>())
14537+
builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware<StartScreenSharingInput, StartScreenSharingOutput>(maxRetries: config.retryStrategyOptions.maxRetriesBase))
14538+
var metricsAttributes = Smithy.Attributes()
14539+
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "Connect")
14540+
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "StartScreenSharing")
14541+
let op = builder.attributes(context)
14542+
.telemetry(ClientRuntime.OrchestratorTelemetry(
14543+
telemetryProvider: config.telemetryProvider,
14544+
metricsAttributes: metricsAttributes,
14545+
meterScope: serviceName,
14546+
tracerScope: serviceName
14547+
))
14548+
.executeRequest(client)
14549+
.build()
14550+
return try await op.execute(input: input)
14551+
}
14552+
1447814553
/// Performs the `StartTaskContact` operation on the `AmazonConnectService` service.
1447914554
///
1448014555
/// 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:

0 commit comments

Comments
 (0)