Skip to content

Commit 1ea30eb

Browse files
chore: Updates version to 1.7.30
1 parent 4f85dae commit 1ea30eb

11 files changed

Lines changed: 549 additions & 18 deletions

File tree

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import PackageDescription
1515

1616
// MARK: - Dynamic Content
1717

18-
let clientRuntimeVersion: Version = "0.225.0"
18+
let clientRuntimeVersion: Version = "0.226.0"
1919
let crtVersion: Version = "0.63.0"
2020

2121
let excludeRuntimeUnitTests = false

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.29
1+
1.7.30

Package.version.next

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.30
1+
1.7.31

Sources/Core/AWSSDKDynamic/Sources/AWSSDKDynamic/PackageVersion.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77

88
// Code is auto-generated. DO NOT EDIT!
99

10-
public let packageVersion = "1.7.29"
10+
public let packageVersion = "1.7.30"

Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6849,6 +6849,88 @@ extension CognitoIdentityProviderClient {
68496849
return try await op.execute(input: input)
68506850
}
68516851

6852+
/// Performs the `GetProvisionedLimit` operation on the `CognitoIdentityProvider` service.
6853+
///
6854+
/// Returns the current provisioned limit for a specific API category. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more
6855+
///
6856+
/// * [Signing Amazon Web Services API Requests](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html)
6857+
///
6858+
/// * [Using the Amazon Cognito user pools API and user pool endpoints](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html)
6859+
///
6860+
/// - Parameter input: [no documentation found] (Type: `GetProvisionedLimitInput`)
6861+
///
6862+
/// - Returns: [no documentation found] (Type: `GetProvisionedLimitOutput`)
6863+
///
6864+
/// - Throws: One of the exceptions listed below __Possible Exceptions__.
6865+
///
6866+
/// __Possible Exceptions:__
6867+
/// - `InternalErrorException` : This exception is thrown when Amazon Cognito encounters an internal error.
6868+
/// - `InvalidParameterException` : This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
6869+
/// - `NotAuthorizedException` : This exception is thrown when a user isn't authorized.
6870+
/// - `ResourceNotFoundException` : This exception is thrown when the Amazon Cognito service can't find the requested resource.
6871+
/// - `TooManyRequestsException` : This exception is thrown when the user has made too many requests for a given operation.
6872+
public func getProvisionedLimit(input: GetProvisionedLimitInput) async throws -> GetProvisionedLimitOutput {
6873+
var config = config
6874+
let plugins: [any ClientRuntime.Plugin] = [SmithyAWSJSON.Plugin(), AWSClientRuntime.UnknownAWSHTTPServiceErrorPlugin()]
6875+
for plugin in plugins {
6876+
try await plugin.configureClient(clientConfiguration: &config)
6877+
}
6878+
let operation = CognitoIdentityProviderClient.getProvisionedLimitOperation
6879+
let context = Smithy.ContextBuilder()
6880+
.withMethod(value: .post)
6881+
.withServiceName(value: serviceName)
6882+
.withOperation(value: "getProvisionedLimit")
6883+
.withUnsignedPayloadTrait(value: false)
6884+
.withSmithyDefaultConfig(config)
6885+
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a")
6886+
.withRegion(value: config.region)
6887+
.withRequestChecksumCalculation(value: config.requestChecksumCalculation)
6888+
.withResponseChecksumValidation(value: config.responseChecksumValidation)
6889+
.withSigningName(value: "cognito-idp")
6890+
.withSigningRegion(value: config.signingRegion)
6891+
.withOperationProperties(value: operation)
6892+
.build()
6893+
let clientProtocol = SmithyAWSJSON.HTTPClientProtocol(version: .v1_1)
6894+
let builder = ClientRuntime.OrchestratorBuilder(operation, clientProtocol)
6895+
config.interceptorProviders.forEach { provider in
6896+
builder.interceptors.add(provider.create())
6897+
}
6898+
config.httpInterceptorProviders.forEach { provider in
6899+
builder.interceptors.add(provider.create())
6900+
}
6901+
builder.interceptors.add(ClientRuntime.URLHostMiddleware<GetProvisionedLimitInput, GetProvisionedLimitOutput>())
6902+
builder.interceptors.add(ClientRuntime.ContentLengthMiddleware<GetProvisionedLimitInput, GetProvisionedLimitOutput>())
6903+
builder.interceptors.add(ClientRuntime.LoggerMiddleware<GetProvisionedLimitInput, GetProvisionedLimitOutput>(clientLogMode: config.clientLogMode))
6904+
builder.clockSkewProvider(AWSClientRuntime.AWSClockSkewProvider.provider())
6905+
builder.applySigner(ClientRuntime.SignerMiddleware<GetProvisionedLimitOutput>())
6906+
let configuredEndpoint = try config.endpoint ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.configuredEndpoint("Cognito Identity Provider", config.ignoreConfiguredEndpointURLs)
6907+
let endpointParamsBlock = { [config] (context: Smithy.Context) in
6908+
EndpointParams(endpoint: configuredEndpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
6909+
}
6910+
builder.applyEndpoint(AWSClientRuntime.AWSEndpointResolverMiddleware<GetProvisionedLimitOutput, EndpointParams>(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }))
6911+
builder.interceptors.add(ClientRuntime.MutateHeadersMiddleware<GetProvisionedLimitInput, GetProvisionedLimitOutput>(overrides: ["X-Amz-Target": "AWSCognitoIdentityProviderService.GetProvisionedLimit"]))
6912+
builder.interceptors.add(ClientRuntime.ContentTypeMiddleware<GetProvisionedLimitInput, GetProvisionedLimitOutput>(contentType: "application/x-amz-json-1.1"))
6913+
builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware<GetProvisionedLimitOutput>())
6914+
builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware<GetProvisionedLimitInput, GetProvisionedLimitOutput>())
6915+
builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware<GetProvisionedLimitInput, GetProvisionedLimitOutput>(maxRetries: config.retryStrategyOptions.maxRetriesBase))
6916+
builder.retryStrategy(self.retryStrategy)
6917+
builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfoProvider(sdkID: "Cognito Identity Provider"))
6918+
builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware<GetProvisionedLimitInput, GetProvisionedLimitOutput>(serviceID: serviceName, version: CognitoIdentityProviderClient.version, config: config))
6919+
var metricsAttributes = Smithy.Attributes()
6920+
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CognitoIdentityProvider")
6921+
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetProvisionedLimit")
6922+
let op = builder.attributes(context)
6923+
.telemetry(ClientRuntime.OrchestratorTelemetry(
6924+
telemetryProvider: config.telemetryProvider,
6925+
metricsAttributes: metricsAttributes,
6926+
meterScope: serviceName,
6927+
tracerScope: serviceName
6928+
))
6929+
.executeRequest(client)
6930+
.build()
6931+
return try await op.execute(input: input)
6932+
}
6933+
68526934
/// Performs the `GetSigningCertificate` operation on the `CognitoIdentityProvider` service.
68536935
///
68546936
/// Given a user pool ID, returns the signing certificate for SAML 2.0 federation. Issued certificates are valid for 10 years from the date of issue. Amazon Cognito issues and assigns a new signing certificate annually. This renewal process returns a new value in the response to GetSigningCertificate, but doesn't invalidate the original certificate. For more information, see [Signing SAML requests](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-SAML-signing-encryption.html#cognito-user-pools-SAML-signing). Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more
@@ -10424,6 +10506,89 @@ extension CognitoIdentityProviderClient {
1042410506
return try await op.execute(input: input)
1042510507
}
1042610508

10509+
/// Performs the `UpdateProvisionedLimit` operation on the `CognitoIdentityProvider` service.
10510+
///
10511+
/// Sets the provisioned limit for a specific API category. The value must be between the default limit and your account-level maximum limit in Service Quotas. Managed login user pools don't support adjustments to the UserAuthentication or UserFederation categories. To increase these limits, submit a Service Quotas increase request. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more
10512+
///
10513+
/// * [Signing Amazon Web Services API Requests](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_aws-signing.html)
10514+
///
10515+
/// * [Using the Amazon Cognito user pools API and user pool endpoints](https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html)
10516+
///
10517+
/// - Parameter input: [no documentation found] (Type: `UpdateProvisionedLimitInput`)
10518+
///
10519+
/// - Returns: [no documentation found] (Type: `UpdateProvisionedLimitOutput`)
10520+
///
10521+
/// - Throws: One of the exceptions listed below __Possible Exceptions__.
10522+
///
10523+
/// __Possible Exceptions:__
10524+
/// - `InternalErrorException` : This exception is thrown when Amazon Cognito encounters an internal error.
10525+
/// - `InvalidParameterException` : This exception is thrown when the Amazon Cognito service encounters an invalid parameter.
10526+
/// - `NotAuthorizedException` : This exception is thrown when a user isn't authorized.
10527+
/// - `ResourceNotFoundException` : This exception is thrown when the Amazon Cognito service can't find the requested resource.
10528+
/// - `ServiceQuotaExceededException` : The request exceeded your account's service quota. To increase your limit, use or submit a Service Quotas increase request.
10529+
/// - `TooManyRequestsException` : This exception is thrown when the user has made too many requests for a given operation.
10530+
public func updateProvisionedLimit(input: UpdateProvisionedLimitInput) async throws -> UpdateProvisionedLimitOutput {
10531+
var config = config
10532+
let plugins: [any ClientRuntime.Plugin] = [SmithyAWSJSON.Plugin(), AWSClientRuntime.UnknownAWSHTTPServiceErrorPlugin()]
10533+
for plugin in plugins {
10534+
try await plugin.configureClient(clientConfiguration: &config)
10535+
}
10536+
let operation = CognitoIdentityProviderClient.updateProvisionedLimitOperation
10537+
let context = Smithy.ContextBuilder()
10538+
.withMethod(value: .post)
10539+
.withServiceName(value: serviceName)
10540+
.withOperation(value: "updateProvisionedLimit")
10541+
.withUnsignedPayloadTrait(value: false)
10542+
.withSmithyDefaultConfig(config)
10543+
.withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a")
10544+
.withRegion(value: config.region)
10545+
.withRequestChecksumCalculation(value: config.requestChecksumCalculation)
10546+
.withResponseChecksumValidation(value: config.responseChecksumValidation)
10547+
.withSigningName(value: "cognito-idp")
10548+
.withSigningRegion(value: config.signingRegion)
10549+
.withOperationProperties(value: operation)
10550+
.build()
10551+
let clientProtocol = SmithyAWSJSON.HTTPClientProtocol(version: .v1_1)
10552+
let builder = ClientRuntime.OrchestratorBuilder(operation, clientProtocol)
10553+
config.interceptorProviders.forEach { provider in
10554+
builder.interceptors.add(provider.create())
10555+
}
10556+
config.httpInterceptorProviders.forEach { provider in
10557+
builder.interceptors.add(provider.create())
10558+
}
10559+
builder.interceptors.add(ClientRuntime.URLHostMiddleware<UpdateProvisionedLimitInput, UpdateProvisionedLimitOutput>())
10560+
builder.interceptors.add(ClientRuntime.ContentLengthMiddleware<UpdateProvisionedLimitInput, UpdateProvisionedLimitOutput>())
10561+
builder.interceptors.add(ClientRuntime.LoggerMiddleware<UpdateProvisionedLimitInput, UpdateProvisionedLimitOutput>(clientLogMode: config.clientLogMode))
10562+
builder.clockSkewProvider(AWSClientRuntime.AWSClockSkewProvider.provider())
10563+
builder.applySigner(ClientRuntime.SignerMiddleware<UpdateProvisionedLimitOutput>())
10564+
let configuredEndpoint = try config.endpoint ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.configuredEndpoint("Cognito Identity Provider", config.ignoreConfiguredEndpointURLs)
10565+
let endpointParamsBlock = { [config] (context: Smithy.Context) in
10566+
EndpointParams(endpoint: configuredEndpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false)
10567+
}
10568+
builder.applyEndpoint(AWSClientRuntime.AWSEndpointResolverMiddleware<UpdateProvisionedLimitOutput, EndpointParams>(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }))
10569+
builder.interceptors.add(ClientRuntime.MutateHeadersMiddleware<UpdateProvisionedLimitInput, UpdateProvisionedLimitOutput>(overrides: ["X-Amz-Target": "AWSCognitoIdentityProviderService.UpdateProvisionedLimit"]))
10570+
builder.interceptors.add(ClientRuntime.ContentTypeMiddleware<UpdateProvisionedLimitInput, UpdateProvisionedLimitOutput>(contentType: "application/x-amz-json-1.1"))
10571+
builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware<UpdateProvisionedLimitOutput>())
10572+
builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware<UpdateProvisionedLimitInput, UpdateProvisionedLimitOutput>())
10573+
builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware<UpdateProvisionedLimitInput, UpdateProvisionedLimitOutput>(maxRetries: config.retryStrategyOptions.maxRetriesBase))
10574+
builder.retryStrategy(self.retryStrategy)
10575+
builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfoProvider(sdkID: "Cognito Identity Provider"))
10576+
builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware<UpdateProvisionedLimitInput, UpdateProvisionedLimitOutput>(serviceID: serviceName, version: CognitoIdentityProviderClient.version, config: config))
10577+
var metricsAttributes = Smithy.Attributes()
10578+
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CognitoIdentityProvider")
10579+
metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateProvisionedLimit")
10580+
let op = builder.attributes(context)
10581+
.telemetry(ClientRuntime.OrchestratorTelemetry(
10582+
telemetryProvider: config.telemetryProvider,
10583+
metricsAttributes: metricsAttributes,
10584+
meterScope: serviceName,
10585+
tracerScope: serviceName
10586+
))
10587+
.executeRequest(client)
10588+
.build()
10589+
return try await op.execute(input: input)
10590+
}
10591+
1042710592
/// Performs the `UpdateResourceServer` operation on the `CognitoIdentityProvider` service.
1042810593
///
1042910594
/// Updates the name and scopes of a resource server. All other fields are read-only. For more information about resource servers, see [Access control with resource servers](https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-define-resource-servers.html). If you don't provide a value for an attribute, it is set to the default value. Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy. Learn more

0 commit comments

Comments
 (0)