From 6c0ae3046a4e086c00a09e479125b91f0389bfd9 Mon Sep 17 00:00:00 2001 From: AWS SDK Swift Automation Date: Wed, 20 Nov 2024 19:02:44 +0000 Subject: [PATCH 1/3] Update API model --- .../application-discovery-service.json | 78 +- .../sdk-codegen/aws-models/auto-scaling.json | 162 +- .../aws-models/bedrock-agent-runtime.json | 230 ++- .../sdk-codegen/aws-models/cloudfront.json | 1695 ++++++++++++++++- .../aws-models/compute-optimizer.json | 1209 +++++++++++- .../sdk-codegen/aws-models/controltower.json | 37 + .../aws-models/cost-optimization-hub.json | 39 +- codegen/sdk-codegen/aws-models/datazone.json | 1555 +++++++++++++-- codegen/sdk-codegen/aws-models/ec2.json | 143 +- codegen/sdk-codegen/aws-models/ecs.json | 41 +- .../aws-models/elastic-load-balancing-v2.json | 367 ++++ codegen/sdk-codegen/aws-models/lambda.json | 6 + .../sdk-codegen/aws-models/mediaconvert.json | 84 + .../aws-models/mediapackagev2.json | 108 +- codegen/sdk-codegen/aws-models/omics.json | 828 +++++++- codegen/sdk-codegen/aws-models/rbin.json | 94 +- codegen/sdk-codegen/aws-models/rds.json | 29 +- .../aws-models/timestream-query.json | 212 ++- .../aws-models/workspaces-web.json | 1138 ++++++++++- .../sdk-codegen/aws-models/workspaces.json | 22 +- 20 files changed, 7647 insertions(+), 430 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/application-discovery-service.json b/codegen/sdk-codegen/aws-models/application-discovery-service.json index 263d487b00e..4de2578aca6 100644 --- a/codegen/sdk-codegen/aws-models/application-discovery-service.json +++ b/codegen/sdk-codegen/aws-models/application-discovery-service.json @@ -1071,6 +1071,16 @@ "smithy.api#pattern": "^[\\s\\S]*\\S[\\s\\S]*$" } }, + "com.amazonaws.applicationdiscoveryservice#ApplicationWave": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + }, + "smithy.api#pattern": "^($|[^\\s\\x00]( *[^\\s\\x00])*$)$" + } + }, "com.amazonaws.applicationdiscoveryservice#AssociateConfigurationItemsToApplication": { "type": "operation", "input": { @@ -1763,14 +1773,20 @@ "name": { "target": "com.amazonaws.applicationdiscoveryservice#ApplicationName", "traits": { - "smithy.api#documentation": "

Name of the application to be created.

", + "smithy.api#documentation": "

The name of the application to be created.

", "smithy.api#required": {} } }, "description": { "target": "com.amazonaws.applicationdiscoveryservice#ApplicationDescription", "traits": { - "smithy.api#documentation": "

Description of the application to be created.

" + "smithy.api#documentation": "

The description of the application to be created.

" + } + }, + "wave": { + "target": "com.amazonaws.applicationdiscoveryservice#ApplicationWave", + "traits": { + "smithy.api#documentation": "

The name of the migration wave of the application to be created.

" } } }, @@ -1784,7 +1800,7 @@ "configurationId": { "target": "com.amazonaws.applicationdiscoveryservice#String", "traits": { - "smithy.api#documentation": "

Configuration ID of an application to be created.

" + "smithy.api#documentation": "

The configuration ID of an application to be created.

" } } }, @@ -3409,6 +3425,35 @@ "target": "com.amazonaws.applicationdiscoveryservice#FailedConfiguration" } }, + "com.amazonaws.applicationdiscoveryservice#FileClassification": { + "type": "enum", + "members": { + "MODELIZEIT_EXPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MODELIZEIT_EXPORT" + } + }, + "RVTOOLS_EXPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RVTOOLS_EXPORT" + } + }, + "VMWARE_NSX_EXPORT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VMWARE_NSX_EXPORT" + } + }, + "IMPORT_TEMPLATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_TEMPLATE" + } + } + } + }, "com.amazonaws.applicationdiscoveryservice#Filter": { "type": "structure", "members": { @@ -3621,6 +3666,12 @@ "smithy.api#enumValue": "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED" } }, + "IMPORT_FAILED_UNSUPPORTED_FILE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "IMPORT_FAILED_UNSUPPORTED_FILE_TYPE" + } + }, "DELETE_IN_PROGRESS": { "target": "smithy.api#Unit", "traits": { @@ -3704,6 +3755,12 @@ "smithy.api#documentation": "

The time that the import task request was deleted, presented in the Unix time stamp\n format.

" } }, + "fileClassification": { + "target": "com.amazonaws.applicationdiscoveryservice#FileClassification", + "traits": { + "smithy.api#documentation": "

The type of file detected by the import task.

" + } + }, "serverImportSuccess": { "target": "com.amazonaws.applicationdiscoveryservice#Integer", "traits": { @@ -3783,6 +3840,12 @@ "traits": { "smithy.api#enumValue": "NAME" } + }, + "FILE_CLASSIFICATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FILE_CLASSIFICATION" + } } } }, @@ -4332,6 +4395,9 @@ { "target": "com.amazonaws.applicationdiscoveryservice#HomeRegionNotSetException" }, + { + "target": "com.amazonaws.applicationdiscoveryservice#InvalidParameterException" + }, { "target": "com.amazonaws.applicationdiscoveryservice#InvalidParameterValueException" }, @@ -5006,6 +5072,12 @@ "traits": { "smithy.api#documentation": "

New description of the application to be updated.

" } + }, + "wave": { + "target": "com.amazonaws.applicationdiscoveryservice#ApplicationWave", + "traits": { + "smithy.api#documentation": "

The new migration wave of the application that you want to update.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.json b/codegen/sdk-codegen/aws-models/auto-scaling.json index f61a203dc03..273f7da8208 100644 --- a/codegen/sdk-codegen/aws-models/auto-scaling.json +++ b/codegen/sdk-codegen/aws-models/auto-scaling.json @@ -940,6 +940,12 @@ "traits": { "smithy.api#documentation": "

\n The Availability Zone impairment policy.\n

" } + }, + "CapacityReservationSpecification": { + "target": "com.amazonaws.autoscaling#CapacityReservationSpecification", + "traits": { + "smithy.api#documentation": "

\n The capacity reservation specification. \n

" + } } }, "traits": { @@ -2413,6 +2419,20 @@ "smithy.api#documentation": "

Specifies the minimum and maximum for the BaselineEbsBandwidthMbps object\n when you specify InstanceRequirements for an Auto Scaling group.

" } }, + "com.amazonaws.autoscaling#BaselinePerformanceFactorsRequest": { + "type": "structure", + "members": { + "Cpu": { + "target": "com.amazonaws.autoscaling#CpuPerformanceFactorRequest", + "traits": { + "smithy.api#documentation": "

\n The CPU performance to consider, using an instance family as the baseline reference.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Auto Scaling uses\n this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application.\n

\n

Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying c6i uses the CPU performance of the c6i\n family as the baseline reference.

" + } + }, "com.amazonaws.autoscaling#BatchDeleteScheduledAction": { "type": "operation", "input": { @@ -2725,6 +2745,87 @@ "com.amazonaws.autoscaling#CapacityRebalanceEnabled": { "type": "boolean" }, + "com.amazonaws.autoscaling#CapacityReservationIds": { + "type": "list", + "member": { + "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255" + } + }, + "com.amazonaws.autoscaling#CapacityReservationPreference": { + "type": "enum", + "members": { + "CapacityReservationsOnly": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "capacity-reservations-only" + } + }, + "CapacityReservationsFirst": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "capacity-reservations-first" + } + }, + "None": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "none" + } + }, + "Default": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "default" + } + } + } + }, + "com.amazonaws.autoscaling#CapacityReservationResourceGroupArns": { + "type": "list", + "member": { + "target": "com.amazonaws.autoscaling#ResourceName" + } + }, + "com.amazonaws.autoscaling#CapacityReservationSpecification": { + "type": "structure", + "members": { + "CapacityReservationPreference": { + "target": "com.amazonaws.autoscaling#CapacityReservationPreference", + "traits": { + "smithy.api#documentation": "

\n The capacity reservation preference. The following options are available:\n

\n " + } + }, + "CapacityReservationTarget": { + "target": "com.amazonaws.autoscaling#CapacityReservationTarget", + "traits": { + "smithy.api#documentation": "

\n Describes a target Capacity Reservation or Capacity Reservation resource group.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n Describes the Capacity Reservation preference and targeting options. If you specify open or none for CapacityReservationPreference, do not specify a CapacityReservationTarget.\n

" + } + }, + "com.amazonaws.autoscaling#CapacityReservationTarget": { + "type": "structure", + "members": { + "CapacityReservationIds": { + "target": "com.amazonaws.autoscaling#CapacityReservationIds", + "traits": { + "smithy.api#documentation": "

\n The Capacity Reservation IDs to launch instances into.\n

" + } + }, + "CapacityReservationResourceGroupArns": { + "target": "com.amazonaws.autoscaling#CapacityReservationResourceGroupArns", + "traits": { + "smithy.api#documentation": "

\n The resource group ARNs of the Capacity Reservation to launch instances into.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n The target for the Capacity Reservation. Specify Capacity Reservations IDs or Capacity Reservation resource group ARNs. \n

" + } + }, "com.amazonaws.autoscaling#CheckpointDelay": { "type": "integer", "traits": { @@ -2855,6 +2956,21 @@ "target": "com.amazonaws.autoscaling#CpuManufacturer" } }, + "com.amazonaws.autoscaling#CpuPerformanceFactorRequest": { + "type": "structure", + "members": { + "References": { + "target": "com.amazonaws.autoscaling#PerformanceFactorReferenceSetRequest", + "traits": { + "smithy.api#documentation": "

\n Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the\n referenced instance family, regardless of CPU manufacturer or architecture differences.\n

\n \n

Currently only one instance family can be specified in the list.

\n
", + "smithy.api#xmlName": "Reference" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n The CPU performance to consider, using an instance family as the baseline reference.\n

" + } + }, "com.amazonaws.autoscaling#CreateAutoScalingGroup": { "type": "operation", "input": { @@ -3191,6 +3307,12 @@ "traits": { "smithy.api#documentation": "

\n If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify true. For more information, see\n Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.\n

" } + }, + "CapacityReservationSpecification": { + "target": "com.amazonaws.autoscaling#CapacityReservationSpecification", + "traits": { + "smithy.api#documentation": "

\n The capacity reservation specification for the Auto Scaling group. \n

" + } } } }, @@ -6927,6 +7049,12 @@ "traits": { "smithy.api#documentation": "

The instance types to apply your specified attributes against. All other instance\n types are ignored, even if they match your specified attributes.

\n

You can use strings with one or more wild cards, represented by an asterisk\n (*), to allow an instance type, size, or generation. The following are\n examples: m5.8xlarge, c5*.*, m5a.*,\n r*, *3*.

\n

For example, if you specify c5*, Amazon EC2 Auto Scaling will allow the entire C5\n instance family, which includes all C5a and C5n instance types. If you specify\n m5a.*, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n\n instance types.

\n \n

If you specify AllowedInstanceTypes, you can't specify\n ExcludedInstanceTypes.

\n
\n

Default: All instance types

" } + }, + "BaselinePerformanceFactors": { + "target": "com.amazonaws.autoscaling#BaselinePerformanceFactorsRequest", + "traits": { + "smithy.api#documentation": "

\n The baseline performance factors for the instance requirements.\n

" + } } }, "traits": { @@ -8327,6 +8455,29 @@ "target": "com.amazonaws.autoscaling#LaunchTemplateOverrides" } }, + "com.amazonaws.autoscaling#PerformanceFactorReferenceRequest": { + "type": "structure", + "members": { + "InstanceFamily": { + "target": "com.amazonaws.autoscaling#String", + "traits": { + "smithy.api#documentation": "

\n The instance family to use as a baseline reference.\n

\n \n

Make sure that you specify the correct value for the instance family. The instance family is everything before the period (.) in the instance type name. For example, in the instance c6i.large, the\n instance family is c6i, not c6. For more information, see Amazon EC2 instance type naming conventions in \n Amazon EC2 Instance Types.

\n
\n

The following instance types are not supported for performance protection.

\n \n

If you performance protection by specifying a supported instance family, the returned instance types will exclude the preceding unsupported instance families.

\n

If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n Specify an instance family to use as the baseline reference for CPU performance. All instance types that All instance types that match your specified attributes will be compared against the CPU performance of the\n referenced instance family, regardless of CPU manufacturer or architecture differences.\n

\n \n

Currently only one instance family can be specified in the list.

\n
" + } + }, + "com.amazonaws.autoscaling#PerformanceFactorReferenceSetRequest": { + "type": "list", + "member": { + "target": "com.amazonaws.autoscaling#PerformanceFactorReferenceRequest", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, "com.amazonaws.autoscaling#PoliciesType": { "type": "structure", "members": { @@ -10445,6 +10596,9 @@ "target": "com.amazonaws.autoscaling#StepAdjustment" } }, + "com.amazonaws.autoscaling#String": { + "type": "string" + }, "com.amazonaws.autoscaling#SuspendProcesses": { "type": "operation", "input": { @@ -11086,7 +11240,13 @@ "SkipZonalShiftValidation": { "target": "com.amazonaws.autoscaling#SkipZonalShiftValidation", "traits": { - "smithy.api#documentation": "

\n If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify true. For more information, see \n Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.\n

" + "smithy.api#documentation": "

\n If you enable zonal shift with cross-zone disabled load balancers, capacity could become imbalanced across Availability Zones. To skip the validation, specify true. For more information, see\n Auto Scaling group zonal shift in the Amazon EC2 Auto Scaling User Guide.\n

" + } + }, + "CapacityReservationSpecification": { + "target": "com.amazonaws.autoscaling#CapacityReservationSpecification", + "traits": { + "smithy.api#documentation": "

\n The capacity reservation specification for the Auto Scaling group. \n

" } } } diff --git a/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json b/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json index cb8cd41fc58..ffd2c867315 100644 --- a/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json +++ b/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json @@ -67,7 +67,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains information about the action group being invoked. For more information about the possible structures, see the InvocationInput tab in OrchestrationTrace in the Amazon Bedrock User Guide.

" + "smithy.api#documentation": "

Contains information about the action group being invoked. For more information about the possible structures, see the InvocationInput tab in OrchestrationTrace in the Amazon Bedrock User Guide.

" } }, "com.amazonaws.bedrockagentruntime#ActionGroupInvocationOutput": { @@ -181,6 +181,9 @@ { "target": "com.amazonaws.bedrockagentruntime#MemoryResource" }, + { + "target": "com.amazonaws.bedrockagentruntime#OptimizePromptResource" + }, { "target": "com.amazonaws.bedrockagentruntime#RetrieveAndGenerateResource" }, @@ -867,6 +870,21 @@ } } }, + "com.amazonaws.bedrockagentruntime#AnalyzePromptEvent": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

A message describing the analysis of the prompt.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An event in which the prompt was analyzed in preparation for optimization.

", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.bedrockagentruntime#ApiContentMap": { "type": "map", "key": { @@ -3336,6 +3354,20 @@ "target": "com.amazonaws.bedrockagentruntime#InputFile" } }, + "com.amazonaws.bedrockagentruntime#InputPrompt": { + "type": "union", + "members": { + "textPrompt": { + "target": "com.amazonaws.bedrockagentruntime#TextPrompt", + "traits": { + "smithy.api#documentation": "

Contains information about the text prompt to optimize.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the prompt to optimize.

" + } + }, "com.amazonaws.bedrockagentruntime#InputText": { "type": "string", "traits": { @@ -3663,7 +3695,7 @@ } ], "traits": { - "smithy.api#documentation": "

Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

\n \n

The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow.

\n
", + "smithy.api#documentation": "

Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

\n \n

The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow.

\n
", "smithy.api#http": { "code": 200, "method": "POST", @@ -4286,6 +4318,180 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.bedrockagentruntime#OptimizePrompt": { + "type": "operation", + "input": { + "target": "com.amazonaws.bedrockagentruntime#OptimizePromptRequest" + }, + "output": { + "target": "com.amazonaws.bedrockagentruntime#OptimizePromptResponse" + }, + "errors": [ + { + "target": "com.amazonaws.bedrockagentruntime#AccessDeniedException" + }, + { + "target": "com.amazonaws.bedrockagentruntime#BadGatewayException" + }, + { + "target": "com.amazonaws.bedrockagentruntime#DependencyFailedException" + }, + { + "target": "com.amazonaws.bedrockagentruntime#InternalServerException" + }, + { + "target": "com.amazonaws.bedrockagentruntime#ThrottlingException" + }, + { + "target": "com.amazonaws.bedrockagentruntime#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Optimizes a prompt for the task that you specify. For more information, see Optimize a prompt in the Amazon Bedrock User Guide.

", + "smithy.api#http": { + "code": 200, + "method": "POST", + "uri": "/optimize-prompt" + } + } + }, + "com.amazonaws.bedrockagentruntime#OptimizePromptRequest": { + "type": "structure", + "members": { + "input": { + "target": "com.amazonaws.bedrockagentruntime#InputPrompt", + "traits": { + "smithy.api#documentation": "

Contains the prompt to optimize.

", + "smithy.api#required": {} + } + }, + "targetModelId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The unique identifier of the model that you want to optimize the prompt for.

", + "smithy.api#length": { + "min": 1, + "max": 2048 + }, + "smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:provisioned-model/[a-z0-9]{12})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.bedrockagentruntime#OptimizePromptResource": { + "type": "resource", + "operations": [ + { + "target": "com.amazonaws.bedrockagentruntime#OptimizePrompt" + } + ] + }, + "com.amazonaws.bedrockagentruntime#OptimizePromptResponse": { + "type": "structure", + "members": { + "optimizedPrompt": { + "target": "com.amazonaws.bedrockagentruntime#OptimizedPromptStream", + "traits": { + "smithy.api#documentation": "

The prompt after being optimized for the task.

", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.bedrockagentruntime#OptimizedPrompt": { + "type": "union", + "members": { + "textPrompt": { + "target": "com.amazonaws.bedrockagentruntime#TextPrompt", + "traits": { + "smithy.api#documentation": "

Contains information about the text in the prompt that was optimized.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the optimized prompt.

" + } + }, + "com.amazonaws.bedrockagentruntime#OptimizedPromptEvent": { + "type": "structure", + "members": { + "optimizedPrompt": { + "target": "com.amazonaws.bedrockagentruntime#OptimizedPrompt", + "traits": { + "smithy.api#documentation": "

Contains information about the optimized prompt.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

An event in which the prompt was optimized.

", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.bedrockagentruntime#OptimizedPromptStream": { + "type": "union", + "members": { + "optimizedPromptEvent": { + "target": "com.amazonaws.bedrockagentruntime#OptimizedPromptEvent", + "traits": { + "smithy.api#documentation": "

An event in which the prompt was optimized.

" + } + }, + "analyzePromptEvent": { + "target": "com.amazonaws.bedrockagentruntime#AnalyzePromptEvent", + "traits": { + "smithy.api#documentation": "

An event in which the prompt was analyzed in preparation for optimization.

" + } + }, + "internalServerException": { + "target": "com.amazonaws.bedrockagentruntime#InternalServerException", + "traits": { + "smithy.api#documentation": "

An internal server error occurred. Retry your request.

" + } + }, + "throttlingException": { + "target": "com.amazonaws.bedrockagentruntime#ThrottlingException", + "traits": { + "smithy.api#documentation": "

Your request was throttled because of service-wide limitations. Resubmit your request later or in a different region. You can also purchase Provisioned Throughput to increase the rate or number of tokens you can process.

" + } + }, + "validationException": { + "target": "com.amazonaws.bedrockagentruntime#ValidationException", + "traits": { + "smithy.api#documentation": "

Input validation failed. Check your request parameters and retry the request.

" + } + }, + "dependencyFailedException": { + "target": "com.amazonaws.bedrockagentruntime#DependencyFailedException", + "traits": { + "smithy.api#documentation": "

There was an issue with a dependency. Check the resource configurations and retry the request.

" + } + }, + "accessDeniedException": { + "target": "com.amazonaws.bedrockagentruntime#AccessDeniedException", + "traits": { + "smithy.api#documentation": "

The request is denied because of missing access permissions. Check your permissions and retry your request.

" + } + }, + "badGatewayException": { + "target": "com.amazonaws.bedrockagentruntime#BadGatewayException", + "traits": { + "smithy.api#documentation": "

There was an issue with a dependency due to a server issue. Retry your request.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The stream containing events in the prompt optimization process.

", + "smithy.api#streaming": {} + } + }, "com.amazonaws.bedrockagentruntime#OrchestrationConfiguration": { "type": "structure", "members": { @@ -5895,6 +6101,26 @@ "smithy.api#documentation": "

Configuration settings for text generation using a language model via the\n RetrieveAndGenerate operation. Includes parameters like temperature, top-p, maximum token\n count, and stop sequences.

\n \n

The valid range of maxTokens depends on the accepted values for your chosen\n model's inference parameters. To see the inference parameters for your model, see Inference\n parameters for foundation models.\n

\n
" } }, + "com.amazonaws.bedrockagentruntime#TextPrompt": { + "type": "structure", + "members": { + "text": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The text in the text prompt to optimize.

", + "smithy.api#length": { + "min": 1, + "max": 200000 + }, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Contains information about the text prompt to optimize.

", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.bedrockagentruntime#TextPromptTemplate": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/cloudfront.json b/codegen/sdk-codegen/aws-models/cloudfront.json index f63ca860bab..81dcd389773 100644 --- a/codegen/sdk-codegen/aws-models/cloudfront.json +++ b/codegen/sdk-codegen/aws-models/cloudfront.json @@ -190,6 +190,189 @@ "smithy.api#documentation": "

A complex type that controls which HTTP methods CloudFront processes and forwards to your\n\t\t\tAmazon S3 bucket or your custom origin. There are three choices:

\n \n

If you pick the third choice, you may need to restrict access to your Amazon S3 bucket or\n\t\t\tto your custom origin so users can't perform operations that you don't want them to. For\n\t\t\texample, you might not want users to have permissions to delete objects from your\n\t\t\torigin.

" } }, + "com.amazonaws.cloudfront#AnycastIpList": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The ID of the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.cloudfront#AnycastIpListName", + "traits": { + "smithy.api#documentation": "

The name of the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "Status": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The status of the Anycast static IP list. Valid values: Deployed, Deploying, or Failed.

", + "smithy.api#required": {} + } + }, + "Arn": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "AnycastIps": { + "target": "com.amazonaws.cloudfront#AnycastIps", + "traits": { + "smithy.api#documentation": "

The static IP addresses that are allocated to the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "IpCount": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The number of IP addresses in the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "LastModifiedTime": { + "target": "com.amazonaws.cloudfront#timestamp", + "traits": { + "smithy.api#documentation": "

The last time the Anycast static IP list was modified.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An Anycast static IP list.

" + } + }, + "com.amazonaws.cloudfront#AnycastIpListCollection": { + "type": "structure", + "members": { + "Items": { + "target": "com.amazonaws.cloudfront#AnycastIpListSummaries", + "traits": { + "smithy.api#documentation": "

Items in the Anycast static IP list collection. Each item is of the AnycastIpListSummary structure type.

" + } + }, + "Marker": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur\n\t\t\tafter the marker. To get the next page of the list, set this field's value to the value\n\t\t\tof NextMarker from the current page's response.

", + "smithy.api#required": {} + } + }, + "NextMarker": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

Indicates the next page of the Anycast static IP list collection. To get the next page of the\n\t\t\tlist, use this value in the Marker field of your request.

" + } + }, + "MaxItems": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The maximum number of Anycast static IP list collections that you want returned in the\n\t\t\tresponse.

", + "smithy.api#required": {} + } + }, + "IsTruncated": { + "target": "com.amazonaws.cloudfront#boolean", + "traits": { + "smithy.api#documentation": "

If there are more items in the list collection than are in this response, this value is\n\t\t\ttrue.

", + "smithy.api#required": {} + } + }, + "Quantity": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The quantity of Anycast static IP lists in the collection.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The Anycast static IP list collection.

" + } + }, + "com.amazonaws.cloudfront#AnycastIpListName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9-_]{1,64}$" + } + }, + "com.amazonaws.cloudfront#AnycastIpListSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.cloudfront#AnycastIpListSummary", + "traits": { + "smithy.api#xmlName": "AnycastIpListSummary" + } + } + }, + "com.amazonaws.cloudfront#AnycastIpListSummary": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The ID of the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.cloudfront#AnycastIpListName", + "traits": { + "smithy.api#documentation": "

The name of the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "Status": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The deployment status of the Anycast static IP list. Valid values: Deployed, Deploying, or Failed.

", + "smithy.api#required": {} + } + }, + "Arn": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "IpCount": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The number of IP addresses in the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "LastModifiedTime": { + "target": "com.amazonaws.cloudfront#timestamp", + "traits": { + "smithy.api#documentation": "

The last time the Anycast static IP list was modified.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An abbreviated version of the AnycastIpList structure. Omits the allocated static IP addresses (AnycastIpList$AnycastIps).

" + } + }, + "com.amazonaws.cloudfront#AnycastIps": { + "type": "list", + "member": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#xmlName": "AnycastIp" + } + } + }, "com.amazonaws.cloudfront#AssociateAlias": { "type": "operation", "input": { @@ -376,6 +559,12 @@ "smithy.api#documentation": "

The identifier for a response headers policy.

" } }, + "GrpcConfig": { + "target": "com.amazonaws.cloudfront#GrpcConfig", + "traits": { + "smithy.api#documentation": "

The gRPC configuration for your cache behavior.

" + } + }, "ForwardedValues": { "target": "com.amazonaws.cloudfront#ForwardedValues", "traits": { @@ -797,7 +986,20 @@ } }, "traits": { - "smithy.api#documentation": "

The key value store entity cannot be deleted while it is in use.

", + "smithy.api#documentation": "

The entity cannot be deleted while it is in use.

", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.cloudfront#CannotUpdateEntityWhileInUse": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.cloudfront#string" + } + }, + "traits": { + "smithy.api#documentation": "

The entity cannot be updated while it is in use.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -997,6 +1199,9 @@ { "target": "com.amazonaws.cloudfront#CopyDistribution" }, + { + "target": "com.amazonaws.cloudfront#CreateAnycastIpList" + }, { "target": "com.amazonaws.cloudfront#CreateCachePolicy" }, @@ -1054,6 +1259,12 @@ { "target": "com.amazonaws.cloudfront#CreateStreamingDistributionWithTags" }, + { + "target": "com.amazonaws.cloudfront#CreateVpcOrigin" + }, + { + "target": "com.amazonaws.cloudfront#DeleteAnycastIpList" + }, { "target": "com.amazonaws.cloudfront#DeleteCachePolicy" }, @@ -1102,12 +1313,18 @@ { "target": "com.amazonaws.cloudfront#DeleteStreamingDistribution" }, + { + "target": "com.amazonaws.cloudfront#DeleteVpcOrigin" + }, { "target": "com.amazonaws.cloudfront#DescribeFunction" }, { "target": "com.amazonaws.cloudfront#DescribeKeyValueStore" }, + { + "target": "com.amazonaws.cloudfront#GetAnycastIpList" + }, { "target": "com.amazonaws.cloudfront#GetCachePolicy" }, @@ -1192,6 +1409,12 @@ { "target": "com.amazonaws.cloudfront#GetStreamingDistributionConfig" }, + { + "target": "com.amazonaws.cloudfront#GetVpcOrigin" + }, + { + "target": "com.amazonaws.cloudfront#ListAnycastIpLists" + }, { "target": "com.amazonaws.cloudfront#ListCachePolicies" }, @@ -1207,6 +1430,9 @@ { "target": "com.amazonaws.cloudfront#ListDistributions" }, + { + "target": "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListId" + }, { "target": "com.amazonaws.cloudfront#ListDistributionsByCachePolicyId" }, @@ -1222,6 +1448,9 @@ { "target": "com.amazonaws.cloudfront#ListDistributionsByResponseHeadersPolicyId" }, + { + "target": "com.amazonaws.cloudfront#ListDistributionsByVpcOriginId" + }, { "target": "com.amazonaws.cloudfront#ListDistributionsByWebACLId" }, @@ -1264,6 +1493,9 @@ { "target": "com.amazonaws.cloudfront#ListTagsForResource" }, + { + "target": "com.amazonaws.cloudfront#ListVpcOrigins" + }, { "target": "com.amazonaws.cloudfront#PublishFunction" }, @@ -1323,6 +1555,9 @@ }, { "target": "com.amazonaws.cloudfront#UpdateStreamingDistribution" + }, + { + "target": "com.amazonaws.cloudfront#UpdateVpcOrigin" } ], "traits": { @@ -2900,6 +3135,90 @@ "smithy.api#output": {} } }, + "com.amazonaws.cloudfront#CreateAnycastIpList": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#CreateAnycastIpListRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#CreateAnycastIpListResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#EntityAlreadyExists" + }, + { + "target": "com.amazonaws.cloudfront#EntityLimitExceeded" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#InvalidTagging" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Creates an Anycast static IP list.

", + "smithy.api#http": { + "method": "POST", + "uri": "/2020-05-31/anycast-ip-list", + "code": 202 + } + } + }, + "com.amazonaws.cloudfront#CreateAnycastIpListRequest": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.cloudfront#AnycastIpListName", + "traits": { + "smithy.api#documentation": "

Name of the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "IpCount": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The number of static IP addresses that are allocated to the Anycast static IP list.

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.cloudfront#Tags" + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#CreateAnycastIpListResult": { + "type": "structure", + "members": { + "AnycastIpList": { + "target": "com.amazonaws.cloudfront#AnycastIpList", + "traits": { + "smithy.api#documentation": "

A response structure that includes the version identifier (ETag) and the created AnycastIpList structure.

", + "smithy.api#httpPayload": {} + } + }, + "ETag": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The version identifier for the current version of the Anycast static IP list.

", + "smithy.api#httpHeader": "ETag" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.cloudfront#CreateCachePolicy": { "type": "operation", "input": { @@ -3175,6 +3494,9 @@ { "target": "com.amazonaws.cloudfront#DistributionAlreadyExists" }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, { "target": "com.amazonaws.cloudfront#IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" }, @@ -3437,6 +3759,9 @@ { "target": "com.amazonaws.cloudfront#DistributionAlreadyExists" }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, { "target": "com.amazonaws.cloudfront#IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" }, @@ -4204,7 +4529,7 @@ "Comment": "my-key-valuestore-comment", "ImportSource": { "SourceType": "S3", - "SourceARN": "arn:aws:s3:::my-bucket/validJSON.json" + "SourceARN": "arn:aws:s3:::amzn-s3-demo-bucket/validJSON.json" } }, "output": { @@ -4977,10 +5302,144 @@ "smithy.api#output": {} } }, - "com.amazonaws.cloudfront#CustomErrorResponse": { - "type": "structure", - "members": { - "ErrorCode": { + "com.amazonaws.cloudfront#CreateVpcOrigin": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#CreateVpcOriginRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#CreateVpcOriginResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#EntityAlreadyExists" + }, + { + "target": "com.amazonaws.cloudfront#EntityLimitExceeded" + }, + { + "target": "com.amazonaws.cloudfront#InconsistentQuantities" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#InvalidTagging" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Create an Amazon CloudFront VPC origin.

", + "smithy.api#examples": [ + { + "title": "To create a VPC origin", + "documentation": "The following command creates a VPC origin:", + "input": { + "VpcOriginEndpointConfig": { + "Name": "my-vpcorigin-name", + "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d", + "HTTPPort": 80, + "HTTPSPort": 443, + "OriginProtocolPolicy": "match-viewer", + "OriginSslProtocols": { + "Quantity": 2, + "Items": [ + "TLSv1.1", + "TLSv1.2" + ] + } + } + }, + "output": { + "VpcOrigin": { + "Status": "Deploying", + "VpcOriginEndpointConfig": { + "Name": "my-vpcorigin-name", + "OriginSslProtocols": { + "Items": [ + "TLSv1.1", + "TLSv1.2" + ], + "Quantity": 2 + }, + "OriginProtocolPolicy": "match-viewer", + "HTTPPort": 80, + "HTTPSPort": 443, + "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d" + }, + "CreatedTime": "2024-10-15T17:19:42.318Z", + "LastModifiedTime": "2024-10-15T17:19:42.318Z", + "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM", + "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM" + }, + "ETag": "E23ZP02F085DFQ", + "Location": "https://cloudfront.amazonaws.com/2020-05-31/vpc-origin/vo_BQwjxxQxjCaBcQLzJUFkDM" + } + } + ], + "smithy.api#http": { + "method": "POST", + "uri": "/2020-05-31/vpc-origin", + "code": 202 + } + } + }, + "com.amazonaws.cloudfront#CreateVpcOriginRequest": { + "type": "structure", + "members": { + "VpcOriginEndpointConfig": { + "target": "com.amazonaws.cloudfront#VpcOriginEndpointConfig", + "traits": { + "smithy.api#documentation": "

The VPC origin endpoint configuration.

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.cloudfront#Tags" + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#CreateVpcOriginResult": { + "type": "structure", + "members": { + "VpcOrigin": { + "target": "com.amazonaws.cloudfront#VpcOrigin", + "traits": { + "smithy.api#documentation": "

The VPC origin.

", + "smithy.api#httpPayload": {} + } + }, + "Location": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin location.

", + "smithy.api#httpHeader": "Location" + } + }, + "ETag": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ETag.

", + "smithy.api#httpHeader": "ETag" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.cloudfront#CustomErrorResponse": { + "type": "structure", + "members": { + "ErrorCode": { "target": "com.amazonaws.cloudfront#integer", "traits": { "smithy.api#documentation": "

The HTTP status code for which you want to specify a custom error page and/or a\n\t\t\tcaching duration.

", @@ -5194,6 +5653,12 @@ "smithy.api#documentation": "

The identifier for a response headers policy.

" } }, + "GrpcConfig": { + "target": "com.amazonaws.cloudfront#GrpcConfig", + "traits": { + "smithy.api#documentation": "

The gRPC configuration for your cache behavior.

" + } + }, "ForwardedValues": { "target": "com.amazonaws.cloudfront#ForwardedValues", "traits": { @@ -5227,6 +5692,73 @@ "smithy.api#documentation": "

A complex type that describes the default cache behavior if you don't specify a\n\t\t\t\tCacheBehavior element or if request URLs don't match any of the values\n\t\t\tof PathPattern in CacheBehavior elements. You must create\n\t\t\texactly one default cache behavior.

" } }, + "com.amazonaws.cloudfront#DeleteAnycastIpList": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#DeleteAnycastIpListRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#CannotDeleteEntityWhileInUse" + }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, + { + "target": "com.amazonaws.cloudfront#IllegalDelete" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#InvalidIfMatchVersion" + }, + { + "target": "com.amazonaws.cloudfront#PreconditionFailed" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes an Anycast static IP list.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/2020-05-31/anycast-ip-list/{Id}", + "code": 204 + } + } + }, + "com.amazonaws.cloudfront#DeleteAnycastIpListRequest": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The ID of the Anycast static IP list.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "IfMatch": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The current version (ETag value) of the Anycast static IP list that\n\t\t\tyou are deleting.

", + "smithy.api#httpHeader": "If-Match", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.cloudfront#DeleteCachePolicy": { "type": "operation", "input": { @@ -6158,6 +6690,129 @@ "smithy.api#input": {} } }, + "com.amazonaws.cloudfront#DeleteVpcOrigin": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#DeleteVpcOriginRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#DeleteVpcOriginResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#CannotDeleteEntityWhileInUse" + }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, + { + "target": "com.amazonaws.cloudfront#IllegalDelete" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#InvalidIfMatchVersion" + }, + { + "target": "com.amazonaws.cloudfront#PreconditionFailed" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Delete an Amazon CloudFront VPC origin.

", + "smithy.api#examples": [ + { + "title": "To delete a VPC origin", + "documentation": "The following command deletes a VPC origin:", + "input": { + "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM", + "IfMatch": "E1F83G8C2ARO7P" + }, + "output": { + "VpcOrigin": { + "Status": "Deploying", + "VpcOriginEndpointConfig": { + "Name": "my-vpcorigin-name", + "OriginSslProtocols": { + "Items": [ + "TLSv1.1", + "TLSv1.2" + ], + "Quantity": 2 + }, + "OriginProtocolPolicy": "match-viewer", + "HTTPPort": 80, + "HTTPSPort": 443, + "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d" + }, + "CreatedTime": "2024-10-15T17:19:42.318Z", + "LastModifiedTime": "2024-10-15T17:57:08.965Z", + "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM", + "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM" + }, + "ETag": "E1PA6795UKMFR9" + } + } + ], + "smithy.api#http": { + "method": "DELETE", + "uri": "/2020-05-31/vpc-origin/{Id}", + "code": 202 + } + } + }, + "com.amazonaws.cloudfront#DeleteVpcOriginRequest": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "IfMatch": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin to delete, if a match occurs.

", + "smithy.api#httpHeader": "If-Match", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#DeleteVpcOriginResult": { + "type": "structure", + "members": { + "VpcOrigin": { + "target": "com.amazonaws.cloudfront#VpcOrigin", + "traits": { + "smithy.api#documentation": "

The VPC origin.

", + "smithy.api#httpPayload": {} + } + }, + "ETag": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ETag.

", + "smithy.api#httpHeader": "ETag" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.cloudfront#DescribeFunction": { "type": "operation", "input": { @@ -6526,6 +7181,12 @@ "traits": { "smithy.api#documentation": "

A Boolean that indicates whether this is a staging distribution. When this value is\n\t\t\t\ttrue, this is a staging distribution. When this value is\n\t\t\t\tfalse, this is not a staging distribution.

" } + }, + "AnycastIpListId": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

ID of the Anycast static IP list that is associated with the distribution.

" + } } }, "traits": { @@ -6819,6 +7480,12 @@ "smithy.api#documentation": "

A Boolean that indicates whether this is a staging distribution. When this value is\n\t\t\t\ttrue, this is a staging distribution. When this value is\n\t\t\t\tfalse, this is not a staging distribution.

", "smithy.api#required": {} } + }, + "AnycastIpListId": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

ID of the Anycast static IP list that is associated with the distribution.

" + } } }, "traits": { @@ -6928,7 +7595,7 @@ } }, "traits": { - "smithy.api#documentation": "

The key value store entity already exists. You must provide a unique key value store\n\t\t\tentity.

", + "smithy.api#documentation": "

The entity already exists. You must provide a unique\n\t\t\tentity.

", "smithy.api#error": "client", "smithy.api#httpError": 409 } @@ -6941,7 +7608,7 @@ } }, "traits": { - "smithy.api#documentation": "

The key value store entity limit has been exceeded.

", + "smithy.api#documentation": "

The entity limit has been exceeded.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -6954,7 +7621,7 @@ } }, "traits": { - "smithy.api#documentation": "

The key value store entity was not found.

", + "smithy.api#documentation": "

The entity was not found.

", "smithy.api#error": "client", "smithy.api#httpError": 404 } @@ -6967,7 +7634,7 @@ } }, "traits": { - "smithy.api#documentation": "

The key value store entity size limit was exceeded.

", + "smithy.api#documentation": "

The entity size limit was exceeded.

", "smithy.api#error": "client", "smithy.api#httpError": 413 } @@ -7826,24 +8493,93 @@ } } }, - "com.amazonaws.cloudfront#GetCachePolicy": { + "com.amazonaws.cloudfront#GetAnycastIpList": { "type": "operation", "input": { - "target": "com.amazonaws.cloudfront#GetCachePolicyRequest" + "target": "com.amazonaws.cloudfront#GetAnycastIpListRequest" }, "output": { - "target": "com.amazonaws.cloudfront#GetCachePolicyResult" + "target": "com.amazonaws.cloudfront#GetAnycastIpListResult" }, "errors": [ { "target": "com.amazonaws.cloudfront#AccessDenied" }, { - "target": "com.amazonaws.cloudfront#NoSuchCachePolicy" - } - ], - "traits": { - "smithy.api#documentation": "

Gets a cache policy, including the following metadata:

\n \n

To get a cache policy, you must provide the policy's identifier. If the cache policy\n\t\t\tis attached to a distribution's cache behavior, you can get the policy's identifier\n\t\t\tusing ListDistributions or GetDistribution. If the cache\n\t\t\tpolicy is not attached to a cache behavior, you can get the identifier using\n\t\t\t\tListCachePolicies.

", + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Gets an Anycast static IP list.

", + "smithy.api#http": { + "method": "GET", + "uri": "/2020-05-31/anycast-ip-list/{Id}", + "code": 200 + } + } + }, + "com.amazonaws.cloudfront#GetAnycastIpListRequest": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The ID of the Anycast static IP list.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#GetAnycastIpListResult": { + "type": "structure", + "members": { + "AnycastIpList": { + "target": "com.amazonaws.cloudfront#AnycastIpList", + "traits": { + "smithy.api#documentation": "

The Anycast static IP list details.

", + "smithy.api#httpPayload": {} + } + }, + "ETag": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The version identifier for the current version of the Anycast static IP list.

", + "smithy.api#httpHeader": "ETag" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.cloudfront#GetCachePolicy": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#GetCachePolicyRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#GetCachePolicyResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#NoSuchCachePolicy" + } + ], + "traits": { + "smithy.api#documentation": "

Gets a cache policy, including the following metadata:

\n \n

To get a cache policy, you must provide the policy's identifier. If the cache policy\n\t\t\tis attached to a distribution's cache behavior, you can get the policy's identifier\n\t\t\tusing ListDistributions or GetDistribution. If the cache\n\t\t\tpolicy is not attached to a cache behavior, you can get the identifier using\n\t\t\t\tListCachePolicies.

", "smithy.api#http": { "method": "GET", "uri": "/2020-05-31/cache-policy/{Id}", @@ -9670,6 +10406,123 @@ "smithy.api#output": {} } }, + "com.amazonaws.cloudfront#GetVpcOrigin": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#GetVpcOriginRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#GetVpcOriginResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Get the details of an Amazon CloudFront VPC origin.

", + "smithy.api#examples": [ + { + "title": "To get a VPC origin", + "documentation": "The following command gets a VPC origin:", + "input": { + "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM" + }, + "output": { + "VpcOrigin": { + "Status": "Deployed", + "VpcOriginEndpointConfig": { + "Name": "my-vpcorigin-name", + "OriginSslProtocols": { + "Items": [ + "TLSv1.1", + "TLSv1.2" + ], + "Quantity": 2 + }, + "OriginProtocolPolicy": "match-viewer", + "HTTPPort": 80, + "HTTPSPort": 443, + "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d" + }, + "CreatedTime": "2024-10-15T17:19:42.318Z", + "LastModifiedTime": "2024-10-15T17:24:35.188Z", + "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM", + "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM" + }, + "ETag": "ETVPDKIKX0DER" + } + } + ], + "smithy.api#http": { + "method": "GET", + "uri": "/2020-05-31/vpc-origin/{Id}", + "code": 200 + } + } + }, + "com.amazonaws.cloudfront#GetVpcOriginRequest": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#GetVpcOriginResult": { + "type": "structure", + "members": { + "VpcOrigin": { + "target": "com.amazonaws.cloudfront#VpcOrigin", + "traits": { + "smithy.api#documentation": "

The VPC origin.

", + "smithy.api#httpPayload": {} + } + }, + "ETag": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ETag.

", + "smithy.api#httpHeader": "ETag" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.cloudfront#GrpcConfig": { + "type": "structure", + "members": { + "Enabled": { + "target": "com.amazonaws.cloudfront#boolean", + "traits": { + "smithy.api#documentation": "

Enables your CloudFront distribution to receive gRPC requests and to proxy them directly to your\n\t\t\torigins.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Amazon CloudFront supports gRPC, an open-source remote procedure call (RPC) framework built on\n\t\t\tHTTP/2. gRPC offers bi-directional streaming and binary protocol that buffers payloads,\n\t\t\tmaking it suitable for applications that require low latency communications.

\n

To enable your distribution to handle gRPC requests, you must include HTTP/2 as one of the supported HTTP versions and allow HTTP methods, including POST.

\n

For more information, see Using gRPC with CloudFront distributions in the\n\t\t\t\tAmazon CloudFront Developer Guide.

" + } + }, "com.amazonaws.cloudfront#HeaderList": { "type": "list", "member": { @@ -9760,7 +10613,7 @@ } }, "traits": { - "smithy.api#documentation": "

You cannot delete a managed policy.

", + "smithy.api#documentation": "

Deletion is not allowed for this entity.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } @@ -10788,6 +11641,75 @@ "smithy.api#documentation": "

A complex type that specifies a list of Lambda@Edge functions associations for a cache\n\t\t\tbehavior.

\n

If you want to invoke one or more Lambda@Edge functions triggered by requests that\n\t\t\tmatch the PathPattern of the cache behavior, specify the applicable values\n\t\t\tfor Quantity and Items. Note that there can be up to 4\n\t\t\t\tLambdaFunctionAssociation items in this list (one for each possible\n\t\t\tvalue of EventType) and each EventType can be associated with\n\t\t\tonly one function.

\n

If you don't want to invoke any Lambda@Edge functions for the requests that match\n\t\t\t\tPathPattern, specify 0 for Quantity and omit\n\t\t\t\tItems.

" } }, + "com.amazonaws.cloudfront#ListAnycastIpLists": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#ListAnycastIpListsRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#ListAnycastIpListsResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Lists your Anycast static IP lists.

", + "smithy.api#http": { + "method": "GET", + "uri": "/2020-05-31/anycast-ip-list", + "code": 200 + } + } + }, + "com.amazonaws.cloudfront#ListAnycastIpListsRequest": { + "type": "structure", + "members": { + "Marker": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur\n\t\t\tafter the marker. To get the next page of the list, set this field's value to the value\n\t\t\tof NextMarker from the current page's response.

", + "smithy.api#httpQuery": "Marker" + } + }, + "MaxItems": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The maximum number of Anycast static IP lists that you want returned in the\n\t\t\tresponse.

", + "smithy.api#httpQuery": "MaxItems" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#ListAnycastIpListsResult": { + "type": "structure", + "members": { + "AnycastIpLists": { + "target": "com.amazonaws.cloudfront#AnycastIpListCollection", + "traits": { + "smithy.api#documentation": "

Root level tag for the AnycastIpLists parameters.

", + "smithy.api#httpPayload": {}, + "smithy.api#xmlName": "AnycastIpListCollection" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.cloudfront#ListCachePolicies": { "type": "operation", "input": { @@ -11098,55 +12020,58 @@ } } }, - "com.amazonaws.cloudfront#ListDistributionsByCachePolicyId": { + "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListId": { "type": "operation", "input": { - "target": "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdRequest" + "target": "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListIdRequest" }, "output": { - "target": "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdResult" + "target": "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListIdResult" }, "errors": [ { "target": "com.amazonaws.cloudfront#AccessDenied" }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, { "target": "com.amazonaws.cloudfront#InvalidArgument" }, { - "target": "com.amazonaws.cloudfront#NoSuchCachePolicy" + "target": "com.amazonaws.cloudfront#UnsupportedOperation" } ], "traits": { - "smithy.api#documentation": "

Gets a list of distribution IDs for distributions that have a cache behavior that's\n\t\t\tassociated with the specified cache policy.

\n

You can optionally specify the maximum number of items to receive in the response. If\n\t\t\tthe total number of items in the list exceeds the maximum that you specify, or the\n\t\t\tdefault maximum, the response is paginated. To get the next page of items, send a\n\t\t\tsubsequent request that specifies the NextMarker value from the current\n\t\t\tresponse as the Marker value in the subsequent request.

", + "smithy.api#documentation": "

Lists the distributions in your account that are associated with the specified AnycastIpListId.

", "smithy.api#http": { "method": "GET", - "uri": "/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}", + "uri": "/2020-05-31/distributionsByAnycastIpListId/{AnycastIpListId}", "code": 200 } } }, - "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdRequest": { + "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListIdRequest": { "type": "structure", "members": { "Marker": { "target": "com.amazonaws.cloudfront#string", "traits": { - "smithy.api#documentation": "

Use this field when paginating results to indicate where to begin in your list of\n\t\t\tdistribution IDs. The response includes distribution IDs in the list that occur after\n\t\t\tthe marker. To get the next page of the list, set this field's value to the value of\n\t\t\t\tNextMarker from the current page's response.

", + "smithy.api#documentation": "

Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur\n\t\t\tafter the marker. To get the next page of the list, set this field's value to the value\n\t\t\tof NextMarker from the current page's response.

", "smithy.api#httpQuery": "Marker" } }, "MaxItems": { "target": "com.amazonaws.cloudfront#integer", "traits": { - "smithy.api#documentation": "

The maximum number of distribution IDs that you want in the response.

", + "smithy.api#documentation": "

The maximum number of distributions that you want returned in the\n\t\t\tresponse.

", "smithy.api#httpQuery": "MaxItems" } }, - "CachePolicyId": { + "AnycastIpListId": { "target": "com.amazonaws.cloudfront#string", "traits": { - "smithy.api#documentation": "

The ID of the cache policy whose associated distribution IDs you want to list.

", + "smithy.api#documentation": "

The ID of the Anycast static IP list.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11156,13 +12081,12 @@ "smithy.api#input": {} } }, - "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdResult": { + "com.amazonaws.cloudfront#ListDistributionsByAnycastIpListIdResult": { "type": "structure", "members": { - "DistributionIdList": { - "target": "com.amazonaws.cloudfront#DistributionIdList", + "DistributionList": { + "target": "com.amazonaws.cloudfront#DistributionList", "traits": { - "smithy.api#documentation": "

A list of distribution IDs.

", "smithy.api#httpPayload": {} } } @@ -11171,32 +12095,35 @@ "smithy.api#output": {} } }, - "com.amazonaws.cloudfront#ListDistributionsByKeyGroup": { + "com.amazonaws.cloudfront#ListDistributionsByCachePolicyId": { "type": "operation", "input": { - "target": "com.amazonaws.cloudfront#ListDistributionsByKeyGroupRequest" + "target": "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdRequest" }, "output": { - "target": "com.amazonaws.cloudfront#ListDistributionsByKeyGroupResult" + "target": "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdResult" }, "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, { "target": "com.amazonaws.cloudfront#InvalidArgument" }, { - "target": "com.amazonaws.cloudfront#NoSuchResource" + "target": "com.amazonaws.cloudfront#NoSuchCachePolicy" } ], "traits": { - "smithy.api#documentation": "

Gets a list of distribution IDs for distributions that have a cache behavior that\n\t\t\treferences the specified key group.

\n

You can optionally specify the maximum number of items to receive in the response. If\n\t\t\tthe total number of items in the list exceeds the maximum that you specify, or the\n\t\t\tdefault maximum, the response is paginated. To get the next page of items, send a\n\t\t\tsubsequent request that specifies the NextMarker value from the current\n\t\t\tresponse as the Marker value in the subsequent request.

", + "smithy.api#documentation": "

Gets a list of distribution IDs for distributions that have a cache behavior that's\n\t\t\tassociated with the specified cache policy.

\n

You can optionally specify the maximum number of items to receive in the response. If\n\t\t\tthe total number of items in the list exceeds the maximum that you specify, or the\n\t\t\tdefault maximum, the response is paginated. To get the next page of items, send a\n\t\t\tsubsequent request that specifies the NextMarker value from the current\n\t\t\tresponse as the Marker value in the subsequent request.

", "smithy.api#http": { "method": "GET", - "uri": "/2020-05-31/distributionsByKeyGroupId/{KeyGroupId}", + "uri": "/2020-05-31/distributionsByCachePolicyId/{CachePolicyId}", "code": 200 } } }, - "com.amazonaws.cloudfront#ListDistributionsByKeyGroupRequest": { + "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdRequest": { "type": "structure", "members": { "Marker": { @@ -11213,10 +12140,10 @@ "smithy.api#httpQuery": "MaxItems" } }, - "KeyGroupId": { + "CachePolicyId": { "target": "com.amazonaws.cloudfront#string", "traits": { - "smithy.api#documentation": "

The ID of the key group whose associated distribution IDs you are listing.

", + "smithy.api#documentation": "

The ID of the cache policy whose associated distribution IDs you want to list.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -11226,12 +12153,13 @@ "smithy.api#input": {} } }, - "com.amazonaws.cloudfront#ListDistributionsByKeyGroupResult": { + "com.amazonaws.cloudfront#ListDistributionsByCachePolicyIdResult": { "type": "structure", "members": { "DistributionIdList": { "target": "com.amazonaws.cloudfront#DistributionIdList", "traits": { + "smithy.api#documentation": "

A list of distribution IDs.

", "smithy.api#httpPayload": {} } } @@ -11240,17 +12168,86 @@ "smithy.api#output": {} } }, - "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyId": { + "com.amazonaws.cloudfront#ListDistributionsByKeyGroup": { "type": "operation", "input": { - "target": "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyIdRequest" + "target": "com.amazonaws.cloudfront#ListDistributionsByKeyGroupRequest" }, "output": { - "target": "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyIdResult" + "target": "com.amazonaws.cloudfront#ListDistributionsByKeyGroupResult" }, "errors": [ { - "target": "com.amazonaws.cloudfront#AccessDenied" + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#NoSuchResource" + } + ], + "traits": { + "smithy.api#documentation": "

Gets a list of distribution IDs for distributions that have a cache behavior that\n\t\t\treferences the specified key group.

\n

You can optionally specify the maximum number of items to receive in the response. If\n\t\t\tthe total number of items in the list exceeds the maximum that you specify, or the\n\t\t\tdefault maximum, the response is paginated. To get the next page of items, send a\n\t\t\tsubsequent request that specifies the NextMarker value from the current\n\t\t\tresponse as the Marker value in the subsequent request.

", + "smithy.api#http": { + "method": "GET", + "uri": "/2020-05-31/distributionsByKeyGroupId/{KeyGroupId}", + "code": 200 + } + } + }, + "com.amazonaws.cloudfront#ListDistributionsByKeyGroupRequest": { + "type": "structure", + "members": { + "Marker": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

Use this field when paginating results to indicate where to begin in your list of\n\t\t\tdistribution IDs. The response includes distribution IDs in the list that occur after\n\t\t\tthe marker. To get the next page of the list, set this field's value to the value of\n\t\t\t\tNextMarker from the current page's response.

", + "smithy.api#httpQuery": "Marker" + } + }, + "MaxItems": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The maximum number of distribution IDs that you want in the response.

", + "smithy.api#httpQuery": "MaxItems" + } + }, + "KeyGroupId": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The ID of the key group whose associated distribution IDs you are listing.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#ListDistributionsByKeyGroupResult": { + "type": "structure", + "members": { + "DistributionIdList": { + "target": "com.amazonaws.cloudfront#DistributionIdList", + "traits": { + "smithy.api#httpPayload": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyId": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyIdRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#ListDistributionsByOriginRequestPolicyIdResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" }, { "target": "com.amazonaws.cloudfront#InvalidArgument" @@ -11453,6 +12450,99 @@ "smithy.api#output": {} } }, + "com.amazonaws.cloudfront#ListDistributionsByVpcOriginId": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#ListDistributionsByVpcOriginIdRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#ListDistributionsByVpcOriginIdResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

List CloudFront distributions by their VPC origin ID.

", + "smithy.api#examples": [ + { + "title": "To list distributions by VPC origin ID", + "documentation": "The following command lists distributions by VPC origin ID:", + "input": { + "VpcOriginId": "vo_BQwjxxQxjCaBcQLzJUFkDM" + }, + "output": { + "DistributionIdList": { + "Items": [], + "IsTruncated": false, + "MaxItems": 100, + "Quantity": 0, + "Marker": "a" + } + } + } + ], + "smithy.api#http": { + "method": "GET", + "uri": "/2020-05-31/distributionsByVpcOriginId/{VpcOriginId}", + "code": 200 + } + } + }, + "com.amazonaws.cloudfront#ListDistributionsByVpcOriginIdRequest": { + "type": "structure", + "members": { + "Marker": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The marker associated with the VPC origin distributions list.

", + "smithy.api#httpQuery": "Marker" + } + }, + "MaxItems": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The maximum number of items included in the list.

", + "smithy.api#httpQuery": "MaxItems" + } + }, + "VpcOriginId": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#ListDistributionsByVpcOriginIdResult": { + "type": "structure", + "members": { + "DistributionIdList": { + "target": "com.amazonaws.cloudfront#DistributionIdList", + "traits": { + "smithy.api#httpPayload": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.cloudfront#ListDistributionsByWebACLId": { "type": "operation", "input": { @@ -12460,6 +13550,99 @@ "smithy.api#output": {} } }, + "com.amazonaws.cloudfront#ListVpcOrigins": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#ListVpcOriginsRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#ListVpcOriginsResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

List the CloudFront VPC origins in your account.

", + "smithy.api#examples": [ + { + "title": "To list VPC origins", + "documentation": "The following command lists VPC origins:", + "output": { + "VpcOriginList": { + "Items": [ + { + "Status": "Deployed", + "Name": "my-vpcorigin-name", + "CreatedTime": "2024-10-15T17:19:42.318Z", + "LastModifiedTime": "2024-10-15T17:24:35.188Z", + "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM", + "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM", + "OriginEndpointArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d" + } + ], + "MaxItems": 100, + "Quantity": 1, + "Marker": "a", + "IsTruncated": true + } + } + } + ], + "smithy.api#http": { + "method": "GET", + "uri": "/2020-05-31/vpc-origin", + "code": 200 + } + } + }, + "com.amazonaws.cloudfront#ListVpcOriginsRequest": { + "type": "structure", + "members": { + "Marker": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The marker associated with the VPC origins list.

", + "smithy.api#httpQuery": "Marker" + } + }, + "MaxItems": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The maximum number of items included in the list.

", + "smithy.api#httpQuery": "MaxItems" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#ListVpcOriginsResult": { + "type": "structure", + "members": { + "VpcOriginList": { + "target": "com.amazonaws.cloudfront#VpcOriginList", + "traits": { + "smithy.api#documentation": "

List of VPC origins.

", + "smithy.api#httpPayload": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.cloudfront#LocationList": { "type": "list", "member": { @@ -12475,34 +13658,38 @@ "Enabled": { "target": "com.amazonaws.cloudfront#boolean", "traits": { - "smithy.api#documentation": "

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't\n\t\t\twant to enable logging when you create a distribution or if you want to disable logging\n\t\t\tfor an existing distribution, specify false for Enabled, and\n\t\t\tspecify empty Bucket and Prefix elements. If you specify\n\t\t\t\tfalse for Enabled but you specify values for\n\t\t\t\tBucket, prefix, and IncludeCookies, the\n\t\t\tvalues are automatically deleted.

", - "smithy.api#required": {} + "smithy.api#addedDefault": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to\n\t\t\tenable logging when you create a distribution or if you want to disable logging for an\n\t\t\texisting distribution, specify false for Enabled, and specify\n\t\t\tempty Bucket and Prefix elements. If you specify\n\t\t\t\tfalse for Enabled but you specify values for\n\t\t\t\tBucket and prefix, the values are automatically\n\t\t\tdeleted.

" } }, "IncludeCookies": { "target": "com.amazonaws.cloudfront#boolean", "traits": { - "smithy.api#documentation": "

Specifies whether you want CloudFront to include cookies in access logs, specify\n\t\t\t\ttrue for IncludeCookies. If you choose to include cookies\n\t\t\tin logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for\n\t\t\tthis distribution. If you don't want to include cookies when you create a distribution\n\t\t\tor if you want to disable include cookies for an existing distribution, specify\n\t\t\t\tfalse for IncludeCookies.

", - "smithy.api#required": {} + "smithy.api#addedDefault": {}, + "smithy.api#default": false, + "smithy.api#documentation": "

Specifies whether you want CloudFront to include cookies in access logs, specify\n\t\t\t\ttrue for IncludeCookies. If you choose to include cookies\n\t\t\tin logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for\n\t\t\tthis distribution. If you don't want to include cookies when you create a distribution\n\t\t\tor if you want to disable include cookies for an existing distribution, specify\n\t\t\t\tfalse for IncludeCookies.

" } }, "Bucket": { "target": "com.amazonaws.cloudfront#string", "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket to store the access logs in, for example,\n\t\t\t\tmyawslogbucket.s3.amazonaws.com.

", - "smithy.api#required": {} + "smithy.api#addedDefault": {}, + "smithy.api#default": "", + "smithy.api#documentation": "

The Amazon S3 bucket to store the access logs in, for example,\n\t\t\t\tamzn-s3-demo-bucket.s3.amazonaws.com.

" } }, "Prefix": { "target": "com.amazonaws.cloudfront#string", "traits": { - "smithy.api#documentation": "

An optional string that you want CloudFront to prefix to the access log\n\t\t\t\tfilenames for this distribution, for example, myprefix/.\n\t\t\tIf you want to enable logging, but you don't want to specify a prefix, you still must\n\t\t\tinclude an empty Prefix element in the Logging element.

", - "smithy.api#required": {} + "smithy.api#addedDefault": {}, + "smithy.api#default": "", + "smithy.api#documentation": "

An optional string that you want CloudFront to prefix to the access log\n\t\t\t\tfilenames for this distribution, for example, myprefix/.\n\t\t\tIf you want to enable logging, but you don't want to specify a prefix, you still must\n\t\t\tinclude an empty Prefix element in the Logging element.

" } } }, "traits": { - "smithy.api#documentation": "

A complex type that controls whether access logs are written for the\n\t\t\tdistribution.

" + "smithy.api#documentation": "

A complex type that specifies whether access logs are written for the distribution.

\n \n

If you already enabled standard logging (legacy) and you want to enable standard logging\n\t\t\t\t(v2) to send your access logs to Amazon S3, we recommend that you specify a\n\t\t\t\t\tdifferent Amazon S3 bucket or use a separate\n\t\t\t\t\tpath in the same bucket (for example, use a log prefix or\n\t\t\t\tpartitioning). This helps you keep track of which log files are associated with\n\t\t\t\twhich logging subscription and prevents log files from overwriting each other. For\n\t\t\t\tmore information, see Standard logging (access logs) in the\n\t\t\t\t\tAmazon CloudFront Developer Guide.

\n
" } }, "com.amazonaws.cloudfront#Method": { @@ -12910,6 +14097,12 @@ "smithy.api#documentation": "

Use this type to specify an origin that is not an Amazon S3 bucket, with one exception. If\n\t\t\tthe Amazon S3 bucket is configured with static website hosting, use this type. If the Amazon S3\n\t\t\tbucket is not configured with static website hosting, use the\n\t\t\t\tS3OriginConfig type instead.

" } }, + "VpcOriginConfig": { + "target": "com.amazonaws.cloudfront#VpcOriginConfig", + "traits": { + "smithy.api#documentation": "

The VPC origin configuration.

" + } + }, "ConnectionAttempts": { "target": "com.amazonaws.cloudfront#integer", "traits": { @@ -15818,7 +17011,7 @@ "Bucket": { "target": "com.amazonaws.cloudfront#string", "traits": { - "smithy.api#documentation": "

The Amazon S3 bucket to store the access logs in, for example,\n\t\t\t\tmyawslogbucket.s3.amazonaws.com.

", + "smithy.api#documentation": "

The Amazon S3 bucket to store the access logs in, for example,\n\t\t\t\tamzn-s3-demo-bucket.s3.amazonaws.com.

", "smithy.api#required": {} } }, @@ -17297,6 +18490,9 @@ { "target": "com.amazonaws.cloudfront#ContinuousDeploymentPolicyInUse" }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, { "target": "com.amazonaws.cloudfront#IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" }, @@ -17567,6 +18763,9 @@ { "target": "com.amazonaws.cloudfront#CNAMEAlreadyExists" }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, { "target": "com.amazonaws.cloudfront#IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" }, @@ -18966,6 +20165,161 @@ "smithy.api#output": {} } }, + "com.amazonaws.cloudfront#UpdateVpcOrigin": { + "type": "operation", + "input": { + "target": "com.amazonaws.cloudfront#UpdateVpcOriginRequest" + }, + "output": { + "target": "com.amazonaws.cloudfront#UpdateVpcOriginResult" + }, + "errors": [ + { + "target": "com.amazonaws.cloudfront#AccessDenied" + }, + { + "target": "com.amazonaws.cloudfront#CannotUpdateEntityWhileInUse" + }, + { + "target": "com.amazonaws.cloudfront#EntityAlreadyExists" + }, + { + "target": "com.amazonaws.cloudfront#EntityLimitExceeded" + }, + { + "target": "com.amazonaws.cloudfront#EntityNotFound" + }, + { + "target": "com.amazonaws.cloudfront#IllegalUpdate" + }, + { + "target": "com.amazonaws.cloudfront#InconsistentQuantities" + }, + { + "target": "com.amazonaws.cloudfront#InvalidArgument" + }, + { + "target": "com.amazonaws.cloudfront#InvalidIfMatchVersion" + }, + { + "target": "com.amazonaws.cloudfront#PreconditionFailed" + }, + { + "target": "com.amazonaws.cloudfront#UnsupportedOperation" + } + ], + "traits": { + "smithy.api#documentation": "

Update an Amazon CloudFront VPC origin in your account.

", + "smithy.api#examples": [ + { + "title": "To update a VPC origin", + "documentation": "The following command updates a VPC origin:", + "input": { + "VpcOriginEndpointConfig": { + "Name": "my-vpcorigin-name", + "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d", + "HTTPPort": 80, + "HTTPSPort": 443, + "OriginProtocolPolicy": "match-viewer", + "OriginSslProtocols": { + "Quantity": 2, + "Items": [ + "TLSv1.1", + "TLSv1.2" + ] + } + }, + "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM", + "IfMatch": "ETVPDKIKX0DER" + }, + "output": { + "VpcOrigin": { + "Status": "Deploying", + "VpcOriginEndpointConfig": { + "Name": "my-vpcorigin-name", + "OriginSslProtocols": { + "Items": [ + "TLSv1.1", + "TLSv1.2" + ], + "Quantity": 2 + }, + "OriginProtocolPolicy": "match-viewer", + "HTTPPort": 80, + "HTTPSPort": 443, + "Arn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-alb-us-west-2/e6aa5c7d26415c6d" + }, + "CreatedTime": "2024-10-15T17:19:42.318Z", + "LastModifiedTime": "2024-10-15T17:47:08.133Z", + "Id": "vo_BQwjxxQxjCaBcQLzJUFkDM", + "Arn": "arn:aws:cloudfront::123456789012:vpcorigin/vo_BQwjxxQxjCaBcQLzJUFkDM" + }, + "ETag": "E3UN6WX5RRO2AG" + } + } + ], + "smithy.api#http": { + "method": "PUT", + "uri": "/2020-05-31/vpc-origin/{Id}", + "code": 202 + } + } + }, + "com.amazonaws.cloudfront#UpdateVpcOriginRequest": { + "type": "structure", + "members": { + "VpcOriginEndpointConfig": { + "target": "com.amazonaws.cloudfront#VpcOriginEndpointConfig", + "traits": { + "smithy.api#documentation": "

The VPC origin endpoint configuration.

", + "smithy.api#httpPayload": {}, + "smithy.api#required": {}, + "smithy.api#xmlName": "VpcOriginEndpointConfig" + } + }, + "Id": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ID.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "IfMatch": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin to update, if a match occurs.

", + "smithy.api#httpHeader": "If-Match", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.cloudfront#UpdateVpcOriginResult": { + "type": "structure", + "members": { + "VpcOrigin": { + "target": "com.amazonaws.cloudfront#VpcOrigin", + "traits": { + "smithy.api#documentation": "

The VPC origin.

", + "smithy.api#httpPayload": {} + } + }, + "ETag": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ETag.

", + "smithy.api#httpHeader": "ETag" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.cloudfront#ViewerCertificate": { "type": "structure", "members": { @@ -19041,6 +20395,231 @@ } } }, + "com.amazonaws.cloudfront#VpcOrigin": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ID.

", + "smithy.api#required": {} + } + }, + "Arn": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ARN.

", + "smithy.api#required": {} + } + }, + "Status": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin status.

", + "smithy.api#required": {} + } + }, + "CreatedTime": { + "target": "com.amazonaws.cloudfront#timestamp", + "traits": { + "smithy.api#documentation": "

The VPC origin created time.

", + "smithy.api#required": {} + } + }, + "LastModifiedTime": { + "target": "com.amazonaws.cloudfront#timestamp", + "traits": { + "smithy.api#documentation": "

The VPC origin last modified time.

", + "smithy.api#required": {} + } + }, + "VpcOriginEndpointConfig": { + "target": "com.amazonaws.cloudfront#VpcOriginEndpointConfig", + "traits": { + "smithy.api#documentation": "

The VPC origin endpoint configuration.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An Amazon CloudFront VPC origin.

" + } + }, + "com.amazonaws.cloudfront#VpcOriginConfig": { + "type": "structure", + "members": { + "VpcOriginId": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin ID.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

An Amazon CloudFront VPC origin configuration.

" + } + }, + "com.amazonaws.cloudfront#VpcOriginEndpointConfig": { + "type": "structure", + "members": { + "Name": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The name of the CloudFront VPC origin endpoint configuration.

", + "smithy.api#required": {} + } + }, + "Arn": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The ARN of the CloudFront VPC origin endpoint configuration.

", + "smithy.api#required": {} + } + }, + "HTTPPort": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The HTTP port for the CloudFront VPC origin endpoint configuration.

", + "smithy.api#required": {} + } + }, + "HTTPSPort": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The HTTPS port of the CloudFront VPC origin endpoint configuration.

", + "smithy.api#required": {} + } + }, + "OriginProtocolPolicy": { + "target": "com.amazonaws.cloudfront#OriginProtocolPolicy", + "traits": { + "smithy.api#documentation": "

The origin protocol policy for the CloudFront VPC origin endpoint configuration.

", + "smithy.api#required": {} + } + }, + "OriginSslProtocols": { + "target": "com.amazonaws.cloudfront#OriginSslProtocols" + } + }, + "traits": { + "smithy.api#documentation": "

An Amazon CloudFront VPC origin endpoint configuration.

" + } + }, + "com.amazonaws.cloudfront#VpcOriginList": { + "type": "structure", + "members": { + "Marker": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The marker associated with the VPC origins list.

", + "smithy.api#required": {} + } + }, + "NextMarker": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The next marker associated with the VPC origins list.

" + } + }, + "MaxItems": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The maximum number of items included in the list.

", + "smithy.api#required": {} + } + }, + "IsTruncated": { + "target": "com.amazonaws.cloudfront#boolean", + "traits": { + "smithy.api#documentation": "

A flag that indicates whether more VPC origins remain to be listed. If\n\t\t\tyour results were truncated, you can make a follow-up pagination request using the\n\t\t\tMarker request parameter to retrieve more VPC origins in the\n\t\t\tlist.

", + "smithy.api#required": {} + } + }, + "Quantity": { + "target": "com.amazonaws.cloudfront#integer", + "traits": { + "smithy.api#documentation": "

The number of VPC origins in the list.

", + "smithy.api#required": {} + } + }, + "Items": { + "target": "com.amazonaws.cloudfront#VpcOriginSummaryList", + "traits": { + "smithy.api#documentation": "

The items of the VPC origins list.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A list of CloudFront VPC origins.

" + } + }, + "com.amazonaws.cloudfront#VpcOriginSummary": { + "type": "structure", + "members": { + "Id": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin summary ID.

", + "smithy.api#required": {} + } + }, + "Name": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin summary name.

", + "smithy.api#required": {} + } + }, + "Status": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin summary status.

", + "smithy.api#required": {} + } + }, + "CreatedTime": { + "target": "com.amazonaws.cloudfront#timestamp", + "traits": { + "smithy.api#documentation": "

The VPC origin summary created time.

", + "smithy.api#required": {} + } + }, + "LastModifiedTime": { + "target": "com.amazonaws.cloudfront#timestamp", + "traits": { + "smithy.api#documentation": "

The VPC origin summary last modified time.

", + "smithy.api#required": {} + } + }, + "Arn": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin summary ARN.

", + "smithy.api#required": {} + } + }, + "OriginEndpointArn": { + "target": "com.amazonaws.cloudfront#string", + "traits": { + "smithy.api#documentation": "

The VPC origin summary origin endpoint ARN.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

A summary of the CloudFront VPC origin.

" + } + }, + "com.amazonaws.cloudfront#VpcOriginSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.cloudfront#VpcOriginSummary", + "traits": { + "smithy.api#xmlName": "VpcOriginSummary" + } + } + }, "com.amazonaws.cloudfront#aliasString": { "type": "string", "traits": { diff --git a/codegen/sdk-codegen/aws-models/compute-optimizer.json b/codegen/sdk-codegen/aws-models/compute-optimizer.json index 3af0e8d9430..468b2e52085 100644 --- a/codegen/sdk-codegen/aws-models/compute-optimizer.json +++ b/codegen/sdk-codegen/aws-models/compute-optimizer.json @@ -383,6 +383,9 @@ { "target": "com.amazonaws.computeoptimizer#ExportECSServiceRecommendations" }, + { + "target": "com.amazonaws.computeoptimizer#ExportIdleRecommendations" + }, { "target": "com.amazonaws.computeoptimizer#ExportLambdaFunctionRecommendations" }, @@ -419,6 +422,9 @@ { "target": "com.amazonaws.computeoptimizer#GetEnrollmentStatusesForOrganization" }, + { + "target": "com.amazonaws.computeoptimizer#GetIdleRecommendations" + }, { "target": "com.amazonaws.computeoptimizer#GetLambdaFunctionRecommendations" }, @@ -1572,6 +1578,9 @@ } } }, + "com.amazonaws.computeoptimizer#DBClusterIdentifier": { + "type": "string" + }, "com.amazonaws.computeoptimizer#DBInstanceClass": { "type": "string" }, @@ -1798,6 +1807,23 @@ "com.amazonaws.computeoptimizer#DestinationKeyPrefix": { "type": "string" }, + "com.amazonaws.computeoptimizer#Dimension": { + "type": "enum", + "members": { + "SAVINGS_VALUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SavingsValue" + } + }, + "SAVINGS_VALUE_AFTER_DISCOUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SavingsValueAfterDiscount" + } + } + } + }, "com.amazonaws.computeoptimizer#EBSEffectiveRecommendationPreferences": { "type": "structure", "members": { @@ -3149,6 +3175,106 @@ "smithy.api#output": {} } }, + "com.amazonaws.computeoptimizer#ExportIdleRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.computeoptimizer#ExportIdleRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.computeoptimizer#ExportIdleRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.computeoptimizer#AccessDeniedException" + }, + { + "target": "com.amazonaws.computeoptimizer#InternalServerException" + }, + { + "target": "com.amazonaws.computeoptimizer#InvalidParameterValueException" + }, + { + "target": "com.amazonaws.computeoptimizer#LimitExceededException" + }, + { + "target": "com.amazonaws.computeoptimizer#MissingAuthenticationToken" + }, + { + "target": "com.amazonaws.computeoptimizer#OptInRequiredException" + }, + { + "target": "com.amazonaws.computeoptimizer#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.computeoptimizer#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

\n Export optimization recommendations for your idle resources.\n

\n

Recommendations are exported in a comma-separated values (CSV) file, and its metadata\n in a JavaScript Object Notation (JSON) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see Exporting\n Recommendations in the Compute Optimizer User\n Guide.

\n

You can have only one idle resource export job in progress per Amazon Web Services Region.

" + } + }, + "com.amazonaws.computeoptimizer#ExportIdleRecommendationsRequest": { + "type": "structure", + "members": { + "accountIds": { + "target": "com.amazonaws.computeoptimizer#AccountIds", + "traits": { + "smithy.api#documentation": "

\n The Amazon Web Services account IDs for the export idle resource recommendations.\n

\n

If your account is the management account or the delegated administrator \n of an organization, use this parameter to specify the member account you want to \n export recommendations to.

\n

This parameter can't be specified together with the include member accounts \n parameter. The parameters are mutually exclusive.

\n

If this parameter or the include member accounts parameter is omitted,\n the recommendations for member accounts aren't included in the export.

\n

You can specify multiple account IDs per request.

" + } + }, + "filters": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendationFilters", + "traits": { + "smithy.api#documentation": "

An array of objects to specify a filter that exports a more specific set of idle resource recommendations.

" + } + }, + "fieldsToExport": { + "target": "com.amazonaws.computeoptimizer#ExportableIdleFields", + "traits": { + "smithy.api#documentation": "

The recommendations data to include in the export file. For more information about the\n fields that can be exported, see Exported files in the Compute Optimizer User\n Guide.

" + } + }, + "s3DestinationConfig": { + "target": "com.amazonaws.computeoptimizer#S3DestinationConfig", + "traits": { + "smithy.api#required": {} + } + }, + "fileFormat": { + "target": "com.amazonaws.computeoptimizer#FileFormat", + "traits": { + "smithy.api#documentation": "

The format of the export file. The CSV file is the only export file format currently supported.

" + } + }, + "includeMemberAccounts": { + "target": "com.amazonaws.computeoptimizer#IncludeMemberAccounts", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

If your account is the management account or the delegated administrator of an organization,\n this parameter indicates whether to include recommendations for resources in all member accounts of\n the organization.

\n

The member accounts must also be opted in to Compute Optimizer, and trusted access for\n Compute Optimizer must be enabled in the organization account. For more information,\n see Compute Optimizer and Amazon Web Services Organizations trusted access in the\n Compute Optimizer User Guide.

\n

If this parameter is omitted, recommendations for member accounts of the \n organization aren't included in the export file.

\n

If this parameter or the account ID parameter is omitted, recommendations for \n member accounts aren't included in the export.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.computeoptimizer#ExportIdleRecommendationsResponse": { + "type": "structure", + "members": { + "jobId": { + "target": "com.amazonaws.computeoptimizer#JobId", + "traits": { + "smithy.api#documentation": "

\n The identification number of the export job.\n

\n

To view the status of an export job, use the \n DescribeRecommendationExportJobs action and specify the job ID.\n

" + } + }, + "s3Destination": { + "target": "com.amazonaws.computeoptimizer#S3Destination" + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.computeoptimizer#ExportLambdaFunctionRecommendations": { "type": "operation", "input": { @@ -4038,6 +4164,137 @@ "target": "com.amazonaws.computeoptimizer#ExportableECSServiceField" } }, + "com.amazonaws.computeoptimizer#ExportableIdleField": { + "type": "enum", + "members": { + "ACCOUNT_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AccountId" + } + }, + "RESOURCE_ARN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceArn" + } + }, + "RESOURCE_ID": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceId" + } + }, + "RESOURCE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceType" + } + }, + "LAST_REFRESH_TIMESTAMP": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LastRefreshTimestamp" + } + }, + "LOOKBACK_PERIOD_IN_DAYS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "LookbackPeriodInDays" + } + }, + "SAVINGS_OPPORTUNITY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SavingsOpportunity" + } + }, + "SAVINGS_OPPORTUNITY_AFTER_DISCOUNT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SavingsOpportunityAfterDiscount" + } + }, + "UTILIZATION_METRICS_CPU_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsCpuMaximum" + } + }, + "UTILIZATION_METRICS_MEMORY_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsMemoryMaximum" + } + }, + "UTILIZATION_METRICS_NETWORK_OUT_BYTES_PER_SECOND_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsNetworkOutBytesPerSecondMaximum" + } + }, + "UTILIZATION_METRICS_NETWORK_IN_BYTES_PER_SECOND_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsNetworkInBytesPerSecondMaximum" + } + }, + "UTILIZATION_METRICS_DATABASE_CONNECTIONS_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsDatabaseConnectionsMaximum" + } + }, + "UTILIZATION_METRICS_EBS_VOLUME_READ_IOPS_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsEBSVolumeReadIOPSMaximum" + } + }, + "UTILIZATION_METRICS_EBS_VOLUME_WRITE_IOPS_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsEBSVolumeWriteIOPSMaximum" + } + }, + "UTILIZATION_METRICS_VOLUME_READ_OPS_PER_SECOND_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsVolumeReadOpsPerSecondMaximum" + } + }, + "UTILIZATION_METRICS_VOLUME_WRITE_OPS_PER_SECOND_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" + } + }, + "FINDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Finding" + } + }, + "FINDING_DESCRIPTION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FindingDescription" + } + }, + "TAGS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Tags" + } + } + } + }, + "com.amazonaws.computeoptimizer#ExportableIdleFields": { + "type": "list", + "member": { + "target": "com.amazonaws.computeoptimizer#ExportableIdleField" + } + }, "com.amazonaws.computeoptimizer#ExportableInstanceField": { "type": "enum", "members": { @@ -4902,6 +5159,12 @@ "smithy.api#enumValue": "LookbackPeriodInDays" } }, + "CURRENT_INSTANCE_PERFORMANCE_RISK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CurrentInstancePerformanceRisk" + } + }, "UTILIZATION_METRICS_CPU_MAXIMUM": { "target": "smithy.api#Unit", "traits": { @@ -4962,67 +5225,115 @@ "smithy.api#enumValue": "UtilizationMetricsDatabaseConnectionsMaximum" } }, - "INSTANCE_FINDING": { + "UTILIZATION_METRICS_STORAGE_NETWORK_RECEIVE_THROUGHPUT_MAXIMUM": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "InstanceFinding" + "smithy.api#enumValue": "UtilizationMetricsStorageNetworkReceiveThroughputMaximum" } }, - "INSTANCE_FINDING_REASON_CODES": { + "UTILIZATION_METRICS_STORAGE_NETWORK_TRANSMIT_THROUGHPUT_MAXIMUM": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "InstanceFindingReasonCodes" + "smithy.api#enumValue": "UtilizationMetricsStorageNetworkTransmitThroughputMaximum" } }, - "STORAGE_FINDING": { + "UTILIZATION_METRICS_AURORA_MEMORY_HEALTH_STATE_MAXIMUM": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "StorageFinding" + "smithy.api#enumValue": "UtilizationMetricsAuroraMemoryHealthStateMaximum" } }, - "STORAGE_FINDING_REASON_CODES": { + "UTILIZATION_METRICS_AURORA_MEMORY_NUM_DECLINED_SQL_TOTAL_MAXIMUM": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "StorageFindingReasonCodes" + "smithy.api#enumValue": "UtilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum" } }, - "INSTANCE_RECOMMENDATION_OPTIONS_DB_INSTANCE_CLASS": { + "UTILIZATION_METRICS_AURORA_MEMORY_NUM_KILL_CONN_TOTAL_MAXIMUM": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "InstanceRecommendationOptionsDBInstanceClass" + "smithy.api#enumValue": "UtilizationMetricsAuroraMemoryNumKillConnTotalMaximum" } }, - "INSTANCE_RECOMMENDATION_OPTIONS_RANK": { + "UTILIZATION_METRICS_AURORA_MEMORY_NUM_KILL_QUERY_TOTAL_MAXIMUM": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "InstanceRecommendationOptionsRank" + "smithy.api#enumValue": "UtilizationMetricsAuroraMemoryNumKillQueryTotalMaximum" } }, - "INSTANCE_RECOMMENDATION_OPTIONS_PERFORMANCE_RISK": { + "UTILIZATION_METRICS_READ_IOPS_EPHEMERAL_STORAGE_MAXIMUM": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "InstanceRecommendationOptionsPerformanceRisk" + "smithy.api#enumValue": "UtilizationMetricsReadIOPSEphemeralStorageMaximum" } }, - "INSTANCE_RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_CPU_MAXIMUM": { + "UTILIZATION_METRICS_WRITE_IOPS_EPHEMERAL_STORAGE_MAXIMUM": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" + "smithy.api#enumValue": "UtilizationMetricsWriteIOPSEphemeralStorageMaximum" } }, - "STORAGE_RECOMMENDATION_OPTIONS_STORAGE_TYPE": { + "INSTANCE_FINDING": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "StorageRecommendationOptionsStorageType" + "smithy.api#enumValue": "InstanceFinding" } }, - "STORAGE_RECOMMENDATION_OPTIONS_ALLOCATED_STORAGE": { + "INSTANCE_FINDING_REASON_CODES": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "StorageRecommendationOptionsAllocatedStorage" + "smithy.api#enumValue": "InstanceFindingReasonCodes" } }, - "STORAGE_RECOMMENDATION_OPTIONS_MAX_ALLOCATED_STORAGE": { + "STORAGE_FINDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StorageFinding" + } + }, + "STORAGE_FINDING_REASON_CODES": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StorageFindingReasonCodes" + } + }, + "INSTANCE_RECOMMENDATION_OPTIONS_DB_INSTANCE_CLASS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceRecommendationOptionsDBInstanceClass" + } + }, + "INSTANCE_RECOMMENDATION_OPTIONS_RANK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceRecommendationOptionsRank" + } + }, + "INSTANCE_RECOMMENDATION_OPTIONS_PERFORMANCE_RISK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceRecommendationOptionsPerformanceRisk" + } + }, + "INSTANCE_RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_CPU_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceRecommendationOptionsProjectedUtilizationMetricsCpuMaximum" + } + }, + "STORAGE_RECOMMENDATION_OPTIONS_STORAGE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StorageRecommendationOptionsStorageType" + } + }, + "STORAGE_RECOMMENDATION_OPTIONS_ALLOCATED_STORAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StorageRecommendationOptionsAllocatedStorage" + } + }, + "STORAGE_RECOMMENDATION_OPTIONS_MAX_ALLOCATED_STORAGE": { "target": "smithy.api#Unit", "traits": { "smithy.api#enumValue": "StorageRecommendationOptionsMaxAllocatedStorage" @@ -5165,6 +5476,18 @@ "traits": { "smithy.api#enumValue": "Tags" } + }, + "DB_CLUSTER_IDENTIFIER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DBClusterIdentifier" + } + }, + "PROMOTION_TIER": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PromotionTier" + } } } }, @@ -6533,6 +6856,114 @@ "smithy.api#output": {} } }, + "com.amazonaws.computeoptimizer#GetIdleRecommendations": { + "type": "operation", + "input": { + "target": "com.amazonaws.computeoptimizer#GetIdleRecommendationsRequest" + }, + "output": { + "target": "com.amazonaws.computeoptimizer#GetIdleRecommendationsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.computeoptimizer#AccessDeniedException" + }, + { + "target": "com.amazonaws.computeoptimizer#InternalServerException" + }, + { + "target": "com.amazonaws.computeoptimizer#InvalidParameterValueException" + }, + { + "target": "com.amazonaws.computeoptimizer#MissingAuthenticationToken" + }, + { + "target": "com.amazonaws.computeoptimizer#OptInRequiredException" + }, + { + "target": "com.amazonaws.computeoptimizer#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.computeoptimizer#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.computeoptimizer#ThrottlingException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns idle resource recommendations. Compute Optimizer generates recommendations for \n idle resources that meet a specific set of requirements. For more information, see\n Resource requirements in the\n Compute Optimizer User Guide\n

" + } + }, + "com.amazonaws.computeoptimizer#GetIdleRecommendationsRequest": { + "type": "structure", + "members": { + "resourceArns": { + "target": "com.amazonaws.computeoptimizer#ResourceArns", + "traits": { + "smithy.api#documentation": "

The ARN that identifies the idle resource.

" + } + }, + "nextToken": { + "target": "com.amazonaws.computeoptimizer#NextToken", + "traits": { + "smithy.api#documentation": "

The token to advance to the next page of idle resource recommendations.

" + } + }, + "maxResults": { + "target": "com.amazonaws.computeoptimizer#IdleMaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of idle resource recommendations to return with a single request.

\n

To retrieve the remaining results, \n make another request with the returned nextToken value.

" + } + }, + "filters": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendationFilters", + "traits": { + "smithy.api#documentation": "

An array of objects to specify a filter that returns a more specific list of idle resource recommendations.

" + } + }, + "accountIds": { + "target": "com.amazonaws.computeoptimizer#AccountIds", + "traits": { + "smithy.api#documentation": "

Return the idle resource recommendations to the specified Amazon Web Services account IDs.

\n

If your account is the management account \n or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to \n specific member accounts.

\n

You can only specify one account ID per request.

" + } + }, + "orderBy": { + "target": "com.amazonaws.computeoptimizer#OrderBy", + "traits": { + "smithy.api#documentation": "

The order to sort the idle resource recommendations.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.computeoptimizer#GetIdleRecommendationsResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.computeoptimizer#NextToken", + "traits": { + "smithy.api#documentation": "

The token to advance to the next page of idle resource recommendations.

" + } + }, + "idleRecommendations": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendations", + "traits": { + "smithy.api#documentation": "

An array of objects that describe the idle resource recommendations.

" + } + }, + "errors": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendationErrors", + "traits": { + "smithy.api#documentation": "

An array of objects that describe errors of the request.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.computeoptimizer#GetLambdaFunctionRecommendations": { "type": "operation", "input": { @@ -7114,127 +7545,541 @@ "com.amazonaws.computeoptimizer#GetRecommendationSummariesRequest": { "type": "structure", "members": { - "accountIds": { - "target": "com.amazonaws.computeoptimizer#AccountIds", + "accountIds": { + "target": "com.amazonaws.computeoptimizer#AccountIds", + "traits": { + "smithy.api#documentation": "

The ID of the Amazon Web Services account for which to return recommendation\n summaries.

\n

If your account is the management account of an organization, use this parameter to\n specify the member account for which you want to return recommendation summaries.

\n

Only one account ID can be specified per request.

" + } + }, + "nextToken": { + "target": "com.amazonaws.computeoptimizer#NextToken", + "traits": { + "smithy.api#documentation": "

The token to advance to the next page of recommendation summaries.

" + } + }, + "maxResults": { + "target": "com.amazonaws.computeoptimizer#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of recommendation summaries to return with a single request.

\n

To retrieve the remaining results, make another request with the returned\n nextToken value.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.computeoptimizer#GetRecommendationSummariesResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.computeoptimizer#NextToken", + "traits": { + "smithy.api#documentation": "

The token to use to advance to the next page of recommendation summaries.

\n

This value is null when there are no more pages of recommendation summaries to\n return.

" + } + }, + "recommendationSummaries": { + "target": "com.amazonaws.computeoptimizer#RecommendationSummaries", + "traits": { + "smithy.api#documentation": "

An array of objects that summarize a recommendation.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.computeoptimizer#Gpu": { + "type": "structure", + "members": { + "gpuCount": { + "target": "com.amazonaws.computeoptimizer#GpuCount", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\n The number of GPUs for the instance type.\n

" + } + }, + "gpuMemorySizeInMiB": { + "target": "com.amazonaws.computeoptimizer#GpuMemorySizeInMiB", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

\n The total size of the memory for the GPU accelerators for the instance type, in MiB.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n Describes the GPU accelerators for the instance type.\n

" + } + }, + "com.amazonaws.computeoptimizer#GpuCount": { + "type": "integer", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.computeoptimizer#GpuInfo": { + "type": "structure", + "members": { + "gpus": { + "target": "com.amazonaws.computeoptimizer#Gpus", + "traits": { + "smithy.api#documentation": "

\n Describes the GPU accelerators for the instance type.\n

" + } + } + }, + "traits": { + "smithy.api#documentation": "

\n Describes the GPU accelerator settings for the instance type.\n

" + } + }, + "com.amazonaws.computeoptimizer#GpuMemorySizeInMiB": { + "type": "integer", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.computeoptimizer#Gpus": { + "type": "list", + "member": { + "target": "com.amazonaws.computeoptimizer#Gpu" + } + }, + "com.amazonaws.computeoptimizer#High": { + "type": "long", + "traits": { + "smithy.api#default": 0 + } + }, + "com.amazonaws.computeoptimizer#Identifier": { + "type": "string" + }, + "com.amazonaws.computeoptimizer#Idle": { + "type": "enum", + "members": { + "TRUE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "True" + } + }, + "FALSE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "False" + } + } + } + }, + "com.amazonaws.computeoptimizer#IdleEstimatedMonthlySavings": { + "type": "structure", + "members": { + "currency": { + "target": "com.amazonaws.computeoptimizer#Currency", + "traits": { + "smithy.api#documentation": "

The currency of the estimated monthly savings.

" + } + }, + "value": { + "target": "com.amazonaws.computeoptimizer#Value", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The value of the estimated monthly savings for Idle resources.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes the estimated monthly savings possible for idle resources by adopting Compute Optimizer recommendations.

" + } + }, + "com.amazonaws.computeoptimizer#IdleFinding": { + "type": "enum", + "members": { + "IDLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Idle" + } + }, + "UNATTACHED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Unattached" + } + } + } + }, + "com.amazonaws.computeoptimizer#IdleFindingDescription": { + "type": "string" + }, + "com.amazonaws.computeoptimizer#IdleMaxResults": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.computeoptimizer#IdleMetricName": { + "type": "enum", + "members": { + "CPU": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CPU" + } + }, + "MEMORY": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Memory" + } + }, + "NETWORK_OUT_BYTES_PER_SECOND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NetworkOutBytesPerSecond" + } + }, + "NETWORK_IN_BYTES_PER_SECOND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NetworkInBytesPerSecond" + } + }, + "DATABASE_CONNECTIONS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DatabaseConnections" + } + }, + "EBS_VOLUME_READ_IOPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EBSVolumeReadIOPS" + } + }, + "EBS_VOLUME_WRITE_IOPS": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EBSVolumeWriteIOPS" + } + }, + "VOLUME_READ_OPS_PER_SECOND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VolumeReadOpsPerSecond" + } + }, + "VOLUME_WRITE_OPS_PER_SECOND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VolumeWriteOpsPerSecond" + } + } + } + }, + "com.amazonaws.computeoptimizer#IdleRecommendation": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.computeoptimizer#ResourceArn", + "traits": { + "smithy.api#documentation": "

The ARN of the current idle resource.

" + } + }, + "resourceId": { + "target": "com.amazonaws.computeoptimizer#ResourceId", + "traits": { + "smithy.api#documentation": "

The unique identifier for the resource.

" + } + }, + "resourceType": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendationResourceType", + "traits": { + "smithy.api#documentation": "

The type of resource that is idle.

" + } + }, + "accountId": { + "target": "com.amazonaws.computeoptimizer#AccountId", + "traits": { + "smithy.api#documentation": "

The Amazon Web Services account ID of the idle resource.

" + } + }, + "finding": { + "target": "com.amazonaws.computeoptimizer#IdleFinding", + "traits": { + "smithy.api#documentation": "

The finding classification of an idle resource.

" + } + }, + "findingDescription": { + "target": "com.amazonaws.computeoptimizer#IdleFindingDescription", + "traits": { + "smithy.api#documentation": "

A summary of the findings for the resource.

" + } + }, + "savingsOpportunity": { + "target": "com.amazonaws.computeoptimizer#IdleSavingsOpportunity", + "traits": { + "smithy.api#documentation": "

The savings opportunity for the idle resource.

" + } + }, + "savingsOpportunityAfterDiscounts": { + "target": "com.amazonaws.computeoptimizer#IdleSavingsOpportunityAfterDiscounts", + "traits": { + "smithy.api#documentation": "

The savings opportunity for the idle resource after any applying discounts.

" + } + }, + "utilizationMetrics": { + "target": "com.amazonaws.computeoptimizer#IdleUtilizationMetrics", + "traits": { + "smithy.api#documentation": "

An array of objects that describe the utilization metrics of the idle resource.

" + } + }, + "lookBackPeriodInDays": { + "target": "com.amazonaws.computeoptimizer#LookBackPeriodInDays", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The number of days the idle resource utilization metrics were analyzed.

" + } + }, + "lastRefreshTimestamp": { + "target": "com.amazonaws.computeoptimizer#LastRefreshTimestamp", + "traits": { + "smithy.api#documentation": "

The timestamp of when the idle resource recommendation was last generated.

" + } + }, + "tags": { + "target": "com.amazonaws.computeoptimizer#Tags", + "traits": { + "smithy.api#documentation": "

A list of tags assigned to your idle resource recommendations.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes an Idle resource recommendation.

" + } + }, + "com.amazonaws.computeoptimizer#IdleRecommendationError": { + "type": "structure", + "members": { + "identifier": { + "target": "com.amazonaws.computeoptimizer#Identifier", + "traits": { + "smithy.api#documentation": "

The ID of the error.

" + } + }, + "code": { + "target": "com.amazonaws.computeoptimizer#Code", + "traits": { + "smithy.api#documentation": "

The error code.

" + } + }, + "message": { + "target": "com.amazonaws.computeoptimizer#Message", + "traits": { + "smithy.api#documentation": "

The error message.

" + } + }, + "resourceType": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendationResourceType", + "traits": { + "smithy.api#documentation": "

The type of resource associated with the error.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Returns of list of resources that doesn't have idle recommendations.

" + } + }, + "com.amazonaws.computeoptimizer#IdleRecommendationErrors": { + "type": "list", + "member": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendationError" + } + }, + "com.amazonaws.computeoptimizer#IdleRecommendationFilter": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendationFilterName", + "traits": { + "smithy.api#documentation": "

\n The name of the filter.\n

\n

\n Specify Finding to return recommendations with a specific finding classification.\n

\n

You can filter your idle resource recommendations by tag:key \n and tag-key tags.

\n

A tag:key is a key and value combination of a tag assigned to your \n idle resource recommendations. Use the tag key in the filter name and the tag value \n as the filter value. For example, to find all idle resource service recommendations that have \n a tag with the key of Owner and the value of TeamA, \n specify tag:Owner for the filter name and TeamA for the filter value.

\n

A tag-key is the key of a tag assigned to your idle resource recommendations. Use \n this filter to find all of your idle resource recommendations that have a tag with a \n specific key. This doesn’t consider the tag value. For example, you can find \n your idle resource service recommendations with a tag key value of Owner or without any tag \n keys assigned.

" + } + }, + "values": { + "target": "com.amazonaws.computeoptimizer#FilterValues", + "traits": { + "smithy.api#documentation": "

The value of the filter.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes a filter that returns a more specific list of idle resource recommendations.

" + } + }, + "com.amazonaws.computeoptimizer#IdleRecommendationFilterName": { + "type": "enum", + "members": { + "FINDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Finding" + } + }, + "RESOURCE_TYPE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ResourceType" + } + } + } + }, + "com.amazonaws.computeoptimizer#IdleRecommendationFilters": { + "type": "list", + "member": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendationFilter" + } + }, + "com.amazonaws.computeoptimizer#IdleRecommendationResourceType": { + "type": "enum", + "members": { + "EC2_INSTANCE": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The ID of the Amazon Web Services account for which to return recommendation\n summaries.

\n

If your account is the management account of an organization, use this parameter to\n specify the member account for which you want to return recommendation summaries.

\n

Only one account ID can be specified per request.

" + "smithy.api#enumValue": "EC2Instance" } }, - "nextToken": { - "target": "com.amazonaws.computeoptimizer#NextToken", + "AUTO_SCALING_GROUP": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The token to advance to the next page of recommendation summaries.

" + "smithy.api#enumValue": "AutoScalingGroup" } }, - "maxResults": { - "target": "com.amazonaws.computeoptimizer#MaxResults", + "EBS_VOLUME": { + "target": "smithy.api#Unit", "traits": { - "smithy.api#documentation": "

The maximum number of recommendation summaries to return with a single request.

\n

To retrieve the remaining results, make another request with the returned\n nextToken value.

" + "smithy.api#enumValue": "EBSVolume" + } + }, + "ECS_SERVICE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ECSService" + } + }, + "RDS_DB_INSTANCE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RDSDBInstance" } } - }, - "traits": { - "smithy.api#input": {} } }, - "com.amazonaws.computeoptimizer#GetRecommendationSummariesResponse": { + "com.amazonaws.computeoptimizer#IdleRecommendations": { + "type": "list", + "member": { + "target": "com.amazonaws.computeoptimizer#IdleRecommendation" + } + }, + "com.amazonaws.computeoptimizer#IdleSavingsOpportunity": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.computeoptimizer#NextToken", + "savingsOpportunityPercentage": { + "target": "com.amazonaws.computeoptimizer#SavingsOpportunityPercentage", "traits": { - "smithy.api#documentation": "

The token to use to advance to the next page of recommendation summaries.

\n

This value is null when there are no more pages of recommendation summaries to\n return.

" + "smithy.api#default": 0, + "smithy.api#documentation": "

The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations.

" } }, - "recommendationSummaries": { - "target": "com.amazonaws.computeoptimizer#RecommendationSummaries", + "estimatedMonthlySavings": { + "target": "com.amazonaws.computeoptimizer#IdleEstimatedMonthlySavings", "traits": { - "smithy.api#documentation": "

An array of objects that summarize a recommendation.

" + "smithy.api#documentation": "

The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations.

" } } }, "traits": { - "smithy.api#output": {} + "smithy.api#documentation": "

Describes the savings opportunity for idle resource recommendations.

" } }, - "com.amazonaws.computeoptimizer#Gpu": { + "com.amazonaws.computeoptimizer#IdleSavingsOpportunityAfterDiscounts": { "type": "structure", "members": { - "gpuCount": { - "target": "com.amazonaws.computeoptimizer#GpuCount", + "savingsOpportunityPercentage": { + "target": "com.amazonaws.computeoptimizer#SavingsOpportunityPercentage", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "

\n The number of GPUs for the instance type.\n

" + "smithy.api#documentation": "

The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts.

" } }, - "gpuMemorySizeInMiB": { - "target": "com.amazonaws.computeoptimizer#GpuMemorySizeInMiB", + "estimatedMonthlySavings": { + "target": "com.amazonaws.computeoptimizer#IdleEstimatedMonthlySavings", "traits": { - "smithy.api#default": 0, - "smithy.api#documentation": "

\n The total size of the memory for the GPU accelerators for the instance type, in MiB.\n

" + "smithy.api#documentation": "

The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts.

" } } }, "traits": { - "smithy.api#documentation": "

\n Describes the GPU accelerators for the instance type.\n

" + "smithy.api#documentation": "

Describes the savings opportunity for idle resource recommendations after applying discounts.

\n

Savings opportunity represents the estimated monthly savings after applying discounts. You can achieve this by implementing a given Compute Optimizer recommendation.

" } }, - "com.amazonaws.computeoptimizer#GpuCount": { - "type": "integer", - "traits": { - "smithy.api#default": 0 + "com.amazonaws.computeoptimizer#IdleSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.computeoptimizer#IdleSummary" } }, - "com.amazonaws.computeoptimizer#GpuInfo": { + "com.amazonaws.computeoptimizer#IdleSummary": { "type": "structure", "members": { - "gpus": { - "target": "com.amazonaws.computeoptimizer#Gpus", + "name": { + "target": "com.amazonaws.computeoptimizer#IdleFinding", "traits": { - "smithy.api#documentation": "

\n Describes the GPU accelerators for the instance type.\n

" + "smithy.api#documentation": "

The name of the finding group for the idle resources.

" + } + }, + "value": { + "target": "com.amazonaws.computeoptimizer#SummaryValue", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The count of idle resources in the finding group.

" } } }, "traits": { - "smithy.api#documentation": "

\n Describes the GPU accelerator settings for the instance type.\n

" - } - }, - "com.amazonaws.computeoptimizer#GpuMemorySizeInMiB": { - "type": "integer", - "traits": { - "smithy.api#default": 0 - } - }, - "com.amazonaws.computeoptimizer#Gpus": { - "type": "list", - "member": { - "target": "com.amazonaws.computeoptimizer#Gpu" - } - }, - "com.amazonaws.computeoptimizer#High": { - "type": "long", - "traits": { - "smithy.api#default": 0 + "smithy.api#documentation": "

Describes the findings summary of the idle resources.

" } }, - "com.amazonaws.computeoptimizer#Identifier": { - "type": "string" - }, - "com.amazonaws.computeoptimizer#Idle": { - "type": "enum", + "com.amazonaws.computeoptimizer#IdleUtilizationMetric": { + "type": "structure", "members": { - "TRUE": { - "target": "smithy.api#Unit", + "name": { + "target": "com.amazonaws.computeoptimizer#IdleMetricName", "traits": { - "smithy.api#enumValue": "True" + "smithy.api#documentation": "

The name of the utilization metric.

" } }, - "FALSE": { - "target": "smithy.api#Unit", + "statistic": { + "target": "com.amazonaws.computeoptimizer#MetricStatistic", "traits": { - "smithy.api#enumValue": "False" + "smithy.api#documentation": "

\n The statistic of the utilization metric.\n

\n

The Compute Optimizer API, Command Line Interface (CLI), and SDKs\n return utilization metrics using only the Maximum statistic, which is the\n highest value observed during the specified period.

\n

The Compute Optimizer console displays graphs for some utilization metrics using the\n Average statistic, which is the value of Sum /\n SampleCount during the specified period. For more information, see\n Viewing resource\n recommendations in the Compute Optimizer User\n Guide. You can also get averaged utilization metric data for your resources\n using Amazon CloudWatch. For more information, see the Amazon CloudWatch\n User Guide.

" + } + }, + "value": { + "target": "com.amazonaws.computeoptimizer#MetricValue", + "traits": { + "smithy.api#default": 0, + "smithy.api#documentation": "

The value of the utilization metric.

" } } + }, + "traits": { + "smithy.api#documentation": "

Describes the utilization metric of an idle resource.

" + } + }, + "com.amazonaws.computeoptimizer#IdleUtilizationMetrics": { + "type": "list", + "member": { + "target": "com.amazonaws.computeoptimizer#IdleUtilizationMetric" } }, "com.amazonaws.computeoptimizer#IncludeMemberAccounts": { @@ -9133,6 +9978,43 @@ "smithy.api#httpError": 403 } }, + "com.amazonaws.computeoptimizer#Order": { + "type": "enum", + "members": { + "ASC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Asc" + } + }, + "DESC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Desc" + } + } + } + }, + "com.amazonaws.computeoptimizer#OrderBy": { + "type": "structure", + "members": { + "dimension": { + "target": "com.amazonaws.computeoptimizer#Dimension", + "traits": { + "smithy.api#documentation": "

The dimension values to sort the recommendations.

" + } + }, + "order": { + "target": "com.amazonaws.computeoptimizer#Order", + "traits": { + "smithy.api#documentation": "

The order to sort the recommendations.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Describes how the recommendations are ordered.

" + } + }, "com.amazonaws.computeoptimizer#PerformanceRisk": { "type": "double", "traits": { @@ -9286,6 +10168,9 @@ "target": "com.amazonaws.computeoptimizer#UtilizationMetric" } }, + "com.amazonaws.computeoptimizer#PromotionTier": { + "type": "integer" + }, "com.amazonaws.computeoptimizer#PutRecommendationPreferences": { "type": "operation", "input": { @@ -9394,6 +10279,35 @@ "smithy.api#output": {} } }, + "com.amazonaws.computeoptimizer#RDSCurrentInstancePerformanceRisk": { + "type": "enum", + "members": { + "VERY_LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VeryLow" + } + }, + "LOW": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Low" + } + }, + "MEDIUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Medium" + } + }, + "HIGH": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "High" + } + } + } + }, "com.amazonaws.computeoptimizer#RDSDBInstanceRecommendationOption": { "type": "structure", "members": { @@ -9505,6 +10419,54 @@ "traits": { "smithy.api#enumValue": "DatabaseConnections" } + }, + "STORAGE_NETWORK_RECEIVE_THROUGHPUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StorageNetworkReceiveThroughput" + } + }, + "STORAGE_NETWORK_TRANSMIT_THROUGHPUT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "StorageNetworkTransmitThroughput" + } + }, + "AURORA_MEMORY_HEALTH_STATE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AuroraMemoryHealthState" + } + }, + "AURORA_MEMORY_NUM_DECLINED_SQL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AuroraMemoryNumDeclinedSql" + } + }, + "AURORA_MEMORY_NUM_KILL_CONN_TOTAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AuroraMemoryNumKillConnTotal" + } + }, + "AURORA_MEMORY_NUM_KILL_QUERY_TOTAL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "AuroraMemoryNumKillQueryTotal" + } + }, + "READ_IOPS_EPHEMERAL_STORAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ReadIOPSEphemeralStorage" + } + }, + "WRITE_IOPS_EPHEMERAL_STORAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "WriteIOPSEphemeralStorage" + } } } }, @@ -9564,6 +10526,12 @@ "smithy.api#documentation": "

\n The database engine version.\n

" } }, + "promotionTier": { + "target": "com.amazonaws.computeoptimizer#PromotionTier", + "traits": { + "smithy.api#documentation": "

The promotion tier for the Aurora instance.

" + } + }, "currentDBInstanceClass": { "target": "com.amazonaws.computeoptimizer#CurrentDBInstanceClass", "traits": { @@ -9576,6 +10544,12 @@ "smithy.api#documentation": "

\n The configuration of the current RDS storage.\n

" } }, + "dbClusterIdentifier": { + "target": "com.amazonaws.computeoptimizer#DBClusterIdentifier", + "traits": { + "smithy.api#documentation": "

The identifier for DB cluster.

" + } + }, "idle": { "target": "com.amazonaws.computeoptimizer#Idle", "traits": { @@ -9600,6 +10574,12 @@ "smithy.api#documentation": "

\n The reason for the finding classification of an Amazon RDS instance.\n

" } }, + "currentInstancePerformanceRisk": { + "target": "com.amazonaws.computeoptimizer#RDSCurrentInstancePerformanceRisk", + "traits": { + "smithy.api#documentation": "

The performance risk for the current DB instance.

" + } + }, "storageFindingReasonCodes": { "target": "com.amazonaws.computeoptimizer#RDSStorageFindingReasonCodes", "traits": { @@ -9952,6 +10932,12 @@ "smithy.api#enumValue": "EBSIOPSOverprovisioned" } }, + "EBS_IOPS_UNDER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "EBSIOPSUnderprovisioned" + } + }, "EBS_THROUGHPUT_OVER_PROVISIONED": { "target": "smithy.api#Unit", "traits": { @@ -9987,6 +10973,30 @@ "traits": { "smithy.api#enumValue": "NewEngineVersionAvailable" } + }, + "DB_CLUSTER_WRITER_UNDER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DBClusterWriterUnderprovisioned" + } + }, + "MEMORY_UNDER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "MemoryUnderprovisioned" + } + }, + "INSTANCE_STORAGE_READ_IOPS_UNDER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceStorageReadIOPSUnderprovisioned" + } + }, + "INSTANCE_STORAGE_WRITE_IOPS_UNDER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InstanceStorageWriteIOPSUnderprovisioned" + } } } }, @@ -10481,6 +11491,12 @@ "smithy.api#documentation": "

An array of objects that describe a recommendation summary.

" } }, + "idleSummaries": { + "target": "com.amazonaws.computeoptimizer#IdleSummaries", + "traits": { + "smithy.api#documentation": "

\n Describes the findings summary of the idle resources.\n

" + } + }, "recommendationResourceType": { "target": "com.amazonaws.computeoptimizer#RecommendationSourceType", "traits": { @@ -10499,6 +11515,12 @@ "smithy.api#documentation": "

An object that describes the savings opportunity for a given resource type. Savings\n opportunity includes the estimated monthly savings amount and percentage.

" } }, + "idleSavingsOpportunity": { + "target": "com.amazonaws.computeoptimizer#SavingsOpportunity" + }, + "aggregatedSavingsOpportunity": { + "target": "com.amazonaws.computeoptimizer#SavingsOpportunity" + }, "currentPerformanceRiskRatings": { "target": "com.amazonaws.computeoptimizer#CurrentPerformanceRiskRatings", "traits": { @@ -10564,6 +11586,9 @@ "target": "com.amazonaws.computeoptimizer#ResourceArn" } }, + "com.amazonaws.computeoptimizer#ResourceId": { + "type": "string" + }, "com.amazonaws.computeoptimizer#ResourceNotFoundException": { "type": "structure", "members": { @@ -10627,6 +11652,12 @@ "traits": { "smithy.api#enumValue": "RdsDBInstance" } + }, + "IDLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Idle" + } } } }, @@ -11153,7 +12184,7 @@ "volumeType": { "target": "com.amazonaws.computeoptimizer#VolumeType", "traits": { - "smithy.api#documentation": "

The volume type.

\n

This can be gp2 for General Purpose SSD, io1 or\n io2 for Provisioned IOPS SSD, st1 for Throughput Optimized\n HDD, sc1 for Cold HDD, or standard for Magnetic\n volumes.

" + "smithy.api#documentation": "

The volume type.

\n

The volume types can be the following:

\n " } }, "volumeSize": { diff --git a/codegen/sdk-codegen/aws-models/controltower.json b/codegen/sdk-codegen/aws-models/controltower.json index 5a003e8f678..8c105ccec20 100644 --- a/codegen/sdk-codegen/aws-models/controltower.json +++ b/codegen/sdk-codegen/aws-models/controltower.json @@ -2013,6 +2013,12 @@ "smithy.api#required": {} } }, + "parentIdentifier": { + "target": "com.amazonaws.controltower#Arn", + "traits": { + "smithy.api#documentation": "

An ARN that represents the parent EnabledBaseline at the Organizational Unit (OU) level, from which the child EnabledBaseline inherits its configuration. The value is returned by GetEnabledBaseline.

" + } + }, "statusSummary": { "target": "com.amazonaws.controltower#EnablementStatusSummary", "traits": { @@ -2044,6 +2050,12 @@ "traits": { "smithy.api#documentation": "

Identifiers for the Baseline objects returned as part of the filter operation.

" } + }, + "parentIdentifiers": { + "target": "com.amazonaws.controltower#EnabledBaselineParentIdentifiers", + "traits": { + "smithy.api#documentation": "

An optional filter that sets up a list of parentIdentifiers to filter the results of the ListEnabledBaseline output.

" + } } }, "traits": { @@ -2109,6 +2121,18 @@ "target": "com.amazonaws.controltower#EnabledBaselineParameter" } }, + "com.amazonaws.controltower#EnabledBaselineParentIdentifiers": { + "type": "list", + "member": { + "target": "com.amazonaws.controltower#Arn" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + } + } + }, "com.amazonaws.controltower#EnabledBaselineResource": { "type": "resource", "identifiers": { @@ -2172,6 +2196,12 @@ "smithy.api#required": {} } }, + "parentIdentifier": { + "target": "com.amazonaws.controltower#Arn", + "traits": { + "smithy.api#documentation": "

An ARN that represents an object returned by ListEnabledBaseline, to describe an enabled baseline.

" + } + }, "statusSummary": { "target": "com.amazonaws.controltower#EnablementStatusSummary", "traits": { @@ -3548,6 +3578,13 @@ "traits": { "smithy.api#documentation": "

The maximum number of results to be shown.

" } + }, + "includeChildren": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

A value that can be set to include the child enabled baselines in responses. The default value is false.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/cost-optimization-hub.json b/codegen/sdk-codegen/aws-models/cost-optimization-hub.json index 52e9b667e54..f09916e0fbb 100644 --- a/codegen/sdk-codegen/aws-models/cost-optimization-hub.json +++ b/codegen/sdk-codegen/aws-models/cost-optimization-hub.json @@ -111,6 +111,15 @@ "traits": { "smithy.api#enumValue": "MigrateToGraviton" } + }, + "DELETE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Delete", + "smithy.api#tags": [ + "idle" + ] + } } } }, @@ -2353,10 +2362,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the details of an Amazon RDS DB instance.

", - "smithy.api#tags": [ - "rds" - ] + "smithy.api#documentation": "

Contains the details of an Amazon RDS DB instance.

" } }, "com.amazonaws.costoptimizationhub#RdsDbInstanceConfiguration": { @@ -2387,10 +2393,7 @@ } }, "traits": { - "smithy.api#documentation": "

Contains the details of an Amazon RDS DB instance storage.

", - "smithy.api#tags": [ - "rds" - ] + "smithy.api#documentation": "

Contains the details of an Amazon RDS DB instance storage.

" } }, "com.amazonaws.costoptimizationhub#RdsDbInstanceStorageConfiguration": { @@ -3019,19 +3022,13 @@ "rdsDbInstance": { "target": "com.amazonaws.costoptimizationhub#RdsDbInstance", "traits": { - "smithy.api#documentation": "

The DB instance recommendation details.

", - "smithy.api#tags": [ - "rds" - ] + "smithy.api#documentation": "

The DB instance recommendation details.

" } }, "rdsDbInstanceStorage": { "target": "com.amazonaws.costoptimizationhub#RdsDbInstanceStorage", "traits": { - "smithy.api#documentation": "

The DB instance storage recommendation details.

", - "smithy.api#tags": [ - "rds" - ] + "smithy.api#documentation": "

The DB instance storage recommendation details.

" } } }, @@ -3190,19 +3187,13 @@ "RDS_DB_INSTANCE_STORAGE": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "RdsDbInstanceStorage", - "smithy.api#tags": [ - "rds" - ] + "smithy.api#enumValue": "RdsDbInstanceStorage" } }, "RDS_DB_INSTANCE": { "target": "smithy.api#Unit", "traits": { - "smithy.api#enumValue": "RdsDbInstance", - "smithy.api#tags": [ - "rds" - ] + "smithy.api#enumValue": "RdsDbInstance" } } } diff --git a/codegen/sdk-codegen/aws-models/datazone.json b/codegen/sdk-codegen/aws-models/datazone.json index 19708345746..601dac0d441 100644 --- a/codegen/sdk-codegen/aws-models/datazone.json +++ b/codegen/sdk-codegen/aws-models/datazone.json @@ -354,6 +354,18 @@ "traits": { "smithy.api#documentation": "

Specifies the reason for accepting the subscription request.

" } + }, + "existingSubscriptionId": { + "target": "com.amazonaws.datazone#SubscriptionId", + "traits": { + "smithy.api#documentation": "

The ID of the existing subscription.

" + } + }, + "metadataForms": { + "target": "com.amazonaws.datazone#MetadataForms", + "traits": { + "smithy.api#documentation": "

The metadata form in the subscription request.

" + } } }, "traits": { @@ -1395,6 +1407,12 @@ "smithy.api#pattern": "^(?!\\.)[\\w\\.]*\\w$" } }, + "com.amazonaws.datazone#AssetTypeIdentifiers": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#AssetTypeIdentifier" + } + }, "com.amazonaws.datazone#AssetTypeItem": { "type": "structure", "members": { @@ -1480,6 +1498,27 @@ "smithy.api#documentation": "

The details of the asset type.

" } }, + "com.amazonaws.datazone#AssetTypesForRule": { + "type": "structure", + "members": { + "selectionMode": { + "target": "com.amazonaws.datazone#RuleScopeSelectionMode", + "traits": { + "smithy.api#documentation": "

The selection mode for the rule.

", + "smithy.api#required": {} + } + }, + "specificAssetTypes": { + "target": "com.amazonaws.datazone#RuleAssetTypeList", + "traits": { + "smithy.api#documentation": "

The specific asset types that are included in the rule.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The asset type for the rule details.

" + } + }, "com.amazonaws.datazone#AssociateEnvironmentRole": { "type": "operation", "input": { @@ -5367,6 +5406,194 @@ "smithy.api#documentation": "

The details of the policy grant.

" } }, + "com.amazonaws.datazone#CreateRule": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#CreateRuleInput" + }, + "output": { + "target": "com.amazonaws.datazone#CreateRuleOutput" + }, + "errors": [ + { + "target": "com.amazonaws.datazone#AccessDeniedException" + }, + { + "target": "com.amazonaws.datazone#ConflictException" + }, + { + "target": "com.amazonaws.datazone#InternalServerException" + }, + { + "target": "com.amazonaws.datazone#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.datazone#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.datazone#ThrottlingException" + }, + { + "target": "com.amazonaws.datazone#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a rule in Amazon DataZone. A rule is a formal agreement that enforces specific\n requirements across user workflows (e.g., publishing assets to the catalog, requesting\n subscriptions, creating projects) within the Amazon DataZone data portal. These rules help\n maintain consistency, ensure compliance, and uphold governance standards in data management\n processes. For instance, a metadata enforcement rule can specify the required information\n for creating a subscription request or publishing a data asset to the catalog, ensuring\n alignment with organizational standards.

", + "smithy.api#http": { + "code": 201, + "method": "POST", + "uri": "/v2/domains/{domainIdentifier}/rules" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.datazone#CreateRuleInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the domain where the rule is created.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.datazone#RuleName", + "traits": { + "smithy.api#documentation": "

The name of the rule.

", + "smithy.api#required": {} + } + }, + "target": { + "target": "com.amazonaws.datazone#RuleTarget", + "traits": { + "smithy.api#documentation": "

The target of the rule.

", + "smithy.api#required": {} + } + }, + "action": { + "target": "com.amazonaws.datazone#RuleAction", + "traits": { + "smithy.api#documentation": "

The action of the rule.

", + "smithy.api#required": {} + } + }, + "scope": { + "target": "com.amazonaws.datazone#RuleScope", + "traits": { + "smithy.api#documentation": "

The scope of the rule.

", + "smithy.api#required": {} + } + }, + "detail": { + "target": "com.amazonaws.datazone#RuleDetail", + "traits": { + "smithy.api#documentation": "

The detail of the rule.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.datazone#Description", + "traits": { + "smithy.api#documentation": "

The description of the rule.

" + } + }, + "clientToken": { + "target": "com.amazonaws.datazone#ClientToken", + "traits": { + "smithy.api#documentation": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the\n request.

", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#CreateRuleOutput": { + "type": "structure", + "members": { + "identifier": { + "target": "com.amazonaws.datazone#RuleId", + "traits": { + "smithy.api#documentation": "

The ID of the rule.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.datazone#RuleName", + "traits": { + "smithy.api#documentation": "

The name of the rule.

", + "smithy.api#required": {} + } + }, + "ruleType": { + "target": "com.amazonaws.datazone#RuleType", + "traits": { + "smithy.api#documentation": "

The type of the rule.

", + "smithy.api#required": {} + } + }, + "target": { + "target": "com.amazonaws.datazone#RuleTarget", + "traits": { + "smithy.api#documentation": "

The target of the rule.

", + "smithy.api#required": {} + } + }, + "action": { + "target": "com.amazonaws.datazone#RuleAction", + "traits": { + "smithy.api#documentation": "

The action of the rule.

", + "smithy.api#required": {} + } + }, + "scope": { + "target": "com.amazonaws.datazone#RuleScope", + "traits": { + "smithy.api#documentation": "

The scope of the rule.

", + "smithy.api#required": {} + } + }, + "detail": { + "target": "com.amazonaws.datazone#RuleDetail", + "traits": { + "smithy.api#documentation": "

The detail of the rule.

", + "smithy.api#required": {} + } + }, + "targetType": { + "target": "com.amazonaws.datazone#RuleTargetType", + "traits": { + "smithy.api#documentation": "

The target type of the rule.

" + } + }, + "description": { + "target": "com.amazonaws.datazone#Description", + "traits": { + "smithy.api#documentation": "

The description of the rule.

" + } + }, + "createdAt": { + "target": "com.amazonaws.datazone#CreatedAt", + "traits": { + "smithy.api#documentation": "

The timestamp at which the rule is created.

", + "smithy.api#required": {} + } + }, + "createdBy": { + "target": "com.amazonaws.datazone#CreatedBy", + "traits": { + "smithy.api#documentation": "

The user who creates the rule.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#CreateSubscriptionGrant": { "type": "operation", "input": { @@ -5614,6 +5841,12 @@ "smithy.api#documentation": "

A unique, case-sensitive identifier that is provided to ensure the idempotency of the\n request.

", "smithy.api#idempotencyToken": {} } + }, + "metadataForms": { + "target": "com.amazonaws.datazone#MetadataFormInputs", + "traits": { + "smithy.api#documentation": "

The metadata form included in the subscription request.

" + } } }, "traits": { @@ -5711,6 +5944,18 @@ "traits": { "smithy.api#documentation": "

The decision comment of the subscription request.

" } + }, + "existingSubscriptionId": { + "target": "com.amazonaws.datazone#SubscriptionId", + "traits": { + "smithy.api#documentation": "

The ID of the existing subscription.

" + } + }, + "metadataForms": { + "target": "com.amazonaws.datazone#MetadataForms", + "traits": { + "smithy.api#documentation": "

The metadata form included in the subscription request.

" + } } }, "traits": { @@ -7590,6 +7835,9 @@ }, { "target": "com.amazonaws.datazone#MetadataGenerationRun" + }, + { + "target": "com.amazonaws.datazone#Rule" } ], "errors": [ @@ -9376,6 +9624,75 @@ "smithy.api#output": {} } }, + "com.amazonaws.datazone#DeleteRule": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#DeleteRuleInput" + }, + "output": { + "target": "com.amazonaws.datazone#DeleteRuleOutput" + }, + "errors": [ + { + "target": "com.amazonaws.datazone#AccessDeniedException" + }, + { + "target": "com.amazonaws.datazone#ConflictException" + }, + { + "target": "com.amazonaws.datazone#InternalServerException" + }, + { + "target": "com.amazonaws.datazone#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.datazone#ThrottlingException" + }, + { + "target": "com.amazonaws.datazone#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes a rule in Amazon DataZone. A rule is a formal agreement that enforces specific\n requirements across user workflows (e.g., publishing assets to the catalog, requesting\n subscriptions, creating projects) within the Amazon DataZone data portal. These rules help\n maintain consistency, ensure compliance, and uphold governance standards in data management\n processes. For instance, a metadata enforcement rule can specify the required information\n for creating a subscription request or publishing a data asset to the catalog, ensuring\n alignment with organizational standards.

", + "smithy.api#http": { + "code": 204, + "method": "DELETE", + "uri": "/v2/domains/{domainIdentifier}/rules/{identifier}" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.datazone#DeleteRuleInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the domain that where the rule is to be deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "identifier": { + "target": "com.amazonaws.datazone#RuleId", + "traits": { + "smithy.api#documentation": "

The ID of the rule that is to be deleted.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#DeleteRuleOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#DeleteSubscriptionGrant": { "type": "operation", "input": { @@ -10434,21 +10751,42 @@ "smithy.api#documentation": "

The summary of the domain unit.

" } }, - "com.amazonaws.datazone#DomainUnitUserProperties": { + "com.amazonaws.datazone#DomainUnitTarget": { "type": "structure", "members": { - "userId": { - "target": "smithy.api#String", + "domainUnitId": { + "target": "com.amazonaws.datazone#DomainUnitId", "traits": { - "smithy.api#documentation": "

The ID of teh domain unit user.

" + "smithy.api#documentation": "

The ID of the domain unit.

", + "smithy.api#required": {} + } + }, + "includeChildDomainUnits": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Specifies whether to apply a rule to the child domain units.

" } } }, "traits": { - "smithy.api#documentation": "

The properties of the domain unit user.

" + "smithy.api#documentation": "

The target for the domain unit.

" } }, - "com.amazonaws.datazone#EdgeDirection": { + "com.amazonaws.datazone#DomainUnitUserProperties": { + "type": "structure", + "members": { + "userId": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

The ID of teh domain unit user.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The properties of the domain unit user.

" + } + }, + "com.amazonaws.datazone#EdgeDirection": { "type": "enum", "members": { "UPSTREAM": { @@ -11437,7 +11775,7 @@ } }, "typeRevision": { - "target": "com.amazonaws.datazone#Revision", + "target": "com.amazonaws.datazone#RevisionInput", "traits": { "smithy.api#documentation": "

The revision of the metadata form type.

" } @@ -15011,6 +15349,176 @@ "smithy.api#output": {} } }, + "com.amazonaws.datazone#GetRule": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#GetRuleInput" + }, + "output": { + "target": "com.amazonaws.datazone#GetRuleOutput" + }, + "errors": [ + { + "target": "com.amazonaws.datazone#AccessDeniedException" + }, + { + "target": "com.amazonaws.datazone#InternalServerException" + }, + { + "target": "com.amazonaws.datazone#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.datazone#ThrottlingException" + }, + { + "target": "com.amazonaws.datazone#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets the details of a rule in Amazon DataZone. A rule is a formal agreement that\n enforces specific requirements across user workflows (e.g., publishing assets to the\n catalog, requesting subscriptions, creating projects) within the Amazon DataZone data\n portal. These rules help maintain consistency, ensure compliance, and uphold governance\n standards in data management processes. For instance, a metadata enforcement rule can\n specify the required information for creating a subscription request or publishing a data\n asset to the catalog, ensuring alignment with organizational standards.

", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/v2/domains/{domainIdentifier}/rules/{identifier}" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.datazone#GetRuleInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the domain where the GetRule action is to be invoked.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "identifier": { + "target": "com.amazonaws.datazone#RuleId", + "traits": { + "smithy.api#documentation": "

The ID of the rule.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "revision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "

The revision of the rule.

", + "smithy.api#httpQuery": "revision" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#GetRuleOutput": { + "type": "structure", + "members": { + "identifier": { + "target": "com.amazonaws.datazone#RuleId", + "traits": { + "smithy.api#documentation": "

The ID of the rule.

", + "smithy.api#required": {} + } + }, + "revision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "

The revision of the rule.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.datazone#RuleName", + "traits": { + "smithy.api#documentation": "

The name of the rule.

", + "smithy.api#required": {} + } + }, + "ruleType": { + "target": "com.amazonaws.datazone#RuleType", + "traits": { + "smithy.api#documentation": "

The type of the rule.

", + "smithy.api#required": {} + } + }, + "target": { + "target": "com.amazonaws.datazone#RuleTarget", + "traits": { + "smithy.api#documentation": "

The target of the rule.

", + "smithy.api#required": {} + } + }, + "action": { + "target": "com.amazonaws.datazone#RuleAction", + "traits": { + "smithy.api#documentation": "

The action of the rule.

", + "smithy.api#required": {} + } + }, + "scope": { + "target": "com.amazonaws.datazone#RuleScope", + "traits": { + "smithy.api#documentation": "

The scope of the rule.

", + "smithy.api#required": {} + } + }, + "detail": { + "target": "com.amazonaws.datazone#RuleDetail", + "traits": { + "smithy.api#documentation": "

The detail of the rule.

", + "smithy.api#required": {} + } + }, + "targetType": { + "target": "com.amazonaws.datazone#RuleTargetType", + "traits": { + "smithy.api#documentation": "

The target type of the rule.

" + } + }, + "description": { + "target": "com.amazonaws.datazone#Description", + "traits": { + "smithy.api#documentation": "

The description of the rule.

" + } + }, + "createdAt": { + "target": "com.amazonaws.datazone#CreatedAt", + "traits": { + "smithy.api#documentation": "

The timestamp at which the rule was created.

", + "smithy.api#required": {} + } + }, + "updatedAt": { + "target": "com.amazonaws.datazone#UpdatedAt", + "traits": { + "smithy.api#documentation": "

The timestamp at which the rule was last updated.

", + "smithy.api#required": {} + } + }, + "createdBy": { + "target": "com.amazonaws.datazone#CreatedBy", + "traits": { + "smithy.api#documentation": "

The user who created the rule.

", + "smithy.api#required": {} + } + }, + "lastUpdatedBy": { + "target": "com.amazonaws.datazone#UpdatedBy", + "traits": { + "smithy.api#documentation": "

The timestamp at which the rule was last updated.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#GetSubscription": { "type": "operation", "input": { @@ -15446,6 +15954,18 @@ "traits": { "smithy.api#documentation": "

The decision comment of the subscription request.

" } + }, + "existingSubscriptionId": { + "target": "com.amazonaws.datazone#SubscriptionId", + "traits": { + "smithy.api#documentation": "

The ID of the existing subscription.

" + } + }, + "metadataForms": { + "target": "com.amazonaws.datazone#MetadataForms", + "traits": { + "smithy.api#documentation": "

The metadata forms included in the subscription request.

" + } } }, "traits": { @@ -19217,13 +19737,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.datazone#ListSubscriptionGrants": { + "com.amazonaws.datazone#ListRules": { "type": "operation", "input": { - "target": "com.amazonaws.datazone#ListSubscriptionGrantsInput" + "target": "com.amazonaws.datazone#ListRulesInput" }, "output": { - "target": "com.amazonaws.datazone#ListSubscriptionGrantsOutput" + "target": "com.amazonaws.datazone#ListRulesOutput" }, "errors": [ { @@ -19243,11 +19763,11 @@ } ], "traits": { - "smithy.api#documentation": "

Lists subscription grants.

", + "smithy.api#documentation": "

Lists existing rules. In Amazon DataZone, a rule is a formal agreement that enforces\n specific requirements across user workflows (e.g., publishing assets to the catalog,\n requesting subscriptions, creating projects) within the Amazon DataZone data portal. These\n rules help maintain consistency, ensure compliance, and uphold governance standards in data\n management processes. For instance, a metadata enforcement rule can specify the required\n information for creating a subscription request or publishing a data asset to the catalog,\n ensuring alignment with organizational standards.

", "smithy.api#http": { "code": 200, "method": "GET", - "uri": "/v2/domains/{domainIdentifier}/subscription-grants" + "uri": "/v2/domains/{domainIdentifier}/list-rules/{targetType}/{targetIdentifier}" }, "smithy.api#paginated": { "inputToken": "nextToken", @@ -19258,77 +19778,90 @@ "smithy.api#readonly": {} } }, - "com.amazonaws.datazone#ListSubscriptionGrantsInput": { + "com.amazonaws.datazone#ListRulesInput": { "type": "structure", "members": { "domainIdentifier": { "target": "com.amazonaws.datazone#DomainId", "traits": { - "smithy.api#documentation": "

The identifier of the Amazon DataZone domain.

", + "smithy.api#documentation": "

The ID of the domain in which the rules are to be listed.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "environmentId": { - "target": "com.amazonaws.datazone#EnvironmentId", + "targetType": { + "target": "com.amazonaws.datazone#RuleTargetType", "traits": { - "smithy.api#documentation": "

The identifier of the Amazon DataZone environment.

", - "smithy.api#httpQuery": "environmentId" + "smithy.api#documentation": "

The target type of the rule.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "subscriptionTargetId": { - "target": "com.amazonaws.datazone#SubscriptionTargetId", + "targetIdentifier": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

The identifier of the subscription target.

", - "smithy.api#httpQuery": "subscriptionTargetId" + "smithy.api#documentation": "

The target ID of the rule.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "subscribedListingId": { - "target": "com.amazonaws.datazone#ListingId", + "ruleType": { + "target": "com.amazonaws.datazone#RuleType", "traits": { - "smithy.api#documentation": "

The identifier of the subscribed listing.

", - "smithy.api#httpQuery": "subscribedListingId" + "smithy.api#documentation": "

The type of the rule.

", + "smithy.api#httpQuery": "ruleType" } }, - "subscriptionId": { - "target": "com.amazonaws.datazone#SubscriptionId", + "action": { + "target": "com.amazonaws.datazone#RuleAction", "traits": { - "smithy.api#documentation": "

The identifier of the subscription.

", - "smithy.api#httpQuery": "subscriptionId" + "smithy.api#documentation": "

The action of the rule.

", + "smithy.api#httpQuery": "ruleAction" } }, - "owningProjectId": { - "target": "com.amazonaws.datazone#ProjectId", + "projectIds": { + "target": "com.amazonaws.datazone#ProjectIds", "traits": { - "smithy.api#documentation": "

The ID of the owning project of the subscription grants.

", - "smithy.api#httpQuery": "owningProjectId" + "smithy.api#documentation": "

The IDs of projects in which rules are to be listed.

", + "smithy.api#httpQuery": "projectIds" } }, - "sortBy": { - "target": "com.amazonaws.datazone#SortKey", + "assetTypes": { + "target": "com.amazonaws.datazone#AssetTypeIdentifiers", "traits": { - "smithy.api#documentation": "

Specifies the way of sorting the results of this action.

", - "smithy.api#httpQuery": "sortBy" + "smithy.api#documentation": "

The asset types of the rule.

", + "smithy.api#httpQuery": "assetTypes" } }, - "sortOrder": { - "target": "com.amazonaws.datazone#SortOrder", + "dataProduct": { + "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "

Specifies the sort order of this action.

", - "smithy.api#httpQuery": "sortOrder" + "smithy.api#documentation": "

The data product of the rule.

", + "smithy.api#httpQuery": "dataProduct" + } + }, + "includeCascaded": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Specifies whether to include cascading rules in the results.

", + "smithy.api#httpQuery": "includeCascaded" } }, "maxResults": { - "target": "com.amazonaws.datazone#MaxResults", + "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

The maximum number of subscription grants to return in a single call to\n ListSubscriptionGrants. When the number of subscription grants to be listed\n is greater than the value of MaxResults, the response contains a\n NextToken value that you can use in a subsequent call to\n ListSubscriptionGrants to list the next set of subscription grants.

", - "smithy.api#httpQuery": "maxResults" + "smithy.api#documentation": "

The maximum number of rules to return in a single call to ListRules. When\n the number of rules to be listed is greater than the value of MaxResults, the\n response contains a NextToken value that you can use in a subsequent call to\n ListRules to list the next set of rules.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 25, + "max": 50 + } } }, "nextToken": { "target": "com.amazonaws.datazone#PaginationToken", "traits": { - "smithy.api#documentation": "

When the number of subscription grants is greater than the default value for the\n MaxResults parameter, or if you explicitly specify a value for\n MaxResults that is less than the number of subscription grants, the\n response includes a pagination token named NextToken. You can specify this\n NextToken value in a subsequent call to ListSubscriptionGrants\n to list the next set of subscription grants.

", + "smithy.api#documentation": "

When the number of rules is greater than the default value for the\n MaxResults parameter, or if you explicitly specify a value for\n MaxResults that is less than the number of rules, the response includes a\n pagination token named NextToken. You can specify this NextToken\n value in a subsequent call to ListRules to list the next set of rules.

", "smithy.api#httpQuery": "nextToken" } } @@ -19337,20 +19870,20 @@ "smithy.api#input": {} } }, - "com.amazonaws.datazone#ListSubscriptionGrantsOutput": { + "com.amazonaws.datazone#ListRulesOutput": { "type": "structure", "members": { "items": { - "target": "com.amazonaws.datazone#SubscriptionGrants", + "target": "com.amazonaws.datazone#RuleSummaries", "traits": { - "smithy.api#documentation": "

The results of the ListSubscriptionGrants action.

", + "smithy.api#documentation": "

The results of the ListRules action.

", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.datazone#PaginationToken", "traits": { - "smithy.api#documentation": "

When the number of subscription grants is greater than the default value for the\n MaxResults parameter, or if you explicitly specify a value for\n MaxResults that is less than the number of subscription grants, the\n response includes a pagination token named NextToken. You can specify this\n NextToken value in a subsequent call to ListSubscriptionGrants\n to list the next set of subscription grants.

" + "smithy.api#documentation": "

When the number of rules is greater than the default value for the\n MaxResults parameter, or if you explicitly specify a value for\n MaxResults that is less than the number of rules, the response includes a\n pagination token named NextToken. You can specify this NextToken\n value in a subsequent call to ListRules to list the next set of rules.

" } } }, @@ -19358,13 +19891,13 @@ "smithy.api#output": {} } }, - "com.amazonaws.datazone#ListSubscriptionRequests": { + "com.amazonaws.datazone#ListSubscriptionGrants": { "type": "operation", "input": { - "target": "com.amazonaws.datazone#ListSubscriptionRequestsInput" + "target": "com.amazonaws.datazone#ListSubscriptionGrantsInput" }, "output": { - "target": "com.amazonaws.datazone#ListSubscriptionRequestsOutput" + "target": "com.amazonaws.datazone#ListSubscriptionGrantsOutput" }, "errors": [ { @@ -19384,11 +19917,11 @@ } ], "traits": { - "smithy.api#documentation": "

Lists Amazon DataZone subscription requests.

", + "smithy.api#documentation": "

Lists subscription grants.

", "smithy.api#http": { "code": 200, "method": "GET", - "uri": "/v2/domains/{domainIdentifier}/subscription-requests" + "uri": "/v2/domains/{domainIdentifier}/subscription-grants" }, "smithy.api#paginated": { "inputToken": "nextToken", @@ -19399,7 +19932,7 @@ "smithy.api#readonly": {} } }, - "com.amazonaws.datazone#ListSubscriptionRequestsInput": { + "com.amazonaws.datazone#ListSubscriptionGrantsInput": { "type": "structure", "members": { "domainIdentifier": { @@ -19410,11 +19943,18 @@ "smithy.api#required": {} } }, - "status": { - "target": "com.amazonaws.datazone#SubscriptionRequestStatus", + "environmentId": { + "target": "com.amazonaws.datazone#EnvironmentId", "traits": { - "smithy.api#documentation": "

Specifies the status of the subscription requests.

\n \n

This is not a required parameter, but if not specified, by default, Amazon DataZone\n returns only PENDING subscription requests.

\n
", - "smithy.api#httpQuery": "status" + "smithy.api#documentation": "

The identifier of the Amazon DataZone environment.

", + "smithy.api#httpQuery": "environmentId" + } + }, + "subscriptionTargetId": { + "target": "com.amazonaws.datazone#SubscriptionTargetId", + "traits": { + "smithy.api#documentation": "

The identifier of the subscription target.

", + "smithy.api#httpQuery": "subscriptionTargetId" } }, "subscribedListingId": { @@ -19424,24 +19964,158 @@ "smithy.api#httpQuery": "subscribedListingId" } }, - "owningProjectId": { - "target": "com.amazonaws.datazone#ProjectId", + "subscriptionId": { + "target": "com.amazonaws.datazone#SubscriptionId", "traits": { - "smithy.api#documentation": "

The identifier of the project for the subscription requests.

", - "smithy.api#httpQuery": "owningProjectId" + "smithy.api#documentation": "

The identifier of the subscription.

", + "smithy.api#httpQuery": "subscriptionId" } }, - "approverProjectId": { + "owningProjectId": { "target": "com.amazonaws.datazone#ProjectId", "traits": { - "smithy.api#documentation": "

The identifier of the subscription request approver's project.

", - "smithy.api#httpQuery": "approverProjectId" + "smithy.api#documentation": "

The ID of the owning project of the subscription grants.

", + "smithy.api#httpQuery": "owningProjectId" } }, "sortBy": { "target": "com.amazonaws.datazone#SortKey", "traits": { - "smithy.api#documentation": "

Specifies the way to sort the results of this action.

", + "smithy.api#documentation": "

Specifies the way of sorting the results of this action.

", + "smithy.api#httpQuery": "sortBy" + } + }, + "sortOrder": { + "target": "com.amazonaws.datazone#SortOrder", + "traits": { + "smithy.api#documentation": "

Specifies the sort order of this action.

", + "smithy.api#httpQuery": "sortOrder" + } + }, + "maxResults": { + "target": "com.amazonaws.datazone#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of subscription grants to return in a single call to\n ListSubscriptionGrants. When the number of subscription grants to be listed\n is greater than the value of MaxResults, the response contains a\n NextToken value that you can use in a subsequent call to\n ListSubscriptionGrants to list the next set of subscription grants.

", + "smithy.api#httpQuery": "maxResults" + } + }, + "nextToken": { + "target": "com.amazonaws.datazone#PaginationToken", + "traits": { + "smithy.api#documentation": "

When the number of subscription grants is greater than the default value for the\n MaxResults parameter, or if you explicitly specify a value for\n MaxResults that is less than the number of subscription grants, the\n response includes a pagination token named NextToken. You can specify this\n NextToken value in a subsequent call to ListSubscriptionGrants\n to list the next set of subscription grants.

", + "smithy.api#httpQuery": "nextToken" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#ListSubscriptionGrantsOutput": { + "type": "structure", + "members": { + "items": { + "target": "com.amazonaws.datazone#SubscriptionGrants", + "traits": { + "smithy.api#documentation": "

The results of the ListSubscriptionGrants action.

", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "com.amazonaws.datazone#PaginationToken", + "traits": { + "smithy.api#documentation": "

When the number of subscription grants is greater than the default value for the\n MaxResults parameter, or if you explicitly specify a value for\n MaxResults that is less than the number of subscription grants, the\n response includes a pagination token named NextToken. You can specify this\n NextToken value in a subsequent call to ListSubscriptionGrants\n to list the next set of subscription grants.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.datazone#ListSubscriptionRequests": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#ListSubscriptionRequestsInput" + }, + "output": { + "target": "com.amazonaws.datazone#ListSubscriptionRequestsOutput" + }, + "errors": [ + { + "target": "com.amazonaws.datazone#AccessDeniedException" + }, + { + "target": "com.amazonaws.datazone#InternalServerException" + }, + { + "target": "com.amazonaws.datazone#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.datazone#ThrottlingException" + }, + { + "target": "com.amazonaws.datazone#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Lists Amazon DataZone subscription requests.

", + "smithy.api#http": { + "code": 200, + "method": "GET", + "uri": "/v2/domains/{domainIdentifier}/subscription-requests" + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "items" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.datazone#ListSubscriptionRequestsInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The identifier of the Amazon DataZone domain.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.datazone#SubscriptionRequestStatus", + "traits": { + "smithy.api#documentation": "

Specifies the status of the subscription requests.

\n \n

This is not a required parameter, but if not specified, by default, Amazon DataZone\n returns only PENDING subscription requests.

\n
", + "smithy.api#httpQuery": "status" + } + }, + "subscribedListingId": { + "target": "com.amazonaws.datazone#ListingId", + "traits": { + "smithy.api#documentation": "

The identifier of the subscribed listing.

", + "smithy.api#httpQuery": "subscribedListingId" + } + }, + "owningProjectId": { + "target": "com.amazonaws.datazone#ProjectId", + "traits": { + "smithy.api#documentation": "

The identifier of the project for the subscription requests.

", + "smithy.api#httpQuery": "owningProjectId" + } + }, + "approverProjectId": { + "target": "com.amazonaws.datazone#ProjectId", + "traits": { + "smithy.api#documentation": "

The identifier of the subscription request approver's project.

", + "smithy.api#httpQuery": "approverProjectId" + } + }, + "sortBy": { + "target": "com.amazonaws.datazone#SortKey", + "traits": { + "smithy.api#documentation": "

Specifies the way to sort the results of this action.

", "smithy.api#httpQuery": "sortBy" } }, @@ -20299,6 +20973,88 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.datazone#MetadataFormEnforcementDetail": { + "type": "structure", + "members": { + "requiredMetadataForms": { + "target": "com.amazonaws.datazone#RequiredMetadataFormList", + "traits": { + "smithy.api#documentation": "

The required metadata forms.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The enforcement details of a metadata form.

" + } + }, + "com.amazonaws.datazone#MetadataFormInputs": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#FormInput" + } + }, + "com.amazonaws.datazone#MetadataFormReference": { + "type": "structure", + "members": { + "typeIdentifier": { + "target": "com.amazonaws.datazone#FormTypeIdentifier", + "traits": { + "smithy.api#documentation": "

The type ID of the metadata form reference.

", + "smithy.api#required": {} + } + }, + "typeRevision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "

The type revision of the metadata form reference.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The reference of a metadata form.

" + } + }, + "com.amazonaws.datazone#MetadataFormSummary": { + "type": "structure", + "members": { + "formName": { + "target": "com.amazonaws.datazone#FormName", + "traits": { + "smithy.api#documentation": "

The form name of the metadata form.

" + } + }, + "typeName": { + "target": "com.amazonaws.datazone#FormTypeName", + "traits": { + "smithy.api#documentation": "

The type name of the metadata form.

", + "smithy.api#required": {} + } + }, + "typeRevision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "

The type revision of the metadata form.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the metadata form.

" + } + }, + "com.amazonaws.datazone#MetadataForms": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#FormOutput" + } + }, + "com.amazonaws.datazone#MetadataFormsSummary": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#MetadataFormSummary" + } + }, "com.amazonaws.datazone#MetadataGenerationRun": { "type": "resource", "identifiers": { @@ -21354,6 +22110,12 @@ "smithy.api#pattern": "^[a-zA-Z0-9_-]{1,36}$" } }, + "com.amazonaws.datazone#ProjectIds": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#ProjectId" + } + }, "com.amazonaws.datazone#ProjectMember": { "type": "structure", "members": { @@ -21523,6 +22285,27 @@ "smithy.api#documentation": "

The details of a Amazon DataZone project.

" } }, + "com.amazonaws.datazone#ProjectsForRule": { + "type": "structure", + "members": { + "selectionMode": { + "target": "com.amazonaws.datazone#RuleScopeSelectionMode", + "traits": { + "smithy.api#documentation": "

The selection mode of the rule.

", + "smithy.api#required": {} + } + }, + "specificProjects": { + "target": "com.amazonaws.datazone#RuleProjectIdentifierList", + "traits": { + "smithy.api#documentation": "

The specific projects in which the rule is created.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Specifies projects in which the rule is created.

" + } + }, "com.amazonaws.datazone#ProvisioningConfiguration": { "type": "union", "members": { @@ -22285,6 +23068,18 @@ "traits": { "smithy.api#documentation": "

The decision comment of the rejected subscription request.

" } + }, + "existingSubscriptionId": { + "target": "com.amazonaws.datazone#SubscriptionId", + "traits": { + "smithy.api#documentation": "

The ID of the existing subscription.

" + } + }, + "metadataForms": { + "target": "com.amazonaws.datazone#MetadataForms", + "traits": { + "smithy.api#documentation": "

Metadata forms included in the subscription request.

" + } } }, "traits": { @@ -22528,6 +23323,18 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.datazone#RequiredMetadataFormList": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#MetadataFormReference" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 5 + } + } + }, "com.amazonaws.datazone#Resource": { "type": "structure", "members": { @@ -22593,6 +23400,16 @@ } } }, + "com.amazonaws.datazone#RevisionInput": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[a-zA-Z0-9_-]+$" + } + }, "com.amazonaws.datazone#RevokeSubscription": { "type": "operation", "input": { @@ -22792,95 +23609,379 @@ "smithy.api#documentation": "

Specifies whether the row filter is sensitive.

" } } - }, - "traits": { - "smithy.api#documentation": "

The row filter configuration details.

" + }, + "traits": { + "smithy.api#documentation": "

The row filter configuration details.

" + } + }, + "com.amazonaws.datazone#RowFilterExpression": { + "type": "union", + "members": { + "equalTo": { + "target": "com.amazonaws.datazone#EqualToExpression", + "traits": { + "smithy.api#documentation": "

The 'equal to' clause of the row filter expression.

" + } + }, + "notEqualTo": { + "target": "com.amazonaws.datazone#NotEqualToExpression", + "traits": { + "smithy.api#documentation": "

The 'no equal to' clause of the row filter expression.

" + } + }, + "greaterThan": { + "target": "com.amazonaws.datazone#GreaterThanExpression", + "traits": { + "smithy.api#documentation": "

The 'greater than' clause of the row filter expression.

" + } + }, + "lessThan": { + "target": "com.amazonaws.datazone#LessThanExpression", + "traits": { + "smithy.api#documentation": "

The 'less than' clause of the row filter expression.

" + } + }, + "greaterThanOrEqualTo": { + "target": "com.amazonaws.datazone#GreaterThanOrEqualToExpression", + "traits": { + "smithy.api#documentation": "

The 'greater than or equal to' clause of the filter expression.

" + } + }, + "lessThanOrEqualTo": { + "target": "com.amazonaws.datazone#LessThanOrEqualToExpression", + "traits": { + "smithy.api#documentation": "

The 'less than or equal to' clause of the row filter expression.

" + } + }, + "isNull": { + "target": "com.amazonaws.datazone#IsNullExpression", + "traits": { + "smithy.api#documentation": "

The 'is null' clause of the row filter expression.

" + } + }, + "isNotNull": { + "target": "com.amazonaws.datazone#IsNotNullExpression", + "traits": { + "smithy.api#documentation": "

The 'is not null' clause of the row filter expression.

" + } + }, + "in": { + "target": "com.amazonaws.datazone#InExpression", + "traits": { + "smithy.api#documentation": "

The 'in' clause of the row filter expression.

" + } + }, + "notIn": { + "target": "com.amazonaws.datazone#NotInExpression", + "traits": { + "smithy.api#documentation": "

The 'not in' clause of the row filter expression.

" + } + }, + "like": { + "target": "com.amazonaws.datazone#LikeExpression", + "traits": { + "smithy.api#documentation": "

The 'like' clause of the row filter expression.

" + } + }, + "notLike": { + "target": "com.amazonaws.datazone#NotLikeExpression", + "traits": { + "smithy.api#documentation": "

The 'not like' clause of the row filter expression.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The row filter expression.

" + } + }, + "com.amazonaws.datazone#RowFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#RowFilter" + } + }, + "com.amazonaws.datazone#Rule": { + "type": "resource", + "identifiers": { + "identifier": { + "target": "com.amazonaws.datazone#RuleId" + } + }, + "properties": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId" + }, + "name": { + "target": "com.amazonaws.datazone#RuleName" + }, + "description": { + "target": "com.amazonaws.datazone#Description" + }, + "ruleType": { + "target": "com.amazonaws.datazone#RuleType" + }, + "targetType": { + "target": "com.amazonaws.datazone#RuleTargetType" + }, + "target": { + "target": "com.amazonaws.datazone#RuleTarget" + }, + "action": { + "target": "com.amazonaws.datazone#RuleAction" + }, + "scope": { + "target": "com.amazonaws.datazone#RuleScope" + }, + "detail": { + "target": "com.amazonaws.datazone#RuleDetail" + }, + "revision": { + "target": "com.amazonaws.datazone#Revision" + }, + "createdBy": { + "target": "com.amazonaws.datazone#CreatedBy" + }, + "createdAt": { + "target": "com.amazonaws.datazone#CreatedAt" + }, + "lastUpdatedBy": { + "target": "com.amazonaws.datazone#UpdatedBy" + }, + "updatedAt": { + "target": "com.amazonaws.datazone#UpdatedAt" + } + }, + "create": { + "target": "com.amazonaws.datazone#CreateRule" + }, + "read": { + "target": "com.amazonaws.datazone#GetRule" + }, + "update": { + "target": "com.amazonaws.datazone#UpdateRule" + }, + "delete": { + "target": "com.amazonaws.datazone#DeleteRule" + }, + "list": { + "target": "com.amazonaws.datazone#ListRules" + } + }, + "com.amazonaws.datazone#RuleAction": { + "type": "enum", + "members": { + "CREATE_SUBSCRIPTION_REQUEST": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CREATE_SUBSCRIPTION_REQUEST" + } + } + } + }, + "com.amazonaws.datazone#RuleAssetTypeList": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#AssetTypeIdentifier" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.datazone#RuleDetail": { + "type": "union", + "members": { + "metadataFormEnforcementDetail": { + "target": "com.amazonaws.datazone#MetadataFormEnforcementDetail", + "traits": { + "smithy.api#documentation": "

The enforcement detail of the metadata form.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The details of a rule.

" + } + }, + "com.amazonaws.datazone#RuleId": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[a-zA-Z0-9_-]{1,36}$" + } + }, + "com.amazonaws.datazone#RuleName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[\\w -]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.datazone#RuleProjectIdentifierList": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#ProjectId" + }, + "traits": { + "smithy.api#length": { + "min": 1 + } + } + }, + "com.amazonaws.datazone#RuleScope": { + "type": "structure", + "members": { + "assetType": { + "target": "com.amazonaws.datazone#AssetTypesForRule", + "traits": { + "smithy.api#documentation": "

The asset type included in the rule scope.

" + } + }, + "dataProduct": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

The data product included in the rule scope.

" + } + }, + "project": { + "target": "com.amazonaws.datazone#ProjectsForRule", + "traits": { + "smithy.api#documentation": "

The project included in the rule scope.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The scope of a rule.

" + } + }, + "com.amazonaws.datazone#RuleScopeSelectionMode": { + "type": "enum", + "members": { + "ALL": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ALL" + } + }, + "SPECIFIC": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SPECIFIC" + } + } } }, - "com.amazonaws.datazone#RowFilterExpression": { - "type": "union", + "com.amazonaws.datazone#RuleSummaries": { + "type": "list", + "member": { + "target": "com.amazonaws.datazone#RuleSummary" + } + }, + "com.amazonaws.datazone#RuleSummary": { + "type": "structure", "members": { - "equalTo": { - "target": "com.amazonaws.datazone#EqualToExpression", - "traits": { - "smithy.api#documentation": "

The 'equal to' clause of the row filter expression.

" - } - }, - "notEqualTo": { - "target": "com.amazonaws.datazone#NotEqualToExpression", + "identifier": { + "target": "com.amazonaws.datazone#RuleId", "traits": { - "smithy.api#documentation": "

The 'no equal to' clause of the row filter expression.

" + "smithy.api#documentation": "

The ID of the rule.

" } }, - "greaterThan": { - "target": "com.amazonaws.datazone#GreaterThanExpression", + "revision": { + "target": "com.amazonaws.datazone#Revision", "traits": { - "smithy.api#documentation": "

The 'greater than' clause of the row filter expression.

" + "smithy.api#documentation": "

The revision of the rule.

" } }, - "lessThan": { - "target": "com.amazonaws.datazone#LessThanExpression", + "ruleType": { + "target": "com.amazonaws.datazone#RuleType", "traits": { - "smithy.api#documentation": "

The 'less than' clause of the row filter expression.

" + "smithy.api#documentation": "

The type of the rule.

" } }, - "greaterThanOrEqualTo": { - "target": "com.amazonaws.datazone#GreaterThanOrEqualToExpression", + "name": { + "target": "com.amazonaws.datazone#RuleName", "traits": { - "smithy.api#documentation": "

The 'greater than or equal to' clause of the filter expression.

" + "smithy.api#documentation": "

The name of the rule.

" } }, - "lessThanOrEqualTo": { - "target": "com.amazonaws.datazone#LessThanOrEqualToExpression", + "targetType": { + "target": "com.amazonaws.datazone#RuleTargetType", "traits": { - "smithy.api#documentation": "

The 'less than or equal to' clause of the row filter expression.

" + "smithy.api#documentation": "

The target type of the rule.

" } }, - "isNull": { - "target": "com.amazonaws.datazone#IsNullExpression", + "target": { + "target": "com.amazonaws.datazone#RuleTarget", "traits": { - "smithy.api#documentation": "

The 'is null' clause of the row filter expression.

" + "smithy.api#documentation": "

The target of the rule.

" } }, - "isNotNull": { - "target": "com.amazonaws.datazone#IsNotNullExpression", + "action": { + "target": "com.amazonaws.datazone#RuleAction", "traits": { - "smithy.api#documentation": "

The 'is not null' clause of the row filter expression.

" + "smithy.api#documentation": "

The action of the rule.

" } }, - "in": { - "target": "com.amazonaws.datazone#InExpression", + "scope": { + "target": "com.amazonaws.datazone#RuleScope", "traits": { - "smithy.api#documentation": "

The 'in' clause of the row filter expression.

" + "smithy.api#documentation": "

The scope of the rule.

" } }, - "notIn": { - "target": "com.amazonaws.datazone#NotInExpression", + "updatedAt": { + "target": "com.amazonaws.datazone#UpdatedAt", "traits": { - "smithy.api#documentation": "

The 'not in' clause of the row filter expression.

" + "smithy.api#documentation": "

The timestamp at which the rule was last updated.

" } }, - "like": { - "target": "com.amazonaws.datazone#LikeExpression", + "lastUpdatedBy": { + "target": "com.amazonaws.datazone#UpdatedBy", "traits": { - "smithy.api#documentation": "

The 'like' clause of the row filter expression.

" + "smithy.api#documentation": "

The timestamp at which the rule was last updated.

" } - }, - "notLike": { - "target": "com.amazonaws.datazone#NotLikeExpression", + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the rule.

" + } + }, + "com.amazonaws.datazone#RuleTarget": { + "type": "union", + "members": { + "domainUnitTarget": { + "target": "com.amazonaws.datazone#DomainUnitTarget", "traits": { - "smithy.api#documentation": "

The 'not like' clause of the row filter expression.

" + "smithy.api#documentation": "

The ID of the domain unit.

" } } }, "traits": { - "smithy.api#documentation": "

The row filter expression.

" + "smithy.api#documentation": "

The target of the rule.

" } }, - "com.amazonaws.datazone#RowFilterList": { - "type": "list", - "member": { - "target": "com.amazonaws.datazone#RowFilter" + "com.amazonaws.datazone#RuleTargetType": { + "type": "enum", + "members": { + "DOMAIN_UNIT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DOMAIN_UNIT" + } + } + } + }, + "com.amazonaws.datazone#RuleType": { + "type": "enum", + "members": { + "METADATA_FORM_ENFORCEMENT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "METADATA_FORM_ENFORCEMENT" + } + } } }, "com.amazonaws.datazone#RunStatisticsForAssets": { @@ -24942,6 +26043,18 @@ "traits": { "smithy.api#documentation": "

The decision comment of the subscription request.

" } + }, + "existingSubscriptionId": { + "target": "com.amazonaws.datazone#SubscriptionId", + "traits": { + "smithy.api#documentation": "

The ID of the existing subscription.

" + } + }, + "metadataFormsSummary": { + "target": "com.amazonaws.datazone#MetadataFormsSummary", + "traits": { + "smithy.api#documentation": "

The summary of the metadata forms.

" + } } }, "traits": { @@ -27959,6 +29072,200 @@ "smithy.api#output": {} } }, + "com.amazonaws.datazone#UpdateRule": { + "type": "operation", + "input": { + "target": "com.amazonaws.datazone#UpdateRuleInput" + }, + "output": { + "target": "com.amazonaws.datazone#UpdateRuleOutput" + }, + "errors": [ + { + "target": "com.amazonaws.datazone#AccessDeniedException" + }, + { + "target": "com.amazonaws.datazone#ConflictException" + }, + { + "target": "com.amazonaws.datazone#InternalServerException" + }, + { + "target": "com.amazonaws.datazone#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.datazone#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.datazone#ThrottlingException" + }, + { + "target": "com.amazonaws.datazone#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates a rule. In Amazon DataZone, a rule is a formal agreement that enforces specific\n requirements across user workflows (e.g., publishing assets to the catalog, requesting\n subscriptions, creating projects) within the Amazon DataZone data portal. These rules help\n maintain consistency, ensure compliance, and uphold governance standards in data management\n processes. For instance, a metadata enforcement rule can specify the required information\n for creating a subscription request or publishing a data asset to the catalog, ensuring\n alignment with organizational standards.

", + "smithy.api#http": { + "code": 200, + "method": "PATCH", + "uri": "/v2/domains/{domainIdentifier}/rules/{identifier}" + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.datazone#UpdateRuleInput": { + "type": "structure", + "members": { + "domainIdentifier": { + "target": "com.amazonaws.datazone#DomainId", + "traits": { + "smithy.api#documentation": "

The ID of the domain in which a rule is to be updated.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "identifier": { + "target": "com.amazonaws.datazone#RuleId", + "traits": { + "smithy.api#documentation": "

The ID of the rule that is to be updated

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.datazone#RuleName", + "traits": { + "smithy.api#documentation": "

The name of the rule.

" + } + }, + "description": { + "target": "com.amazonaws.datazone#Description", + "traits": { + "smithy.api#documentation": "

The description of the rule.

" + } + }, + "scope": { + "target": "com.amazonaws.datazone#RuleScope", + "traits": { + "smithy.api#documentation": "

The scrope of the rule.

" + } + }, + "detail": { + "target": "com.amazonaws.datazone#RuleDetail", + "traits": { + "smithy.api#documentation": "

The detail of the rule.

" + } + }, + "includeChildDomainUnits": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Specifies whether to update this rule in the child domain units.

", + "smithy.api#notProperty": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.datazone#UpdateRuleOutput": { + "type": "structure", + "members": { + "identifier": { + "target": "com.amazonaws.datazone#RuleId", + "traits": { + "smithy.api#documentation": "

The ID of the rule.

", + "smithy.api#required": {} + } + }, + "revision": { + "target": "com.amazonaws.datazone#Revision", + "traits": { + "smithy.api#documentation": "

The revision of the rule.

", + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.datazone#RuleName", + "traits": { + "smithy.api#documentation": "

The name of the rule.

", + "smithy.api#required": {} + } + }, + "ruleType": { + "target": "com.amazonaws.datazone#RuleType", + "traits": { + "smithy.api#documentation": "

The type of the rule.

", + "smithy.api#required": {} + } + }, + "target": { + "target": "com.amazonaws.datazone#RuleTarget", + "traits": { + "smithy.api#documentation": "

The target of the rule.

", + "smithy.api#required": {} + } + }, + "action": { + "target": "com.amazonaws.datazone#RuleAction", + "traits": { + "smithy.api#documentation": "

The action of the rule.

", + "smithy.api#required": {} + } + }, + "scope": { + "target": "com.amazonaws.datazone#RuleScope", + "traits": { + "smithy.api#documentation": "

The scope of the rule.

", + "smithy.api#required": {} + } + }, + "detail": { + "target": "com.amazonaws.datazone#RuleDetail", + "traits": { + "smithy.api#documentation": "

The detail of the rule.

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.datazone#Description", + "traits": { + "smithy.api#documentation": "

The description of the rule.

" + } + }, + "createdAt": { + "target": "com.amazonaws.datazone#CreatedAt", + "traits": { + "smithy.api#documentation": "

The timestamp at which the rule was created.

", + "smithy.api#required": {} + } + }, + "updatedAt": { + "target": "com.amazonaws.datazone#UpdatedAt", + "traits": { + "smithy.api#documentation": "

The timestamp at which the rule was last updated.

", + "smithy.api#required": {} + } + }, + "createdBy": { + "target": "com.amazonaws.datazone#CreatedBy", + "traits": { + "smithy.api#documentation": "

The user who created the rule.

", + "smithy.api#required": {} + } + }, + "lastUpdatedBy": { + "target": "com.amazonaws.datazone#UpdatedBy", + "traits": { + "smithy.api#documentation": "

The timestamp at which the rule was last updated.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.datazone#UpdateSubscriptionGrantStatus": { "type": "operation", "input": { @@ -28293,6 +29600,18 @@ "traits": { "smithy.api#documentation": "

The decision comment of the UpdateSubscriptionRequest action.

" } + }, + "existingSubscriptionId": { + "target": "com.amazonaws.datazone#SubscriptionId", + "traits": { + "smithy.api#documentation": "

The ID of the existing subscription.

" + } + }, + "metadataForms": { + "target": "com.amazonaws.datazone#MetadataForms", + "traits": { + "smithy.api#documentation": "

Metadata forms included in the subscription request.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/ec2.json b/codegen/sdk-codegen/aws-models/ec2.json index 7b7d6df39af..c8e6718a2e9 100644 --- a/codegen/sdk-codegen/aws-models/ec2.json +++ b/codegen/sdk-codegen/aws-models/ec2.json @@ -9256,6 +9256,36 @@ "com.amazonaws.ec2#BaselineIops": { "type": "integer" }, + "com.amazonaws.ec2#BaselinePerformanceFactors": { + "type": "structure", + "members": { + "Cpu": { + "target": "com.amazonaws.ec2#CpuPerformanceFactor", + "traits": { + "aws.protocols#ec2QueryName": "Cpu", + "smithy.api#documentation": "

The CPU performance to consider, using an instance family as the baseline reference.

", + "smithy.api#xmlName": "cpu" + } + } + }, + "traits": { + "smithy.api#documentation": "

The baseline performance to consider, using an instance family as a baseline reference.\n The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this\n baseline to guide instance type selection, but there is no guarantee that the selected\n instance types will always exceed the baseline for every application.

\n

Currently, this parameter only supports CPU performance as a baseline performance\n factor. For example, specifying c6i would use the CPU performance of the\n c6i family as the baseline reference.

" + } + }, + "com.amazonaws.ec2#BaselinePerformanceFactorsRequest": { + "type": "structure", + "members": { + "Cpu": { + "target": "com.amazonaws.ec2#CpuPerformanceFactorRequest", + "traits": { + "smithy.api#documentation": "

The CPU performance to consider, using an instance family as the baseline reference.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The baseline performance to consider, using an instance family as a baseline reference.\n The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this\n baseline to guide instance type selection, but there is no guarantee that the selected\n instance types will always exceed the baseline for every application.

\n

Currently, this parameter only supports CPU performance as a baseline performance\n factor. For example, specifying c6i would use the CPU performance of the\n c6i family as the baseline reference.

" + } + }, "com.amazonaws.ec2#BaselineThroughputInMBps": { "type": "double" }, @@ -11658,6 +11688,12 @@ "com.amazonaws.ec2#CapacityReservationPreference": { "type": "enum", "members": { + "capacity_reservations_only": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "capacity-reservations-only" + } + }, "open": { "target": "smithy.api#Unit", "traits": { @@ -11687,7 +11723,7 @@ "CapacityReservationPreference": { "target": "com.amazonaws.ec2#CapacityReservationPreference", "traits": { - "smithy.api#documentation": "

Indicates the instance's Capacity Reservation preferences. Possible preferences include:

\n " + "smithy.api#documentation": "

Indicates the instance's Capacity Reservation preferences. Possible preferences include:

\n " } }, "CapacityReservationTarget": { @@ -11698,7 +11734,7 @@ } }, "traits": { - "smithy.api#documentation": "

Describes an instance's Capacity Reservation targeting option. You can specify only one parameter \n\t\t\tat a time. If you specify CapacityReservationPreference and \n\t\t\tCapacityReservationTarget, the request fails.

\n

Use the CapacityReservationPreference parameter to configure the instance\n\t\t\tto run as an On-Demand Instance or to run in any open Capacity Reservation that has\n\t\t\tmatching attributes (instance type, platform, Availability Zone). Use the\n\t\t\tCapacityReservationTarget parameter to explicitly target a specific\n\t\t\t \tCapacity Reservation or a Capacity Reservation group.

" + "smithy.api#documentation": "

Describes an instance's Capacity Reservation targeting option.

\n

Use the CapacityReservationPreference parameter to configure the instance to\n\t\t\trun as an On-Demand Instance, to run in any open Capacity Reservation that\n\t\t\thas matching attributes, or to run only in a Capacity Reservation or Capacity\n\t\t\tReservation group. Use the CapacityReservationTarget parameter to\n\t\t\texplicitly target a specific Capacity Reservation or a Capacity Reservation\n\t\t\tgroup.

\n

You can only specify CapacityReservationPreference and CapacityReservationTarget if the CapacityReservationPreference is capacity-reservations-only.

" } }, "com.amazonaws.ec2#CapacityReservationSpecificationResponse": { @@ -14269,6 +14305,12 @@ "traits": { "smithy.api#enumValue": "amazon-web-services" } + }, + "APPLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "apple" + } } } }, @@ -14342,6 +14384,37 @@ "smithy.api#documentation": "

The CPU options for the instance. Both the core count and threads per core must be\n specified in the request.

" } }, + "com.amazonaws.ec2#CpuPerformanceFactor": { + "type": "structure", + "members": { + "References": { + "target": "com.amazonaws.ec2#PerformanceFactorReferenceSet", + "traits": { + "aws.protocols#ec2QueryName": "ReferenceSet", + "smithy.api#documentation": "

Specify an instance family to use as the baseline reference for CPU performance. All\n instance types that match your specified attributes will be compared against the CPU\n performance of the referenced instance family, regardless of CPU manufacturer or\n architecture differences.

\n \n

Currently, only one instance family can be specified in the list.

\n
", + "smithy.api#xmlName": "referenceSet" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CPU performance to consider, using an instance family as the baseline reference.

" + } + }, + "com.amazonaws.ec2#CpuPerformanceFactorRequest": { + "type": "structure", + "members": { + "References": { + "target": "com.amazonaws.ec2#PerformanceFactorReferenceSetRequest", + "traits": { + "smithy.api#documentation": "

Specify an instance family to use as the baseline reference for CPU performance. All\n instance types that match your specified attributes will be compared against the CPU\n performance of the referenced instance family, regardless of CPU manufacturer or\n architecture differences.

\n \n

Currently, only one instance family can be specified in the list.

\n
", + "smithy.api#xmlName": "Reference" + } + } + }, + "traits": { + "smithy.api#documentation": "

The CPU performance to consider, using an instance family as the baseline reference.

" + } + }, "com.amazonaws.ec2#CreateCapacityReservation": { "type": "operation", "input": { @@ -62353,6 +62426,14 @@ "smithy.api#documentation": "

[Price protection] The price protection threshold for Spot Instances, as a percentage of an\n identified On-Demand price. The identified On-Demand price is the price of the lowest\n priced current generation C, M, or R instance type with your specified attributes. If no\n current generation C, M, or R instance type matches your attributes, then the identified\n price is from the lowest priced current generation instance types, and failing that, from\n the lowest priced previous generation instance types that match your attributes. When Amazon EC2\n selects instance types with your attributes, it will exclude instance types whose price\n exceeds your specified threshold.

\n

The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

\n

If you set TargetCapacityUnitType to vcpu or\n memory-mib, the price protection threshold is based on the per vCPU or per\n memory price instead of the per instance price.

\n \n

Only one of SpotMaxPricePercentageOverLowestPrice or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you\n don't specify either, Amazon EC2 will automatically apply optimal price protection to\n consistently select from a wide range of instance types. To indicate no price protection\n threshold for Spot Instances, meaning you want to consider all instance types that match your\n attributes, include one of these parameters and specify a high value, such as\n 999999.

\n
", "smithy.api#xmlName": "maxSpotPriceAsPercentageOfOptimalOnDemandPrice" } + }, + "BaselinePerformanceFactors": { + "target": "com.amazonaws.ec2#BaselinePerformanceFactors", + "traits": { + "aws.protocols#ec2QueryName": "BaselinePerformanceFactors", + "smithy.api#documentation": "

The baseline performance to consider, using an instance family as a baseline reference.\n The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this\n baseline to guide instance type selection, but there is no guarantee that the selected\n instance types will always exceed the baseline for every application. Currently, this\n parameter only supports CPU performance as a baseline performance factor. For more\n information, see Performance protection in the Amazon EC2 User Guide.

", + "smithy.api#xmlName": "baselinePerformanceFactors" + } } }, "traits": { @@ -62517,6 +62598,12 @@ "traits": { "smithy.api#documentation": "

[Price protection] The price protection threshold for Spot Instances, as a percentage of an\n identified On-Demand price. The identified On-Demand price is the price of the lowest\n priced current generation C, M, or R instance type with your specified attributes. If no\n current generation C, M, or R instance type matches your attributes, then the identified\n price is from the lowest priced current generation instance types, and failing that, from\n the lowest priced previous generation instance types that match your attributes. When Amazon EC2\n selects instance types with your attributes, it will exclude instance types whose price\n exceeds your specified threshold.

\n

The parameter accepts an integer, which Amazon EC2 interprets as a percentage.

\n

If you set TargetCapacityUnitType to vcpu or\n memory-mib, the price protection threshold is based on the per vCPU or per\n memory price instead of the per instance price.

\n \n

Only one of SpotMaxPricePercentageOverLowestPrice or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you\n don't specify either, Amazon EC2 will automatically apply optimal price protection to\n consistently select from a wide range of instance types. To indicate no price protection\n threshold for Spot Instances, meaning you want to consider all instance types that match your\n attributes, include one of these parameters and specify a high value, such as\n 999999.

\n
" } + }, + "BaselinePerformanceFactors": { + "target": "com.amazonaws.ec2#BaselinePerformanceFactorsRequest", + "traits": { + "smithy.api#documentation": "

The baseline performance to consider, using an instance family as a baseline reference.\n The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this\n baseline to guide instance type selection, but there is no guarantee that the selected\n instance types will always exceed the baseline for every application. Currently, this\n parameter only supports CPU performance as a baseline performance factor. For more\n information, see Performance protection in the Amazon EC2 User Guide.

" + } } }, "traits": { @@ -77784,7 +77871,7 @@ "target": "com.amazonaws.ec2#ModifyInstanceCapacityReservationAttributesResult" }, "traits": { - "smithy.api#documentation": "

Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an\n\t\t\tinstance to target a specific Capacity Reservation, run in any open Capacity Reservation with matching\n\t\t\tattributes, or run On-Demand Instance capacity.

" + "smithy.api#documentation": "

Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an\n\t\t\tinstance to target a specific Capacity Reservation, run in any open Capacity Reservation with matching\n\t\t\tattributes, run in On-Demand Instance capacity, or only run in a Capacity Reservation.

" } }, "com.amazonaws.ec2#ModifyInstanceCapacityReservationAttributesRequest": { @@ -86023,6 +86110,54 @@ "smithy.api#documentation": "

Information about the transit gateway in the peering attachment.

" } }, + "com.amazonaws.ec2#PerformanceFactorReference": { + "type": "structure", + "members": { + "InstanceFamily": { + "target": "com.amazonaws.ec2#String", + "traits": { + "aws.protocols#ec2QueryName": "InstanceFamily", + "smithy.api#documentation": "

The instance family to use as a baseline reference.

\n \n

Ensure that you specify the correct value for the instance family. The instance\n family is everything before the period (.) in the instance type name. For\n example, in the instance type c6i.large, the instance family is\n c6i, not c6. For more information, see Amazon EC2\n instance type naming conventions in Amazon EC2 Instance\n Types.

\n
\n

The following instance families are not supported for performance\n protection:

\n \n

If you enable performance protection by specifying a supported instance family, the\n returned instance types will exclude the above unsupported instance families.

\n

If you specify an unsupported instance family as a value for baseline performance, the\n API returns an empty response for and an exception for , , , and .

", + "smithy.api#xmlName": "instanceFamily" + } + } + }, + "traits": { + "smithy.api#documentation": "

Specify an instance family to use as the baseline reference for CPU performance. All\n instance types that match your specified attributes will be compared against the CPU\n performance of the referenced instance family, regardless of CPU manufacturer or\n architecture.

\n \n

Currently, only one instance family can be specified in the list.

\n
" + } + }, + "com.amazonaws.ec2#PerformanceFactorReferenceRequest": { + "type": "structure", + "members": { + "InstanceFamily": { + "target": "com.amazonaws.ec2#String", + "traits": { + "smithy.api#documentation": "

The instance family to use as a baseline reference.

\n \n

Ensure that you specify the correct value for the instance family. The instance\n family is everything before the period (.) in the instance type name. For\n example, in the instance type c6i.large, the instance family is\n c6i, not c6. For more information, see Amazon EC2\n instance type naming conventions in Amazon EC2 Instance\n Types.

\n
\n

The following instance families are not supported for performance\n protection:

\n \n

If you enable performance protection by specifying a supported instance family, the\n returned instance types will exclude the above unsupported instance families.

\n

If you specify an unsupported instance family as a value for baseline performance, the\n API returns an empty response for and an exception for , , , and .

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Specify an instance family to use as the baseline reference for CPU performance. All\n instance types that match your specified attributes will be compared against the CPU\n performance of the referenced instance family, regardless of CPU manufacturer or\n architecture.

\n \n

Currently, only one instance family can be specified in the list.

\n
" + } + }, + "com.amazonaws.ec2#PerformanceFactorReferenceSet": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#PerformanceFactorReference", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, + "com.amazonaws.ec2#PerformanceFactorReferenceSetRequest": { + "type": "list", + "member": { + "target": "com.amazonaws.ec2#PerformanceFactorReferenceRequest", + "traits": { + "smithy.api#xmlName": "item" + } + } + }, "com.amazonaws.ec2#PeriodType": { "type": "enum", "members": { @@ -95369,7 +95504,7 @@ "CapacityReservationSpecification": { "target": "com.amazonaws.ec2#CapacityReservationSpecification", "traits": { - "smithy.api#documentation": "

Information about the Capacity Reservation targeting option. If you do not specify this parameter, the\n instance's Capacity Reservation preference defaults to open, which enables\n it to run in any open Capacity Reservation that has matching attributes (instance type,\n platform, Availability Zone).

" + "smithy.api#documentation": "

Information about the Capacity Reservation targeting option. If you do not specify this parameter, the\n instance's Capacity Reservation preference defaults to open, which enables\n it to run in any open Capacity Reservation that has matching attributes (instance type,\n platform, Availability Zone, and tenancy).

" } }, "HibernationOptions": { diff --git a/codegen/sdk-codegen/aws-models/ecs.json b/codegen/sdk-codegen/aws-models/ecs.json index a1a2908a9eb..56b65bb7fcd 100644 --- a/codegen/sdk-codegen/aws-models/ecs.json +++ b/codegen/sdk-codegen/aws-models/ecs.json @@ -1503,6 +1503,23 @@ "smithy.api#documentation": "

The details of the Auto Scaling group capacity provider to update.

" } }, + "com.amazonaws.ecs#AvailabilityZoneRebalancing": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ENABLED" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DISABLED" + } + } + } + }, "com.amazonaws.ecs#AwsVpcConfiguration": { "type": "structure", "members": { @@ -3315,6 +3332,12 @@ "smithy.api#documentation": "

The family and revision (family:revision) or full ARN of the\n\t\t\ttask definition to run in your service. If a revision isn't specified, the latest\n\t\t\t\tACTIVE revision is used.

\n

A task definition must be specified if the service uses either the ECS or\n\t\t\t\tCODE_DEPLOY deployment controllers.

\n

For more information about deployment types, see Amazon ECS deployment types.

" } }, + "availabilityZoneRebalancing": { + "target": "com.amazonaws.ecs#AvailabilityZoneRebalancing", + "traits": { + "smithy.api#documentation": "

Indicates whether to use Availability Zone rebalancing for the service.

\n

For more information, see Balancing an Amazon ECS service across Availability Zones in\n\t\t\tthe Amazon Elastic Container Service Developer Guide.

" + } + }, "loadBalancers": { "target": "com.amazonaws.ecs#LoadBalancers", "traits": { @@ -3805,7 +3828,7 @@ } ], "traits": { - "smithy.api#documentation": "

Deletes the specified capacity provider.

\n \n

The FARGATE and FARGATE_SPOT capacity providers are reserved and can't\n\t\t\t\tbe deleted. You can disassociate them from a cluster using either PutCapacityProviderProviders or by deleting the cluster.

\n
\n

Prior to a capacity provider being deleted, the capacity provider must be removed from the capacity\n\t\t\tprovider strategy from all services. The UpdateService API can be used to\n\t\t\tremove a capacity provider from a service's capacity provider strategy. When updating a service, the\n\t\t\t\tforceNewDeployment option can be used to ensure that any tasks using the Amazon EC2\n\t\t\tinstance capacity provided by the capacity provider are transitioned to use the capacity from the\n\t\t\tremaining capacity providers. Only capacity providers that aren't associated with a cluster can be\n\t\t\tdeleted. To remove a capacity provider from a cluster, you can either use PutCapacityProviderProviders or delete the cluster.

" + "smithy.api#documentation": "

Deletes the specified capacity provider.

\n \n

The FARGATE and FARGATE_SPOT capacity providers are reserved and can't\n\t\t\t\tbe deleted. You can disassociate them from a cluster using either PutCapacityProviderProviders or by deleting the cluster.

\n
\n

Prior to a capacity provider being deleted, the capacity provider must be removed from the capacity\n\t\t\tprovider strategy from all services. The UpdateService API can be used to\n\t\t\tremove a capacity provider from a service's capacity provider strategy. When updating a service, the\n\t\t\t\tforceNewDeployment option can be used to ensure that any tasks using the Amazon EC2\n\t\t\tinstance capacity provided by the capacity provider are transitioned to use the capacity from the\n\t\t\tremaining capacity providers. Only capacity providers that aren't associated with a cluster can be\n\t\t\tdeleted. To remove a capacity provider from a cluster, you can either use PutClusterCapacityProviders or delete the cluster.

" } }, "com.amazonaws.ecs#DeleteCapacityProviderRequest": { @@ -4386,13 +4409,13 @@ "type": { "target": "com.amazonaws.ecs#DeploymentControllerType", "traits": { - "smithy.api#documentation": "

The deployment controller type to use.

\n

There are three deployment controller types available:

\n
\n
ECS
\n
\n

The rolling update (ECS) deployment type involves replacing the current\n\t\t\t\t\t\trunning version of the container with the latest version. The number of containers Amazon ECS\n\t\t\t\t\t\tadds or removes from the service during a rolling update is controlled by adjusting the\n\t\t\t\t\t\tminimum and maximum number of healthy tasks allowed during a service deployment, as\n\t\t\t\t\t\tspecified in the DeploymentConfiguration.

\n
\n
CODE_DEPLOY
\n
\n

The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment\n\t\t\t\t\t\tmodel powered by CodeDeploy, which allows you to verify a new deployment of a service before\n\t\t\t\t\t\tsending production traffic to it.

\n
\n
EXTERNAL
\n
\n

The external (EXTERNAL) deployment type enables you to use any third-party\n\t\t\t\t\t\tdeployment controller for full control over the deployment process for an Amazon ECS\n\t\t\t\t\t\tservice.

\n
\n
", + "smithy.api#documentation": "

The deployment controller type to use.

\n

There are three deployment controller types available:

\n
\n
ECS
\n
\n

The rolling update (ECS) deployment type involves replacing the current\n\t\t\t\t\t\trunning version of the container with the latest version. The number of containers Amazon ECS\n\t\t\t\t\t\tadds or removes from the service during a rolling update is controlled by adjusting the\n\t\t\t\t\t\tminimum and maximum number of healthy tasks allowed during a service deployment, as\n\t\t\t\t\t\tspecified in the DeploymentConfiguration.

\n

For more information about rolling deployments, see Deploy Amazon ECS services by replacing tasks in the Amazon Elastic Container Service Developer Guide.

\n
\n
CODE_DEPLOY
\n
\n

The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment\n\t\t\t\t\t\tmodel powered by CodeDeploy, which allows you to verify a new deployment of a service before\n\t\t\t\t\t\tsending production traffic to it.

\n

For more information about blue/green deployments, see Validate the state of an Amazon ECS service before deployment in the Amazon Elastic Container Service Developer Guide.

\n
\n
EXTERNAL
\n
\n

The external (EXTERNAL) deployment type enables you to use any third-party\n\t\t\t\t\t\tdeployment controller for full control over the deployment process for an Amazon ECS\n\t\t\t\t\t\tservice.

\n

For more information about external deployments, see Deploy Amazon ECS services using a third-party controller in the Amazon Elastic Container Service Developer Guide.

\n
\n
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

The deployment controller to use for the service. For more information, see Amazon ECS deployment\n\t\t\t\ttypes in the Amazon Elastic Container Service Developer Guide.

" + "smithy.api#documentation": "

The deployment controller to use for the service.

" } }, "com.amazonaws.ecs#DeploymentControllerType": { @@ -10373,6 +10396,12 @@ "smithy.api#default": false, "smithy.api#documentation": "

Determines whether the execute command functionality is turned on for the service. If\n\t\t\t\ttrue, the execute command functionality is turned on for all containers in tasks as\n\t\t\tpart of the service.

" } + }, + "availabilityZoneRebalancing": { + "target": "com.amazonaws.ecs#AvailabilityZoneRebalancing", + "traits": { + "smithy.api#documentation": "

Indicates whether to use Availability Zone rebalancing for the service.

\n

For more information, see Balancing an Amazon ECS service across Availability Zones in\n\t\t\tthe Amazon Elastic Container Service Developer Guide.

" + } } }, "traits": { @@ -13922,6 +13951,12 @@ "smithy.api#documentation": "

Optional deployment parameters that control how many tasks run during the deployment and the ordering\n\t\t\tof stopping and starting tasks.

" } }, + "availabilityZoneRebalancing": { + "target": "com.amazonaws.ecs#AvailabilityZoneRebalancing", + "traits": { + "smithy.api#documentation": "

Indicates whether to use Availability Zone rebalancing for the service.

\n

For more information, see Balancing an Amazon ECS service across Availability Zones in\n\t\t\tthe Amazon Elastic Container Service Developer Guide.

" + } + }, "networkConfiguration": { "target": "com.amazonaws.ecs#NetworkConfiguration", "traits": { diff --git a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json index 25f52d8f257..dddf0aa9af3 100644 --- a/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json +++ b/codegen/sdk-codegen/aws-models/elastic-load-balancing-v2.json @@ -813,6 +813,112 @@ "com.amazonaws.elasticloadbalancingv2#CanonicalHostedZoneId": { "type": "string" }, + "com.amazonaws.elasticloadbalancingv2#CapacityDecreaseRequestsLimitExceededException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.elasticloadbalancingv2#ErrorDescription" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "CapacityDecreaseRequestLimitExceeded", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

You've exceeded the daily capacity decrease limit for this reservation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.elasticloadbalancingv2#CapacityReservationPendingException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.elasticloadbalancingv2#ErrorDescription" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "CapacityReservationPending", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

There is a pending capacity reservation.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.elasticloadbalancingv2#CapacityReservationStateEnum": { + "type": "enum", + "members": { + "PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "provisioned" + } + }, + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "pending" + } + }, + "REBALANCING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "rebalancing" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "failed" + } + } + } + }, + "com.amazonaws.elasticloadbalancingv2#CapacityReservationStatus": { + "type": "structure", + "members": { + "Code": { + "target": "com.amazonaws.elasticloadbalancingv2#CapacityReservationStateEnum", + "traits": { + "smithy.api#documentation": "

The status code.

" + } + }, + "Reason": { + "target": "com.amazonaws.elasticloadbalancingv2#StateReason", + "traits": { + "smithy.api#documentation": "

The reason code for the status.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The status of a capacity reservation.

" + } + }, + "com.amazonaws.elasticloadbalancingv2#CapacityUnits": { + "type": "integer" + }, + "com.amazonaws.elasticloadbalancingv2#CapacityUnitsDouble": { + "type": "double" + }, + "com.amazonaws.elasticloadbalancingv2#CapacityUnitsLimitExceededException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.elasticloadbalancingv2#ErrorDescription" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "CapacityUnitsLimitExceeded", + "httpResponseCode": 400 + }, + "smithy.api#documentation": "

You've exceeded the capacity units limit.

", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, "com.amazonaws.elasticloadbalancingv2#Certificate": { "type": "structure", "members": { @@ -1810,6 +1916,9 @@ "com.amazonaws.elasticloadbalancingv2#DNSName": { "type": "string" }, + "com.amazonaws.elasticloadbalancingv2#DecreaseRequestsRemaining": { + "type": "integer" + }, "com.amazonaws.elasticloadbalancingv2#Default": { "type": "boolean" }, @@ -2262,6 +2371,71 @@ "smithy.api#output": {} } }, + "com.amazonaws.elasticloadbalancingv2#DescribeCapacityReservation": { + "type": "operation", + "input": { + "target": "com.amazonaws.elasticloadbalancingv2#DescribeCapacityReservationInput" + }, + "output": { + "target": "com.amazonaws.elasticloadbalancingv2#DescribeCapacityReservationOutput" + }, + "errors": [ + { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException" + } + ], + "traits": { + "smithy.api#documentation": "

Describes the capacity reservation status for the specified load balancer.

" + } + }, + "com.amazonaws.elasticloadbalancingv2#DescribeCapacityReservationInput": { + "type": "structure", + "members": { + "LoadBalancerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.elasticloadbalancingv2#DescribeCapacityReservationOutput": { + "type": "structure", + "members": { + "LastModifiedTime": { + "target": "com.amazonaws.elasticloadbalancingv2#LastModifiedTime", + "traits": { + "smithy.api#documentation": "

The last time the capacity reservation was modified.

" + } + }, + "DecreaseRequestsRemaining": { + "target": "com.amazonaws.elasticloadbalancingv2#DecreaseRequestsRemaining", + "traits": { + "smithy.api#documentation": "

The amount of daily capacity decreases remaining.

" + } + }, + "MinimumLoadBalancerCapacity": { + "target": "com.amazonaws.elasticloadbalancingv2#MinimumLoadBalancerCapacity", + "traits": { + "smithy.api#documentation": "

The requested minimum capacity reservation for the load balancer

" + } + }, + "CapacityReservationState": { + "target": "com.amazonaws.elasticloadbalancingv2#ZonalCapacityReservationStates", + "traits": { + "smithy.api#documentation": "

The state of the capacity reservation.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.elasticloadbalancingv2#DescribeListenerAttributes": { "type": "operation", "input": { @@ -3921,6 +4095,9 @@ { "target": "com.amazonaws.elasticloadbalancingv2#DescribeAccountLimits" }, + { + "target": "com.amazonaws.elasticloadbalancingv2#DescribeCapacityReservation" + }, { "target": "com.amazonaws.elasticloadbalancingv2#DescribeListenerAttributes" }, @@ -3972,6 +4149,9 @@ { "target": "com.amazonaws.elasticloadbalancingv2#GetTrustStoreRevocationContent" }, + { + "target": "com.amazonaws.elasticloadbalancingv2#ModifyCapacityReservation" + }, { "target": "com.amazonaws.elasticloadbalancingv2#ModifyListener" }, @@ -5458,6 +5638,23 @@ "smithy.api#httpError": 400 } }, + "com.amazonaws.elasticloadbalancingv2#InsufficientCapacityException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.elasticloadbalancingv2#ErrorDescription" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "InsufficientCapacity", + "httpResponseCode": 500 + }, + "smithy.api#documentation": "

There is insufficient capacity to reserve.

", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, "com.amazonaws.elasticloadbalancingv2#InvalidCaCertificatesBundleException": { "type": "structure", "members": { @@ -5623,6 +5820,9 @@ "com.amazonaws.elasticloadbalancingv2#IsDefault": { "type": "boolean" }, + "com.amazonaws.elasticloadbalancingv2#LastModifiedTime": { + "type": "timestamp" + }, "com.amazonaws.elasticloadbalancingv2#Limit": { "type": "structure", "members": { @@ -6140,6 +6340,20 @@ "com.amazonaws.elasticloadbalancingv2#Max": { "type": "string" }, + "com.amazonaws.elasticloadbalancingv2#MinimumLoadBalancerCapacity": { + "type": "structure", + "members": { + "CapacityUnits": { + "target": "com.amazonaws.elasticloadbalancingv2#CapacityUnits", + "traits": { + "smithy.api#documentation": "

The number of capacity units.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The minimum capacity for a load balancer.

" + } + }, "com.amazonaws.elasticloadbalancingv2#MitigationInEffectEnum": { "type": "enum", "members": { @@ -6160,6 +6374,104 @@ "com.amazonaws.elasticloadbalancingv2#Mode": { "type": "string" }, + "com.amazonaws.elasticloadbalancingv2#ModifyCapacityReservation": { + "type": "operation", + "input": { + "target": "com.amazonaws.elasticloadbalancingv2#ModifyCapacityReservationInput" + }, + "output": { + "target": "com.amazonaws.elasticloadbalancingv2#ModifyCapacityReservationOutput" + }, + "errors": [ + { + "target": "com.amazonaws.elasticloadbalancingv2#CapacityDecreaseRequestsLimitExceededException" + }, + { + "target": "com.amazonaws.elasticloadbalancingv2#CapacityReservationPendingException" + }, + { + "target": "com.amazonaws.elasticloadbalancingv2#CapacityUnitsLimitExceededException" + }, + { + "target": "com.amazonaws.elasticloadbalancingv2#InsufficientCapacityException" + }, + { + "target": "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException" + }, + { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerNotFoundException" + }, + { + "target": "com.amazonaws.elasticloadbalancingv2#OperationNotPermittedException" + }, + { + "target": "com.amazonaws.elasticloadbalancingv2#PriorRequestNotCompleteException" + } + ], + "traits": { + "smithy.api#documentation": "

Modifies the capacity reservation of the specified load balancer.

\n

When modifying capacity reservation, you must include at least one MinimumLoadBalancerCapacity \n or ResetCapacityReservation.

" + } + }, + "com.amazonaws.elasticloadbalancingv2#ModifyCapacityReservationInput": { + "type": "structure", + "members": { + "LoadBalancerArn": { + "target": "com.amazonaws.elasticloadbalancingv2#LoadBalancerArn", + "traits": { + "smithy.api#clientOptional": {}, + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the load balancer.

", + "smithy.api#required": {} + } + }, + "MinimumLoadBalancerCapacity": { + "target": "com.amazonaws.elasticloadbalancingv2#MinimumLoadBalancerCapacity", + "traits": { + "smithy.api#documentation": "

The minimum load balancer capacity reserved.

" + } + }, + "ResetCapacityReservation": { + "target": "com.amazonaws.elasticloadbalancingv2#ResetCapacityReservation", + "traits": { + "smithy.api#documentation": "

Resets the capacity reservation.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.elasticloadbalancingv2#ModifyCapacityReservationOutput": { + "type": "structure", + "members": { + "LastModifiedTime": { + "target": "com.amazonaws.elasticloadbalancingv2#LastModifiedTime", + "traits": { + "smithy.api#documentation": "

The last time the capacity reservation was modified.

" + } + }, + "DecreaseRequestsRemaining": { + "target": "com.amazonaws.elasticloadbalancingv2#DecreaseRequestsRemaining", + "traits": { + "smithy.api#documentation": "

The amount of daily capacity decreases remaining.

" + } + }, + "MinimumLoadBalancerCapacity": { + "target": "com.amazonaws.elasticloadbalancingv2#MinimumLoadBalancerCapacity", + "traits": { + "smithy.api#documentation": "

The requested minimum capacity reservation for the load balancer

" + } + }, + "CapacityReservationState": { + "target": "com.amazonaws.elasticloadbalancingv2#ZonalCapacityReservationStates", + "traits": { + "smithy.api#documentation": "

The state of the capacity reservation.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.elasticloadbalancingv2#ModifyListener": { "type": "operation", "input": { @@ -7150,6 +7462,23 @@ } } }, + "com.amazonaws.elasticloadbalancingv2#PriorRequestNotCompleteException": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.elasticloadbalancingv2#ErrorDescription" + } + }, + "traits": { + "aws.protocols#awsQueryError": { + "code": "PriorRequestNotComplete", + "httpResponseCode": 429 + }, + "smithy.api#documentation": "

This operation is not allowed while a prior request has not been completed.

", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, "com.amazonaws.elasticloadbalancingv2#PriorityInUseException": { "type": "structure", "members": { @@ -7630,6 +7959,9 @@ "smithy.api#output": {} } }, + "com.amazonaws.elasticloadbalancingv2#ResetCapacityReservation": { + "type": "boolean" + }, "com.amazonaws.elasticloadbalancingv2#ResourceArn": { "type": "string" }, @@ -8223,6 +8555,9 @@ { "target": "com.amazonaws.elasticloadbalancingv2#AvailabilityZoneNotSupportedException" }, + { + "target": "com.amazonaws.elasticloadbalancingv2#CapacityReservationPendingException" + }, { "target": "com.amazonaws.elasticloadbalancingv2#InvalidConfigurationRequestException" }, @@ -9636,6 +9971,38 @@ "com.amazonaws.elasticloadbalancingv2#VpcId": { "type": "string" }, + "com.amazonaws.elasticloadbalancingv2#ZonalCapacityReservationState": { + "type": "structure", + "members": { + "State": { + "target": "com.amazonaws.elasticloadbalancingv2#CapacityReservationStatus", + "traits": { + "smithy.api#documentation": "

The state of the capacity reservation.

" + } + }, + "AvailabilityZone": { + "target": "com.amazonaws.elasticloadbalancingv2#ZoneName", + "traits": { + "smithy.api#documentation": "

Information about the availability zone.

" + } + }, + "EffectiveCapacityUnits": { + "target": "com.amazonaws.elasticloadbalancingv2#CapacityUnitsDouble", + "traits": { + "smithy.api#documentation": "

The number of effective capacity units.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The capacity reservation status for each availability zone.

" + } + }, + "com.amazonaws.elasticloadbalancingv2#ZonalCapacityReservationStates": { + "type": "list", + "member": { + "target": "com.amazonaws.elasticloadbalancingv2#ZonalCapacityReservationState" + } + }, "com.amazonaws.elasticloadbalancingv2#ZoneName": { "type": "string" } diff --git a/codegen/sdk-codegen/aws-models/lambda.json b/codegen/sdk-codegen/aws-models/lambda.json index ec739162d52..49eb6ab3803 100644 --- a/codegen/sdk-codegen/aws-models/lambda.json +++ b/codegen/sdk-codegen/aws-models/lambda.json @@ -11262,6 +11262,12 @@ "traits": { "smithy.api#enumValue": "python3.13" } + }, + "nodejs22x": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "nodejs22.x" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/mediaconvert.json b/codegen/sdk-codegen/aws-models/mediaconvert.json index d3a6c258089..9ca11269d6e 100644 --- a/codegen/sdk-codegen/aws-models/mediaconvert.json +++ b/codegen/sdk-codegen/aws-models/mediaconvert.json @@ -5735,6 +5735,13 @@ "com.amazonaws.mediaconvert#CreateQueueRequest": { "type": "structure", "members": { + "ConcurrentJobs": { + "target": "com.amazonaws.mediaconvert#__integer", + "traits": { + "smithy.api#documentation": "Specify the maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, specify the number of jobs you can process concurrently in your reservation plan instead.", + "smithy.api#jsonName": "concurrentJobs" + } + }, "Description": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -16063,6 +16070,20 @@ "smithy.api#documentation": "List of queues.", "smithy.api#jsonName": "queues" } + }, + "TotalConcurrentJobs": { + "target": "com.amazonaws.mediaconvert#__integer", + "traits": { + "smithy.api#documentation": "The maximum number of jobs that MediaConvert can process at one time, across all of your on-demand queues in the current AWS Region.", + "smithy.api#jsonName": "totalConcurrentJobs" + } + }, + "UnallocatedConcurrentJobs": { + "target": "com.amazonaws.mediaconvert#__integer", + "traits": { + "smithy.api#documentation": "The remaining number of concurrent jobs that are not associated with a queue and are available to allocate to a queue. You can allocate these jobs when you create or update a queue.", + "smithy.api#jsonName": "unallocatedConcurrentJobs" + } } }, "traits": { @@ -21519,6 +21540,13 @@ "smithy.api#jsonName": "arn" } }, + "ConcurrentJobs": { + "target": "com.amazonaws.mediaconvert#__integer", + "traits": { + "smithy.api#documentation": "The maximum number of jobs your queue can process concurrently.", + "smithy.api#jsonName": "concurrentJobs" + } + }, "CreatedAt": { "target": "com.amazonaws.mediaconvert#__timestampUnix", "traits": { @@ -21570,6 +21598,13 @@ "smithy.api#jsonName": "reservationPlan" } }, + "ServiceOverrides": { + "target": "com.amazonaws.mediaconvert#__listOfServiceOverride", + "traits": { + "smithy.api#documentation": "A list of any service overrides applied by MediaConvert to the settings that you have configured. If you see any overrides, we recommend that you contact AWS Support.", + "smithy.api#jsonName": "serviceOverrides" + } + }, "Status": { "target": "com.amazonaws.mediaconvert#QueueStatus", "traits": { @@ -22376,6 +22411,42 @@ "smithy.api#output": {} } }, + "com.amazonaws.mediaconvert#ServiceOverride": { + "type": "structure", + "members": { + "Message": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "Details about the service override that MediaConvert has applied.", + "smithy.api#jsonName": "message" + } + }, + "Name": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "The name of the setting that MediaConvert has applied an override to.", + "smithy.api#jsonName": "name" + } + }, + "OverrideValue": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "The current value of the service override that MediaConvert has applied.", + "smithy.api#jsonName": "overrideValue" + } + }, + "Value": { + "target": "com.amazonaws.mediaconvert#__string", + "traits": { + "smithy.api#documentation": "The value of the setting that you configured, prior to any overrides that MediaConvert has applied.", + "smithy.api#jsonName": "value" + } + } + }, + "traits": { + "smithy.api#documentation": "A service override applied by MediaConvert to the settings that you have configured. If you see any overrides, we recommend that you contact AWS Support." + } + }, "com.amazonaws.mediaconvert#SimulateReservedQueue": { "type": "enum", "members": { @@ -23666,6 +23737,13 @@ "com.amazonaws.mediaconvert#UpdateQueueRequest": { "type": "structure", "members": { + "ConcurrentJobs": { + "target": "com.amazonaws.mediaconvert#__integer", + "traits": { + "smithy.api#documentation": "Specify the maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, update your reservation plan instead in order to increase your yearly commitment.", + "smithy.api#jsonName": "concurrentJobs" + } + }, "Description": { "target": "com.amazonaws.mediaconvert#__string", "traits": { @@ -27262,6 +27340,12 @@ "target": "com.amazonaws.mediaconvert#QueueTransition" } }, + "com.amazonaws.mediaconvert#__listOfServiceOverride": { + "type": "list", + "member": { + "target": "com.amazonaws.mediaconvert#ServiceOverride" + } + }, "com.amazonaws.mediaconvert#__listOfTeletextPageType": { "type": "list", "member": { diff --git a/codegen/sdk-codegen/aws-models/mediapackagev2.json b/codegen/sdk-codegen/aws-models/mediapackagev2.json index 430f33117da..4d8a04d92af 100644 --- a/codegen/sdk-codegen/aws-models/mediapackagev2.json +++ b/codegen/sdk-codegen/aws-models/mediapackagev2.json @@ -752,6 +752,18 @@ "smithy.api#documentation": "

Enter any descriptive text that helps you to identify the channel.

" } }, + "InputSwitchConfiguration": { + "target": "com.amazonaws.mediapackagev2#InputSwitchConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF.

" + } + }, + "OutputHeaderConfiguration": { + "target": "com.amazonaws.mediapackagev2#OutputHeaderConfiguration", + "traits": { + "smithy.api#documentation": "

The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF.

" + } + }, "Tags": { "target": "com.amazonaws.mediapackagev2#TagMap", "traits": { @@ -831,6 +843,18 @@ "aws.cloudformation#cfnExcludeProperty": {}, "smithy.api#documentation": "

The comma-separated list of tag key:value pairs assigned to the channel.

" } + }, + "InputSwitchConfiguration": { + "target": "com.amazonaws.mediapackagev2#InputSwitchConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF.

" + } + }, + "OutputHeaderConfiguration": { + "target": "com.amazonaws.mediapackagev2#OutputHeaderConfiguration", + "traits": { + "smithy.api#documentation": "

The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF.

" + } } }, "traits": { @@ -1282,7 +1306,7 @@ "ProgramDateTimeIntervalSeconds": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,\n EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.\n The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.\n ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.

\n

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

", + "smithy.api#documentation": "

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,\n EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.\n The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.

\n

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

", "smithy.api#range": { "min": 1, "max": 1209600 @@ -1337,7 +1361,7 @@ "ProgramDateTimeIntervalSeconds": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,\n EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.\n The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.\n ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.

\n

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

", + "smithy.api#documentation": "

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,\n EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.\n The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.

\n

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

", "smithy.api#range": { "min": 1, "max": 1209600 @@ -3240,6 +3264,18 @@ "aws.cloudformation#cfnExcludeProperty": {}, "smithy.api#documentation": "

The comma-separated list of tag key:value pairs assigned to the channel.

" } + }, + "InputSwitchConfiguration": { + "target": "com.amazonaws.mediapackagev2#InputSwitchConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF.

" + } + }, + "OutputHeaderConfiguration": { + "target": "com.amazonaws.mediapackagev2#OutputHeaderConfiguration", + "traits": { + "smithy.api#documentation": "

The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF.

" + } } }, "traits": { @@ -3662,7 +3698,7 @@ "ProgramDateTimeIntervalSeconds": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,\n EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.\n The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.\n ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.

\n

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

" + "smithy.api#documentation": "

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,\n EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.\n The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.

\n

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

" } }, "ScteHls": { @@ -3717,7 +3753,7 @@ "ProgramDateTimeIntervalSeconds": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,\n EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.\n The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.\n ID3Timed metadata messages generate every 5 seconds whenever the content is ingested.

\n

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

" + "smithy.api#documentation": "

Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval,\n EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest.\n The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player.

\n

Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output.

" } }, "ScteHls": { @@ -4483,6 +4519,20 @@ "smithy.api#documentation": "

The list of ingest endpoints.

" } }, + "com.amazonaws.mediapackagev2#InputSwitchConfiguration": { + "type": "structure", + "members": { + "MQCSInputSwitching": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is true. This setting is valid only when InputType is CMAF.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive.

" + } + }, "com.amazonaws.mediapackagev2#InputType": { "type": "enum", "members": { @@ -5736,6 +5786,20 @@ "target": "com.amazonaws.mediapackagev2#OriginEndpointListConfiguration" } }, + "com.amazonaws.mediapackagev2#OutputHeaderConfiguration": { + "type": "structure", + "members": { + "PublishMQCS": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

When true, AWS Elemental MediaPackage includes the MQCS in responses to the CDN. This setting is valid only when InputType is CMAF.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN.

" + } + }, "com.amazonaws.mediapackagev2#PolicyText": { "type": "string", "traits": { @@ -6840,6 +6904,18 @@ "traits": { "smithy.api#documentation": "

Any descriptive information that you want to add to the channel for future identification purposes.

" } + }, + "InputSwitchConfiguration": { + "target": "com.amazonaws.mediapackagev2#InputSwitchConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF.

" + } + }, + "OutputHeaderConfiguration": { + "target": "com.amazonaws.mediapackagev2#OutputHeaderConfiguration", + "traits": { + "smithy.api#documentation": "

The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF.

" + } } }, "traits": { @@ -6913,6 +6989,18 @@ "smithy.api#documentation": "

The comma-separated list of tag key:value pairs assigned to the channel.

", "smithy.api#jsonName": "tags" } + }, + "InputSwitchConfiguration": { + "target": "com.amazonaws.mediapackagev2#InputSwitchConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF.

" + } + }, + "OutputHeaderConfiguration": { + "target": "com.amazonaws.mediapackagev2#OutputHeaderConfiguration", + "traits": { + "smithy.api#documentation": "

The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF.

" + } } }, "traits": { @@ -7725,6 +7813,18 @@ "traits": { "smithy.api#enumValue": "START_TAG_TIME_OFFSET_INVALID" } + }, + "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING" + } + }, + "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/omics.json b/codegen/sdk-codegen/aws-models/omics.json index d28c1aef313..3aceb914bcf 100644 --- a/codegen/sdk-codegen/aws-models/omics.json +++ b/codegen/sdk-codegen/aws-models/omics.json @@ -795,6 +795,16 @@ "smithy.api#uniqueItems": {} } }, + "com.amazonaws.omics#AwsAccountId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 12, + "max": 12 + }, + "smithy.api#pattern": "^[0-9]+$" + } + }, "com.amazonaws.omics#BatchDeleteReadSet": { "type": "operation", "input": { @@ -873,6 +883,25 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#CacheBehavior": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "CACHE_ON_FAILURE", + "value": "CACHE_ON_FAILURE" + }, + { + "name": "CACHE_ALWAYS", + "value": "CACHE_ALWAYS" + } + ], + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, "com.amazonaws.omics#CancelAnnotationImportJob": { "type": "operation", "input": { @@ -1871,6 +1900,137 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#CreateRunCache": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#CreateRunCacheRequest" + }, + "output": { + "target": "com.amazonaws.omics#CreateRunCacheResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#RequestTimeoutException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

You can create a run cache to save the task outputs from completed tasks in a run for a private workflow. \n Subsequent runs use the task outputs from the cache, rather than computing the task outputs again.\n You specify an Amazon S3 location where HealthOmics saves the cached data. This data must be \n immediately accessible (not in an archived state).

\n

For more information, see Creating a run cache in the AWS HealthOmics User Guide.

", + "smithy.api#endpoint": { + "hostPrefix": "workflows-" + }, + "smithy.api#http": { + "method": "POST", + "uri": "/runCache", + "code": 201 + } + } + }, + "com.amazonaws.omics#CreateRunCacheRequest": { + "type": "structure", + "members": { + "cacheBehavior": { + "target": "com.amazonaws.omics#CacheBehavior", + "traits": { + "smithy.api#documentation": "

Default cache behavior for runs that use this cache. Supported values are:

\n

\n CACHE_ON_FAILURE: Caches task outputs from completed tasks for runs that fail. This setting is \n useful if you're debugging a workflow that fails after several\n tasks completed successfully. The subsequent run uses the cache outputs for previously-completed tasks if the task definition,\n inputs, and container in ECR are identical to the prior run.

\n

\n CACHE_ALWAYS: Caches task outputs from completed tasks for all runs. This setting\n is useful in development mode, but do not use it in a production setting.

\n

If you don't specify a value, the default behavior is CACHE_ON_FAILURE.\n When you start a run that uses this cache, you can override the default cache behavior.

\n

For more information, see Run cache behavior in the AWS HealthOmics User Guide.

" + } + }, + "cacheS3Location": { + "target": "com.amazonaws.omics#S3UriForBucketOrObject", + "traits": { + "smithy.api#documentation": "

Specify the S3 location for storing the cached task outputs.\n This data must be immediately accessible (not in an archived state).

", + "smithy.api#required": {} + } + }, + "description": { + "target": "com.amazonaws.omics#UserCustomDescription", + "traits": { + "smithy.api#documentation": "

Enter a description of the run cache.

" + } + }, + "name": { + "target": "com.amazonaws.omics#UserCustomName", + "traits": { + "smithy.api#documentation": "

Enter a user-friendly name for the run cache.

" + } + }, + "requestId": { + "target": "com.amazonaws.omics#RunCacheRequestId", + "traits": { + "smithy.api#documentation": "

A unique request token, to ensure idempotency. If you don't specify a token, \n HealthOmics automatically generates a universally unique identifier (UUID) for the request.

", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.omics#TagMap", + "traits": { + "smithy.api#documentation": "

Specify one or more tags to associate with this run cache.

" + } + }, + "cacheBucketOwnerId": { + "target": "com.amazonaws.omics#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The AWS account ID of the expected owner of the S3 bucket for the run cache.\n If not provided, your account ID is set as the owner of the bucket.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#CreateRunCacheResponse": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.omics#RunCacheArn", + "traits": { + "smithy.api#documentation": "

Unique resource identifier for the run cache.

" + } + }, + "id": { + "target": "com.amazonaws.omics#RunCacheId", + "traits": { + "smithy.api#documentation": "

Identifier for the run cache.

" + } + }, + "status": { + "target": "com.amazonaws.omics#RunCacheStatus", + "traits": { + "smithy.api#documentation": "

Run cache status.

" + } + }, + "tags": { + "target": "com.amazonaws.omics#TagMap", + "traits": { + "smithy.api#documentation": "

The tags associated with this run cache.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.omics#CreateRunGroup": { "type": "operation", "input": { @@ -2940,6 +3100,69 @@ "smithy.api#idempotent": {} } }, + "com.amazonaws.omics#DeleteRunCache": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#DeleteRunCacheRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#RequestTimeoutException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Delete a run cache. This action removes the cache metadata stored in the service account, \n but doesn't delete the data in Amazon S3. \n You can access the cache data in Amazon S3, for inspection or to troubleshoot issues. \n You can remove old cache data using standard S3 Delete operations.\n

\n

For more information, see Deleting a run cache in the AWS HealthOmics User Guide.

", + "smithy.api#endpoint": { + "hostPrefix": "workflows-" + }, + "smithy.api#http": { + "method": "DELETE", + "uri": "/runCache/{id}", + "code": 202 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.omics#DeleteRunCacheRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.omics#RunCacheId", + "traits": { + "smithy.api#documentation": "

Run cache identifier for the cache you want to delete.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.omics#DeleteRunGroup": { "type": "operation", "input": { @@ -3431,6 +3654,12 @@ "smithy.api#pattern": "^[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+$" } }, + "com.amazonaws.omics#EngineVersion": { + "type": "string", + "traits": { + "smithy.api#pattern": "^[0-9]{2}.[0-9]{2}.[0-9]$" + } + }, "com.amazonaws.omics#EscapeChar": { "type": "string", "traits": { @@ -5987,7 +6216,7 @@ } ], "traits": { - "smithy.api#documentation": "

Gets information about a workflow run.

\n

If a workflow is shared with you, you cannot export information about the run.

", + "smithy.api#documentation": "

Gets information about a workflow run.

\n

If a workflow is shared with you, you cannot export information about the run.

\n

HealthOmics stores a fixed number of runs that are available to the console and API. If \n GetRun doesn't return the requested run, you can find run logs \n for all runs in the CloudWatch logs. For more information about viewing the run logs, see CloudWatch logs \n in the AWS HealthOmics User Guide.

", "smithy.api#endpoint": { "hostPrefix": "workflows-" }, @@ -6125,6 +6354,137 @@ } } }, + "com.amazonaws.omics#GetRunCache": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#GetRunCacheRequest" + }, + "output": { + "target": "com.amazonaws.omics#GetRunCacheResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#RequestTimeoutException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieve the details for the specified run cache.

\n

For more information, see Call caching for HealthOmics runs in the AWS HealthOmics User Guide.

", + "smithy.api#endpoint": { + "hostPrefix": "workflows-" + }, + "smithy.api#http": { + "method": "GET", + "uri": "/runCache/{id}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.omics#GetRunCacheRequest": { + "type": "structure", + "members": { + "id": { + "target": "com.amazonaws.omics#RunCacheId", + "traits": { + "smithy.api#documentation": "

The identifier of the run cache to retrieve.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#GetRunCacheResponse": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.omics#RunCacheArn", + "traits": { + "smithy.api#documentation": "

Unique resource identifier for the run cache.

" + } + }, + "cacheBehavior": { + "target": "com.amazonaws.omics#CacheBehavior", + "traits": { + "smithy.api#documentation": "

The default cache behavior for runs using this cache.

" + } + }, + "cacheBucketOwnerId": { + "target": "com.amazonaws.omics#AwsAccountId", + "traits": { + "smithy.api#documentation": "

The identifier of the bucket owner.

" + } + }, + "cacheS3Uri": { + "target": "com.amazonaws.omics#S3UriForBucketOrObject", + "traits": { + "smithy.api#documentation": "

The S3 URI where the cache data is stored.

" + } + }, + "creationTime": { + "target": "com.amazonaws.omics#RunCacheTimestamp", + "traits": { + "smithy.api#documentation": "

Creation time of the run cache (an ISO 8601 formatted string).

" + } + }, + "description": { + "target": "com.amazonaws.omics#UserCustomDescription", + "traits": { + "smithy.api#documentation": "

The run cache description.

" + } + }, + "id": { + "target": "com.amazonaws.omics#RunCacheId", + "traits": { + "smithy.api#documentation": "

The run cache ID.

" + } + }, + "name": { + "target": "com.amazonaws.omics#UserCustomName", + "traits": { + "smithy.api#documentation": "

The run cache name.

" + } + }, + "status": { + "target": "com.amazonaws.omics#RunCacheStatus", + "traits": { + "smithy.api#documentation": "

The run cache status.

" + } + }, + "tags": { + "target": "com.amazonaws.omics#TagMap", + "traits": { + "smithy.api#documentation": "

The tags associated with the run cache.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.omics#GetRunGroup": { "type": "operation", "input": { @@ -6304,6 +6664,24 @@ "smithy.api#documentation": "

The run's ID.

" } }, + "cacheId": { + "target": "com.amazonaws.omics#NumericIdInArn", + "traits": { + "smithy.api#documentation": "

The run cache associated with the run.

" + } + }, + "cacheBehavior": { + "target": "com.amazonaws.omics#CacheBehavior", + "traits": { + "smithy.api#documentation": "

The run cache behavior for the run.

" + } + }, + "engineVersion": { + "target": "com.amazonaws.omics#EngineVersion", + "traits": { + "smithy.api#documentation": "

The workflow engine version.

" + } + }, "status": { "target": "com.amazonaws.omics#RunStatus", "traits": { @@ -6718,6 +7096,18 @@ } } }, + "cacheHit": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Set to true if AWS HealthOmics found a matching entry in the run cache for this task.

" + } + }, + "cacheS3Uri": { + "target": "com.amazonaws.omics#S3UriForBucketOrObject", + "traits": { + "smithy.api#documentation": "

The S3 URI of the cache location.

" + } + }, "memory": { "target": "smithy.api#Integer", "traits": { @@ -9398,10 +9788,110 @@ "smithy.api#httpQuery": "nextToken" } }, - "filter": { - "target": "com.amazonaws.omics#ReferenceFilter", + "filter": { + "target": "com.amazonaws.omics#ReferenceFilter", + "traits": { + "smithy.api#documentation": "

A filter to apply to the list.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.omics#ListReferencesResponse": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.omics#NextToken", + "traits": { + "smithy.api#documentation": "

A pagination token that's included if more results are available.

" + } + }, + "references": { + "target": "com.amazonaws.omics#ReferenceList", + "traits": { + "smithy.api#documentation": "

A list of references.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.omics#ListRunCaches": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#ListRunCachesRequest" + }, + "output": { + "target": "com.amazonaws.omics#ListRunCachesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#RequestTimeoutException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves a list of your run caches.

", + "smithy.api#endpoint": { + "hostPrefix": "workflows-" + }, + "smithy.api#http": { + "method": "GET", + "uri": "/runCache", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "startingToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "items" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.omics#ListRunCachesRequest": { + "type": "structure", + "members": { + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "

The maximum number of results to return.

", + "smithy.api#httpQuery": "maxResults", + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "startingToken": { + "target": "com.amazonaws.omics#ListToken", "traits": { - "smithy.api#documentation": "

A filter to apply to the list.

" + "smithy.api#documentation": "

Optional pagination token returned from a prior call to the ListRunCaches API operation.

", + "smithy.api#httpQuery": "startingToken" } } }, @@ -9409,20 +9899,19 @@ "smithy.api#input": {} } }, - "com.amazonaws.omics#ListReferencesResponse": { + "com.amazonaws.omics#ListRunCachesResponse": { "type": "structure", "members": { - "nextToken": { - "target": "com.amazonaws.omics#NextToken", + "items": { + "target": "com.amazonaws.omics#RunCacheList", "traits": { - "smithy.api#documentation": "

A pagination token that's included if more results are available.

" + "smithy.api#documentation": "

Details about each run cache in the response.

" } }, - "references": { - "target": "com.amazonaws.omics#ReferenceList", + "nextToken": { + "target": "com.amazonaws.omics#ListToken", "traits": { - "smithy.api#documentation": "

A list of references.

", - "smithy.api#required": {} + "smithy.api#documentation": "

Pagination token to retrieve additional run caches. If the response does not have a \n nextTokenvalue, you have reached to the end of the list.

" } } }, @@ -9685,7 +10174,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves a list of runs.

", + "smithy.api#documentation": "

Retrieves a list of runs.

\n

HealthOmics stores a fixed number of runs that are available to the console and API. If \n the ListRuns response doesn't include specific runs that you expected, you can find run logs \n for all runs in the CloudWatch logs. For more information about viewing the run logs, see CloudWatch logs \n in the AWS HealthOmics User Guide.

", "smithy.api#endpoint": { "hostPrefix": "workflows-" }, @@ -10051,6 +10540,16 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#ListToken": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+$" + } + }, "com.amazonaws.omics#ListVariantImportJobs": { "type": "operation", "input": { @@ -10546,6 +11045,16 @@ "smithy.api#httpError": 405 } }, + "com.amazonaws.omics#NumericIdInArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 18 + }, + "smithy.api#pattern": "^[0-9]+$" + } + }, "com.amazonaws.omics#Omics": { "type": "service", "version": "2022-11-28", @@ -10562,6 +11071,9 @@ { "target": "com.amazonaws.omics#ReferenceStoreResource" }, + { + "target": "com.amazonaws.omics#RunCacheResource" + }, { "target": "com.amazonaws.omics#RunGroupResource" }, @@ -12691,6 +13203,159 @@ "smithy.api#pattern": "^arn:.+$" } }, + "com.amazonaws.omics#RunCacheArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^arn:.+$" + } + }, + "com.amazonaws.omics#RunCacheId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 18 + }, + "smithy.api#pattern": "^[0-9]+$" + } + }, + "com.amazonaws.omics#RunCacheList": { + "type": "list", + "member": { + "target": "com.amazonaws.omics#RunCacheListItem" + } + }, + "com.amazonaws.omics#RunCacheListItem": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.omics#RunCacheArn", + "traits": { + "smithy.api#documentation": "

Unique resource identifier for the run cache.

" + } + }, + "cacheBehavior": { + "target": "com.amazonaws.omics#CacheBehavior", + "traits": { + "smithy.api#documentation": "

Default cache behavior for the run cache.

" + } + }, + "cacheS3Uri": { + "target": "com.amazonaws.omics#S3UriForBucketOrObject", + "traits": { + "smithy.api#documentation": "

The S3 uri for the run cache data.

" + } + }, + "creationTime": { + "target": "com.amazonaws.omics#RunCacheTimestamp", + "traits": { + "smithy.api#documentation": "

The time that this run cache was created (an ISO 8601 formatted string).

" + } + }, + "id": { + "target": "com.amazonaws.omics#RunCacheId", + "traits": { + "smithy.api#documentation": "

The identifier for this run cache.

" + } + }, + "name": { + "target": "com.amazonaws.omics#UserCustomName", + "traits": { + "smithy.api#documentation": "

The name of the run cache.

" + } + }, + "status": { + "target": "com.amazonaws.omics#RunCacheStatus", + "traits": { + "smithy.api#documentation": "

The run cache status.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

List entry for one run cache.

" + } + }, + "com.amazonaws.omics#RunCacheRequestId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+$" + } + }, + "com.amazonaws.omics#RunCacheResource": { + "type": "resource", + "identifiers": { + "id": { + "target": "com.amazonaws.omics#RunCacheId" + } + }, + "create": { + "target": "com.amazonaws.omics#CreateRunCache" + }, + "read": { + "target": "com.amazonaws.omics#GetRunCache" + }, + "update": { + "target": "com.amazonaws.omics#UpdateRunCache" + }, + "delete": { + "target": "com.amazonaws.omics#DeleteRunCache" + }, + "list": { + "target": "com.amazonaws.omics#ListRunCaches" + }, + "traits": { + "aws.api#arn": { + "template": "runCache/{id}" + }, + "aws.cloudformation#cfnResource": { + "name": "RunCache" + }, + "aws.iam#conditionKeys": [ + "aws:ResourceTag/${TagKey}" + ], + "aws.iam#disableConditionKeyInference": {}, + "aws.iam#iamResource": { + "name": "runCache" + } + } + }, + "com.amazonaws.omics#RunCacheStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "ACTIVE", + "value": "ACTIVE" + }, + { + "name": "DELETED", + "value": "DELETED" + }, + { + "name": "FAILED", + "value": "FAILED" + } + ], + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.omics#RunCacheTimestamp": { + "type": "timestamp", + "traits": { + "smithy.api#timestampFormat": "date-time" + } + }, "com.amazonaws.omics#RunExport": { "type": "string", "traits": { @@ -13296,6 +13961,13 @@ "smithy.api#pattern": "^s3://([a-z0-9][a-z0-9-.]{1,61}[a-z0-9])/(.{1,1024})$" } }, + "com.amazonaws.omics#S3UriForBucketOrObject": { + "type": "string", + "traits": { + "smithy.api#documentation": "Uri to a S3 object or bucket", + "smithy.api#pattern": "^s3://([a-z0-9][a-z0-9-.]{1,61}[a-z0-9])(/(.{0,1024}))?$" + } + }, "com.amazonaws.omics#SampleId": { "type": "string", "traits": { @@ -14657,7 +15329,7 @@ } ], "traits": { - "smithy.api#documentation": "

Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The\n remaining parameters are copied from the previous run.

\n

StartRun will not support re-run for a workflow that is shared with you.

\n

The total number of runs in your account is subject to a quota per Region. To avoid\n needing to delete runs manually, you can set the retention mode to REMOVE.\n Runs with this setting are deleted automatically when the run quoata is exceeded.

\n

By default, the run uses STATIC storage. For STATIC storage, set the storageCapacity field. \n You can set the storage type to DYNAMIC. You do not set storageCapacity,\n because HealthOmics dynamically scales the storage up or down as required.\n For more information about static and dynamic storage, see Running workflows \n in the AWS HealthOmics User Guide.

", + "smithy.api#documentation": "

Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The\n remaining parameters are copied from the previous run.

\n

StartRun will not support re-run for a workflow that is shared with you.

\n

HealthOmics stores a fixed number of runs that are available to the console and API.\n By default, HealthOmics doesn't any remove any runs. If HealthOmics reaches the maximum \n number of runs, you must manually remove runs. To have older runs removed automatically,\n set the retention mode to REMOVE.

\n

By default, the run uses STATIC storage. For STATIC storage, set the storageCapacity field. \n You can set the storage type to DYNAMIC. You do not set storageCapacity,\n because HealthOmics dynamically scales the storage up or down as required.\n For more information about static and dynamic storage, see Running workflows \n in the AWS HealthOmics User Guide.

", "smithy.api#endpoint": { "hostPrefix": "workflows-" }, @@ -14702,6 +15374,18 @@ "smithy.api#documentation": "

A name for the run.

" } }, + "cacheId": { + "target": "com.amazonaws.omics#NumericIdInArn", + "traits": { + "smithy.api#documentation": "

Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached \n for this run.

" + } + }, + "cacheBehavior": { + "target": "com.amazonaws.omics#CacheBehavior", + "traits": { + "smithy.api#documentation": "

The cache behavior for the run. You specify this value if you want to override\n the default behavior for the cache. You had set the default value when you created the cache.\n For more information, see Run cache behavior in the AWS HealthOmics User Guide.

" + } + }, "runGroupId": { "target": "com.amazonaws.omics#RunGroupId", "traits": { @@ -14763,7 +15447,7 @@ "retentionMode": { "target": "com.amazonaws.omics#RunRetentionMode", "traits": { - "smithy.api#documentation": "

The retention mode for the run.

" + "smithy.api#documentation": "

The retention mode for the run. The default value is RETAIN.

\n

HealthOmics stores a fixed number of runs that are available to the console and API. \n In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum.\n If you set the retention mode to REMOVE, HealthOmics automatically \n removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum.\n All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API.

\n

For more information about retention mode, see Specifying run retention mode \n in the AWS HealthOmics User Guide.

" } }, "storageType": { @@ -14789,7 +15473,7 @@ "arn": { "target": "com.amazonaws.omics#RunArn", "traits": { - "smithy.api#documentation": "

The run's ARN.

" + "smithy.api#documentation": "

Unique resource identifier for the run.

" } }, "id": { @@ -15269,6 +15953,18 @@ } } }, + "cacheHit": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "

Set to true if AWS HealthOmics found a matching entry in the run cache for this task.

" + } + }, + "cacheS3Uri": { + "target": "com.amazonaws.omics#S3UriForBucketOrObject", + "traits": { + "smithy.api#documentation": "

The S3 URI of the cache location.

" + } + }, "memory": { "target": "smithy.api#Integer", "traits": { @@ -15858,6 +16554,86 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#UpdateRunCache": { + "type": "operation", + "input": { + "target": "com.amazonaws.omics#UpdateRunCacheRequest" + }, + "output": { + "target": "smithy.api#Unit" + }, + "errors": [ + { + "target": "com.amazonaws.omics#AccessDeniedException" + }, + { + "target": "com.amazonaws.omics#ConflictException" + }, + { + "target": "com.amazonaws.omics#InternalServerException" + }, + { + "target": "com.amazonaws.omics#RequestTimeoutException" + }, + { + "target": "com.amazonaws.omics#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.omics#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.omics#ThrottlingException" + }, + { + "target": "com.amazonaws.omics#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Update a run cache.

", + "smithy.api#endpoint": { + "hostPrefix": "workflows-" + }, + "smithy.api#http": { + "method": "POST", + "uri": "/runCache/{id}", + "code": 202 + } + } + }, + "com.amazonaws.omics#UpdateRunCacheRequest": { + "type": "structure", + "members": { + "cacheBehavior": { + "target": "com.amazonaws.omics#CacheBehavior", + "traits": { + "smithy.api#documentation": "

Update the default run cache behavior.

" + } + }, + "description": { + "target": "com.amazonaws.omics#UserCustomDescription", + "traits": { + "smithy.api#documentation": "

Update the run cache description.

" + } + }, + "id": { + "target": "com.amazonaws.omics#RunCacheId", + "traits": { + "smithy.api#documentation": "

The identifier of the run cache you want to update.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "name": { + "target": "com.amazonaws.omics#UserCustomName", + "traits": { + "smithy.api#documentation": "

Update the name of the run cache.

" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, "com.amazonaws.omics#UpdateRunGroup": { "type": "operation", "input": { @@ -16289,6 +17065,26 @@ "smithy.api#output": {} } }, + "com.amazonaws.omics#UserCustomDescription": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+$" + } + }, + "com.amazonaws.omics#UserCustomName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^[\\p{L}||\\p{M}||\\p{Z}||\\p{S}||\\p{N}||\\p{P}]+$" + } + }, "com.amazonaws.omics#ValidationException": { "type": "structure", "members": { diff --git a/codegen/sdk-codegen/aws-models/rbin.json b/codegen/sdk-codegen/aws-models/rbin.json index 63d8601fe58..f89e8d45c46 100644 --- a/codegen/sdk-codegen/aws-models/rbin.json +++ b/codegen/sdk-codegen/aws-models/rbin.json @@ -1018,7 +1018,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a Recycle Bin retention rule. For more information, see \n Create Recycle Bin retention rules in the Amazon Elastic Compute Cloud User Guide.

", + "smithy.api#documentation": "

Creates a Recycle Bin retention rule. You can create two types of retention rules:

\n \n

For more information, see \n Create Recycle Bin retention rules in the Amazon EBS User Guide.

", "smithy.api#http": { "method": "POST", "uri": "/rules", @@ -1058,7 +1058,7 @@ "ResourceTags": { "target": "com.amazonaws.rbin#ResourceTags", "traits": { - "smithy.api#documentation": "

Specifies the resource tags to use to identify resources that are to be retained by a \n tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that \n have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have \n any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.

\n

You can add the same tag key and value pair to a maximum or five retention rules.

\n

To create a Region-level retention rule, omit this parameter. A Region-level retention rule \n does not have any resource tags specified. It retains all deleted resources of the specified \n resource type in the Region in which the rule is created, even if the resources are not tagged.

" + "smithy.api#documentation": "

[Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a \n tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that \n have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have \n any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.

\n

You can add the same tag key and value pair to a maximum or five retention rules.

\n

To create a Region-level retention rule, omit this parameter. A Region-level retention rule \n does not have any resource tags specified. It retains all deleted resources of the specified \n resource type in the Region in which the rule is created, even if the resources are not tagged.

" } }, "LockConfiguration": { @@ -1066,6 +1066,12 @@ "traits": { "smithy.api#documentation": "

Information about the retention rule lock configuration.

" } + }, + "ExcludeResourceTags": { + "target": "com.amazonaws.rbin#ExcludeResourceTags", + "traits": { + "smithy.api#documentation": "

[Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, \nor ignored, by a Region-level retention rule. Resources that have any of these tags are not retained by the retention rule \nupon deletion.

\n

You can't specify exclusion tags for tag-level retention rules.

" + } } }, "traits": { @@ -1105,7 +1111,7 @@ "ResourceTags": { "target": "com.amazonaws.rbin#ResourceTags", "traits": { - "smithy.api#documentation": "

Information about the resource tags used to identify resources that are retained by the retention \n rule.

" + "smithy.api#documentation": "

[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention \n rule.

" } }, "Status": { @@ -1123,7 +1129,7 @@ "LockState": { "target": "com.amazonaws.rbin#LockState", "traits": { - "smithy.api#documentation": "

The lock state for the retention rule.

\n " + "smithy.api#documentation": "

[Region-level retention rules only] The lock state for the retention rule.

\n " } }, "RuleArn": { @@ -1131,6 +1137,12 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" } + }, + "ExcludeResourceTags": { + "target": "com.amazonaws.rbin#ExcludeResourceTags", + "traits": { + "smithy.api#documentation": "

[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be \nexcluded, or ignored, by the retention rule.

" + } } }, "traits": { @@ -1200,6 +1212,18 @@ "com.amazonaws.rbin#ErrorMessage": { "type": "string" }, + "com.amazonaws.rbin#ExcludeResourceTags": { + "type": "list", + "member": { + "target": "com.amazonaws.rbin#ResourceTag" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 5 + } + } + }, "com.amazonaws.rbin#GetRule": { "type": "operation", "input": { @@ -1274,7 +1298,7 @@ "ResourceTags": { "target": "com.amazonaws.rbin#ResourceTags", "traits": { - "smithy.api#documentation": "

Information about the resource tags used to identify resources that are retained by the retention \n rule.

" + "smithy.api#documentation": "

[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention \n rule.

" } }, "Status": { @@ -1292,7 +1316,7 @@ "LockState": { "target": "com.amazonaws.rbin#LockState", "traits": { - "smithy.api#documentation": "

The lock state for the retention rule.

\n " + "smithy.api#documentation": "

[Region-level retention rules only] The lock state for the retention rule.

\n " } }, "LockEndTime": { @@ -1306,6 +1330,12 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" } + }, + "ExcludeResourceTags": { + "target": "com.amazonaws.rbin#ExcludeResourceTags", + "traits": { + "smithy.api#documentation": "

[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be \nexcluded, or ignored, by the retention rule.

" + } } }, "traits": { @@ -1381,7 +1411,7 @@ "ResourceTags": { "target": "com.amazonaws.rbin#ResourceTags", "traits": { - "smithy.api#documentation": "

Information about the resource tags used to identify resources that are retained by the retention \n rule.

" + "smithy.api#documentation": "

[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention \n rule.

" } }, "LockState": { @@ -1389,6 +1419,12 @@ "traits": { "smithy.api#documentation": "

The lock state of the retention rules to list. Only retention rules with the specified \n lock state are returned.

" } + }, + "ExcludeResourceTags": { + "target": "com.amazonaws.rbin#ExcludeResourceTags", + "traits": { + "smithy.api#documentation": "

[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be \nexcluded, or ignored, by the retention rule.

" + } } }, "traits": { @@ -1511,7 +1547,7 @@ } ], "traits": { - "smithy.api#documentation": "

Locks a retention rule. A locked retention rule can't be modified or deleted.

", + "smithy.api#documentation": "

Locks a Region-level retention rule. A locked retention rule can't be modified or \n deleted.

\n \n

You can't lock tag-level retention rules, or Region-level retention rules that \n have exclusion tags.

\n
", "smithy.api#http": { "method": "PATCH", "uri": "/rules/{Identifier}/lock", @@ -1569,7 +1605,7 @@ "ResourceTags": { "target": "com.amazonaws.rbin#ResourceTags", "traits": { - "smithy.api#documentation": "

Information about the resource tags used to identify resources that are retained by the retention \n rule.

" + "smithy.api#documentation": "

[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention \n rule.

" } }, "Status": { @@ -1587,7 +1623,7 @@ "LockState": { "target": "com.amazonaws.rbin#LockState", "traits": { - "smithy.api#documentation": "

The lock state for the retention rule.

\n " + "smithy.api#documentation": "

[Region-level retention rules only] The lock state for the retention rule.

\n " } }, "RuleArn": { @@ -1595,6 +1631,12 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" } + }, + "ExcludeResourceTags": { + "target": "com.amazonaws.rbin#ExcludeResourceTags", + "traits": { + "smithy.api#documentation": "

[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be \nexcluded, or ignored, by the retention rule.

" + } } }, "traits": { @@ -1687,7 +1729,7 @@ } }, "traits": { - "smithy.api#documentation": "

Information about the resource tags used to identify resources that are retained by the retention \n rule.

" + "smithy.api#documentation": "

[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention \n rule.

" } }, "com.amazonaws.rbin#ResourceTagKey": { @@ -1830,7 +1872,7 @@ "LockState": { "target": "com.amazonaws.rbin#LockState", "traits": { - "smithy.api#documentation": "

The lock state for the retention rule.

\n " + "smithy.api#documentation": "

[Region-level retention rules only] The lock state for the retention rule.

\n " } }, "RuleArn": { @@ -2126,7 +2168,7 @@ "ResourceTags": { "target": "com.amazonaws.rbin#ResourceTags", "traits": { - "smithy.api#documentation": "

Information about the resource tags used to identify resources that are retained by the retention \n rule.

" + "smithy.api#documentation": "

[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention \n rule.

" } }, "Status": { @@ -2144,7 +2186,7 @@ "LockState": { "target": "com.amazonaws.rbin#LockState", "traits": { - "smithy.api#documentation": "

The lock state for the retention rule.

\n " + "smithy.api#documentation": "

[Region-level retention rules only] The lock state for the retention rule.

\n " } }, "LockEndTime": { @@ -2158,6 +2200,12 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" } + }, + "ExcludeResourceTags": { + "target": "com.amazonaws.rbin#ExcludeResourceTags", + "traits": { + "smithy.api#documentation": "

[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be \nexcluded, or ignored, by the retention rule.

" + } } }, "traits": { @@ -2289,7 +2337,13 @@ "ResourceTags": { "target": "com.amazonaws.rbin#ResourceTags", "traits": { - "smithy.api#documentation": "

Specifies the resource tags to use to identify resources that are to be retained by a \n tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that \n have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have \n any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.

\n

You can add the same tag key and value pair to a maximum or five retention rules.

\n

To create a Region-level retention rule, omit this parameter. A Region-level retention rule \n does not have any resource tags specified. It retains all deleted resources of the specified \n resource type in the Region in which the rule is created, even if the resources are not tagged.

" + "smithy.api#documentation": "

[Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a \n tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that \n have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have \n any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule.

\n

You can add the same tag key and value pair to a maximum or five retention rules.

\n

To create a Region-level retention rule, omit this parameter. A Region-level retention rule \n does not have any resource tags specified. It retains all deleted resources of the specified \n resource type in the Region in which the rule is created, even if the resources are not tagged.

" + } + }, + "ExcludeResourceTags": { + "target": "com.amazonaws.rbin#ExcludeResourceTags", + "traits": { + "smithy.api#documentation": "

[Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, \nor ignored, by a Region-level retention rule. Resources that have any of these tags are not retained by the retention rule \nupon deletion.

\n

You can't specify exclusion tags for tag-level retention rules.

" } } }, @@ -2324,7 +2378,7 @@ "ResourceTags": { "target": "com.amazonaws.rbin#ResourceTags", "traits": { - "smithy.api#documentation": "

Information about the resource tags used to identify resources that are retained by the retention \n rule.

" + "smithy.api#documentation": "

[Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention \n rule.

" } }, "Status": { @@ -2336,7 +2390,7 @@ "LockState": { "target": "com.amazonaws.rbin#LockState", "traits": { - "smithy.api#documentation": "

The lock state for the retention rule.

\n " + "smithy.api#documentation": "

[Region-level retention rules only] The lock state for the retention rule.

\n " } }, "LockEndTime": { @@ -2350,6 +2404,12 @@ "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the retention rule.

" } + }, + "ExcludeResourceTags": { + "target": "com.amazonaws.rbin#ExcludeResourceTags", + "traits": { + "smithy.api#documentation": "

[Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be \nexcluded, or ignored, by the retention rule.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/rds.json b/codegen/sdk-codegen/aws-models/rds.json index bdd0cb773f0..f6ff0ca7d80 100644 --- a/codegen/sdk-codegen/aws-models/rds.json +++ b/codegen/sdk-codegen/aws-models/rds.json @@ -3687,7 +3687,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a blue/green deployment.

\n

A blue/green deployment creates a staging environment that copies the production environment. \n In a blue/green deployment, the blue environment is the current production environment. \n The green environment is the staging environment. The staging environment stays in sync \n with the current production environment using logical replication.

\n

You can make changes to the databases in the green environment without affecting \n production workloads. For example, you can upgrade the major or minor DB engine version, change \n database parameters, or make schema changes in the staging environment. You can thoroughly test \n changes in the green environment. When ready, you can switch over the environments to promote the \n green environment to be the new production environment. The switchover typically takes under a minute.

\n

For more information, see Using Amazon RDS Blue/Green Deployments \n for database updates in the Amazon RDS User Guide and \n \n Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora \n User Guide.

" + "smithy.api#documentation": "

Creates a blue/green deployment.

\n

A blue/green deployment creates a staging environment that copies the production environment. \n In a blue/green deployment, the blue environment is the current production environment. \n The green environment is the staging environment, and it stays in sync \n with the current production environment.

\n

You can make changes to the databases in the green environment without affecting \n production workloads. For example, you can upgrade the major or minor DB engine version, change \n database parameters, or make schema changes in the staging environment. You can thoroughly test \n changes in the green environment. When ready, you can switch over the environments to promote the \n green environment to be the new production environment. The switchover typically takes under a minute.

\n

For more information, see Using Amazon RDS Blue/Green Deployments \n for database updates in the Amazon RDS User Guide and \n \n Using Amazon RDS Blue/Green Deployments for database updates in the Amazon Aurora \n User Guide.

" } }, "com.amazonaws.rds#CreateBlueGreenDeploymentRequest": { @@ -3744,6 +3744,30 @@ "traits": { "smithy.api#documentation": "

Whether to upgrade the storage file system configuration on the green database. This\n option migrates the green DB instance from the older 32-bit file system to the preferred\n configuration. For more information, see Upgrading the storage file system for a DB instance.

" } + }, + "TargetIops": { + "target": "com.amazonaws.rds#IntegerOptional", + "traits": { + "smithy.api#documentation": "

The amount of Provisioned IOPS (input/output operations per second) to allocate for the green DB instance.\n For information about valid IOPS values, see \n Amazon RDS DB instance storage \n in the Amazon RDS User Guide.

\n

This setting doesn't apply to Amazon Aurora blue/green deployments.

" + } + }, + "TargetStorageType": { + "target": "com.amazonaws.rds#TargetStorageType", + "traits": { + "smithy.api#documentation": "

The storage type to associate with the green DB instance.

\n

Valid Values: gp2 | gp3 | io1 | io2\n

\n

This setting doesn't apply to Amazon Aurora blue/green deployments.

" + } + }, + "TargetAllocatedStorage": { + "target": "com.amazonaws.rds#IntegerOptional", + "traits": { + "smithy.api#documentation": "

The amount of storage in gibibytes (GiB) to allocate for the green DB instance. You can choose to\n increase or decrease the allocated storage on the green DB instance.

\n

This setting doesn't apply to Amazon Aurora blue/green deployments.

" + } + }, + "TargetStorageThroughput": { + "target": "com.amazonaws.rds#IntegerOptional", + "traits": { + "smithy.api#documentation": "

The storage throughput value for the green DB instance.

\n

This setting applies only to the gp3 storage type.

\n

This setting doesn't apply to Amazon Aurora blue/green deployments.

" + } } }, "traits": { @@ -31158,6 +31182,9 @@ } } }, + "com.amazonaws.rds#TargetStorageType": { + "type": "string" + }, "com.amazonaws.rds#TargetType": { "type": "enum", "members": { diff --git a/codegen/sdk-codegen/aws-models/timestream-query.json b/codegen/sdk-codegen/aws-models/timestream-query.json index f1c8402bea8..9e5cf5aeb39 100644 --- a/codegen/sdk-codegen/aws-models/timestream-query.json +++ b/codegen/sdk-codegen/aws-models/timestream-query.json @@ -41,11 +41,29 @@ "code": "AccessDenied", "httpResponseCode": 403 }, - "smithy.api#documentation": "

You are not authorized to perform this action.

", + "smithy.api#documentation": "

You do not have the necessary permissions to access the account settings.

", "smithy.api#error": "client", "smithy.api#httpError": 403 } }, + "com.amazonaws.timestreamquery#AccountSettingsNotificationConfiguration": { + "type": "structure", + "members": { + "SnsConfiguration": { + "target": "com.amazonaws.timestreamquery#SnsConfiguration" + }, + "RoleArn": { + "target": "com.amazonaws.timestreamquery#AmazonResourceName", + "traits": { + "smithy.api#documentation": "

An Amazon Resource Name (ARN) that grants Timestream permission to publish notifications. This field is only visible if SNS Topic is provided when updating the account settings.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

Configuration settings for notifications related to account settings.

" + } + }, "com.amazonaws.timestreamquery#AmazonResourceName": { "type": "string", "traits": { @@ -164,6 +182,23 @@ "target": "com.amazonaws.timestreamquery#ColumnInfo" } }, + "com.amazonaws.timestreamquery#ComputeMode": { + "type": "enum", + "members": { + "ON_DEMAND": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ON_DEMAND" + } + }, + "PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PROVISIONED" + } + } + } + }, "com.amazonaws.timestreamquery#ConflictException": { "type": "structure", "members": { @@ -443,13 +478,19 @@ "MaxQueryTCU": { "target": "com.amazonaws.timestreamquery#MaxQueryCapacity", "traits": { - "smithy.api#documentation": "

The maximum number of Timestream compute units (TCUs) the service will use at any point in time to serve your queries.

" + "smithy.api#documentation": "

The maximum number of Timestream compute units (TCUs) the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. This configuration is applicable only for on-demand usage of (TCUs). \n \n \n

" } }, "QueryPricingModel": { "target": "com.amazonaws.timestreamquery#QueryPricingModel", "traits": { - "smithy.api#documentation": "

The pricing model for queries in your account.

" + "smithy.api#documentation": "

The pricing model for queries in your account.

\n \n

The QueryPricingModel parameter is used by several Timestream operations; however, the UpdateAccountSettings API operation doesn't recognize any values other than COMPUTE_UNITS.

\n
" + } + }, + "QueryCompute": { + "target": "com.amazonaws.timestreamquery#QueryComputeResponse", + "traits": { + "smithy.api#documentation": "

An object that contains the usage settings for Timestream Compute Units (TCUs) in your account for the query workload.

" } } }, @@ -705,7 +746,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": true }, - "smithy.api#documentation": "

You can use this API to run a scheduled query manually.

\n

If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed as part of an Amazon SNS notification. QueryInsights helps with performance tuning of your query.

", + "smithy.api#documentation": "

You can use this API to run a scheduled query manually.

\n

If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed as part of an Amazon SNS notification. QueryInsights helps with performance tuning of your query. For more information about QueryInsights, see Using query insights to optimize queries in Amazon Timestream.

", "smithy.api#idempotent": {} } }, @@ -802,7 +843,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n The service was unable to fully process this request because of an internal\n server error.

", + "smithy.api#documentation": "

An internal server error occurred while processing the request.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } @@ -815,11 +856,60 @@ } }, "traits": { - "smithy.api#documentation": "

The requested endpoint was not valid.

", + "smithy.api#documentation": "

The requested endpoint is invalid.

", "smithy.api#error": "client", "smithy.api#httpError": 421 } }, + "com.amazonaws.timestreamquery#LastUpdate": { + "type": "structure", + "members": { + "TargetQueryTCU": { + "target": "com.amazonaws.timestreamquery#QueryTCU", + "traits": { + "smithy.api#documentation": "

The number of TimeStream Compute Units (TCUs) requested in the last account settings update.

" + } + }, + "Status": { + "target": "com.amazonaws.timestreamquery#LastUpdateStatus", + "traits": { + "smithy.api#documentation": "

The status of the last update. Can be either PENDING, FAILED, or SUCCEEDED.

" + } + }, + "StatusMessage": { + "target": "com.amazonaws.timestreamquery#String", + "traits": { + "smithy.api#documentation": "

Error message describing the last account settings update status, visible only if an error occurred.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

Configuration object that contains the most recent account settings update, visible only if settings have been updated previously.

" + } + }, + "com.amazonaws.timestreamquery#LastUpdateStatus": { + "type": "enum", + "members": { + "PENDING": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "PENDING" + } + }, + "FAILED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FAILED" + } + }, + "SUCCEEDED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "SUCCEEDED" + } + } + } + }, "com.amazonaws.timestreamquery#ListScheduledQueries": { "type": "operation", "input": { @@ -1175,7 +1265,7 @@ "SnsConfiguration": { "target": "com.amazonaws.timestreamquery#SnsConfiguration", "traits": { - "smithy.api#documentation": "

Details on SNS configuration.

", + "smithy.api#documentation": "

Details about the Amazon Simple Notification Service (SNS) configuration. This field is visible only when SNS Topic is provided when updating the account settings.

", "smithy.api#required": {} } } @@ -1315,6 +1405,53 @@ "smithy.api#output": {} } }, + "com.amazonaws.timestreamquery#ProvisionedCapacityRequest": { + "type": "structure", + "members": { + "TargetQueryTCU": { + "target": "com.amazonaws.timestreamquery#QueryTCU", + "traits": { + "smithy.api#documentation": "

The target compute capacity for querying data, specified in Timestream Compute Units (TCUs).

", + "smithy.api#required": {} + } + }, + "NotificationConfiguration": { + "target": "com.amazonaws.timestreamquery#AccountSettingsNotificationConfiguration", + "traits": { + "smithy.api#documentation": "

Configuration settings for notifications related to the provisioned capacity update.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A request to update the provisioned capacity settings for querying data.

" + } + }, + "com.amazonaws.timestreamquery#ProvisionedCapacityResponse": { + "type": "structure", + "members": { + "ActiveQueryTCU": { + "target": "com.amazonaws.timestreamquery#QueryTCU", + "traits": { + "smithy.api#documentation": "

The number of Timestream Compute Units (TCUs) provisioned in the account. This field is only visible when the compute mode is PROVISIONED.

" + } + }, + "NotificationConfiguration": { + "target": "com.amazonaws.timestreamquery#AccountSettingsNotificationConfiguration", + "traits": { + "smithy.api#documentation": "

An object that contains settings for notifications that are sent whenever the provisioned capacity settings are modified. This field is only visible when the compute mode is PROVISIONED.

" + } + }, + "LastUpdate": { + "target": "com.amazonaws.timestreamquery#LastUpdate", + "traits": { + "smithy.api#documentation": "

Information about the last update to the provisioned capacity settings.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The response to a request to update the provisioned capacity settings for querying data.

" + } + }, "com.amazonaws.timestreamquery#Query": { "type": "operation", "input": { @@ -1350,7 +1487,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": true }, - "smithy.api#documentation": "

\n Query is a synchronous operation that enables you to run a query against\n your Amazon Timestream data.

\n

If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed. QueryInsights helps with performance tuning of your query.

\n \n

The maximum number of Query API requests you're allowed to make with QueryInsights enabled is 1 query per second (QPS). If you exceed this query rate, it might result in throttling.

\n
\n

\n Query will time out after 60 seconds.\n You must update the default timeout in the SDK to support a timeout of 60 seconds. See\n the code\n sample for details.

\n

Your query request will fail in the following cases:

\n ", + "smithy.api#documentation": "

\n Query is a synchronous operation that enables you to run a query against\n your Amazon Timestream data.

\n

If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed. QueryInsights helps with performance tuning of your query. For more information about QueryInsights, see Using query insights to optimize queries in Amazon Timestream.

\n \n

The maximum number of Query API requests you're allowed to make with QueryInsights enabled is 1 query per second (QPS). If you exceed this query rate, it might result in throttling.

\n
\n

\n Query will time out after 60 seconds.\n You must update the default timeout in the SDK to support a timeout of 60 seconds. See\n the code\n sample for details.

\n

Your query request will fail in the following cases:

\n ", "smithy.api#idempotent": {}, "smithy.api#paginated": { "inputToken": "NextToken", @@ -1360,6 +1497,46 @@ } } }, + "com.amazonaws.timestreamquery#QueryComputeRequest": { + "type": "structure", + "members": { + "ComputeMode": { + "target": "com.amazonaws.timestreamquery#ComputeMode", + "traits": { + "smithy.api#documentation": "

The mode in which Timestream Compute Units (TCUs) are allocated and utilized within an account. Note that in the Asia Pacific (Mumbai) region, the API operation only recognizes the value PROVISIONED.

" + } + }, + "ProvisionedCapacity": { + "target": "com.amazonaws.timestreamquery#ProvisionedCapacityRequest", + "traits": { + "smithy.api#documentation": "

Configuration object that contains settings for provisioned Timestream Compute Units (TCUs) in your account.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A request to retrieve or update the compute capacity settings for querying data.

" + } + }, + "com.amazonaws.timestreamquery#QueryComputeResponse": { + "type": "structure", + "members": { + "ComputeMode": { + "target": "com.amazonaws.timestreamquery#ComputeMode", + "traits": { + "smithy.api#documentation": "

The mode in which Timestream Compute Units (TCUs) are allocated and utilized within an account. Note that in the Asia Pacific (Mumbai) region, the API operation only recognizes the value PROVISIONED.

" + } + }, + "ProvisionedCapacity": { + "target": "com.amazonaws.timestreamquery#ProvisionedCapacityResponse", + "traits": { + "smithy.api#documentation": "

Configuration object that contains settings for provisioned Timestream Compute Units (TCUs) in your account.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The response to a request to retrieve or update the compute capacity settings for querying data.

" + } + }, "com.amazonaws.timestreamquery#QueryExecutionException": { "type": "structure", "members": { @@ -1661,6 +1838,9 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.timestreamquery#QueryTCU": { + "type": "integer" + }, "com.amazonaws.timestreamquery#QueryTemporalRange": { "type": "structure", "members": { @@ -2568,7 +2748,7 @@ } }, "traits": { - "smithy.api#documentation": "

The request was denied due to request throttling.

", + "smithy.api#documentation": "

The request was throttled due to excessive requests.

", "smithy.api#error": "client", "smithy.api#httpError": 429 } @@ -3508,7 +3688,7 @@ "MaxQueryTCU": { "target": "com.amazonaws.timestreamquery#MaxQueryCapacity", "traits": { - "smithy.api#documentation": "

The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on.

\n

The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas.

" + "smithy.api#documentation": "

The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas. This configuration is applicable only for on-demand usage of Timestream Compute Units (TCUs).

\n

The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas.

" } }, "QueryPricingModel": { @@ -3516,6 +3696,12 @@ "traits": { "smithy.api#documentation": "

The pricing model for queries in an account.

\n \n

The QueryPricingModel parameter is used by several Timestream operations; however, the UpdateAccountSettings API operation doesn't recognize any values other than COMPUTE_UNITS.

\n
" } + }, + "QueryCompute": { + "target": "com.amazonaws.timestreamquery#QueryComputeRequest", + "traits": { + "smithy.api#documentation": "

Modifies the query compute settings configured in your account, including the query pricing model and provisioned Timestream Compute Units (TCUs) in your account.

\n \n

This API is idempotent, meaning that making the same request multiple times will have the same effect as making the request once.

\n
" + } } }, "traits": { @@ -3536,6 +3722,12 @@ "traits": { "smithy.api#documentation": "

The pricing model for an account.

" } + }, + "QueryCompute": { + "target": "com.amazonaws.timestreamquery#QueryComputeResponse", + "traits": { + "smithy.api#documentation": "

Confirms the updated account settings for querying data in your account.

" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/workspaces-web.json b/codegen/sdk-codegen/aws-models/workspaces-web.json index da9505d5591..1756f1a498a 100644 --- a/codegen/sdk-codegen/aws-models/workspaces-web.json +++ b/codegen/sdk-codegen/aws-models/workspaces-web.json @@ -38,6 +38,9 @@ { "target": "com.amazonaws.workspacesweb#BrowserSettingsResource" }, + { + "target": "com.amazonaws.workspacesweb#DataProtectionSettingsResource" + }, { "target": "com.amazonaws.workspacesweb#IdentityProviderResource" }, @@ -835,6 +838,91 @@ "smithy.api#output": {} } }, + "com.amazonaws.workspacesweb#AssociateDataProtectionSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.workspacesweb#AssociateDataProtectionSettingsRequest" + }, + "output": { + "target": "com.amazonaws.workspacesweb#AssociateDataProtectionSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workspacesweb#AccessDeniedException" + }, + { + "target": "com.amazonaws.workspacesweb#ConflictException" + }, + { + "target": "com.amazonaws.workspacesweb#InternalServerException" + }, + { + "target": "com.amazonaws.workspacesweb#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.workspacesweb#ThrottlingException" + }, + { + "target": "com.amazonaws.workspacesweb#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Associates a data protection settings resource with a web portal.

", + "smithy.api#http": { + "method": "PUT", + "uri": "/portals/{portalArn+}/dataProtectionSettings", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workspacesweb#AssociateDataProtectionSettingsRequest": { + "type": "structure", + "members": { + "portalArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the web portal.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "aws.cloudformation#cfnMutability": "full", + "smithy.api#documentation": "

The ARN of the data protection settings.

", + "smithy.api#httpQuery": "dataProtectionSettingsArn", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.workspacesweb#AssociateDataProtectionSettingsResponse": { + "type": "structure", + "members": { + "portalArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the web portal.

", + "smithy.api#required": {} + } + }, + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the data protection settings resource.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.workspacesweb#AssociateIpAccessSettings": { "type": "operation", "input": { @@ -1411,6 +1499,17 @@ ] } }, + "com.amazonaws.workspacesweb#BuiltInPatternId": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + }, + "smithy.api#pattern": "^[_\\-\\d\\w]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.workspacesweb#Certificate": { "type": "structure", "members": { @@ -1543,6 +1642,15 @@ } } }, + "com.amazonaws.workspacesweb#ConfidenceLevel": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 3 + } + } + }, "com.amazonaws.workspacesweb#ConflictException": { "type": "structure", "members": { @@ -1757,6 +1865,113 @@ "smithy.api#output": {} } }, + "com.amazonaws.workspacesweb#CreateDataProtectionSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.workspacesweb#CreateDataProtectionSettingsRequest" + }, + "output": { + "target": "com.amazonaws.workspacesweb#CreateDataProtectionSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workspacesweb#AccessDeniedException" + }, + { + "target": "com.amazonaws.workspacesweb#ConflictException" + }, + { + "target": "com.amazonaws.workspacesweb#InternalServerException" + }, + { + "target": "com.amazonaws.workspacesweb#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.workspacesweb#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.workspacesweb#ThrottlingException" + }, + { + "target": "com.amazonaws.workspacesweb#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Creates a data protection settings resource that can be associated with a web portal.

", + "smithy.api#http": { + "method": "POST", + "uri": "/dataProtectionSettings", + "code": 200 + } + } + }, + "com.amazonaws.workspacesweb#CreateDataProtectionSettingsRequest": { + "type": "structure", + "members": { + "displayName": { + "target": "com.amazonaws.workspacesweb#DisplayNameSafe", + "traits": { + "smithy.api#documentation": "

The display name of the data protection settings.

" + } + }, + "description": { + "target": "com.amazonaws.workspacesweb#DescriptionSafe", + "traits": { + "smithy.api#documentation": "

The description of the data protection settings.

" + } + }, + "tags": { + "target": "com.amazonaws.workspacesweb#TagList", + "traits": { + "aws.cloudformation#cfnMutability": "full", + "smithy.api#documentation": "

The tags to add to the data protection settings resource. A tag is a key-value pair.

" + } + }, + "customerManagedKey": { + "target": "com.amazonaws.workspacesweb#keyArn", + "traits": { + "smithy.api#documentation": "

The custom managed key of the data protection settings.

" + } + }, + "additionalEncryptionContext": { + "target": "com.amazonaws.workspacesweb#EncryptionContextMap", + "traits": { + "smithy.api#documentation": "

Additional encryption context of the data protection settings.

" + } + }, + "inlineRedactionConfiguration": { + "target": "com.amazonaws.workspacesweb#InlineRedactionConfiguration", + "traits": { + "smithy.api#documentation": "

The inline redaction configuration of the data protection settings that will be applied to all sessions.

" + } + }, + "clientToken": { + "target": "com.amazonaws.workspacesweb#ClientToken", + "traits": { + "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. Idempotency ensures that an API request completes only once. With an idempotent\n request, if the original request completes successfully, subsequent retries with the same\n client token returns the result from the original successful request.

\n

If you do not specify a client token, one is automatically generated by the Amazon Web Services\n SDK.

", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.workspacesweb#CreateDataProtectionSettingsResponse": { + "type": "structure", + "members": { + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the data protection settings resource.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.workspacesweb#CreateIdentityProvider": { "type": "operation", "input": { @@ -2490,50 +2705,243 @@ "smithy.api#output": {} } }, - "com.amazonaws.workspacesweb#DeleteBrowserSettings": { - "type": "operation", - "input": { - "target": "com.amazonaws.workspacesweb#DeleteBrowserSettingsRequest" - }, - "output": { - "target": "com.amazonaws.workspacesweb#DeleteBrowserSettingsResponse" - }, - "errors": [ - { - "target": "com.amazonaws.workspacesweb#AccessDeniedException" - }, - { - "target": "com.amazonaws.workspacesweb#ConflictException" + "com.amazonaws.workspacesweb#CustomPattern": { + "type": "structure", + "members": { + "patternName": { + "target": "com.amazonaws.workspacesweb#PatternName", + "traits": { + "smithy.api#documentation": "

The pattern name for the custom pattern.

", + "smithy.api#required": {} + } }, - { - "target": "com.amazonaws.workspacesweb#InternalServerException" + "patternRegex": { + "target": "com.amazonaws.workspacesweb#Regex", + "traits": { + "smithy.api#documentation": "

The pattern regex for the customer pattern. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.

", + "smithy.api#required": {} + } }, - { - "target": "com.amazonaws.workspacesweb#ThrottlingException" + "patternDescription": { + "target": "com.amazonaws.workspacesweb#DescriptionSafe", + "traits": { + "smithy.api#documentation": "

The pattern description for the customer pattern.

" + } }, - { - "target": "com.amazonaws.workspacesweb#ValidationException" + "keywordRegex": { + "target": "com.amazonaws.workspacesweb#Regex", + "traits": { + "smithy.api#documentation": "

The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi”

" + } } - ], + }, "traits": { - "smithy.api#documentation": "

Deletes browser settings.

", - "smithy.api#http": { - "method": "DELETE", - "uri": "/browserSettings/{browserSettingsArn+}", - "code": 200 - }, - "smithy.api#idempotent": {} + "smithy.api#documentation": "

The pattern configuration for redacting custom data types in session.

" } }, - "com.amazonaws.workspacesweb#DeleteBrowserSettingsRequest": { + "com.amazonaws.workspacesweb#DataProtectionSettings": { "type": "structure", "members": { - "browserSettingsArn": { + "dataProtectionSettingsArn": { "target": "com.amazonaws.workspacesweb#ARN", "traits": { - "smithy.api#documentation": "

The ARN of the browser settings.

", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "

The ARN of the data protection settings resource.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "dataProtectionSettingsArn" + } + }, + "inlineRedactionConfiguration": { + "target": "com.amazonaws.workspacesweb#InlineRedactionConfiguration", + "traits": { + "smithy.api#documentation": "

The inline redaction configuration for the data protection settings.

" + } + }, + "associatedPortalArns": { + "target": "com.amazonaws.workspacesweb#ArnList", + "traits": { + "smithy.api#documentation": "

A list of web portal ARNs that this data protection settings resource is associated\n with.

" + } + }, + "displayName": { + "target": "com.amazonaws.workspacesweb#DisplayNameSafe", + "traits": { + "smithy.api#documentation": "

The display name of the data protection settings.

" + } + }, + "description": { + "target": "com.amazonaws.workspacesweb#DescriptionSafe", + "traits": { + "smithy.api#documentation": "

The description of the data protection settings.

" + } + }, + "creationDate": { + "target": "com.amazonaws.workspacesweb#Timestamp", + "traits": { + "smithy.api#documentation": "

The creation date timestamp of the data protection settings.

" + } + }, + "customerManagedKey": { + "target": "com.amazonaws.workspacesweb#keyArn", + "traits": { + "smithy.api#documentation": "

The customer managed key used to encrypt sensitive information in the data protection\n settings.

" + } + }, + "additionalEncryptionContext": { + "target": "com.amazonaws.workspacesweb#EncryptionContextMap", + "traits": { + "smithy.api#documentation": "

The additional encryption context of the data protection settings.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The data protection settings resource that can be associated with a web portal.

" + } + }, + "com.amazonaws.workspacesweb#DataProtectionSettingsList": { + "type": "list", + "member": { + "target": "com.amazonaws.workspacesweb#DataProtectionSettingsSummary" + } + }, + "com.amazonaws.workspacesweb#DataProtectionSettingsResource": { + "type": "resource", + "identifiers": { + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN" + } + }, + "properties": { + "displayName": { + "target": "com.amazonaws.workspacesweb#DisplayNameSafe" + }, + "description": { + "target": "com.amazonaws.workspacesweb#DescriptionSafe" + }, + "tags": { + "target": "com.amazonaws.workspacesweb#TagList" + }, + "customerManagedKey": { + "target": "com.amazonaws.workspacesweb#keyArn" + }, + "additionalEncryptionContext": { + "target": "com.amazonaws.workspacesweb#EncryptionContextMap" + }, + "inlineRedactionConfiguration": { + "target": "com.amazonaws.workspacesweb#InlineRedactionConfiguration" + }, + "associatedPortalArns": { + "target": "com.amazonaws.workspacesweb#ArnList" + }, + "creationDate": { + "target": "com.amazonaws.workspacesweb#Timestamp" + } + }, + "create": { + "target": "com.amazonaws.workspacesweb#CreateDataProtectionSettings" + }, + "read": { + "target": "com.amazonaws.workspacesweb#GetDataProtectionSettings" + }, + "update": { + "target": "com.amazonaws.workspacesweb#UpdateDataProtectionSettings" + }, + "delete": { + "target": "com.amazonaws.workspacesweb#DeleteDataProtectionSettings" + }, + "list": { + "target": "com.amazonaws.workspacesweb#ListDataProtectionSettings" + }, + "traits": { + "aws.api#arn": { + "template": "{dataProtectionSettingsArn}", + "absolute": true + }, + "aws.api#taggable": { + "property": "tags" + }, + "aws.cloudformation#cfnResource": { + "name": "DataProtectionSettings" + } + } + }, + "com.amazonaws.workspacesweb#DataProtectionSettingsSummary": { + "type": "structure", + "members": { + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the data protection settings.

", + "smithy.api#required": {}, + "smithy.api#resourceIdentifier": "dataProtectionSettingsArn" + } + }, + "displayName": { + "target": "com.amazonaws.workspacesweb#DisplayNameSafe", + "traits": { + "smithy.api#documentation": "

The display name of the data protection settings.

" + } + }, + "description": { + "target": "com.amazonaws.workspacesweb#DescriptionSafe", + "traits": { + "smithy.api#documentation": "

The description of the data protection settings.

" + } + }, + "creationDate": { + "target": "com.amazonaws.workspacesweb#Timestamp", + "traits": { + "smithy.api#documentation": "

The creation date timestamp of the data protection settings.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the data protection settings.

" + } + }, + "com.amazonaws.workspacesweb#DeleteBrowserSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.workspacesweb#DeleteBrowserSettingsRequest" + }, + "output": { + "target": "com.amazonaws.workspacesweb#DeleteBrowserSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workspacesweb#AccessDeniedException" + }, + { + "target": "com.amazonaws.workspacesweb#ConflictException" + }, + { + "target": "com.amazonaws.workspacesweb#InternalServerException" + }, + { + "target": "com.amazonaws.workspacesweb#ThrottlingException" + }, + { + "target": "com.amazonaws.workspacesweb#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes browser settings.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/browserSettings/{browserSettingsArn+}", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workspacesweb#DeleteBrowserSettingsRequest": { + "type": "structure", + "members": { + "browserSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the browser settings.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } } }, @@ -2548,6 +2956,64 @@ "smithy.api#output": {} } }, + "com.amazonaws.workspacesweb#DeleteDataProtectionSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.workspacesweb#DeleteDataProtectionSettingsRequest" + }, + "output": { + "target": "com.amazonaws.workspacesweb#DeleteDataProtectionSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workspacesweb#AccessDeniedException" + }, + { + "target": "com.amazonaws.workspacesweb#ConflictException" + }, + { + "target": "com.amazonaws.workspacesweb#InternalServerException" + }, + { + "target": "com.amazonaws.workspacesweb#ThrottlingException" + }, + { + "target": "com.amazonaws.workspacesweb#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Deletes data protection settings.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/dataProtectionSettings/{dataProtectionSettingsArn+}", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workspacesweb#DeleteDataProtectionSettingsRequest": { + "type": "structure", + "members": { + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the data protection settings.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.workspacesweb#DeleteDataProtectionSettingsResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.workspacesweb#DeleteIdentityProvider": { "type": "operation", "input": { @@ -2965,6 +3431,17 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.workspacesweb#DescriptionSafe": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + }, + "smithy.api#pattern": "^[ _\\-\\d\\w]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.workspacesweb#DisassociateBrowserSettings": { "type": "operation", "input": { @@ -3026,6 +3503,67 @@ "smithy.api#output": {} } }, + "com.amazonaws.workspacesweb#DisassociateDataProtectionSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.workspacesweb#DisassociateDataProtectionSettingsRequest" + }, + "output": { + "target": "com.amazonaws.workspacesweb#DisassociateDataProtectionSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workspacesweb#AccessDeniedException" + }, + { + "target": "com.amazonaws.workspacesweb#ConflictException" + }, + { + "target": "com.amazonaws.workspacesweb#InternalServerException" + }, + { + "target": "com.amazonaws.workspacesweb#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.workspacesweb#ThrottlingException" + }, + { + "target": "com.amazonaws.workspacesweb#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Disassociates data protection settings from a web portal.

", + "smithy.api#http": { + "method": "DELETE", + "uri": "/portals/{portalArn+}/dataProtectionSettings", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.workspacesweb#DisassociateDataProtectionSettingsRequest": { + "type": "structure", + "members": { + "portalArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the web portal.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.workspacesweb#DisassociateDataProtectionSettingsResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.workspacesweb#DisassociateIpAccessSettings": { "type": "operation", "input": { @@ -3351,6 +3889,17 @@ "smithy.api#sensitive": {} } }, + "com.amazonaws.workspacesweb#DisplayNameSafe": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#pattern": "^[ _\\-\\d\\w]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.workspacesweb#EnabledType": { "type": "string", "traits": { @@ -3513,6 +4062,72 @@ "smithy.api#output": {} } }, + "com.amazonaws.workspacesweb#GetDataProtectionSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.workspacesweb#GetDataProtectionSettingsRequest" + }, + "output": { + "target": "com.amazonaws.workspacesweb#GetDataProtectionSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workspacesweb#AccessDeniedException" + }, + { + "target": "com.amazonaws.workspacesweb#InternalServerException" + }, + { + "target": "com.amazonaws.workspacesweb#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.workspacesweb#ThrottlingException" + }, + { + "target": "com.amazonaws.workspacesweb#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Gets the data protection settings.

", + "smithy.api#http": { + "method": "GET", + "uri": "/dataProtectionSettings/{dataProtectionSettingsArn+}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.workspacesweb#GetDataProtectionSettingsRequest": { + "type": "structure", + "members": { + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the data protection settings.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.workspacesweb#GetDataProtectionSettingsResponse": { + "type": "structure", + "members": { + "dataProtectionSettings": { + "target": "com.amazonaws.workspacesweb#DataProtectionSettings", + "traits": { + "smithy.api#documentation": "

The data protection settings.

", + "smithy.api#nestedProperties": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.workspacesweb#GetIdentityProvider": { "type": "operation", "input": { @@ -4206,6 +4821,18 @@ "smithy.api#output": {} } }, + "com.amazonaws.workspacesweb#GlobalInlineRedactionUrls": { + "type": "list", + "member": { + "target": "com.amazonaws.workspacesweb#InlineRedactionUrl" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 100 + } + } + }, "com.amazonaws.workspacesweb#IdentityProvider": { "type": "structure", "members": { @@ -4332,60 +4959,169 @@ "smithy.api#resourceIdentifier": "identityProviderArn" } }, - "identityProviderName": { - "target": "com.amazonaws.workspacesweb#IdentityProviderName", + "identityProviderName": { + "target": "com.amazonaws.workspacesweb#IdentityProviderName", + "traits": { + "smithy.api#documentation": "

The identity provider name.

" + } + }, + "identityProviderType": { + "target": "com.amazonaws.workspacesweb#IdentityProviderType", + "traits": { + "smithy.api#documentation": "

The identity provider type.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary of the identity provider.

" + } + }, + "com.amazonaws.workspacesweb#IdentityProviderType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "SAML", + "name": "SAML" + }, + { + "value": "Facebook", + "name": "Facebook" + }, + { + "value": "Google", + "name": "Google" + }, + { + "value": "LoginWithAmazon", + "name": "LoginWithAmazon" + }, + { + "value": "SignInWithApple", + "name": "SignInWithApple" + }, + { + "value": "OIDC", + "name": "OIDC" + } + ] + } + }, + "com.amazonaws.workspacesweb#IdleDisconnectTimeoutInMinutes": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 60 + } + } + }, + "com.amazonaws.workspacesweb#InlineRedactionConfiguration": { + "type": "structure", + "members": { + "inlineRedactionPatterns": { + "target": "com.amazonaws.workspacesweb#InlineRedactionPatterns", + "traits": { + "smithy.api#documentation": "

The inline redaction patterns to be enabled for the inline redaction configuration.

", + "smithy.api#required": {} + } + }, + "globalEnforcedUrls": { + "target": "com.amazonaws.workspacesweb#GlobalInlineRedactionUrls", + "traits": { + "smithy.api#documentation": "

The global enforced URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level enforced URL list.

" + } + }, + "globalExemptUrls": { + "target": "com.amazonaws.workspacesweb#GlobalInlineRedactionUrls", + "traits": { + "smithy.api#documentation": "

The global exempt URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level exempt URL list.

" + } + }, + "globalConfidenceLevel": { + "target": "com.amazonaws.workspacesweb#ConfidenceLevel", + "traits": { + "smithy.api#documentation": "

The global confidence level for the inline redaction configuration. This indicates the\n certainty of data type matches in the redaction process. Confidence level 3 means high\n confidence, and requires a formatted text pattern match in order for content to be\n redacted. Confidence level 2 means medium confidence, and redaction considers both\n formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1\n means low confidence, and redaction is enforced for both formatted pattern + unformatted\n pattern without keyword. This is applied to patterns that do not have a pattern-level\n confidence level. Defaults to confidence level 2.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for in-session inline redaction.

" + } + }, + "com.amazonaws.workspacesweb#InlineRedactionPattern": { + "type": "structure", + "members": { + "builtInPatternId": { + "target": "com.amazonaws.workspacesweb#BuiltInPatternId", + "traits": { + "smithy.api#documentation": "

The built-in pattern from the list of preconfigured patterns. Either a customPattern or builtInPatternId is required.

" + } + }, + "customPattern": { + "target": "com.amazonaws.workspacesweb#CustomPattern", + "traits": { + "smithy.api#documentation": "

>The configuration for a custom pattern. Either a customPattern or builtInPatternId is required.

" + } + }, + "redactionPlaceHolder": { + "target": "com.amazonaws.workspacesweb#RedactionPlaceHolder", + "traits": { + "smithy.api#documentation": "

The redaction placeholder that will replace the redacted text in session for the inline redaction pattern.

", + "smithy.api#required": {} + } + }, + "enforcedUrls": { + "target": "com.amazonaws.workspacesweb#InlineRedactionUrls", + "traits": { + "smithy.api#documentation": "

The enforced URL configuration for the inline redaction pattern. This will override the global enforced URL configuration.

" + } + }, + "exemptUrls": { + "target": "com.amazonaws.workspacesweb#InlineRedactionUrls", "traits": { - "smithy.api#documentation": "

The identity provider name.

" + "smithy.api#documentation": "

The exempt URL configuration for the inline redaction pattern. This will override the global exempt URL configuration for the inline redaction pattern.

" } }, - "identityProviderType": { - "target": "com.amazonaws.workspacesweb#IdentityProviderType", + "confidenceLevel": { + "target": "com.amazonaws.workspacesweb#ConfidenceLevel", "traits": { - "smithy.api#documentation": "

The identity provider type.

" + "smithy.api#documentation": "

The confidence level for inline redaction pattern. This indicates the certainty of data\n type matches in the redaction process. Confidence level 3 means high confidence, and\n requires a formatted text pattern match in order for content to be redacted. Confidence\n level 2 means medium confidence, and redaction considers both formatted and unformatted\n text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and\n redaction is enforced for both formatted pattern + unformatted pattern without keyword.\n This overrides the global confidence level.

" } } }, "traits": { - "smithy.api#documentation": "

The summary of the identity provider.

" + "smithy.api#documentation": "

The set of patterns that determine the data types redacted in session.

" } }, - "com.amazonaws.workspacesweb#IdentityProviderType": { + "com.amazonaws.workspacesweb#InlineRedactionPatterns": { + "type": "list", + "member": { + "target": "com.amazonaws.workspacesweb#InlineRedactionPattern" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 150 + } + } + }, + "com.amazonaws.workspacesweb#InlineRedactionUrl": { "type": "string", "traits": { - "smithy.api#enum": [ - { - "value": "SAML", - "name": "SAML" - }, - { - "value": "Facebook", - "name": "Facebook" - }, - { - "value": "Google", - "name": "Google" - }, - { - "value": "LoginWithAmazon", - "name": "LoginWithAmazon" - }, - { - "value": "SignInWithApple", - "name": "SignInWithApple" - }, - { - "value": "OIDC", - "name": "OIDC" - } - ] + "smithy.api#pattern": "^((([a-zA-Z][a-zA-Z0-9+.-]*):\\/\\/(\\*|[\\w%._\\-\\+~#=@]+)?(\\/[^@\\s]*)?(?:\\?([^*\\s]+(?:\\*?)))?)|(\\*|[\\w%._\\-\\+~#=@]+\\.[\\w%._\\-\\+~#=@]+)(?::(\\d{1,5}))?(\\/[^@\\s]*)?(?:\\?([^*\\s]+(?:\\*?)))?|(([a-zA-Z][a-zA-Z0-9+.-]*):(\\/\\/)?\\*))$", + "smithy.api#sensitive": {} } }, - "com.amazonaws.workspacesweb#IdleDisconnectTimeoutInMinutes": { - "type": "integer", + "com.amazonaws.workspacesweb#InlineRedactionUrls": { + "type": "list", + "member": { + "target": "com.amazonaws.workspacesweb#InlineRedactionUrl" + }, "traits": { - "smithy.api#range": { - "min": 0, - "max": 60 + "smithy.api#length": { + "min": 1, + "max": 20 } } }, @@ -4743,6 +5479,86 @@ "smithy.api#output": {} } }, + "com.amazonaws.workspacesweb#ListDataProtectionSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.workspacesweb#ListDataProtectionSettingsRequest" + }, + "output": { + "target": "com.amazonaws.workspacesweb#ListDataProtectionSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workspacesweb#AccessDeniedException" + }, + { + "target": "com.amazonaws.workspacesweb#InternalServerException" + }, + { + "target": "com.amazonaws.workspacesweb#ThrottlingException" + }, + { + "target": "com.amazonaws.workspacesweb#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Retrieves a list of data protection settings.

", + "smithy.api#http": { + "method": "GET", + "uri": "/dataProtectionSettings", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "pageSize": "maxResults", + "items": "dataProtectionSettings" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.workspacesweb#ListDataProtectionSettingsRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "com.amazonaws.workspacesweb#PaginationToken", + "traits": { + "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this\n operation.

", + "smithy.api#httpQuery": "nextToken" + } + }, + "maxResults": { + "target": "com.amazonaws.workspacesweb#MaxResults", + "traits": { + "smithy.api#documentation": "

The maximum number of results to be included in the next page.

", + "smithy.api#httpQuery": "maxResults" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.workspacesweb#ListDataProtectionSettingsResponse": { + "type": "structure", + "members": { + "dataProtectionSettings": { + "target": "com.amazonaws.workspacesweb#DataProtectionSettingsList", + "traits": { + "smithy.api#documentation": "

The data protection settings.

" + } + }, + "nextToken": { + "target": "com.amazonaws.workspacesweb#PaginationToken", + "traits": { + "smithy.api#documentation": "

The pagination token used to retrieve the next page of results for this\n operation.

" + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.workspacesweb#ListIdentityProviders": { "type": "operation", "input": { @@ -5741,6 +6557,17 @@ "smithy.api#pattern": "^\\S+$" } }, + "com.amazonaws.workspacesweb#PatternName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 20 + }, + "smithy.api#pattern": "^[_\\-\\d\\w]+$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.workspacesweb#Portal": { "type": "structure", "members": { @@ -5794,6 +6621,12 @@ "smithy.api#documentation": "

The ARN of the browser settings that is associated with this web portal.

" } }, + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the data protection settings.

" + } + }, "userSettingsArn": { "target": "com.amazonaws.workspacesweb#ARN", "traits": { @@ -5920,6 +6753,9 @@ "browserSettingsArn": { "target": "com.amazonaws.workspacesweb#ARN" }, + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN" + }, "userSettingsArn": { "target": "com.amazonaws.workspacesweb#ARN" }, @@ -5979,6 +6815,9 @@ { "target": "com.amazonaws.workspacesweb#AssociateBrowserSettings" }, + { + "target": "com.amazonaws.workspacesweb#AssociateDataProtectionSettings" + }, { "target": "com.amazonaws.workspacesweb#AssociateIpAccessSettings" }, @@ -5997,6 +6836,9 @@ { "target": "com.amazonaws.workspacesweb#DisassociateBrowserSettings" }, + { + "target": "com.amazonaws.workspacesweb#DisassociateDataProtectionSettings" + }, { "target": "com.amazonaws.workspacesweb#DisassociateIpAccessSettings" }, @@ -6028,6 +6870,7 @@ "name": "Portal", "additionalSchemas": [ "com.amazonaws.workspacesweb#AssociateBrowserSettingsRequest", + "com.amazonaws.workspacesweb#AssociateDataProtectionSettingsRequest", "com.amazonaws.workspacesweb#AssociateNetworkSettingsRequest", "com.amazonaws.workspacesweb#AssociateUserSettingsRequest", "com.amazonaws.workspacesweb#AssociateUserAccessLoggingSettingsRequest", @@ -6111,6 +6954,12 @@ "smithy.api#documentation": "

The ARN of the browser settings that is associated with the web portal.

" } }, + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the data protection settings.

" + } + }, "userSettingsArn": { "target": "com.amazonaws.workspacesweb#ARN", "traits": { @@ -6167,6 +7016,60 @@ "com.amazonaws.workspacesweb#QuotaCode": { "type": "string" }, + "com.amazonaws.workspacesweb#RedactionPlaceHolder": { + "type": "structure", + "members": { + "redactionPlaceHolderType": { + "target": "com.amazonaws.workspacesweb#RedactionPlaceHolderType", + "traits": { + "smithy.api#documentation": "

The redaction placeholder type that will replace the redacted text in session.

", + "smithy.api#required": {} + } + }, + "redactionPlaceHolderText": { + "target": "com.amazonaws.workspacesweb#RedactionPlaceHolderText", + "traits": { + "smithy.api#documentation": "

The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The redaction placeholder that will replace the redacted text in session.

" + } + }, + "com.amazonaws.workspacesweb#RedactionPlaceHolderText": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 20 + }, + "smithy.api#pattern": "^[*_\\-\\d\\w]+$", + "smithy.api#sensitive": {} + } + }, + "com.amazonaws.workspacesweb#RedactionPlaceHolderType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CustomText", + "name": "CUSTOM_TEXT" + } + ] + } + }, + "com.amazonaws.workspacesweb#Regex": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 300 + }, + "smithy.api#pattern": "^\\/((?:[^\\n])+)\\/([gimsuyvd]{0,8})$", + "smithy.api#sensitive": {} + } + }, "com.amazonaws.workspacesweb#RendererType": { "type": "string", "traits": { @@ -6928,6 +7831,97 @@ "smithy.api#output": {} } }, + "com.amazonaws.workspacesweb#UpdateDataProtectionSettings": { + "type": "operation", + "input": { + "target": "com.amazonaws.workspacesweb#UpdateDataProtectionSettingsRequest" + }, + "output": { + "target": "com.amazonaws.workspacesweb#UpdateDataProtectionSettingsResponse" + }, + "errors": [ + { + "target": "com.amazonaws.workspacesweb#AccessDeniedException" + }, + { + "target": "com.amazonaws.workspacesweb#InternalServerException" + }, + { + "target": "com.amazonaws.workspacesweb#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.workspacesweb#ThrottlingException" + }, + { + "target": "com.amazonaws.workspacesweb#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Updates data protection settings.

", + "smithy.api#http": { + "method": "PATCH", + "uri": "/dataProtectionSettings/{dataProtectionSettingsArn+}", + "code": 200 + } + } + }, + "com.amazonaws.workspacesweb#UpdateDataProtectionSettingsRequest": { + "type": "structure", + "members": { + "dataProtectionSettingsArn": { + "target": "com.amazonaws.workspacesweb#ARN", + "traits": { + "smithy.api#documentation": "

The ARN of the data protection settings.

", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "inlineRedactionConfiguration": { + "target": "com.amazonaws.workspacesweb#InlineRedactionConfiguration", + "traits": { + "smithy.api#documentation": "

The inline redaction configuration of the data protection settings that will be applied to all sessions.

" + } + }, + "displayName": { + "target": "com.amazonaws.workspacesweb#DisplayNameSafe", + "traits": { + "smithy.api#documentation": "

The display name of the data protection settings.

" + } + }, + "description": { + "target": "com.amazonaws.workspacesweb#DescriptionSafe", + "traits": { + "smithy.api#documentation": "

The description of the data protection settings.

" + } + }, + "clientToken": { + "target": "com.amazonaws.workspacesweb#ClientToken", + "traits": { + "smithy.api#documentation": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the\n request. Idempotency ensures that an API request completes only once. With an idempotent\n request, if the original request completes successfully, subsequent retries with the same\n client token return the result from the original successful request.

\n

If you do not specify a client token, one is automatically generated by the Amazon Web Services\n SDK.

", + "smithy.api#idempotencyToken": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.workspacesweb#UpdateDataProtectionSettingsResponse": { + "type": "structure", + "members": { + "dataProtectionSettings": { + "target": "com.amazonaws.workspacesweb#DataProtectionSettings", + "traits": { + "smithy.api#documentation": "

The data protection settings.

", + "smithy.api#nestedProperties": {}, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.workspacesweb#UpdateIdentityProvider": { "type": "operation", "input": { diff --git a/codegen/sdk-codegen/aws-models/workspaces.json b/codegen/sdk-codegen/aws-models/workspaces.json index 7ff80ea6d7d..f7043d97c0c 100644 --- a/codegen/sdk-codegen/aws-models/workspaces.json +++ b/codegen/sdk-codegen/aws-models/workspaces.json @@ -77,7 +77,7 @@ "ClientToken": { "target": "com.amazonaws.workspaces#ClientToken", "traits": { - "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.

" + "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon WorkSpaces uses to ensure idempotent creation.

" } } }, @@ -1798,7 +1798,7 @@ "ClientToken": { "target": "com.amazonaws.workspaces#ClientToken", "traits": { - "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.

" + "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon WorkSpaces uses to ensure idempotent creation.

" } } }, @@ -2478,7 +2478,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates one or more WorkSpaces.

\n

This operation is asynchronous and returns before the WorkSpaces are created.

\n \n \n " + "smithy.api#documentation": "

Creates one or more WorkSpaces.

\n

This operation is asynchronous and returns before the WorkSpaces are created.

\n \n \n " } }, "com.amazonaws.workspaces#CreateWorkspacesPool": { @@ -2960,7 +2960,7 @@ "ClientToken": { "target": "com.amazonaws.workspaces#ClientToken", "traits": { - "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.

" + "smithy.api#documentation": "

A string of up to 64 ASCII characters that Amazon WorkSpaces uses to ensure idempotent creation.

" } } }, @@ -5464,7 +5464,7 @@ "com.amazonaws.workspaces#DomainName": { "type": "string", "traits": { - "smithy.api#pattern": "^([a-zA-Z0-9]+[\\\\.-])+([a-zA-Z0-9])+$" + "smithy.api#pattern": "^([a-zA-Z0-9]+[.-])+([a-zA-Z0-9])+$" } }, "com.amazonaws.workspaces#Ec2ImageId": { @@ -5996,7 +5996,7 @@ "IngestionProcess": { "target": "com.amazonaws.workspaces#WorkspaceImageIngestionProcess", "traits": { - "smithy.api#documentation": "

The ingestion process to be used when importing the image, depending on which protocol\n you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces Streaming Protocol \n (WSP), or bring your own protocol (BYOP). To use WSP, specify a value that ends in \n _WSP. To use PCoIP, specify a value that does not end in _WSP. \n To use BYOP, specify a value that ends in _BYOP.

\n

For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify \n BYOL_REGULAR, BYOL_REGULAR_WSP, or BYOL_REGULAR_BYOP, \n depending on the protocol.

\n \n

The BYOL_REGULAR_BYOP and BYOL_GRAPHICS_G4DN_BYOP values\n are only supported by Amazon WorkSpaces Core. Contact your account team to be\n allow-listed to use these values. For more information, see Amazon WorkSpaces Core.

\n
", + "smithy.api#documentation": "

The ingestion process to be used when importing the image, depending on which protocol\n you want to use for your BYOL Workspace image, either PCoIP, DCV, or \n bring your own protocol (BYOP). To use WSP, specify a value that ends in \n _DCV. To use PCoIP, specify a value that does not end in _DCV. \n To use BYOP, specify a value that ends in _BYOP.

\n

For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify \n BYOL_REGULAR, BYOL_REGULAR_DCV, or BYOL_REGULAR_BYOP, \n depending on the protocol.

\n \n

The BYOL_REGULAR_BYOP and BYOL_GRAPHICS_G4DN_BYOP values\n are only supported by Amazon WorkSpaces Core. Contact your account team to be\n allow-listed to use these values. For more information, see Amazon WorkSpaces Core.

\n
", "smithy.api#required": {} } }, @@ -6023,7 +6023,7 @@ "Applications": { "target": "com.amazonaws.workspaces#ApplicationList", "traits": { - "smithy.api#documentation": "

If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 and 11\n BYOL images. For more information about subscribing to Office for BYOL images, see Bring\n Your Own Windows Desktop Licenses.

\n \n \n " + "smithy.api#documentation": "

If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 and 11\n BYOL images. For more information about subscribing to Office for BYOL images, see Bring\n Your Own Windows Desktop Licenses.

\n \n \n " } } }, @@ -7358,6 +7358,12 @@ "traits": { "smithy.api#enumValue": "RHEL_8" } + }, + "ROCKY_8": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ROCKY_8" + } } } }, @@ -11119,7 +11125,7 @@ "Protocols": { "target": "com.amazonaws.workspaces#ProtocolList", "traits": { - "smithy.api#documentation": "

The protocol. For more information, see \n \n Protocols for Amazon WorkSpaces.

\n \n \n " + "smithy.api#documentation": "

The protocol. For more information, see \n \n Protocols for Amazon WorkSpaces.

\n \n \n " } }, "OperatingSystemName": { From 2e244ef2047025887f1ffa21c0d957e1b007a936 Mon Sep 17 00:00:00 2001 From: AWS SDK Swift Automation Date: Wed, 20 Nov 2024 19:02:44 +0000 Subject: [PATCH 2/3] Update endpoints model --- codegen/sdk-codegen/sdk-endpoints.json | 1 + 1 file changed, 1 insertion(+) diff --git a/codegen/sdk-codegen/sdk-endpoints.json b/codegen/sdk-codegen/sdk-endpoints.json index 0d53406cc0a..e40b671e252 100644 --- a/codegen/sdk-codegen/sdk-endpoints.json +++ b/codegen/sdk-codegen/sdk-endpoints.json @@ -21631,6 +21631,7 @@ "ap-northeast-2" : { }, "ap-northeast-3" : { }, "ap-south-1" : { }, + "ap-south-2" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, "ap-southeast-3" : { }, From b724bf33f5e92e82e08e8a26387466b63128f8b0 Mon Sep 17 00:00:00 2001 From: AWS SDK Swift Automation Date: Wed, 20 Nov 2024 19:49:41 +0000 Subject: [PATCH 3/3] chore: Updates version to 1.0.45 --- Package.swift | 2 +- Package.version | 2 +- Package.version.next | 2 +- .../AWSACM/Sources/AWSACM/ACMClient.swift | 2 +- .../Sources/AWSACMPCA/ACMPCAClient.swift | 2 +- .../AWSAPIGateway/APIGatewayClient.swift | 2 +- .../ARCZonalShiftClient.swift | 2 +- .../AccessAnalyzerClient.swift | 2 +- .../Sources/AWSAccount/AccountClient.swift | 2 +- .../AWSAmp/Sources/AWSAmp/AmpClient.swift | 2 +- .../Sources/AWSAmplify/AmplifyClient.swift | 2 +- .../AmplifyBackendClient.swift | 2 +- .../AmplifyUIBuilderClient.swift | 2 +- .../ApiGatewayManagementApiClient.swift | 2 +- .../AWSApiGatewayV2/ApiGatewayV2Client.swift | 2 +- .../AWSAppConfig/AppConfigClient.swift | 2 +- .../AppConfigDataClient.swift | 2 +- .../AWSAppFabric/AppFabricClient.swift | 2 +- .../AppIntegrationsClient.swift | 2 +- .../Sources/AWSAppMesh/AppMeshClient.swift | 2 +- .../AWSAppRunner/AppRunnerClient.swift | 2 +- .../AWSAppStream/AppStreamClient.swift | 2 +- .../Sources/AWSAppSync/AppSyncClient.swift | 2 +- .../Sources/AWSAppTest/AppTestClient.swift | 2 +- .../Sources/AWSAppflow/AppflowClient.swift | 2 +- .../ApplicationAutoScalingClient.swift | 2 +- .../ApplicationCostProfilerClient.swift | 2 +- .../ApplicationDiscoveryClient.swift | 3 +- .../Models.swift | 67 +- .../ApplicationInsightsClient.swift | 2 +- .../ApplicationSignalsClient.swift | 2 +- .../Sources/AWSArtifact/ArtifactClient.swift | 2 +- .../Sources/AWSAthena/AthenaClient.swift | 2 +- .../AWSAuditManager/AuditManagerClient.swift | 2 +- .../AWSAutoScaling/AutoScalingClient.swift | 2 +- .../Sources/AWSAutoScaling/Models.swift | 250 ++ .../AutoScalingPlansClient.swift | 2 +- .../AWSB2bi/Sources/AWSB2bi/B2biClient.swift | 2 +- .../BCMDataExportsClient.swift | 2 +- .../Sources/AWSBackup/BackupClient.swift | 2 +- .../BackupGatewayClient.swift | 2 +- .../Sources/AWSBatch/BatchClient.swift | 2 +- .../Sources/AWSBedrock/BedrockClient.swift | 2 +- .../AWSBedrockAgent/BedrockAgentClient.swift | 2 +- .../BedrockAgentRuntimeClient.swift | 78 +- .../AWSBedrockAgentRuntime/Models.swift | 295 ++- .../BedrockRuntimeClient.swift | 2 +- .../Sources/AWSBilling/BillingClient.swift | 2 +- .../BillingconductorClient.swift | 2 +- .../Sources/AWSBraket/BraketClient.swift | 2 +- .../Sources/AWSBudgets/BudgetsClient.swift | 2 +- .../Sources/AWSChatbot/ChatbotClient.swift | 2 +- .../Sources/AWSChime/ChimeClient.swift | 2 +- .../ChimeSDKIdentityClient.swift | 2 +- .../ChimeSDKMediaPipelinesClient.swift | 2 +- .../ChimeSDKMeetingsClient.swift | 2 +- .../ChimeSDKMessagingClient.swift | 2 +- .../ChimeSDKVoiceClient.swift | 2 +- .../AWSCleanRooms/CleanRoomsClient.swift | 2 +- .../AWSCleanRoomsML/CleanRoomsMLClient.swift | 2 +- .../Sources/AWSCloud9/Cloud9Client.swift | 2 +- .../AWSCloudControl/CloudControlClient.swift | 2 +- .../CloudDirectoryClient.swift | 2 +- .../CloudFormationClient.swift | 2 +- .../AWSCloudFront/CloudFrontClient.swift | 899 ++++++- .../Sources/AWSCloudFront/Models.swift | 2116 ++++++++++++++--- .../CloudFrontKeyValueStoreClient.swift | 2 +- .../Sources/AWSCloudHSM/CloudHSMClient.swift | 2 +- .../AWSCloudHSMV2/CloudHSMV2Client.swift | 2 +- .../AWSCloudSearch/CloudSearchClient.swift | 2 +- .../CloudSearchDomainClient.swift | 2 +- .../AWSCloudTrail/CloudTrailClient.swift | 2 +- .../CloudTrailDataClient.swift | 2 +- .../AWSCloudWatch/CloudWatchClient.swift | 2 +- .../CloudWatchEventsClient.swift | 2 +- .../CloudWatchLogsClient.swift | 2 +- .../AWSCodeBuild/CodeBuildClient.swift | 2 +- .../AWSCodeCatalyst/CodeCatalystClient.swift | 2 +- .../AWSCodeCommit/CodeCommitClient.swift | 2 +- .../CodeConnectionsClient.swift | 2 +- .../AWSCodeDeploy/CodeDeployClient.swift | 2 +- .../CodeGuruProfilerClient.swift | 2 +- .../CodeGuruReviewerClient.swift | 2 +- .../CodeGuruSecurityClient.swift | 2 +- .../AWSCodePipeline/CodePipelineClient.swift | 2 +- .../CodeStarconnectionsClient.swift | 2 +- .../AWSCodeartifact/CodeartifactClient.swift | 2 +- .../CodestarnotificationsClient.swift | 2 +- .../CognitoIdentityClient.swift | 2 +- .../CognitoIdentityProviderClient.swift | 2 +- .../AWSCognitoSync/CognitoSyncClient.swift | 2 +- .../AWSComprehend/ComprehendClient.swift | 2 +- .../ComprehendMedicalClient.swift | 2 +- .../ComputeOptimizerClient.swift | 156 +- .../Sources/AWSComputeOptimizer/Models.swift | 1049 +++++++- .../AWSConfigService/ConfigClient.swift | 2 +- .../Sources/AWSConnect/ConnectClient.swift | 2 +- .../ConnectCampaignsClient.swift | 2 +- .../ConnectCampaignsV2Client.swift | 2 +- .../AWSConnectCases/ConnectCasesClient.swift | 2 +- .../ConnectContactLensClient.swift | 2 +- .../ConnectParticipantClient.swift | 2 +- .../ControlCatalogClient.swift | 2 +- .../AWSControlTower/ControlTowerClient.swift | 2 +- .../Sources/AWSControlTower/Models.swift | 20 + .../AWSCostExplorer/CostExplorerClient.swift | 2 +- .../CostOptimizationHubClient.swift | 2 +- .../AWSCostOptimizationHub/Models.swift | 3 + .../CostandUsageReportClient.swift | 2 +- .../CustomerProfilesClient.swift | 2 +- .../AWSDAX/Sources/AWSDAX/DAXClient.swift | 2 +- .../AWSDLM/Sources/AWSDLM/DLMClient.swift | 2 +- .../Sources/AWSDataBrew/DataBrewClient.swift | 2 +- .../AWSDataExchange/DataExchangeClient.swift | 2 +- .../AWSDataPipeline/DataPipelineClient.swift | 2 +- .../Sources/AWSDataSync/DataSyncClient.swift | 2 +- .../Sources/AWSDataZone/DataZoneClient.swift | 371 ++- .../Sources/AWSDataZone/Models.swift | 1707 +++++++++++-- .../DatabaseMigrationClient.swift | 2 +- .../Sources/AWSDeadline/DeadlineClient.swift | 2 +- .../AWSDetective/DetectiveClient.swift | 2 +- .../AWSDevOpsGuru/DevOpsGuruClient.swift | 2 +- .../AWSDeviceFarm/DeviceFarmClient.swift | 2 +- .../DirectConnectClient.swift | 2 +- .../AWSDirectoryService/DirectoryClient.swift | 2 +- .../DirectoryServiceDataClient.swift | 2 +- .../Sources/AWSDocDB/DocDBClient.swift | 2 +- .../AWSDocDBElastic/DocDBElasticClient.swift | 2 +- .../AWSDrs/Sources/AWSDrs/DrsClient.swift | 2 +- .../Sources/AWSDynamoDB/DynamoDBClient.swift | 2 +- .../DynamoDBStreamsClient.swift | 2 +- .../AWSEBS/Sources/AWSEBS/EBSClient.swift | 2 +- .../AWSEC2/Sources/AWSEC2/EC2Client.swift | 4 +- .../AWSEC2/Sources/AWSEC2/Models.swift | 234 +- .../EC2InstanceConnectClient.swift | 2 +- .../AWSECR/Sources/AWSECR/ECRClient.swift | 2 +- .../AWSECRPUBLIC/ECRPUBLICClient.swift | 2 +- .../AWSECS/Sources/AWSECS/ECSClient.swift | 4 +- .../AWSECS/Sources/AWSECS/Models.swift | 48 +- .../AWSEFS/Sources/AWSEFS/EFSClient.swift | 2 +- .../AWSEKS/Sources/AWSEKS/EKSClient.swift | 2 +- .../Sources/AWSEKSAuth/EKSAuthClient.swift | 2 +- .../AWSEMR/Sources/AWSEMR/EMRClient.swift | 2 +- .../EMRServerlessClient.swift | 2 +- .../EMRcontainersClient.swift | 2 +- .../AWSElastiCache/ElastiCacheClient.swift | 2 +- .../ElasticBeanstalkClient.swift | 2 +- .../ElasticInferenceClient.swift | 2 +- .../ElasticLoadBalancingClient.swift | 2 +- .../ElasticLoadBalancingv2Client.swift | 149 +- .../AWSElasticLoadBalancingv2/Models.swift | 502 ++++ .../ElasticTranscoderClient.swift | 2 +- .../ElasticsearchClient.swift | 2 +- .../EntityResolutionClient.swift | 2 +- .../AWSEventBridge/EventBridgeClient.swift | 2 +- .../AWSEvidently/EvidentlyClient.swift | 2 +- .../AWSFMS/Sources/AWSFMS/FMSClient.swift | 2 +- .../AWSFSx/Sources/AWSFSx/FSxClient.swift | 2 +- .../Sources/AWSFinspace/FinspaceClient.swift | 2 +- .../AWSFinspacedata/FinspacedataClient.swift | 2 +- .../Sources/AWSFirehose/FirehoseClient.swift | 2 +- .../AWSFis/Sources/AWSFis/FisClient.swift | 2 +- .../Sources/AWSForecast/ForecastClient.swift | 2 +- .../ForecastqueryClient.swift | 2 +- .../FraudDetectorClient.swift | 2 +- .../Sources/AWSFreeTier/FreeTierClient.swift | 2 +- .../Sources/AWSGameLift/GameLiftClient.swift | 2 +- .../Sources/AWSGeoMaps/GeoMapsClient.swift | 2 +- .../AWSGeoPlaces/GeoPlacesClient.swift | 2 +- .../AWSGeoRoutes/GeoRoutesClient.swift | 2 +- .../Sources/AWSGlacier/GlacierClient.swift | 2 +- .../GlobalAcceleratorClient.swift | 2 +- .../AWSGlue/Sources/AWSGlue/GlueClient.swift | 2 +- .../Sources/AWSGrafana/GrafanaClient.swift | 2 +- .../AWSGreengrass/GreengrassClient.swift | 2 +- .../AWSGreengrassV2/GreengrassV2Client.swift | 2 +- .../GroundStationClient.swift | 2 +- .../AWSGuardDuty/GuardDutyClient.swift | 2 +- .../Sources/AWSHealth/HealthClient.swift | 2 +- .../AWSHealthLake/HealthLakeClient.swift | 2 +- .../AWSIAM/Sources/AWSIAM/IAMClient.swift | 2 +- .../AWSIVSRealTime/IVSRealTimeClient.swift | 2 +- .../IdentitystoreClient.swift | 2 +- .../AWSImagebuilder/ImagebuilderClient.swift | 2 +- .../AWSInspector/InspectorClient.swift | 2 +- .../AWSInspector2/Inspector2Client.swift | 2 +- .../InspectorScanClient.swift | 2 +- .../InternetMonitorClient.swift | 2 +- .../AWSIoT/Sources/AWSIoT/IoTClient.swift | 2 +- .../IoT1ClickDevicesClient.swift | 2 +- .../IoT1ClickProjectsClient.swift | 2 +- .../AWSIoTAnalytics/IoTAnalyticsClient.swift | 2 +- .../AWSIoTDataPlane/IoTDataPlaneClient.swift | 2 +- .../AWSIoTEvents/IoTEventsClient.swift | 2 +- .../IoTEventsDataClient.swift | 2 +- .../AWSIoTFleetHub/IoTFleetHubClient.swift | 2 +- .../AWSIoTFleetWise/IoTFleetWiseClient.swift | 2 +- .../IoTJobsDataPlaneClient.swift | 2 +- .../IoTSecureTunnelingClient.swift | 2 +- .../AWSIoTSiteWise/IoTSiteWiseClient.swift | 2 +- .../IoTThingsGraphClient.swift | 2 +- .../AWSIoTTwinMaker/IoTTwinMakerClient.swift | 2 +- .../AWSIoTWireless/IoTWirelessClient.swift | 2 +- .../IotDeviceAdvisorClient.swift | 2 +- .../AWSIvs/Sources/AWSIvs/IvsClient.swift | 2 +- .../Sources/AWSIvschat/IvschatClient.swift | 2 +- .../AWSKMS/Sources/AWSKMS/KMSClient.swift | 2 +- .../Sources/AWSKafka/KafkaClient.swift | 2 +- .../AWSKafkaConnect/KafkaConnectClient.swift | 2 +- .../Sources/AWSKendra/KendraClient.swift | 2 +- .../KendraRankingClient.swift | 2 +- .../AWSKeyspaces/KeyspacesClient.swift | 2 +- .../Sources/AWSKinesis/KinesisClient.swift | 2 +- .../KinesisAnalyticsClient.swift | 2 +- .../KinesisAnalyticsV2Client.swift | 2 +- .../AWSKinesisVideo/KinesisVideoClient.swift | 2 +- .../KinesisVideoArchivedMediaClient.swift | 2 +- .../KinesisVideoMediaClient.swift | 2 +- .../KinesisVideoSignalingClient.swift | 2 +- .../KinesisVideoWebRTCStorageClient.swift | 2 +- .../LakeFormationClient.swift | 2 +- .../Sources/AWSLambda/LambdaClient.swift | 2 +- .../AWSLambda/Sources/AWSLambda/Models.swift | 3 + .../AWSLaunchWizard/LaunchWizardClient.swift | 2 +- .../LexModelBuildingClient.swift | 2 +- .../AWSLexModelsV2/LexModelsV2Client.swift | 2 +- .../LexRuntimeClient.swift | 2 +- .../AWSLexRuntimeV2/LexRuntimeV2Client.swift | 2 +- .../LicenseManagerClient.swift | 2 +- ...censeManagerLinuxSubscriptionsClient.swift | 2 +- ...icenseManagerUserSubscriptionsClient.swift | 2 +- .../AWSLightsail/LightsailClient.swift | 2 +- .../Sources/AWSLocation/LocationClient.swift | 2 +- .../LookoutEquipmentClient.swift | 2 +- .../LookoutMetricsClient.swift | 2 +- .../LookoutVisionClient.swift | 2 +- .../AWSM2/Sources/AWSM2/M2Client.swift | 2 +- .../Sources/AWSMTurk/MTurkClient.swift | 2 +- .../AWSMWAA/Sources/AWSMWAA/MWAAClient.swift | 2 +- .../MachineLearningClient.swift | 2 +- .../Sources/AWSMacie2/Macie2Client.swift | 2 +- .../AWSMailManager/MailManagerClient.swift | 2 +- .../ManagedBlockchainClient.swift | 2 +- .../ManagedBlockchainQueryClient.swift | 2 +- .../MarketplaceAgreementClient.swift | 2 +- .../MarketplaceCatalogClient.swift | 2 +- .../MarketplaceCommerceAnalyticsClient.swift | 2 +- .../MarketplaceDeploymentClient.swift | 2 +- .../MarketplaceEntitlementClient.swift | 2 +- .../MarketplaceMeteringClient.swift | 2 +- .../MarketplaceReportingClient.swift | 2 +- .../AWSMediaConnect/MediaConnectClient.swift | 2 +- .../AWSMediaConvert/MediaConvertClient.swift | 2 +- .../Sources/AWSMediaConvert/Models.swift | 73 +- .../AWSMediaLive/MediaLiveClient.swift | 2 +- .../AWSMediaPackage/MediaPackageClient.swift | 2 +- .../MediaPackageV2Client.swift | 2 +- .../Sources/AWSMediaPackageV2/Models.swift | 128 +- .../MediaPackageVodClient.swift | 2 +- .../AWSMediaStore/MediaStoreClient.swift | 2 +- .../MediaStoreDataClient.swift | 2 +- .../AWSMediaTailor/MediaTailorClient.swift | 2 +- .../MedicalImagingClient.swift | 2 +- .../Sources/AWSMemoryDB/MemoryDBClient.swift | 2 +- .../AWSMgn/Sources/AWSMgn/MgnClient.swift | 2 +- .../AWSMigrationHub/MigrationHubClient.swift | 2 +- .../MigrationHubConfigClient.swift | 2 +- .../MigrationHubOrchestratorClient.swift | 2 +- .../MigrationHubRefactorSpacesClient.swift | 2 +- .../MigrationHubStrategyClient.swift | 2 +- .../AWSMq/Sources/AWSMq/MqClient.swift | 2 +- .../Sources/AWSNeptune/NeptuneClient.swift | 2 +- .../AWSNeptuneGraph/NeptuneGraphClient.swift | 2 +- .../AWSNeptunedata/NeptunedataClient.swift | 2 +- .../NetworkFirewallClient.swift | 2 +- .../NetworkManagerClient.swift | 2 +- .../NetworkMonitorClient.swift | 2 +- .../AWSOAM/Sources/AWSOAM/OAMClient.swift | 2 +- .../AWSOSIS/Sources/AWSOSIS/OSISClient.swift | 2 +- .../AWSOmics/Sources/AWSOmics/Models.swift | 621 ++++- .../Sources/AWSOmics/OmicsClient.swift | 381 ++- .../AWSOpenSearch/OpenSearchClient.swift | 2 +- .../OpenSearchServerlessClient.swift | 2 +- .../Sources/AWSOpsWorks/OpsWorksClient.swift | 2 +- .../AWSOpsWorksCM/OpsWorksCMClient.swift | 2 +- .../OrganizationsClient.swift | 2 +- .../Sources/AWSOutposts/OutpostsClient.swift | 2 +- .../AWSPCS/Sources/AWSPCS/PCSClient.swift | 2 +- .../AWSPI/Sources/AWSPI/PIClient.swift | 2 +- .../Sources/AWSPanorama/PanoramaClient.swift | 2 +- .../PartnerCentralSellingClient.swift | 2 +- .../PaymentCryptographyClient.swift | 2 +- .../PaymentCryptographyDataClient.swift | 2 +- .../PcaConnectorAdClient.swift | 2 +- .../PcaConnectorScepClient.swift | 2 +- .../AWSPersonalize/PersonalizeClient.swift | 2 +- .../PersonalizeEventsClient.swift | 2 +- .../PersonalizeRuntimeClient.swift | 2 +- .../Sources/AWSPinpoint/PinpointClient.swift | 2 +- .../PinpointEmailClient.swift | 2 +- .../PinpointSMSVoiceClient.swift | 2 +- .../PinpointSMSVoiceV2Client.swift | 2 +- .../Sources/AWSPipes/PipesClient.swift | 2 +- .../Sources/AWSPolly/PollyClient.swift | 2 +- .../Sources/AWSPricing/PricingClient.swift | 2 +- .../PrivateNetworksClient.swift | 2 +- .../Sources/AWSProton/ProtonClient.swift | 2 +- .../Sources/AWSQApps/QAppsClient.swift | 2 +- .../AWSQBusiness/QBusinessClient.swift | 2 +- .../Sources/AWSQConnect/QConnectClient.swift | 2 +- .../AWSQLDB/Sources/AWSQLDB/QLDBClient.swift | 2 +- .../AWSQLDBSession/QLDBSessionClient.swift | 2 +- .../AWSQuickSight/QuickSightClient.swift | 2 +- .../AWSRAM/Sources/AWSRAM/RAMClient.swift | 2 +- .../AWSRDS/Sources/AWSRDS/Models.swift | 20 + .../AWSRDS/Sources/AWSRDS/RDSClient.swift | 4 +- .../Sources/AWSRDSData/RDSDataClient.swift | 2 +- .../AWSRUM/Sources/AWSRUM/RUMClient.swift | 2 +- .../AWSRbin/Sources/AWSRbin/Models.swift | 110 +- .../AWSRbin/Sources/AWSRbin/Paginators.swift | 1 + .../AWSRbin/Sources/AWSRbin/RbinClient.swift | 13 +- .../Sources/AWSRedshift/RedshiftClient.swift | 2 +- .../AWSRedshiftData/RedshiftDataClient.swift | 2 +- .../RedshiftServerlessClient.swift | 2 +- .../AWSRekognition/RekognitionClient.swift | 2 +- .../AWSRepostspace/RepostspaceClient.swift | 2 +- .../ResiliencehubClient.swift | 2 +- .../ResourceExplorer2Client.swift | 2 +- .../ResourceGroupsClient.swift | 2 +- .../ResourceGroupsTaggingAPIClient.swift | 2 +- .../AWSRoboMaker/RoboMakerClient.swift | 2 +- .../RolesAnywhereClient.swift | 2 +- .../Sources/AWSRoute53/Route53Client.swift | 2 +- .../Route53DomainsClient.swift | 2 +- .../Route53ProfilesClient.swift | 2 +- .../Route53RecoveryClusterClient.swift | 2 +- .../Route53RecoveryControlConfigClient.swift | 2 +- .../Route53RecoveryReadinessClient.swift | 2 +- .../Route53ResolverClient.swift | 2 +- .../AWSS3/Sources/AWSS3/S3Client.swift | 2 +- .../AWSS3Control/S3ControlClient.swift | 2 +- .../AWSS3Outposts/S3OutpostsClient.swift | 2 +- .../AWSSES/Sources/AWSSES/SESClient.swift | 2 +- .../Sources/AWSSESv2/SESv2Client.swift | 2 +- .../AWSSFN/Sources/AWSSFN/SFNClient.swift | 2 +- .../AWSSMS/Sources/AWSSMS/SMSClient.swift | 2 +- .../AWSSNS/Sources/AWSSNS/SNSClient.swift | 2 +- .../AWSSQS/Sources/AWSSQS/SQSClient.swift | 2 +- .../AWSSSM/Sources/AWSSSM/SSMClient.swift | 2 +- .../AWSSSMContacts/SSMContactsClient.swift | 2 +- .../AWSSSMIncidents/SSMIncidentsClient.swift | 2 +- .../SSMQuickSetupClient.swift | 2 +- .../AWSSSO/Sources/AWSSSO/SSOClient.swift | 2 +- .../Sources/AWSSSOAdmin/SSOAdminClient.swift | 2 +- .../Sources/AWSSSOOIDC/SSOOIDCClient.swift | 2 +- .../AWSSTS/Sources/AWSSTS/STSClient.swift | 2 +- .../AWSSWF/Sources/AWSSWF/SWFClient.swift | 2 +- .../AWSSageMaker/SageMakerClient.swift | 2 +- .../SageMakerA2IRuntimeClient.swift | 2 +- .../SageMakerFeatureStoreRuntimeClient.swift | 2 +- .../SageMakerGeospatialClient.swift | 2 +- .../SageMakerMetricsClient.swift | 2 +- .../SageMakerRuntimeClient.swift | 2 +- .../SagemakerEdgeClient.swift | 2 +- .../AWSSavingsplans/SavingsplansClient.swift | 2 +- .../AWSScheduler/SchedulerClient.swift | 2 +- .../Sources/AWSSchemas/SchemasClient.swift | 2 +- .../SecretsManagerClient.swift | 2 +- .../AWSSecurityHub/SecurityHubClient.swift | 2 +- .../AWSSecurityLake/SecurityLakeClient.swift | 2 +- ...erverlessApplicationRepositoryClient.swift | 2 +- .../ServiceCatalogClient.swift | 2 +- .../ServiceCatalogAppRegistryClient.swift | 2 +- .../ServiceDiscoveryClient.swift | 2 +- .../ServiceQuotasClient.swift | 2 +- .../Sources/AWSShield/ShieldClient.swift | 2 +- .../Sources/AWSSigner/SignerClient.swift | 2 +- .../SimSpaceWeaverClient.swift | 2 +- .../SnowDeviceManagementClient.swift | 2 +- .../Sources/AWSSnowball/SnowballClient.swift | 2 +- .../SocialMessagingClient.swift | 2 +- .../Sources/AWSSsmSap/SsmSapClient.swift | 2 +- .../StorageGatewayClient.swift | 2 +- .../AWSSupplyChain/SupplyChainClient.swift | 2 +- .../Sources/AWSSupport/SupportClient.swift | 2 +- .../AWSSupportApp/SupportAppClient.swift | 2 +- .../AWSSynthetics/SyntheticsClient.swift | 2 +- .../AWSTaxSettings/TaxSettingsClient.swift | 2 +- .../Sources/AWSTextract/TextractClient.swift | 2 +- .../TimestreamInfluxDBClient.swift | 2 +- .../Sources/AWSTimestreamQuery/Models.swift | 356 ++- .../TimestreamQueryClient.swift | 110 +- .../TimestreamWriteClient.swift | 2 +- .../AWSTnb/Sources/AWSTnb/TnbClient.swift | 2 +- .../AWSTranscribe/TranscribeClient.swift | 2 +- .../TranscribeStreamingClient.swift | 2 +- .../Sources/AWSTransfer/TransferClient.swift | 2 +- .../AWSTranslate/TranslateClient.swift | 2 +- .../TrustedAdvisorClient.swift | 2 +- .../AWSVPCLattice/VPCLatticeClient.swift | 2 +- .../VerifiedPermissionsClient.swift | 2 +- .../Sources/AWSVoiceID/VoiceIDClient.swift | 2 +- .../AWSWAF/Sources/AWSWAF/WAFClient.swift | 2 +- .../AWSWAFRegional/WAFRegionalClient.swift | 2 +- .../Sources/AWSWAFV2/WAFV2Client.swift | 2 +- .../WellArchitectedClient.swift | 2 +- .../Sources/AWSWisdom/WisdomClient.swift | 2 +- .../Sources/AWSWorkDocs/WorkDocsClient.swift | 2 +- .../Sources/AWSWorkMail/WorkMailClient.swift | 2 +- .../WorkMailMessageFlowClient.swift | 2 +- .../Sources/AWSWorkSpaces/Models.swift | 15 +- .../AWSWorkSpaces/WorkSpacesClient.swift | 4 +- .../WorkSpacesThinClientClient.swift | 2 +- .../Sources/AWSWorkSpacesWeb/Models.swift | 933 +++++++- .../WorkSpacesWebClient.swift | 505 +++- .../AWSXRay/Sources/AWSXRay/XRayClient.swift | 2 +- packageDependencies.plist | 2 +- 417 files changed, 10856 insertions(+), 1140 deletions(-) diff --git a/Package.swift b/Package.swift index 9316b1ffe92..44c3b0cbaf6 100644 --- a/Package.swift +++ b/Package.swift @@ -15,7 +15,7 @@ import PackageDescription // MARK: - Dynamic Content -let clientRuntimeVersion: Version = "0.94.0" +let clientRuntimeVersion: Version = "0.95.0" let crtVersion: Version = "0.37.0" let excludeRuntimeUnitTests = false diff --git a/Package.version b/Package.version index b5d72718d32..36f23e1c6a2 100644 --- a/Package.version +++ b/Package.version @@ -1 +1 @@ -1.0.44 \ No newline at end of file +1.0.45 \ No newline at end of file diff --git a/Package.version.next b/Package.version.next index 36f23e1c6a2..9e6b608e28a 100644 --- a/Package.version.next +++ b/Package.version.next @@ -1 +1 @@ -1.0.45 \ No newline at end of file +1.0.46 \ No newline at end of file diff --git a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift index d18fb9ee0f2..7cf64d46ac6 100644 --- a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift +++ b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ACMClient: ClientRuntime.Client { public static let clientName = "ACMClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ACMClient.ACMClientConfiguration let serviceName = "ACM" diff --git a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift index 58b659e8f3a..2c3164c4dcb 100644 --- a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift +++ b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ACMPCAClient: ClientRuntime.Client { public static let clientName = "ACMPCAClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ACMPCAClient.ACMPCAClientConfiguration let serviceName = "ACM PCA" diff --git a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift index cf9b9acb8af..5d487ec691e 100644 --- a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift +++ b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class APIGatewayClient: ClientRuntime.Client { public static let clientName = "APIGatewayClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: APIGatewayClient.APIGatewayClientConfiguration let serviceName = "API Gateway" diff --git a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift index 6daa66660ca..d68d78a1cd8 100644 --- a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift +++ b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ARCZonalShiftClient: ClientRuntime.Client { public static let clientName = "ARCZonalShiftClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ARCZonalShiftClient.ARCZonalShiftClientConfiguration let serviceName = "ARC Zonal Shift" diff --git a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift index 0359931041c..40d80553010 100644 --- a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift +++ b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AccessAnalyzerClient: ClientRuntime.Client { public static let clientName = "AccessAnalyzerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AccessAnalyzerClient.AccessAnalyzerClientConfiguration let serviceName = "AccessAnalyzer" diff --git a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift index 9fd8db3e436..5e027cfc946 100644 --- a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift +++ b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AccountClient: ClientRuntime.Client { public static let clientName = "AccountClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AccountClient.AccountClientConfiguration let serviceName = "Account" diff --git a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift index 92d7aa3c60c..f741dec704a 100644 --- a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift +++ b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmpClient: ClientRuntime.Client { public static let clientName = "AmpClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AmpClient.AmpClientConfiguration let serviceName = "amp" diff --git a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift index c766c6f16bd..a902f470dbb 100644 --- a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift +++ b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyClient: ClientRuntime.Client { public static let clientName = "AmplifyClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AmplifyClient.AmplifyClientConfiguration let serviceName = "Amplify" diff --git a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift index 2f9ea0d40fd..0c9bb2878e9 100644 --- a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift +++ b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyBackendClient: ClientRuntime.Client { public static let clientName = "AmplifyBackendClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AmplifyBackendClient.AmplifyBackendClientConfiguration let serviceName = "AmplifyBackend" diff --git a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift index 396e3e117f7..66b83a18179 100644 --- a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift +++ b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyUIBuilderClient: ClientRuntime.Client { public static let clientName = "AmplifyUIBuilderClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AmplifyUIBuilderClient.AmplifyUIBuilderClientConfiguration let serviceName = "AmplifyUIBuilder" diff --git a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift index 5d44986e9aa..e9e0fbe4635 100644 --- a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift +++ b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApiGatewayManagementApiClient: ClientRuntime.Client { public static let clientName = "ApiGatewayManagementApiClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ApiGatewayManagementApiClient.ApiGatewayManagementApiClientConfiguration let serviceName = "ApiGatewayManagementApi" diff --git a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift index 96b23ede09e..c95e6e37ab0 100644 --- a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift +++ b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApiGatewayV2Client: ClientRuntime.Client { public static let clientName = "ApiGatewayV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ApiGatewayV2Client.ApiGatewayV2ClientConfiguration let serviceName = "ApiGatewayV2" diff --git a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift index 1d40b35d74c..4e02ce167e5 100644 --- a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift +++ b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppConfigClient: ClientRuntime.Client { public static let clientName = "AppConfigClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppConfigClient.AppConfigClientConfiguration let serviceName = "AppConfig" diff --git a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift index 0207d03cdb5..a1eaeafbf8d 100644 --- a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift +++ b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppConfigDataClient: ClientRuntime.Client { public static let clientName = "AppConfigDataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppConfigDataClient.AppConfigDataClientConfiguration let serviceName = "AppConfigData" diff --git a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift index f78c4b3c032..9ae050a08e6 100644 --- a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift +++ b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppFabricClient: ClientRuntime.Client { public static let clientName = "AppFabricClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppFabricClient.AppFabricClientConfiguration let serviceName = "AppFabric" diff --git a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift index c0021797543..779ad24d587 100644 --- a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift +++ b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppIntegrationsClient: ClientRuntime.Client { public static let clientName = "AppIntegrationsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppIntegrationsClient.AppIntegrationsClientConfiguration let serviceName = "AppIntegrations" diff --git a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift index 5cbbb74ae47..e4261155010 100644 --- a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift +++ b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppMeshClient: ClientRuntime.Client { public static let clientName = "AppMeshClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppMeshClient.AppMeshClientConfiguration let serviceName = "App Mesh" diff --git a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift index 3c00864f564..76384f771ae 100644 --- a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift +++ b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppRunnerClient: ClientRuntime.Client { public static let clientName = "AppRunnerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppRunnerClient.AppRunnerClientConfiguration let serviceName = "AppRunner" diff --git a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift index 3c55095cc7d..979630ba719 100644 --- a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift +++ b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppStreamClient: ClientRuntime.Client { public static let clientName = "AppStreamClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppStreamClient.AppStreamClientConfiguration let serviceName = "AppStream" diff --git a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift index c8877a70e1a..2edbd6fdfdb 100644 --- a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift +++ b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppSyncClient: ClientRuntime.Client { public static let clientName = "AppSyncClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppSyncClient.AppSyncClientConfiguration let serviceName = "AppSync" diff --git a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift index 279566aac89..48518d37e7f 100644 --- a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift +++ b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppTestClient: ClientRuntime.Client { public static let clientName = "AppTestClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppTestClient.AppTestClientConfiguration let serviceName = "AppTest" diff --git a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift index 51c633889b9..dc14880d4f3 100644 --- a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift +++ b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppflowClient: ClientRuntime.Client { public static let clientName = "AppflowClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AppflowClient.AppflowClientConfiguration let serviceName = "Appflow" diff --git a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift index ca296283a4c..ba9f888a8d8 100644 --- a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift +++ b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationAutoScalingClient: ClientRuntime.Client { public static let clientName = "ApplicationAutoScalingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ApplicationAutoScalingClient.ApplicationAutoScalingClientConfiguration let serviceName = "Application Auto Scaling" diff --git a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift index 052d9766ea7..e2bd742f469 100644 --- a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift +++ b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationCostProfilerClient: ClientRuntime.Client { public static let clientName = "ApplicationCostProfilerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ApplicationCostProfilerClient.ApplicationCostProfilerClientConfiguration let serviceName = "ApplicationCostProfiler" diff --git a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift index 6a846f4ee84..5864432a6ea 100644 --- a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift +++ b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationDiscoveryClient: ClientRuntime.Client { public static let clientName = "ApplicationDiscoveryClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ApplicationDiscoveryClient.ApplicationDiscoveryClientConfiguration let serviceName = "Application Discovery" @@ -1717,6 +1717,7 @@ extension ApplicationDiscoveryClient { /// __Possible Exceptions:__ /// - `AuthorizationErrorException` : The user does not have permission to perform the action. Check the IAM policy associated with this user. /// - `HomeRegionNotSetException` : The home Region is not set. Set the home Region to continue. + /// - `InvalidParameterException` : One or more parameters are not valid. Verify the parameters and try again. /// - `InvalidParameterValueException` : The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again. /// - `LimitExceededException` : The limit of 200 configuration IDs per request has been exceeded. /// - `OperationNotPermittedException` : This operation is not permitted. diff --git a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/Models.swift b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/Models.swift index 51fbd526986..7336592fa72 100644 --- a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/Models.swift +++ b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/Models.swift @@ -516,24 +516,28 @@ public struct BatchDeleteImportDataOutput: Swift.Sendable { } public struct CreateApplicationInput: Swift.Sendable { - /// Description of the application to be created. + /// The description of the application to be created. public var description: Swift.String? - /// Name of the application to be created. + /// The name of the application to be created. /// This member is required. public var name: Swift.String? + /// The name of the migration wave of the application to be created. + public var wave: Swift.String? public init( description: Swift.String? = nil, - name: Swift.String? = nil + name: Swift.String? = nil, + wave: Swift.String? = nil ) { self.description = description self.name = name + self.wave = wave } } public struct CreateApplicationOutput: Swift.Sendable { - /// Configuration ID of an application to be created. + /// The configuration ID of an application to be created. public var configurationId: Swift.String? public init( @@ -1338,6 +1342,7 @@ public struct DescribeExportTasksOutput: Swift.Sendable { extension ApplicationDiscoveryClientTypes { public enum ImportTaskFilterName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case fileClassification case importTaskId case name case status @@ -1345,6 +1350,7 @@ extension ApplicationDiscoveryClientTypes { public static var allCases: [ImportTaskFilterName] { return [ + .fileClassification, .importTaskId, .name, .status @@ -1358,6 +1364,7 @@ extension ApplicationDiscoveryClientTypes { public var rawValue: Swift.String { switch self { + case .fileClassification: return "FILE_CLASSIFICATION" case .importTaskId: return "IMPORT_TASK_ID" case .name: return "NAME" case .status: return "STATUS" @@ -1407,6 +1414,41 @@ public struct DescribeImportTasksInput: Swift.Sendable { } } +extension ApplicationDiscoveryClientTypes { + + public enum FileClassification: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case importTemplate + case modelizeitExport + case rvtoolsExport + case vmwareNsxExport + case sdkUnknown(Swift.String) + + public static var allCases: [FileClassification] { + return [ + .importTemplate, + .modelizeitExport, + .rvtoolsExport, + .vmwareNsxExport + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .importTemplate: return "IMPORT_TEMPLATE" + case .modelizeitExport: return "MODELIZEIT_EXPORT" + case .rvtoolsExport: return "RVTOOLS_EXPORT" + case .vmwareNsxExport: return "VMWARE_NSX_EXPORT" + case let .sdkUnknown(s): return s + } + } + } +} + extension ApplicationDiscoveryClientTypes { public enum ImportStatus: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1419,6 +1461,7 @@ extension ApplicationDiscoveryClientTypes { case importFailed case importFailedRecordLimitExceeded case importFailedServerLimitExceeded + case importFailedUnsupportedFileType case importInProgress case internalError case sdkUnknown(Swift.String) @@ -1434,6 +1477,7 @@ extension ApplicationDiscoveryClientTypes { .importFailed, .importFailedRecordLimitExceeded, .importFailedServerLimitExceeded, + .importFailedUnsupportedFileType, .importInProgress, .internalError ] @@ -1455,6 +1499,7 @@ extension ApplicationDiscoveryClientTypes { case .importFailed: return "IMPORT_FAILED" case .importFailedRecordLimitExceeded: return "IMPORT_FAILED_RECORD_LIMIT_EXCEEDED" case .importFailedServerLimitExceeded: return "IMPORT_FAILED_SERVER_LIMIT_EXCEEDED" + case .importFailedUnsupportedFileType: return "IMPORT_FAILED_UNSUPPORTED_FILE_TYPE" case .importInProgress: return "IMPORT_IN_PROGRESS" case .internalError: return "INTERNAL_ERROR" case let .sdkUnknown(s): return s @@ -1475,6 +1520,8 @@ extension ApplicationDiscoveryClientTypes { public var clientRequestToken: Swift.String? /// A link to a compressed archive folder (in the ZIP format) that contains an error log and a file of failed records. You can use these two files to quickly identify records that failed, why they failed, and correct those records. Afterward, you can upload the corrected file to your Amazon S3 bucket and create another import task request. This field also includes authorization information so you can confirm the authenticity of the compressed archive before you download it. If some records failed to be imported we recommend that you correct the records in the failed entries file and then imports that failed entries file. This prevents you from having to correct and update the larger original file and attempt importing it again. public var errorsAndFailedEntriesZip: Swift.String? + /// The type of file detected by the import task. + public var fileClassification: ApplicationDiscoveryClientTypes.FileClassification? /// The time that the import task request finished, presented in the Unix time stamp format. public var importCompletionTime: Foundation.Date? /// The time that the import task request was deleted, presented in the Unix time stamp format. @@ -1499,6 +1546,7 @@ extension ApplicationDiscoveryClientTypes { applicationImportSuccess: Swift.Int = 0, clientRequestToken: Swift.String? = nil, errorsAndFailedEntriesZip: Swift.String? = nil, + fileClassification: ApplicationDiscoveryClientTypes.FileClassification? = nil, importCompletionTime: Foundation.Date? = nil, importDeletedTime: Foundation.Date? = nil, importRequestTime: Foundation.Date? = nil, @@ -1514,6 +1562,7 @@ extension ApplicationDiscoveryClientTypes { self.applicationImportSuccess = applicationImportSuccess self.clientRequestToken = clientRequestToken self.errorsAndFailedEntriesZip = errorsAndFailedEntriesZip + self.fileClassification = fileClassification self.importCompletionTime = importCompletionTime self.importDeletedTime = importDeletedTime self.importRequestTime = importRequestTime @@ -2656,16 +2705,20 @@ public struct UpdateApplicationInput: Swift.Sendable { public var description: Swift.String? /// New name of the application to be updated. public var name: Swift.String? + /// The new migration wave of the application that you want to update. + public var wave: Swift.String? public init( configurationId: Swift.String? = nil, description: Swift.String? = nil, - name: Swift.String? = nil + name: Swift.String? = nil, + wave: Swift.String? = nil ) { self.configurationId = configurationId self.description = description self.name = name + self.wave = wave } } @@ -2902,6 +2955,7 @@ extension CreateApplicationInput { guard let value else { return } try writer["description"].write(value.description) try writer["name"].write(value.name) + try writer["wave"].write(value.wave) } } @@ -3128,6 +3182,7 @@ extension UpdateApplicationInput { try writer["configurationId"].write(value.configurationId) try writer["description"].write(value.description) try writer["name"].write(value.name) + try writer["wave"].write(value.wave) } } @@ -3834,6 +3889,7 @@ enum StartBatchDeleteConfigurationTaskOutputError { switch baseError.code { case "AuthorizationErrorException": return try AuthorizationErrorException.makeError(baseError: baseError) case "HomeRegionNotSetException": return try HomeRegionNotSetException.makeError(baseError: baseError) + case "InvalidParameterException": return try InvalidParameterException.makeError(baseError: baseError) case "InvalidParameterValueException": return try InvalidParameterValueException.makeError(baseError: baseError) case "LimitExceededException": return try LimitExceededException.makeError(baseError: baseError) case "OperationNotPermittedException": return try OperationNotPermittedException.makeError(baseError: baseError) @@ -4250,6 +4306,7 @@ extension ApplicationDiscoveryClientTypes.ImportTask { value.importRequestTime = try reader["importRequestTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) value.importCompletionTime = try reader["importCompletionTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) value.importDeletedTime = try reader["importDeletedTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.fileClassification = try reader["fileClassification"].readIfPresent() value.serverImportSuccess = try reader["serverImportSuccess"].readIfPresent() ?? 0 value.serverImportFailure = try reader["serverImportFailure"].readIfPresent() ?? 0 value.applicationImportSuccess = try reader["applicationImportSuccess"].readIfPresent() ?? 0 diff --git a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift index 76fc748bf66..bb6860ea075 100644 --- a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift +++ b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationInsightsClient: ClientRuntime.Client { public static let clientName = "ApplicationInsightsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ApplicationInsightsClient.ApplicationInsightsClientConfiguration let serviceName = "Application Insights" diff --git a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift index 584a1e033bc..981ff25e787 100644 --- a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift +++ b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationSignalsClient: ClientRuntime.Client { public static let clientName = "ApplicationSignalsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ApplicationSignalsClient.ApplicationSignalsClientConfiguration let serviceName = "Application Signals" diff --git a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift index c25ef478321..79b4f5657e8 100644 --- a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift +++ b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ArtifactClient: ClientRuntime.Client { public static let clientName = "ArtifactClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ArtifactClient.ArtifactClientConfiguration let serviceName = "Artifact" diff --git a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift index 4508a3d5b23..1ffb349fea1 100644 --- a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift +++ b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AthenaClient: ClientRuntime.Client { public static let clientName = "AthenaClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AthenaClient.AthenaClientConfiguration let serviceName = "Athena" diff --git a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift index 9cd03c31b94..301bf67113b 100644 --- a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift +++ b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AuditManagerClient: ClientRuntime.Client { public static let clientName = "AuditManagerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AuditManagerClient.AuditManagerClientConfiguration let serviceName = "AuditManager" diff --git a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift index df3888852d3..28ec9a2ec30 100644 --- a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift +++ b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AutoScalingClient: ClientRuntime.Client { public static let clientName = "AutoScalingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AutoScalingClient.AutoScalingClientConfiguration let serviceName = "Auto Scaling" diff --git a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/Models.swift b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/Models.swift index 6dd05753b10..b3f4b49f567 100644 --- a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/Models.swift +++ b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/Models.swift @@ -1036,6 +1036,89 @@ extension AutoScalingClientTypes { } } +extension AutoScalingClientTypes { + + public enum CapacityReservationPreference: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case capacityreservationsfirst + case capacityreservationsonly + case `default` + case `none` + case sdkUnknown(Swift.String) + + public static var allCases: [CapacityReservationPreference] { + return [ + .capacityreservationsfirst, + .capacityreservationsonly, + .default, + .none + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .capacityreservationsfirst: return "capacity-reservations-first" + case .capacityreservationsonly: return "capacity-reservations-only" + case .default: return "default" + case .none: return "none" + case let .sdkUnknown(s): return s + } + } + } +} + +extension AutoScalingClientTypes { + + /// The target for the Capacity Reservation. Specify Capacity Reservations IDs or Capacity Reservation resource group ARNs. + public struct CapacityReservationTarget: Swift.Sendable { + /// The Capacity Reservation IDs to launch instances into. + public var capacityReservationIds: [Swift.String]? + /// The resource group ARNs of the Capacity Reservation to launch instances into. + public var capacityReservationResourceGroupArns: [Swift.String]? + + public init( + capacityReservationIds: [Swift.String]? = nil, + capacityReservationResourceGroupArns: [Swift.String]? = nil + ) + { + self.capacityReservationIds = capacityReservationIds + self.capacityReservationResourceGroupArns = capacityReservationResourceGroupArns + } + } +} + +extension AutoScalingClientTypes { + + /// Describes the Capacity Reservation preference and targeting options. If you specify open or none for CapacityReservationPreference, do not specify a CapacityReservationTarget. + public struct CapacityReservationSpecification: Swift.Sendable { + /// The capacity reservation preference. The following options are available: + /// + /// * capacity-reservations-only - Auto Scaling will only launch instances into a Capacity Reservation or Capacity Reservation resource group. If capacity isn't available, instances will fail to launch. + /// + /// * capacity-reservations-first - Auto Scaling will try to launch instances into a Capacity Reservation or Capacity Reservation resource group first. If capacity isn't available, instances will run in On-Demand capacity. + /// + /// * none - Auto Scaling will not launch instances into a Capacity Reservation. Instances will run in On-Demand capacity. + /// + /// * default - Auto Scaling uses the Capacity Reservation preference from your launch template or an open Capacity Reservation. + public var capacityReservationPreference: AutoScalingClientTypes.CapacityReservationPreference? + /// Describes a target Capacity Reservation or Capacity Reservation resource group. + public var capacityReservationTarget: AutoScalingClientTypes.CapacityReservationTarget? + + public init( + capacityReservationPreference: AutoScalingClientTypes.CapacityReservationPreference? = nil, + capacityReservationTarget: AutoScalingClientTypes.CapacityReservationTarget? = nil + ) + { + self.capacityReservationPreference = capacityReservationPreference + self.capacityReservationTarget = capacityReservationTarget + } + } +} + extension AutoScalingClientTypes { /// Describes an instance maintenance policy. For more information, see [Set instance maintenance policy](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html) in the Amazon EC2 Auto Scaling User Guide. @@ -1214,6 +1297,73 @@ extension AutoScalingClientTypes { } } +extension AutoScalingClientTypes { + + /// Specify an instance family to use as the baseline reference for CPU performance. All instance types that All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. Currently only one instance family can be specified in the list. + public struct PerformanceFactorReferenceRequest: Swift.Sendable { + /// The instance family to use as a baseline reference. Make sure that you specify the correct value for the instance family. The instance family is everything before the period (.) in the instance type name. For example, in the instance c6i.large, the instance family is c6i, not c6. For more information, see [Amazon EC2 instance type naming conventions](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html) in Amazon EC2 Instance Types. The following instance types are not supported for performance protection. + /// + /// * c1 + /// + /// * g3| g3s + /// + /// * hpc7g + /// + /// * m1| m2 + /// + /// * mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro + /// + /// * p3dn | p4d | p5 + /// + /// * t1 + /// + /// * u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb + /// + /// + /// If you performance protection by specifying a supported instance family, the returned instance types will exclude the preceding unsupported instance families. If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response. + public var instanceFamily: Swift.String? + + public init( + instanceFamily: Swift.String? = nil + ) + { + self.instanceFamily = instanceFamily + } + } +} + +extension AutoScalingClientTypes { + + /// The CPU performance to consider, using an instance family as the baseline reference. + public struct CpuPerformanceFactorRequest: Swift.Sendable { + /// Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. Currently only one instance family can be specified in the list. + public var references: [AutoScalingClientTypes.PerformanceFactorReferenceRequest]? + + public init( + references: [AutoScalingClientTypes.PerformanceFactorReferenceRequest]? = nil + ) + { + self.references = references + } + } +} + +extension AutoScalingClientTypes { + + /// The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Auto Scaling uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying c6i uses the CPU performance of the c6i family as the baseline reference. + public struct BaselinePerformanceFactorsRequest: Swift.Sendable { + /// The CPU performance to consider, using an instance family as the baseline reference. + public var cpu: AutoScalingClientTypes.CpuPerformanceFactorRequest? + + public init( + cpu: AutoScalingClientTypes.CpuPerformanceFactorRequest? = nil + ) + { + self.cpu = cpu + } + } +} + extension AutoScalingClientTypes { public enum BurstablePerformance: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -1554,6 +1704,8 @@ extension AutoScalingClientTypes { public var bareMetal: AutoScalingClientTypes.BareMetal? /// The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the Amazon EC2 User Guide for Linux Instances. Default: No minimum or maximum limits public var baselineEbsBandwidthMbps: AutoScalingClientTypes.BaselineEbsBandwidthMbpsRequest? + /// The baseline performance factors for the instance requirements. + public var baselinePerformanceFactors: AutoScalingClientTypes.BaselinePerformanceFactorsRequest? /// Indicates whether burstable performance instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html) in the Amazon EC2 User Guide for Linux Instances. Default: excluded public var burstablePerformance: AutoScalingClientTypes.BurstablePerformance? /// Lists which specific CPU manufacturers to include. @@ -1621,6 +1773,7 @@ extension AutoScalingClientTypes { allowedInstanceTypes: [Swift.String]? = nil, bareMetal: AutoScalingClientTypes.BareMetal? = nil, baselineEbsBandwidthMbps: AutoScalingClientTypes.BaselineEbsBandwidthMbpsRequest? = nil, + baselinePerformanceFactors: AutoScalingClientTypes.BaselinePerformanceFactorsRequest? = nil, burstablePerformance: AutoScalingClientTypes.BurstablePerformance? = nil, cpuManufacturers: [AutoScalingClientTypes.CpuManufacturer]? = nil, excludedInstanceTypes: [Swift.String]? = nil, @@ -1647,6 +1800,7 @@ extension AutoScalingClientTypes { self.allowedInstanceTypes = allowedInstanceTypes self.bareMetal = bareMetal self.baselineEbsBandwidthMbps = baselineEbsBandwidthMbps + self.baselinePerformanceFactors = baselinePerformanceFactors self.burstablePerformance = burstablePerformance self.cpuManufacturers = cpuManufacturers self.excludedInstanceTypes = excludedInstanceTypes @@ -1787,6 +1941,8 @@ public struct CreateAutoScalingGroupInput: Swift.Sendable { public var availabilityZones: [Swift.String]? /// Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see [Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html) in the in the Amazon EC2 Auto Scaling User Guide. public var capacityRebalance: Swift.Bool? + /// The capacity reservation specification for the Auto Scaling group. + public var capacityReservationSpecification: AutoScalingClientTypes.CapacityReservationSpecification? /// Reserved. public var context: Swift.String? /// Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html) in the Amazon EC2 Auto Scaling User Guide. Default: 300 seconds @@ -1848,6 +2004,7 @@ public struct CreateAutoScalingGroupInput: Swift.Sendable { availabilityZoneImpairmentPolicy: AutoScalingClientTypes.AvailabilityZoneImpairmentPolicy? = nil, availabilityZones: [Swift.String]? = nil, capacityRebalance: Swift.Bool? = nil, + capacityReservationSpecification: AutoScalingClientTypes.CapacityReservationSpecification? = nil, context: Swift.String? = nil, defaultCooldown: Swift.Int? = nil, defaultInstanceWarmup: Swift.Int? = nil, @@ -1881,6 +2038,7 @@ public struct CreateAutoScalingGroupInput: Swift.Sendable { self.availabilityZoneImpairmentPolicy = availabilityZoneImpairmentPolicy self.availabilityZones = availabilityZones self.capacityRebalance = capacityRebalance + self.capacityReservationSpecification = capacityReservationSpecification self.context = context self.defaultCooldown = defaultCooldown self.defaultInstanceWarmup = defaultInstanceWarmup @@ -2890,6 +3048,8 @@ extension AutoScalingClientTypes { public var availabilityZones: [Swift.String]? /// Indicates whether Capacity Rebalancing is enabled. public var capacityRebalance: Swift.Bool? + /// The capacity reservation specification. + public var capacityReservationSpecification: AutoScalingClientTypes.CapacityReservationSpecification? /// Reserved. public var context: Swift.String? /// The date and time the group was created. @@ -2966,6 +3126,7 @@ extension AutoScalingClientTypes { availabilityZoneImpairmentPolicy: AutoScalingClientTypes.AvailabilityZoneImpairmentPolicy? = nil, availabilityZones: [Swift.String]? = nil, capacityRebalance: Swift.Bool? = nil, + capacityReservationSpecification: AutoScalingClientTypes.CapacityReservationSpecification? = nil, context: Swift.String? = nil, createdTime: Foundation.Date? = nil, defaultCooldown: Swift.Int? = nil, @@ -3005,6 +3166,7 @@ extension AutoScalingClientTypes { self.availabilityZoneImpairmentPolicy = availabilityZoneImpairmentPolicy self.availabilityZones = availabilityZones self.capacityRebalance = capacityRebalance + self.capacityReservationSpecification = capacityReservationSpecification self.context = context self.createdTime = createdTime self.defaultCooldown = defaultCooldown @@ -6438,6 +6600,8 @@ public struct UpdateAutoScalingGroupInput: Swift.Sendable { public var availabilityZones: [Swift.String]? /// Enables or disables Capacity Rebalancing. For more information, see [Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html) in the Amazon EC2 Auto Scaling User Guide. public var capacityRebalance: Swift.Bool? + /// The capacity reservation specification for the Auto Scaling group. + public var capacityReservationSpecification: AutoScalingClientTypes.CapacityReservationSpecification? /// Reserved. public var context: Swift.String? /// Only needed if you use simple scaling policies. The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see [Scaling cooldowns for Amazon EC2 Auto Scaling](https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html) in the Amazon EC2 Auto Scaling User Guide. @@ -6485,6 +6649,7 @@ public struct UpdateAutoScalingGroupInput: Swift.Sendable { availabilityZoneImpairmentPolicy: AutoScalingClientTypes.AvailabilityZoneImpairmentPolicy? = nil, availabilityZones: [Swift.String]? = nil, capacityRebalance: Swift.Bool? = nil, + capacityReservationSpecification: AutoScalingClientTypes.CapacityReservationSpecification? = nil, context: Swift.String? = nil, defaultCooldown: Swift.Int? = nil, defaultInstanceWarmup: Swift.Int? = nil, @@ -6512,6 +6677,7 @@ public struct UpdateAutoScalingGroupInput: Swift.Sendable { self.availabilityZoneImpairmentPolicy = availabilityZoneImpairmentPolicy self.availabilityZones = availabilityZones self.capacityRebalance = capacityRebalance + self.capacityReservationSpecification = capacityReservationSpecification self.context = context self.defaultCooldown = defaultCooldown self.defaultInstanceWarmup = defaultInstanceWarmup @@ -7090,6 +7256,7 @@ extension CreateAutoScalingGroupInput { try writer["AvailabilityZoneImpairmentPolicy"].write(value.availabilityZoneImpairmentPolicy, with: AutoScalingClientTypes.AvailabilityZoneImpairmentPolicy.write(value:to:)) try writer["AvailabilityZones"].writeList(value.availabilityZones, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["CapacityRebalance"].write(value.capacityRebalance) + try writer["CapacityReservationSpecification"].write(value.capacityReservationSpecification, with: AutoScalingClientTypes.CapacityReservationSpecification.write(value:to:)) try writer["Context"].write(value.context) try writer["DefaultCooldown"].write(value.defaultCooldown) try writer["DefaultInstanceWarmup"].write(value.defaultInstanceWarmup) @@ -7809,6 +7976,7 @@ extension UpdateAutoScalingGroupInput { try writer["AvailabilityZoneImpairmentPolicy"].write(value.availabilityZoneImpairmentPolicy, with: AutoScalingClientTypes.AvailabilityZoneImpairmentPolicy.write(value:to:)) try writer["AvailabilityZones"].writeList(value.availabilityZones, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["CapacityRebalance"].write(value.capacityRebalance) + try writer["CapacityReservationSpecification"].write(value.capacityReservationSpecification, with: AutoScalingClientTypes.CapacityReservationSpecification.write(value:to:)) try writer["Context"].write(value.context) try writer["DefaultCooldown"].write(value.defaultCooldown) try writer["DefaultInstanceWarmup"].write(value.defaultInstanceWarmup) @@ -9634,6 +9802,41 @@ extension AutoScalingClientTypes.AutoScalingGroup { value.instanceMaintenancePolicy = try reader["InstanceMaintenancePolicy"].readIfPresent(with: AutoScalingClientTypes.InstanceMaintenancePolicy.read(from:)) value.availabilityZoneDistribution = try reader["AvailabilityZoneDistribution"].readIfPresent(with: AutoScalingClientTypes.AvailabilityZoneDistribution.read(from:)) value.availabilityZoneImpairmentPolicy = try reader["AvailabilityZoneImpairmentPolicy"].readIfPresent(with: AutoScalingClientTypes.AvailabilityZoneImpairmentPolicy.read(from:)) + value.capacityReservationSpecification = try reader["CapacityReservationSpecification"].readIfPresent(with: AutoScalingClientTypes.CapacityReservationSpecification.read(from:)) + return value + } +} + +extension AutoScalingClientTypes.CapacityReservationSpecification { + + static func write(value: AutoScalingClientTypes.CapacityReservationSpecification?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["CapacityReservationPreference"].write(value.capacityReservationPreference) + try writer["CapacityReservationTarget"].write(value.capacityReservationTarget, with: AutoScalingClientTypes.CapacityReservationTarget.write(value:to:)) + } + + static func read(from reader: SmithyXML.Reader) throws -> AutoScalingClientTypes.CapacityReservationSpecification { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = AutoScalingClientTypes.CapacityReservationSpecification() + value.capacityReservationPreference = try reader["CapacityReservationPreference"].readIfPresent() + value.capacityReservationTarget = try reader["CapacityReservationTarget"].readIfPresent(with: AutoScalingClientTypes.CapacityReservationTarget.read(from:)) + return value + } +} + +extension AutoScalingClientTypes.CapacityReservationTarget { + + static func write(value: AutoScalingClientTypes.CapacityReservationTarget?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["CapacityReservationIds"].writeList(value.capacityReservationIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["CapacityReservationResourceGroupArns"].writeList(value.capacityReservationResourceGroupArns, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyXML.Reader) throws -> AutoScalingClientTypes.CapacityReservationTarget { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = AutoScalingClientTypes.CapacityReservationTarget() + value.capacityReservationIds = try reader["CapacityReservationIds"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.capacityReservationResourceGroupArns = try reader["CapacityReservationResourceGroupArns"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) return value } } @@ -9898,6 +10101,7 @@ extension AutoScalingClientTypes.InstanceRequirements { try writer["AllowedInstanceTypes"].writeList(value.allowedInstanceTypes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["BareMetal"].write(value.bareMetal) try writer["BaselineEbsBandwidthMbps"].write(value.baselineEbsBandwidthMbps, with: AutoScalingClientTypes.BaselineEbsBandwidthMbpsRequest.write(value:to:)) + try writer["BaselinePerformanceFactors"].write(value.baselinePerformanceFactors, with: AutoScalingClientTypes.BaselinePerformanceFactorsRequest.write(value:to:)) try writer["BurstablePerformance"].write(value.burstablePerformance) try writer["CpuManufacturers"].writeList(value.cpuManufacturers, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["ExcludedInstanceTypes"].writeList(value.excludedInstanceTypes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) @@ -9943,6 +10147,52 @@ extension AutoScalingClientTypes.InstanceRequirements { value.acceleratorTotalMemoryMiB = try reader["AcceleratorTotalMemoryMiB"].readIfPresent(with: AutoScalingClientTypes.AcceleratorTotalMemoryMiBRequest.read(from:)) value.networkBandwidthGbps = try reader["NetworkBandwidthGbps"].readIfPresent(with: AutoScalingClientTypes.NetworkBandwidthGbpsRequest.read(from:)) value.allowedInstanceTypes = try reader["AllowedInstanceTypes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.baselinePerformanceFactors = try reader["BaselinePerformanceFactors"].readIfPresent(with: AutoScalingClientTypes.BaselinePerformanceFactorsRequest.read(from:)) + return value + } +} + +extension AutoScalingClientTypes.BaselinePerformanceFactorsRequest { + + static func write(value: AutoScalingClientTypes.BaselinePerformanceFactorsRequest?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["Cpu"].write(value.cpu, with: AutoScalingClientTypes.CpuPerformanceFactorRequest.write(value:to:)) + } + + static func read(from reader: SmithyXML.Reader) throws -> AutoScalingClientTypes.BaselinePerformanceFactorsRequest { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = AutoScalingClientTypes.BaselinePerformanceFactorsRequest() + value.cpu = try reader["Cpu"].readIfPresent(with: AutoScalingClientTypes.CpuPerformanceFactorRequest.read(from:)) + return value + } +} + +extension AutoScalingClientTypes.CpuPerformanceFactorRequest { + + static func write(value: AutoScalingClientTypes.CpuPerformanceFactorRequest?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["Reference"].writeList(value.references, memberWritingClosure: AutoScalingClientTypes.PerformanceFactorReferenceRequest.write(value:to:), memberNodeInfo: "item", isFlattened: false) + } + + static func read(from reader: SmithyXML.Reader) throws -> AutoScalingClientTypes.CpuPerformanceFactorRequest { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = AutoScalingClientTypes.CpuPerformanceFactorRequest() + value.references = try reader["Reference"].readListIfPresent(memberReadingClosure: AutoScalingClientTypes.PerformanceFactorReferenceRequest.read(from:), memberNodeInfo: "item", isFlattened: false) + return value + } +} + +extension AutoScalingClientTypes.PerformanceFactorReferenceRequest { + + static func write(value: AutoScalingClientTypes.PerformanceFactorReferenceRequest?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["InstanceFamily"].write(value.instanceFamily) + } + + static func read(from reader: SmithyXML.Reader) throws -> AutoScalingClientTypes.PerformanceFactorReferenceRequest { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = AutoScalingClientTypes.PerformanceFactorReferenceRequest() + value.instanceFamily = try reader["InstanceFamily"].readIfPresent() return value } } diff --git a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift index 40c1ce11de1..aa277ef4c52 100644 --- a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift +++ b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AutoScalingPlansClient: ClientRuntime.Client { public static let clientName = "AutoScalingPlansClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: AutoScalingPlansClient.AutoScalingPlansClientConfiguration let serviceName = "Auto Scaling Plans" diff --git a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift index d05f2731e26..9f4274cb6b0 100644 --- a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift +++ b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class B2biClient: ClientRuntime.Client { public static let clientName = "B2biClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: B2biClient.B2biClientConfiguration let serviceName = "b2bi" diff --git a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift index 8020ca1e1aa..81a0e431f20 100644 --- a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift +++ b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BCMDataExportsClient: ClientRuntime.Client { public static let clientName = "BCMDataExportsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BCMDataExportsClient.BCMDataExportsClientConfiguration let serviceName = "BCM Data Exports" diff --git a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift index 830fbf43d40..52b3f161813 100644 --- a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift +++ b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BackupClient: ClientRuntime.Client { public static let clientName = "BackupClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BackupClient.BackupClientConfiguration let serviceName = "Backup" diff --git a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift index 92e74c269c7..faa367b93b5 100644 --- a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift +++ b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BackupGatewayClient: ClientRuntime.Client { public static let clientName = "BackupGatewayClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BackupGatewayClient.BackupGatewayClientConfiguration let serviceName = "Backup Gateway" diff --git a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift index 56fb4f4b7a6..b3a3096f236 100644 --- a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift +++ b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BatchClient: ClientRuntime.Client { public static let clientName = "BatchClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BatchClient.BatchClientConfiguration let serviceName = "Batch" diff --git a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift index 2a7cf93cdc8..e96cca002b3 100644 --- a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift +++ b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockClient: ClientRuntime.Client { public static let clientName = "BedrockClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BedrockClient.BedrockClientConfiguration let serviceName = "Bedrock" diff --git a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift index 459fc1edf1e..dc9f9a53f9a 100644 --- a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift +++ b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockAgentClient: ClientRuntime.Client { public static let clientName = "BedrockAgentClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BedrockAgentClient.BedrockAgentClientConfiguration let serviceName = "Bedrock Agent" diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift index 9e325cc218c..15f934ca50c 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockAgentRuntimeClient: ClientRuntime.Client { public static let clientName = "BedrockAgentRuntimeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BedrockAgentRuntimeClient.BedrockAgentRuntimeClientConfiguration let serviceName = "Bedrock Agent Runtime" @@ -442,7 +442,7 @@ extension BedrockAgentRuntimeClient { /// Performs the `InvokeFlow` operation on the `AmazonBedrockAgentRunTimeService` service. /// - /// Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see [Test a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html) in the Amazon Bedrock User Guide. The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow. + /// Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see [Test a flow in Amazon Bedrock](https://docs.aws.amazon.com/bedrock/latest/userguide/flows-test.html) in the [Amazon Bedrock User Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow. /// /// - Parameter InvokeFlowInput : [no documentation found] /// @@ -517,6 +517,80 @@ extension BedrockAgentRuntimeClient { return try await op.execute(input: input) } + /// Performs the `OptimizePrompt` operation on the `AmazonBedrockAgentRunTimeService` service. + /// + /// Optimizes a prompt for the task that you specify. For more information, see [Optimize a prompt](https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-optimize.html) in the [Amazon Bedrock User Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). + /// + /// - Parameter OptimizePromptInput : [no documentation found] + /// + /// - Returns: `OptimizePromptOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : The request is denied because of missing access permissions. Check your permissions and retry your request. + /// - `BadGatewayException` : There was an issue with a dependency due to a server issue. Retry your request. + /// - `DependencyFailedException` : There was an issue with a dependency. Check the resource configurations and retry the request. + /// - `InternalServerException` : An internal server error occurred. Retry your request. + /// - `ThrottlingException` : The number of requests exceeds the limit. Resubmit your request later. + /// - `ValidationException` : Input validation failed. Check your request parameters and retry the request. + public func optimizePrompt(input: OptimizePromptInput) async throws -> OptimizePromptOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "optimizePrompt") + .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: "bedrock") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(OptimizePromptInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: OptimizePromptInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(OptimizePromptOutput.httpOutput(from:), OptimizePromptOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: BedrockAgentRuntimeClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "BedrockAgentRuntime") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "OptimizePrompt") + 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 `Retrieve` operation on the `AmazonBedrockAgentRunTimeService` service. /// /// Queries a knowledge base and retrieves information from it. diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift index 2cd18a2c93e..21bf11e3e9a 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift @@ -130,7 +130,7 @@ extension BedrockAgentRuntimeClientTypes { extension BedrockAgentRuntimeClientTypes { - /// Contains information about the action group being invoked. For more information about the possible structures, see the InvocationInput tab in [OrchestrationTrace](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-orchestration.html) in the Amazon Bedrock User Guide. + /// Contains information about the action group being invoked. For more information about the possible structures, see the InvocationInput tab in [OrchestrationTrace](https://docs.aws.amazon.com/bedrock/latest/userguide/trace-orchestration.html) in the [Amazon Bedrock User Guide](https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html). public struct ActionGroupInvocationInput: Swift.Sendable { /// The name of the action group. public var actionGroupName: Swift.String? @@ -3691,6 +3691,136 @@ public struct GetAgentMemoryOutput: Swift.Sendable { } } +extension BedrockAgentRuntimeClientTypes { + + /// Contains information about the text prompt to optimize. + public struct TextPrompt: Swift.Sendable { + /// The text in the text prompt to optimize. + /// This member is required. + public var text: Swift.String? + + public init( + text: Swift.String? = nil + ) + { + self.text = text + } + } +} + +extension BedrockAgentRuntimeClientTypes.TextPrompt: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} + +extension BedrockAgentRuntimeClientTypes { + + /// Contains information about the prompt to optimize. + public enum InputPrompt: Swift.Sendable { + /// Contains information about the text prompt to optimize. + case textprompt(BedrockAgentRuntimeClientTypes.TextPrompt) + case sdkUnknown(Swift.String) + } +} + +public struct OptimizePromptInput: Swift.Sendable { + /// Contains the prompt to optimize. + /// This member is required. + public var input: BedrockAgentRuntimeClientTypes.InputPrompt? + /// The unique identifier of the model that you want to optimize the prompt for. + /// This member is required. + public var targetModelId: Swift.String? + + public init( + input: BedrockAgentRuntimeClientTypes.InputPrompt? = nil, + targetModelId: Swift.String? = nil + ) + { + self.input = input + self.targetModelId = targetModelId + } +} + +extension BedrockAgentRuntimeClientTypes { + + /// An event in which the prompt was analyzed in preparation for optimization. + public struct AnalyzePromptEvent: Swift.Sendable { + /// A message describing the analysis of the prompt. + public var message: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.message = message + } + } +} + +extension BedrockAgentRuntimeClientTypes.AnalyzePromptEvent: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} + +extension BedrockAgentRuntimeClientTypes { + + /// Contains information about the optimized prompt. + public enum OptimizedPrompt: Swift.Sendable { + /// Contains information about the text in the prompt that was optimized. + case textprompt(BedrockAgentRuntimeClientTypes.TextPrompt) + case sdkUnknown(Swift.String) + } +} + +extension BedrockAgentRuntimeClientTypes { + + /// An event in which the prompt was optimized. + public struct OptimizedPromptEvent: Swift.Sendable { + /// Contains information about the optimized prompt. + public var optimizedPrompt: BedrockAgentRuntimeClientTypes.OptimizedPrompt? + + public init( + optimizedPrompt: BedrockAgentRuntimeClientTypes.OptimizedPrompt? = nil + ) + { + self.optimizedPrompt = optimizedPrompt + } + } +} + +extension BedrockAgentRuntimeClientTypes.OptimizedPromptEvent: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CONTENT_REDACTED" + } +} + +extension BedrockAgentRuntimeClientTypes { + + /// The stream containing events in the prompt optimization process. + public enum OptimizedPromptStream: Swift.Sendable { + /// An event in which the prompt was optimized. + case optimizedpromptevent(BedrockAgentRuntimeClientTypes.OptimizedPromptEvent) + /// An event in which the prompt was analyzed in preparation for optimization. + case analyzepromptevent(BedrockAgentRuntimeClientTypes.AnalyzePromptEvent) + case sdkUnknown(Swift.String) + } +} + +public struct OptimizePromptOutput: Swift.Sendable { + /// The prompt after being optimized for the task. + /// This member is required. + public var optimizedPrompt: AsyncThrowingStream? + + public init( + optimizedPrompt: AsyncThrowingStream? = nil + ) + { + self.optimizedPrompt = optimizedPrompt + } +} + extension BedrockAgentRuntimeClientTypes { /// Contains the query made to the knowledge base. This data type is used in the following API operations: @@ -4706,6 +4836,13 @@ extension InvokeFlowInput { } } +extension OptimizePromptInput { + + static func urlPathProvider(_ value: OptimizePromptInput) -> Swift.String? { + return "/optimize-prompt" + } +} + extension RetrieveInput { static func urlPathProvider(_ value: RetrieveInput) -> Swift.String? { @@ -4744,6 +4881,15 @@ extension InvokeFlowInput { } } +extension OptimizePromptInput { + + static func write(value: OptimizePromptInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["input"].write(value.input, with: BedrockAgentRuntimeClientTypes.InputPrompt.write(value:to:)) + try writer["targetModelId"].write(value.targetModelId) + } +} + extension RetrieveInput { static func write(value: RetrieveInput?, to writer: SmithyJSON.Writer) throws { @@ -4820,6 +4966,19 @@ extension InvokeFlowOutput { } } +extension OptimizePromptOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> OptimizePromptOutput { + var value = OptimizePromptOutput() + if case .stream(let stream) = httpResponse.body { + let messageDecoder = SmithyEventStreams.DefaultMessageDecoder() + let decoderStream = SmithyEventStreams.DefaultMessageDecoderStream(stream: stream, messageDecoder: messageDecoder, unmarshalClosure: BedrockAgentRuntimeClientTypes.OptimizedPromptStream.unmarshal) + value.optimizedPrompt = decoderStream.toAsyncStream() + } + return value + } +} + extension RetrieveOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> RetrieveOutput { @@ -4936,6 +5095,25 @@ enum InvokeFlowOutputError { } } +enum OptimizePromptOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "BadGatewayException": return try BadGatewayException.makeError(baseError: baseError) + case "DependencyFailedException": return try DependencyFailedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum RetrieveOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -5232,6 +5410,59 @@ extension BedrockAgentRuntimeClientTypes.FlowResponseStream { } } +extension BedrockAgentRuntimeClientTypes.OptimizedPromptStream { + static var unmarshal: SmithyEventStreamsAPI.UnmarshalClosure { + { message in + switch try message.type() { + case .event(let params): + switch params.eventType { + case "optimizedPromptEvent": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.OptimizedPromptEvent.read(from:)) + return .optimizedpromptevent(value) + case "analyzePromptEvent": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BedrockAgentRuntimeClientTypes.AnalyzePromptEvent.read(from:)) + return .analyzepromptevent(value) + default: + return .sdkUnknown("error processing event stream, unrecognized event: \(params.eventType)") + } + case .exception(let params): + let makeError: (SmithyEventStreamsAPI.Message, SmithyEventStreamsAPI.MessageType.ExceptionParams) throws -> Swift.Error = { message, params in + switch params.exceptionType { + case "internalServerException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: InternalServerException.read(from:)) + return value + case "throttlingException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ThrottlingException.read(from:)) + return value + case "validationException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: ValidationException.read(from:)) + return value + case "dependencyFailedException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: DependencyFailedException.read(from:)) + return value + case "accessDeniedException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: AccessDeniedException.read(from:)) + return value + case "badGatewayException": + let value = try SmithyJSON.Reader.readFrom(message.payload, with: BadGatewayException.read(from:)) + return value + default: + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) + return AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':exceptionType': \(params.exceptionType); contentType: \(params.contentType ?? "nil")", requestID: nil, typeName: nil) + } + } + let error = try makeError(message, params) + throw error + case .error(let params): + let httpResponse = SmithyHTTPAPI.HTTPResponse(body: .data(message.payload), statusCode: .ok) + throw AWSClientRuntime.UnknownAWSHTTPServiceError(httpResponse: httpResponse, message: "error processing event stream, unrecognized ':errorType': \(params.errorCode); message: \(params.message ?? "nil")", requestID: nil, typeName: nil) + case .unknown(messageType: let messageType): + throw Smithy.ClientError.unknownError("unrecognized event stream message ':message-type': \(messageType)") + } + } + } +} + extension BedrockAgentRuntimeClientTypes.Memory { static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.Memory { @@ -6301,6 +6532,55 @@ extension BedrockAgentRuntimeClientTypes.FlowOutputContent { } } +extension BedrockAgentRuntimeClientTypes.AnalyzePromptEvent { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.AnalyzePromptEvent { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.AnalyzePromptEvent() + value.message = try reader["message"].readIfPresent() + return value + } +} + +extension BedrockAgentRuntimeClientTypes.OptimizedPromptEvent { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.OptimizedPromptEvent { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.OptimizedPromptEvent() + value.optimizedPrompt = try reader["optimizedPrompt"].readIfPresent(with: BedrockAgentRuntimeClientTypes.OptimizedPrompt.read(from:)) + return value + } +} + +extension BedrockAgentRuntimeClientTypes.OptimizedPrompt { + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.OptimizedPrompt { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "textPrompt": + return .textprompt(try reader["textPrompt"].read(with: BedrockAgentRuntimeClientTypes.TextPrompt.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension BedrockAgentRuntimeClientTypes.TextPrompt { + + static func write(value: BedrockAgentRuntimeClientTypes.TextPrompt?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["text"].write(value.text) + } + + static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.TextPrompt { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = BedrockAgentRuntimeClientTypes.TextPrompt() + value.text = try reader["text"].readIfPresent() ?? "" + return value + } +} + extension BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalResult { static func read(from reader: SmithyJSON.Reader) throws -> BedrockAgentRuntimeClientTypes.KnowledgeBaseRetrievalResult { @@ -6519,6 +6799,19 @@ extension BedrockAgentRuntimeClientTypes.FlowInputContent { } } +extension BedrockAgentRuntimeClientTypes.InputPrompt { + + static func write(value: BedrockAgentRuntimeClientTypes.InputPrompt?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .textprompt(textprompt): + try writer["textPrompt"].write(textprompt, with: BedrockAgentRuntimeClientTypes.TextPrompt.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } +} + extension BedrockAgentRuntimeClientTypes.KnowledgeBaseQuery { static func write(value: BedrockAgentRuntimeClientTypes.KnowledgeBaseQuery?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift index ad3bfdfa117..06cc22b2808 100644 --- a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift +++ b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockRuntimeClient: ClientRuntime.Client { public static let clientName = "BedrockRuntimeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BedrockRuntimeClient.BedrockRuntimeClientConfiguration let serviceName = "Bedrock Runtime" diff --git a/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift b/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift index 12eacb93b9b..7d57fba74f3 100644 --- a/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift +++ b/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BillingClient: ClientRuntime.Client { public static let clientName = "BillingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BillingClient.BillingClientConfiguration let serviceName = "Billing" diff --git a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift index 22e57d2bfa7..afc76b079fa 100644 --- a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift +++ b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BillingconductorClient: ClientRuntime.Client { public static let clientName = "BillingconductorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BillingconductorClient.BillingconductorClientConfiguration let serviceName = "billingconductor" diff --git a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift index a3ccdc68003..fb2c90128fc 100644 --- a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift +++ b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BraketClient: ClientRuntime.Client { public static let clientName = "BraketClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BraketClient.BraketClientConfiguration let serviceName = "Braket" diff --git a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift index 4fad5298024..68e4ccfc32d 100644 --- a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift +++ b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BudgetsClient: ClientRuntime.Client { public static let clientName = "BudgetsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: BudgetsClient.BudgetsClientConfiguration let serviceName = "Budgets" diff --git a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift index 164749218e4..ec30cf6d849 100644 --- a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift +++ b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChatbotClient: ClientRuntime.Client { public static let clientName = "ChatbotClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ChatbotClient.ChatbotClientConfiguration let serviceName = "chatbot" diff --git a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift index 7abff4afe89..02527a2262a 100644 --- a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift +++ b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeClient: ClientRuntime.Client { public static let clientName = "ChimeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ChimeClient.ChimeClientConfiguration let serviceName = "Chime" diff --git a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift index 76e7575b7fe..d06a6105c53 100644 --- a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift +++ b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKIdentityClient: ClientRuntime.Client { public static let clientName = "ChimeSDKIdentityClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKIdentityClient.ChimeSDKIdentityClientConfiguration let serviceName = "Chime SDK Identity" diff --git a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift index f9b8f4a3f16..092e7c97207 100644 --- a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift +++ b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMediaPipelinesClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMediaPipelinesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMediaPipelinesClient.ChimeSDKMediaPipelinesClientConfiguration let serviceName = "Chime SDK Media Pipelines" diff --git a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift index 5107c8c3841..97005ead32a 100644 --- a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift +++ b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMeetingsClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMeetingsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMeetingsClient.ChimeSDKMeetingsClientConfiguration let serviceName = "Chime SDK Meetings" diff --git a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift index c4e1c09b22a..f9676476c1f 100644 --- a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift +++ b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMessagingClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMessagingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMessagingClient.ChimeSDKMessagingClientConfiguration let serviceName = "Chime SDK Messaging" diff --git a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift index d40e76a3eda..3d732cc6644 100644 --- a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift +++ b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKVoiceClient: ClientRuntime.Client { public static let clientName = "ChimeSDKVoiceClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKVoiceClient.ChimeSDKVoiceClientConfiguration let serviceName = "Chime SDK Voice" diff --git a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift index d3a1bf0a37b..0272b354fc7 100644 --- a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift +++ b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CleanRoomsClient: ClientRuntime.Client { public static let clientName = "CleanRoomsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CleanRoomsClient.CleanRoomsClientConfiguration let serviceName = "CleanRooms" diff --git a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift index ea75dd8e782..0a68016de06 100644 --- a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift +++ b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CleanRoomsMLClient: ClientRuntime.Client { public static let clientName = "CleanRoomsMLClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CleanRoomsMLClient.CleanRoomsMLClientConfiguration let serviceName = "CleanRoomsML" diff --git a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift index 3cf22237820..e5219b4b5e3 100644 --- a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift +++ b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Cloud9Client: ClientRuntime.Client { public static let clientName = "Cloud9Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Cloud9Client.Cloud9ClientConfiguration let serviceName = "Cloud9" diff --git a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift index db6e99447e7..1a96776eaea 100644 --- a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift +++ b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudControlClient: ClientRuntime.Client { public static let clientName = "CloudControlClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudControlClient.CloudControlClientConfiguration let serviceName = "CloudControl" diff --git a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift index 05c20c8f661..6aee0f34983 100644 --- a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift +++ b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudDirectoryClient: ClientRuntime.Client { public static let clientName = "CloudDirectoryClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudDirectoryClient.CloudDirectoryClientConfiguration let serviceName = "CloudDirectory" diff --git a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift index 8a819ea1612..177ba6f68cc 100644 --- a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift +++ b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFormationClient: ClientRuntime.Client { public static let clientName = "CloudFormationClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudFormationClient.CloudFormationClientConfiguration let serviceName = "CloudFormation" diff --git a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift index 3f47077c726..65b3834afe5 100644 --- a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift +++ b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFrontClient: ClientRuntime.Client { public static let clientName = "CloudFrontClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudFrontClient.CloudFrontClientConfiguration let serviceName = "CloudFront" @@ -407,6 +407,80 @@ extension CloudFrontClient { return try await op.execute(input: input) } + /// Performs the `CreateAnycastIpList` operation on the `Cloudfront2020_05_31` service. + /// + /// Creates an Anycast static IP list. + /// + /// - Parameter CreateAnycastIpListInput : [no documentation found] + /// + /// - Returns: `CreateAnycastIpListOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `EntityAlreadyExists` : The entity already exists. You must provide a unique entity. + /// - `EntityLimitExceeded` : The entity limit has been exceeded. + /// - `InvalidArgument` : An argument is invalid. + /// - `InvalidTagging` : The tagging specified is not valid. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func createAnycastIpList(input: CreateAnycastIpListInput) async throws -> CreateAnycastIpListOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createAnycastIpList") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateAnycastIpListInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/xml")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: .init("CreateAnycastIpListRequest", namespaceDef: .init(prefix: "", uri: "http://cloudfront.amazonaws.com/doc/2020-05-31/")), inputWritingClosure: CreateAnycastIpListInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateAnycastIpListOutput.httpOutput(from:), CreateAnycastIpListOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateAnycastIpList") + 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 `CreateCachePolicy` operation on the `Cloudfront2020_05_31` service. /// /// Creates a cache policy. After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following: @@ -652,6 +726,7 @@ extension CloudFrontClient { /// - `CNAMEAlreadyExists` : The CNAME specified is already defined for CloudFront. /// - `ContinuousDeploymentPolicyInUse` : You cannot delete a continuous deployment policy that is associated with a primary distribution. /// - `DistributionAlreadyExists` : The caller reference you attempted to create the distribution with is associated with another distribution. + /// - `EntityNotFound` : The entity was not found. /// - `IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior` : The specified configuration for field-level encryption can't be associated with the specified cache behavior. /// - `IllegalOriginAccessConfiguration` : An origin cannot contain both an origin access control (OAC) and an origin access identity (OAI). /// - `InconsistentQuantities` : The value of Quantity and the size of Items don't match. @@ -789,6 +864,7 @@ extension CloudFrontClient { /// - `CNAMEAlreadyExists` : The CNAME specified is already defined for CloudFront. /// - `ContinuousDeploymentPolicyInUse` : You cannot delete a continuous deployment policy that is associated with a primary distribution. /// - `DistributionAlreadyExists` : The caller reference you attempted to create the distribution with is associated with another distribution. + /// - `EntityNotFound` : The entity was not found. /// - `IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior` : The specified configuration for field-level encryption can't be associated with the specified cache behavior. /// - `IllegalOriginAccessConfiguration` : An origin cannot contain both an origin access control (OAC) and an origin access identity (OAI). /// - `InconsistentQuantities` : The value of Quantity and the size of Items don't match. @@ -1293,9 +1369,9 @@ extension CloudFrontClient { /// /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. - /// - `EntityAlreadyExists` : The key value store entity already exists. You must provide a unique key value store entity. - /// - `EntityLimitExceeded` : The key value store entity limit has been exceeded. - /// - `EntitySizeLimitExceeded` : The key value store entity size limit was exceeded. + /// - `EntityAlreadyExists` : The entity already exists. You must provide a unique entity. + /// - `EntityLimitExceeded` : The entity limit has been exceeded. + /// - `EntitySizeLimitExceeded` : The entity size limit was exceeded. /// - `InvalidArgument` : An argument is invalid. /// - `UnsupportedOperation` : This operation is not supported in this region. public func createKeyValueStore(input: CreateKeyValueStoreInput) async throws -> CreateKeyValueStoreOutput { @@ -1966,6 +2042,155 @@ extension CloudFrontClient { return try await op.execute(input: input) } + /// Performs the `CreateVpcOrigin` operation on the `Cloudfront2020_05_31` service. + /// + /// Create an Amazon CloudFront VPC origin. + /// + /// - Parameter CreateVpcOriginInput : [no documentation found] + /// + /// - Returns: `CreateVpcOriginOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `EntityAlreadyExists` : The entity already exists. You must provide a unique entity. + /// - `EntityLimitExceeded` : The entity limit has been exceeded. + /// - `InconsistentQuantities` : The value of Quantity and the size of Items don't match. + /// - `InvalidArgument` : An argument is invalid. + /// - `InvalidTagging` : The tagging specified is not valid. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func createVpcOrigin(input: CreateVpcOriginInput) async throws -> CreateVpcOriginOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createVpcOrigin") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateVpcOriginInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/xml")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: .init("CreateVpcOriginRequest", namespaceDef: .init(prefix: "", uri: "http://cloudfront.amazonaws.com/doc/2020-05-31/")), inputWritingClosure: CreateVpcOriginInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateVpcOriginOutput.httpOutput(from:), CreateVpcOriginOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateVpcOrigin") + 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 `DeleteAnycastIpList` operation on the `Cloudfront2020_05_31` service. + /// + /// Deletes an Anycast static IP list. + /// + /// - Parameter DeleteAnycastIpListInput : [no documentation found] + /// + /// - Returns: `DeleteAnycastIpListOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `CannotDeleteEntityWhileInUse` : The entity cannot be deleted while it is in use. + /// - `EntityNotFound` : The entity was not found. + /// - `IllegalDelete` : Deletion is not allowed for this entity. + /// - `InvalidArgument` : An argument is invalid. + /// - `InvalidIfMatchVersion` : The If-Match version is missing or not valid. + /// - `PreconditionFailed` : The precondition in one or more of the request fields evaluated to false. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func deleteAnycastIpList(input: DeleteAnycastIpListInput) async throws -> DeleteAnycastIpListOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteAnycastIpList") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteAnycastIpListInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.HeaderMiddleware(DeleteAnycastIpListInput.headerProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteAnycastIpListOutput.httpOutput(from:), DeleteAnycastIpListOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteAnycastIpList") + 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 `DeleteCachePolicy` operation on the `Cloudfront2020_05_31` service. /// /// Deletes a cache policy. You cannot delete a cache policy if it's attached to a cache behavior. First update your distributions to remove the cache policy from all cache behaviors, then delete the cache policy. To delete a cache policy, you must provide the policy's identifier and version. To get these values, you can use ListCachePolicies or GetCachePolicy. @@ -1979,7 +2204,7 @@ extension CloudFrontClient { /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. /// - `CachePolicyInUse` : Cannot delete the cache policy because it is attached to one or more cache behaviors. - /// - `IllegalDelete` : You cannot delete a managed policy. + /// - `IllegalDelete` : Deletion is not allowed for this entity. /// - `InvalidIfMatchVersion` : The If-Match version is missing or not valid. /// - `NoSuchCachePolicy` : The cache policy does not exist. /// - `PreconditionFailed` : The precondition in one or more of the request fields evaluated to false. @@ -2566,8 +2791,8 @@ extension CloudFrontClient { /// /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. - /// - `CannotDeleteEntityWhileInUse` : The key value store entity cannot be deleted while it is in use. - /// - `EntityNotFound` : The key value store entity was not found. + /// - `CannotDeleteEntityWhileInUse` : The entity cannot be deleted while it is in use. + /// - `EntityNotFound` : The entity was not found. /// - `InvalidIfMatchVersion` : The If-Match version is missing or not valid. /// - `PreconditionFailed` : The precondition in one or more of the request fields evaluated to false. /// - `UnsupportedOperation` : This operation is not supported in this region. @@ -2778,7 +3003,7 @@ extension CloudFrontClient { /// /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. - /// - `IllegalDelete` : You cannot delete a managed policy. + /// - `IllegalDelete` : Deletion is not allowed for this entity. /// - `InvalidIfMatchVersion` : The If-Match version is missing or not valid. /// - `NoSuchOriginRequestPolicy` : The origin request policy does not exist. /// - `OriginRequestPolicyInUse` : Cannot delete the origin request policy because it is attached to one or more cache behaviors. @@ -2993,7 +3218,7 @@ extension CloudFrontClient { /// /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. - /// - `IllegalDelete` : You cannot delete a managed policy. + /// - `IllegalDelete` : Deletion is not allowed for this entity. /// - `InvalidIfMatchVersion` : The If-Match version is missing or not valid. /// - `NoSuchResponseHeadersPolicy` : The response headers policy does not exist. /// - `PreconditionFailed` : The precondition in one or more of the request fields evaluated to false. @@ -3143,6 +3368,80 @@ extension CloudFrontClient { return try await op.execute(input: input) } + /// Performs the `DeleteVpcOrigin` operation on the `Cloudfront2020_05_31` service. + /// + /// Delete an Amazon CloudFront VPC origin. + /// + /// - Parameter DeleteVpcOriginInput : [no documentation found] + /// + /// - Returns: `DeleteVpcOriginOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `CannotDeleteEntityWhileInUse` : The entity cannot be deleted while it is in use. + /// - `EntityNotFound` : The entity was not found. + /// - `IllegalDelete` : Deletion is not allowed for this entity. + /// - `InvalidArgument` : An argument is invalid. + /// - `InvalidIfMatchVersion` : The If-Match version is missing or not valid. + /// - `PreconditionFailed` : The precondition in one or more of the request fields evaluated to false. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func deleteVpcOrigin(input: DeleteVpcOriginInput) async throws -> DeleteVpcOriginOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteVpcOrigin") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteVpcOriginInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.HeaderMiddleware(DeleteVpcOriginInput.headerProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteVpcOriginOutput.httpOutput(from:), DeleteVpcOriginOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteVpcOrigin") + 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 `DescribeFunction` operation on the `Cloudfront2020_05_31` service. /// /// Gets configuration information and metadata about a CloudFront function, but not the function's code. To get a function's code, use GetFunction. To get configuration information and metadata about a function, you must provide the function's name and stage. To get these values, you can use ListFunctions. @@ -3223,7 +3522,7 @@ extension CloudFrontClient { /// /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. - /// - `EntityNotFound` : The key value store entity was not found. + /// - `EntityNotFound` : The entity was not found. /// - `InvalidArgument` : An argument is invalid. /// - `UnsupportedOperation` : This operation is not supported in this region. public func describeKeyValueStore(input: DescribeKeyValueStoreInput) async throws -> DescribeKeyValueStoreOutput { @@ -3280,6 +3579,75 @@ extension CloudFrontClient { return try await op.execute(input: input) } + /// Performs the `GetAnycastIpList` operation on the `Cloudfront2020_05_31` service. + /// + /// Gets an Anycast static IP list. + /// + /// - Parameter GetAnycastIpListInput : [no documentation found] + /// + /// - Returns: `GetAnycastIpListOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `EntityNotFound` : The entity was not found. + /// - `InvalidArgument` : An argument is invalid. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func getAnycastIpList(input: GetAnycastIpListInput) async throws -> GetAnycastIpListOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getAnycastIpList") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetAnycastIpListInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetAnycastIpListOutput.httpOutput(from:), GetAnycastIpListOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetAnycastIpList") + 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 `GetCachePolicy` operation on the `Cloudfront2020_05_31` service. /// /// Gets a cache policy, including the following metadata: @@ -5029,7 +5397,141 @@ extension CloudFrontClient { builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetResponseHeadersPolicyConfig") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetResponseHeadersPolicyConfig") + 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 `GetStreamingDistribution` operation on the `Cloudfront2020_05_31` service. + /// + /// Gets information about a specified RTMP distribution, including the distribution configuration. + /// + /// - Parameter GetStreamingDistributionInput : The request to get a streaming distribution's information. + /// + /// - Returns: `GetStreamingDistributionOutput` : The returned result of the corresponding request. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `NoSuchStreamingDistribution` : The specified streaming distribution does not exist. + public func getStreamingDistribution(input: GetStreamingDistributionInput) async throws -> GetStreamingDistributionOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getStreamingDistribution") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingDistributionInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetStreamingDistributionOutput.httpOutput(from:), GetStreamingDistributionOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetStreamingDistribution") + 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 `GetStreamingDistributionConfig` operation on the `Cloudfront2020_05_31` service. + /// + /// Get the configuration information about a streaming distribution. + /// + /// - Parameter GetStreamingDistributionConfigInput : To request to get a streaming distribution configuration. + /// + /// - Returns: `GetStreamingDistributionConfigOutput` : The returned result of the corresponding request. + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `NoSuchStreamingDistribution` : The specified streaming distribution does not exist. + public func getStreamingDistributionConfig(input: GetStreamingDistributionConfigInput) async throws -> GetStreamingDistributionConfigOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getStreamingDistributionConfig") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingDistributionConfigInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetStreamingDistributionConfigOutput.httpOutput(from:), GetStreamingDistributionConfigOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetStreamingDistributionConfig") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -5042,24 +5544,26 @@ extension CloudFrontClient { return try await op.execute(input: input) } - /// Performs the `GetStreamingDistribution` operation on the `Cloudfront2020_05_31` service. + /// Performs the `GetVpcOrigin` operation on the `Cloudfront2020_05_31` service. /// - /// Gets information about a specified RTMP distribution, including the distribution configuration. + /// Get the details of an Amazon CloudFront VPC origin. /// - /// - Parameter GetStreamingDistributionInput : The request to get a streaming distribution's information. + /// - Parameter GetVpcOriginInput : [no documentation found] /// - /// - Returns: `GetStreamingDistributionOutput` : The returned result of the corresponding request. + /// - Returns: `GetVpcOriginOutput` : [no documentation found] /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. - /// - `NoSuchStreamingDistribution` : The specified streaming distribution does not exist. - public func getStreamingDistribution(input: GetStreamingDistributionInput) async throws -> GetStreamingDistributionOutput { + /// - `EntityNotFound` : The entity was not found. + /// - `InvalidArgument` : An argument is invalid. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func getVpcOrigin(input: GetVpcOriginInput) async throws -> GetVpcOriginOutput { let context = Smithy.ContextBuilder() .withMethod(value: .get) .withServiceName(value: serviceName) - .withOperation(value: "getStreamingDistribution") + .withOperation(value: "getVpcOrigin") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -5074,29 +5578,29 @@ extension CloudFrontClient { .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingDistributionInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.deserialize(ClientRuntime.DeserializeMiddleware(GetStreamingDistributionOutput.httpOutput(from:), GetStreamingDistributionOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetVpcOriginInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetVpcOriginOutput.httpOutput(from:), GetVpcOriginOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetStreamingDistribution") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetVpcOrigin") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -5109,24 +5613,26 @@ extension CloudFrontClient { return try await op.execute(input: input) } - /// Performs the `GetStreamingDistributionConfig` operation on the `Cloudfront2020_05_31` service. + /// Performs the `ListAnycastIpLists` operation on the `Cloudfront2020_05_31` service. /// - /// Get the configuration information about a streaming distribution. + /// Lists your Anycast static IP lists. /// - /// - Parameter GetStreamingDistributionConfigInput : To request to get a streaming distribution configuration. + /// - Parameter ListAnycastIpListsInput : [no documentation found] /// - /// - Returns: `GetStreamingDistributionConfigOutput` : The returned result of the corresponding request. + /// - Returns: `ListAnycastIpListsOutput` : [no documentation found] /// /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. - /// - `NoSuchStreamingDistribution` : The specified streaming distribution does not exist. - public func getStreamingDistributionConfig(input: GetStreamingDistributionConfigInput) async throws -> GetStreamingDistributionConfigOutput { + /// - `EntityNotFound` : The entity was not found. + /// - `InvalidArgument` : An argument is invalid. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func listAnycastIpLists(input: ListAnycastIpListsInput) async throws -> ListAnycastIpListsOutput { let context = Smithy.ContextBuilder() .withMethod(value: .get) .withServiceName(value: serviceName) - .withOperation(value: "getStreamingDistributionConfig") + .withOperation(value: "listAnycastIpLists") .withIdempotencyTokenGenerator(value: config.idempotencyTokenGenerator) .withLogger(value: config.logger) .withPartitionID(value: config.partitionID) @@ -5141,29 +5647,30 @@ extension CloudFrontClient { .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() - let builder = ClientRuntime.OrchestratorBuilder() + let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetStreamingDistributionConfigInput.urlPathProvider(_:))) - builder.interceptors.add(ClientRuntime.URLHostMiddleware()) - builder.deserialize(ClientRuntime.DeserializeMiddleware(GetStreamingDistributionConfigOutput.httpOutput(from:), GetStreamingDistributionConfigOutputError.httpError(from:))) - builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListAnycastIpListsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListAnycastIpListsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListAnycastIpListsOutput.httpOutput(from:), ListAnycastIpListsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) - builder.applySigner(ClientRuntime.SignerMiddleware()) + builder.applySigner(ClientRuntime.SignerMiddleware()) let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) - builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) - builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) - builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") - metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetStreamingDistributionConfig") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListAnycastIpLists") let op = builder.attributes(context) .telemetry(ClientRuntime.OrchestratorTelemetry( telemetryProvider: config.telemetryProvider, @@ -5516,6 +6023,76 @@ extension CloudFrontClient { return try await op.execute(input: input) } + /// Performs the `ListDistributionsByAnycastIpListId` operation on the `Cloudfront2020_05_31` service. + /// + /// Lists the distributions in your account that are associated with the specified AnycastIpListId. + /// + /// - Parameter ListDistributionsByAnycastIpListIdInput : [no documentation found] + /// + /// - Returns: `ListDistributionsByAnycastIpListIdOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `EntityNotFound` : The entity was not found. + /// - `InvalidArgument` : An argument is invalid. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func listDistributionsByAnycastIpListId(input: ListDistributionsByAnycastIpListIdInput) async throws -> ListDistributionsByAnycastIpListIdOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listDistributionsByAnycastIpListId") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionsByAnycastIpListIdInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListDistributionsByAnycastIpListIdInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListDistributionsByAnycastIpListIdOutput.httpOutput(from:), ListDistributionsByAnycastIpListIdOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListDistributionsByAnycastIpListId") + 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 `ListDistributionsByCachePolicyId` operation on the `Cloudfront2020_05_31` service. /// /// Gets a list of distribution IDs for distributions that have a cache behavior that's associated with the specified cache policy. You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request. @@ -5860,6 +6437,76 @@ extension CloudFrontClient { return try await op.execute(input: input) } + /// Performs the `ListDistributionsByVpcOriginId` operation on the `Cloudfront2020_05_31` service. + /// + /// List CloudFront distributions by their VPC origin ID. + /// + /// - Parameter ListDistributionsByVpcOriginIdInput : [no documentation found] + /// + /// - Returns: `ListDistributionsByVpcOriginIdOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `EntityNotFound` : The entity was not found. + /// - `InvalidArgument` : An argument is invalid. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func listDistributionsByVpcOriginId(input: ListDistributionsByVpcOriginIdInput) async throws -> ListDistributionsByVpcOriginIdOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listDistributionsByVpcOriginId") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDistributionsByVpcOriginIdInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListDistributionsByVpcOriginIdInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListDistributionsByVpcOriginIdOutput.httpOutput(from:), ListDistributionsByVpcOriginIdOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListDistributionsByVpcOriginId") + 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 `ListDistributionsByWebACLId` operation on the `Cloudfront2020_05_31` service. /// /// List the distributions that are associated with a specified WAF web ACL. @@ -6813,6 +7460,76 @@ extension CloudFrontClient { return try await op.execute(input: input) } + /// Performs the `ListVpcOrigins` operation on the `Cloudfront2020_05_31` service. + /// + /// List the CloudFront VPC origins in your account. + /// + /// - Parameter ListVpcOriginsInput : [no documentation found] + /// + /// - Returns: `ListVpcOriginsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `EntityNotFound` : The entity was not found. + /// - `InvalidArgument` : An argument is invalid. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func listVpcOrigins(input: ListVpcOriginsInput) async throws -> ListVpcOriginsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listVpcOrigins") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListVpcOriginsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListVpcOriginsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListVpcOriginsOutput.httpOutput(from:), ListVpcOriginsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListVpcOrigins") + 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 `PublishFunction` operation on the `Cloudfront2020_05_31` service. /// /// Publishes a CloudFront function by copying the function code from the DEVELOPMENT stage to LIVE. This automatically updates all cache behaviors that are using this function to use the newly published copy in the LIVE stage. When a function is published to the LIVE stage, you can attach the function to a distribution's cache behavior, using the function's Amazon Resource Name (ARN). To publish a function, you must provide the function's name and version (ETag value). To get these values, you can use ListFunctions and DescribeFunction. @@ -7376,6 +8093,7 @@ extension CloudFrontClient { /// - `AccessDenied` : Access denied. /// - `CNAMEAlreadyExists` : The CNAME specified is already defined for CloudFront. /// - `ContinuousDeploymentPolicyInUse` : You cannot delete a continuous deployment policy that is associated with a primary distribution. + /// - `EntityNotFound` : The entity was not found. /// - `IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior` : The specified configuration for field-level encryption can't be associated with the specified cache behavior. /// - `IllegalOriginAccessConfiguration` : An origin cannot contain both an origin access control (OAC) and an origin access identity (OAI). /// - `IllegalUpdate` : The update contains modifications that are not allowed. @@ -7514,6 +8232,7 @@ extension CloudFrontClient { /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. /// - `CNAMEAlreadyExists` : The CNAME specified is already defined for CloudFront. + /// - `EntityNotFound` : The entity was not found. /// - `IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior` : The specified configuration for field-level encryption can't be associated with the specified cache behavior. /// - `IllegalUpdate` : The update contains modifications that are not allowed. /// - `InconsistentQuantities` : The value of Quantity and the size of Items don't match. @@ -7958,7 +8677,7 @@ extension CloudFrontClient { /// /// __Possible Exceptions:__ /// - `AccessDenied` : Access denied. - /// - `EntityNotFound` : The key value store entity was not found. + /// - `EntityNotFound` : The entity was not found. /// - `InvalidArgument` : An argument is invalid. /// - `InvalidIfMatchVersion` : The If-Match version is missing or not valid. /// - `PreconditionFailed` : The precondition in one or more of the request fields evaluated to false. @@ -8508,4 +9227,84 @@ extension CloudFrontClient { return try await op.execute(input: input) } + /// Performs the `UpdateVpcOrigin` operation on the `Cloudfront2020_05_31` service. + /// + /// Update an Amazon CloudFront VPC origin in your account. + /// + /// - Parameter UpdateVpcOriginInput : [no documentation found] + /// + /// - Returns: `UpdateVpcOriginOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDenied` : Access denied. + /// - `CannotUpdateEntityWhileInUse` : The entity cannot be updated while it is in use. + /// - `EntityAlreadyExists` : The entity already exists. You must provide a unique entity. + /// - `EntityLimitExceeded` : The entity limit has been exceeded. + /// - `EntityNotFound` : The entity was not found. + /// - `IllegalUpdate` : The update contains modifications that are not allowed. + /// - `InconsistentQuantities` : The value of Quantity and the size of Items don't match. + /// - `InvalidArgument` : An argument is invalid. + /// - `InvalidIfMatchVersion` : The If-Match version is missing or not valid. + /// - `PreconditionFailed` : The precondition in one or more of the request fields evaluated to false. + /// - `UnsupportedOperation` : This operation is not supported in this region. + public func updateVpcOrigin(input: UpdateVpcOriginInput) async throws -> UpdateVpcOriginOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "updateVpcOrigin") + .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: "cloudfront") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateVpcOriginInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.HeaderMiddleware(UpdateVpcOriginInput.headerProvider(_:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/xml")) + builder.serialize(ClientRuntime.PayloadBodyMiddleware(rootNodeInfo: .init("VpcOriginEndpointConfig", namespaceDef: .init(prefix: "", uri: "http://cloudfront.amazonaws.com/doc/2020-05-31/")), inputWritingClosure: CloudFrontClientTypes.VpcOriginEndpointConfig.write(value:to:), keyPath: \.vpcOriginEndpointConfig, defaultBody: nil)) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateVpcOriginOutput.httpOutput(from:), UpdateVpcOriginOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: CloudFrontClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "CloudFront") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateVpcOrigin") + 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) + } + } diff --git a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/Models.swift b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/Models.swift index 098b0ec9935..cb1fb04519a 100644 --- a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/Models.swift +++ b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/Models.swift @@ -38,6 +38,11 @@ public struct AssociateAliasOutput: Swift.Sendable { public init() { } } +public struct DeleteAnycastIpListOutput: Swift.Sendable { + + public init() { } +} + public struct DeleteCachePolicyOutput: Swift.Sendable { public init() { } @@ -501,6 +506,135 @@ extension CloudFrontClientTypes { } } +extension CloudFrontClientTypes { + + /// An Anycast static IP list. + public struct AnycastIpList: Swift.Sendable { + /// The static IP addresses that are allocated to the Anycast static IP list. + /// This member is required. + public var anycastIps: [Swift.String]? + /// The Amazon Resource Name (ARN) of the Anycast static IP list. + /// This member is required. + public var arn: Swift.String? + /// The ID of the Anycast static IP list. + /// This member is required. + public var id: Swift.String? + /// The number of IP addresses in the Anycast static IP list. + /// This member is required. + public var ipCount: Swift.Int? + /// The last time the Anycast static IP list was modified. + /// This member is required. + public var lastModifiedTime: Foundation.Date? + /// The name of the Anycast static IP list. + /// This member is required. + public var name: Swift.String? + /// The status of the Anycast static IP list. Valid values: Deployed, Deploying, or Failed. + /// This member is required. + public var status: Swift.String? + + public init( + anycastIps: [Swift.String]? = nil, + arn: Swift.String? = nil, + id: Swift.String? = nil, + ipCount: Swift.Int? = nil, + lastModifiedTime: Foundation.Date? = nil, + name: Swift.String? = nil, + status: Swift.String? = nil + ) + { + self.anycastIps = anycastIps + self.arn = arn + self.id = id + self.ipCount = ipCount + self.lastModifiedTime = lastModifiedTime + self.name = name + self.status = status + } + } +} + +extension CloudFrontClientTypes { + + /// An abbreviated version of the [AnycastIpList] structure. Omits the allocated static IP addresses ([AnycastIpList$AnycastIps]). + public struct AnycastIpListSummary: Swift.Sendable { + /// The Amazon Resource Name (ARN) of the Anycast static IP list. + /// This member is required. + public var arn: Swift.String? + /// The ID of the Anycast static IP list. + /// This member is required. + public var id: Swift.String? + /// The number of IP addresses in the Anycast static IP list. + /// This member is required. + public var ipCount: Swift.Int? + /// The last time the Anycast static IP list was modified. + /// This member is required. + public var lastModifiedTime: Foundation.Date? + /// The name of the Anycast static IP list. + /// This member is required. + public var name: Swift.String? + /// The deployment status of the Anycast static IP list. Valid values: Deployed, Deploying, or Failed. + /// This member is required. + public var status: Swift.String? + + public init( + arn: Swift.String? = nil, + id: Swift.String? = nil, + ipCount: Swift.Int? = nil, + lastModifiedTime: Foundation.Date? = nil, + name: Swift.String? = nil, + status: Swift.String? = nil + ) + { + self.arn = arn + self.id = id + self.ipCount = ipCount + self.lastModifiedTime = lastModifiedTime + self.name = name + self.status = status + } + } +} + +extension CloudFrontClientTypes { + + /// The Anycast static IP list collection. + public struct AnycastIpListCollection: Swift.Sendable { + /// If there are more items in the list collection than are in this response, this value is true. + /// This member is required. + public var isTruncated: Swift.Bool? + /// Items in the Anycast static IP list collection. Each item is of the [AnycastIpListSummary] structure type. + public var items: [CloudFrontClientTypes.AnycastIpListSummary]? + /// Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response. + /// This member is required. + public var marker: Swift.String? + /// The maximum number of Anycast static IP list collections that you want returned in the response. + /// This member is required. + public var maxItems: Swift.Int? + /// Indicates the next page of the Anycast static IP list collection. To get the next page of the list, use this value in the Marker field of your request. + public var nextMarker: Swift.String? + /// The quantity of Anycast static IP lists in the collection. + /// This member is required. + public var quantity: Swift.Int? + + public init( + isTruncated: Swift.Bool? = nil, + items: [CloudFrontClientTypes.AnycastIpListSummary]? = nil, + marker: Swift.String? = nil, + maxItems: Swift.Int? = nil, + nextMarker: Swift.String? = nil, + quantity: Swift.Int? = nil + ) + { + self.isTruncated = isTruncated + self.items = items + self.marker = marker + self.maxItems = maxItems + self.nextMarker = nextMarker + self.quantity = quantity + } + } +} + /// The update contains modifications that are not allowed. public struct IllegalUpdate: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -863,6 +997,23 @@ extension CloudFrontClientTypes { } } +extension CloudFrontClientTypes { + + /// Amazon CloudFront supports gRPC, an open-source remote procedure call (RPC) framework built on HTTP/2. gRPC offers bi-directional streaming and binary protocol that buffers payloads, making it suitable for applications that require low latency communications. To enable your distribution to handle gRPC requests, you must include HTTP/2 as one of the supported HTTP versions and allow HTTP methods, including POST. For more information, see [Using gRPC with CloudFront distributions](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-using-grpc.html) in the Amazon CloudFront Developer Guide. + public struct GrpcConfig: Swift.Sendable, Swift.Equatable { + /// Enables your CloudFront distribution to receive gRPC requests and to proxy them directly to your origins. + /// This member is required. + public var enabled: Swift.Bool? + + public init( + enabled: Swift.Bool? = nil + ) + { + self.enabled = enabled + } + } +} + extension CloudFrontClientTypes { /// A complex type that contains a Lambda@Edge function association. @@ -1031,6 +1182,8 @@ extension CloudFrontClientTypes { public var forwardedValues: CloudFrontClientTypes.ForwardedValues? /// A list of CloudFront functions that are associated with this cache behavior. CloudFront functions must be published to the LIVE stage to associate them with a cache behavior. public var functionAssociations: CloudFrontClientTypes.FunctionAssociations? + /// The gRPC configuration for your cache behavior. + public var grpcConfig: CloudFrontClientTypes.GrpcConfig? /// A complex type that contains zero or more Lambda@Edge function associations for a cache behavior. public var lambdaFunctionAssociations: CloudFrontClientTypes.LambdaFunctionAssociations? /// This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the Amazon CloudFront Developer Guide. The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the Amazon CloudFront Developer Guide. @@ -1078,6 +1231,7 @@ extension CloudFrontClientTypes { fieldLevelEncryptionId: Swift.String? = nil, forwardedValues: CloudFrontClientTypes.ForwardedValues? = nil, functionAssociations: CloudFrontClientTypes.FunctionAssociations? = nil, + grpcConfig: CloudFrontClientTypes.GrpcConfig? = nil, lambdaFunctionAssociations: CloudFrontClientTypes.LambdaFunctionAssociations? = nil, maxTTL: Swift.Int? = nil, minTTL: Swift.Int? = nil, @@ -1099,6 +1253,7 @@ extension CloudFrontClientTypes { self.fieldLevelEncryptionId = fieldLevelEncryptionId self.forwardedValues = forwardedValues self.functionAssociations = functionAssociations + self.grpcConfig = grpcConfig self.lambdaFunctionAssociations = lambdaFunctionAssociations self.maxTTL = maxTTL self.minTTL = minTTL @@ -1625,7 +1780,7 @@ public struct CannotChangeImmutablePublicKeyFields: ClientRuntime.ModeledError, } } -/// The key value store entity cannot be deleted while it is in use. +/// The entity cannot be deleted while it is in use. public struct CannotDeleteEntityWhileInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { @@ -1649,6 +1804,30 @@ public struct CannotDeleteEntityWhileInUse: ClientRuntime.ModeledError, AWSClien } } +/// The entity cannot be updated while it is in use. +public struct CannotUpdateEntityWhileInUse: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "CannotUpdateEntityWhileInUse" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + extension CloudFrontClientTypes { public enum CertificateSource: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -3260,6 +3439,8 @@ extension CloudFrontClientTypes { public var forwardedValues: CloudFrontClientTypes.ForwardedValues? /// A list of CloudFront functions that are associated with this cache behavior. Your functions must be published to the LIVE stage to associate them with a cache behavior. public var functionAssociations: CloudFrontClientTypes.FunctionAssociations? + /// The gRPC configuration for your cache behavior. + public var grpcConfig: CloudFrontClientTypes.GrpcConfig? /// A complex type that contains zero or more Lambda@Edge function associations for a cache behavior. public var lambdaFunctionAssociations: CloudFrontClientTypes.LambdaFunctionAssociations? /// This field is deprecated. We recommend that you use the MaxTTL field in a cache policy instead of this field. For more information, see [Creating cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html#cache-key-create-cache-policy) or [Using the managed cache policies](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-policies.html) in the Amazon CloudFront Developer Guide. The maximum amount of time that you want objects to stay in CloudFront caches before CloudFront forwards another request to your origin to determine whether the object has been updated. The value that you specify applies only when your origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects. For more information, see [Managing How Long Content Stays in an Edge Cache (Expiration)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html) in the Amazon CloudFront Developer Guide. @@ -3304,6 +3485,7 @@ extension CloudFrontClientTypes { fieldLevelEncryptionId: Swift.String? = nil, forwardedValues: CloudFrontClientTypes.ForwardedValues? = nil, functionAssociations: CloudFrontClientTypes.FunctionAssociations? = nil, + grpcConfig: CloudFrontClientTypes.GrpcConfig? = nil, lambdaFunctionAssociations: CloudFrontClientTypes.LambdaFunctionAssociations? = nil, maxTTL: Swift.Int? = nil, minTTL: Swift.Int? = nil, @@ -3324,6 +3506,7 @@ extension CloudFrontClientTypes { self.fieldLevelEncryptionId = fieldLevelEncryptionId self.forwardedValues = forwardedValues self.functionAssociations = functionAssociations + self.grpcConfig = grpcConfig self.lambdaFunctionAssociations = lambdaFunctionAssociations self.maxTTL = maxTTL self.minTTL = minTTL @@ -3376,26 +3559,22 @@ extension CloudFrontClientTypes { extension CloudFrontClientTypes { - /// A complex type that controls whether access logs are written for the distribution. + /// A complex type that specifies whether access logs are written for the distribution. If you already enabled standard logging (legacy) and you want to enable standard logging (v2) to send your access logs to Amazon S3, we recommend that you specify a different Amazon S3 bucket or use a separate path in the same bucket (for example, use a log prefix or partitioning). This helps you keep track of which log files are associated with which logging subscription and prevents log files from overwriting each other. For more information, see [Standard logging (access logs)](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html) in the Amazon CloudFront Developer Guide. public struct LoggingConfig: Swift.Sendable { - /// The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com. - /// This member is required. + /// The Amazon S3 bucket to store the access logs in, for example, amzn-s3-demo-bucket.s3.amazonaws.com. public var bucket: Swift.String? - /// Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted. - /// This member is required. + /// Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and prefix, the values are automatically deleted. public var enabled: Swift.Bool? /// Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies. - /// This member is required. public var includeCookies: Swift.Bool? /// An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element. - /// This member is required. public var `prefix`: Swift.String? public init( - bucket: Swift.String? = nil, - enabled: Swift.Bool? = nil, - includeCookies: Swift.Bool? = nil, - `prefix`: Swift.String? = nil + bucket: Swift.String? = "", + enabled: Swift.Bool? = false, + includeCookies: Swift.Bool? = false, + `prefix`: Swift.String? = "" ) { self.bucket = bucket @@ -3752,6 +3931,23 @@ extension CloudFrontClientTypes { } } +extension CloudFrontClientTypes { + + /// An Amazon CloudFront VPC origin configuration. + public struct VpcOriginConfig: Swift.Sendable, Swift.Equatable { + /// The VPC origin ID. + /// This member is required. + public var vpcOriginId: Swift.String? + + public init( + vpcOriginId: Swift.String? = nil + ) + { + self.vpcOriginId = vpcOriginId + } + } +} + extension CloudFrontClientTypes { /// An origin. An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin: @@ -3798,6 +3994,8 @@ extension CloudFrontClientTypes { public var originShield: CloudFrontClientTypes.OriginShield? /// Use this type to specify an origin that is an Amazon S3 bucket that is not configured with static website hosting. To specify any other type of origin, including an Amazon S3 bucket that is configured with static website hosting, use the CustomOriginConfig type instead. public var s3OriginConfig: CloudFrontClientTypes.S3OriginConfig? + /// The VPC origin configuration. + public var vpcOriginConfig: CloudFrontClientTypes.VpcOriginConfig? public init( connectionAttempts: Swift.Int? = nil, @@ -3809,7 +4007,8 @@ extension CloudFrontClientTypes { originAccessControlId: Swift.String? = nil, originPath: Swift.String? = nil, originShield: CloudFrontClientTypes.OriginShield? = nil, - s3OriginConfig: CloudFrontClientTypes.S3OriginConfig? = nil + s3OriginConfig: CloudFrontClientTypes.S3OriginConfig? = nil, + vpcOriginConfig: CloudFrontClientTypes.VpcOriginConfig? = nil ) { self.connectionAttempts = connectionAttempts @@ -3822,6 +4021,7 @@ extension CloudFrontClientTypes { self.originPath = originPath self.originShield = originShield self.s3OriginConfig = s3OriginConfig + self.vpcOriginConfig = vpcOriginConfig } } } @@ -4142,6 +4342,8 @@ extension CloudFrontClientTypes { public struct DistributionConfig: Swift.Sendable { /// A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution. public var aliases: CloudFrontClientTypes.Aliases? + /// ID of the Anycast static IP list that is associated with the distribution. + public var anycastIpListId: Swift.String? /// A complex type that contains zero or more CacheBehavior elements. public var cacheBehaviors: CloudFrontClientTypes.CacheBehaviors? /// A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference is new (regardless of the content of the DistributionConfig object), CloudFront creates a new distribution. If CallerReference is a value that you already sent in a previous request to create a distribution, CloudFront returns a DistributionAlreadyExists error. @@ -4200,6 +4402,7 @@ extension CloudFrontClientTypes { public init( aliases: CloudFrontClientTypes.Aliases? = nil, + anycastIpListId: Swift.String? = nil, cacheBehaviors: CloudFrontClientTypes.CacheBehaviors? = nil, callerReference: Swift.String? = nil, comment: Swift.String? = nil, @@ -4221,6 +4424,7 @@ extension CloudFrontClientTypes { ) { self.aliases = aliases + self.anycastIpListId = anycastIpListId self.cacheBehaviors = cacheBehaviors self.callerReference = callerReference self.comment = comment @@ -4245,7 +4449,7 @@ extension CloudFrontClientTypes { extension CloudFrontClientTypes.DistributionConfig: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "DistributionConfig(aliases: \(Swift.String(describing: aliases)), cacheBehaviors: \(Swift.String(describing: cacheBehaviors)), callerReference: \(Swift.String(describing: callerReference)), continuousDeploymentPolicyId: \(Swift.String(describing: continuousDeploymentPolicyId)), customErrorResponses: \(Swift.String(describing: customErrorResponses)), defaultCacheBehavior: \(Swift.String(describing: defaultCacheBehavior)), defaultRootObject: \(Swift.String(describing: defaultRootObject)), enabled: \(Swift.String(describing: enabled)), httpVersion: \(Swift.String(describing: httpVersion)), isIPV6Enabled: \(Swift.String(describing: isIPV6Enabled)), logging: \(Swift.String(describing: logging)), originGroups: \(Swift.String(describing: originGroups)), origins: \(Swift.String(describing: origins)), priceClass: \(Swift.String(describing: priceClass)), restrictions: \(Swift.String(describing: restrictions)), staging: \(Swift.String(describing: staging)), viewerCertificate: \(Swift.String(describing: viewerCertificate)), webACLId: \(Swift.String(describing: webACLId)), comment: \"CONTENT_REDACTED\")"} + "DistributionConfig(aliases: \(Swift.String(describing: aliases)), anycastIpListId: \(Swift.String(describing: anycastIpListId)), cacheBehaviors: \(Swift.String(describing: cacheBehaviors)), callerReference: \(Swift.String(describing: callerReference)), continuousDeploymentPolicyId: \(Swift.String(describing: continuousDeploymentPolicyId)), customErrorResponses: \(Swift.String(describing: customErrorResponses)), defaultCacheBehavior: \(Swift.String(describing: defaultCacheBehavior)), defaultRootObject: \(Swift.String(describing: defaultRootObject)), enabled: \(Swift.String(describing: enabled)), httpVersion: \(Swift.String(describing: httpVersion)), isIPV6Enabled: \(Swift.String(describing: isIPV6Enabled)), logging: \(Swift.String(describing: logging)), originGroups: \(Swift.String(describing: originGroups)), origins: \(Swift.String(describing: origins)), priceClass: \(Swift.String(describing: priceClass)), restrictions: \(Swift.String(describing: restrictions)), staging: \(Swift.String(describing: staging)), viewerCertificate: \(Swift.String(describing: viewerCertificate)), webACLId: \(Swift.String(describing: webACLId)), comment: \"CONTENT_REDACTED\")"} } extension CloudFrontClientTypes { @@ -4327,15 +4531,15 @@ public struct CopyDistributionOutput: Swift.Sendable { } } -/// You have reached the maximum number of cache policies for this Amazon Web Services account. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the Amazon CloudFront Developer Guide. -public struct TooManyCachePolicies: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +/// The entity already exists. You must provide a unique entity. +public struct EntityAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { public internal(set) var message: Swift.String? = nil } public internal(set) var properties = Properties() - public static var typeName: Swift.String { "TooManyCachePolicies" } + public static var typeName: Swift.String { "EntityAlreadyExists" } public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } @@ -4351,15 +4555,15 @@ public struct TooManyCachePolicies: ClientRuntime.ModeledError, AWSClientRuntime } } -/// The number of cookies in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the Amazon CloudFront Developer Guide. -public struct TooManyCookiesInCachePolicy: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +/// The entity limit has been exceeded. +public struct EntityLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { public internal(set) var message: Swift.String? = nil } public internal(set) var properties = Properties() - public static var typeName: Swift.String { "TooManyCookiesInCachePolicy" } + public static var typeName: Swift.String { "EntityLimitExceeded" } public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } @@ -4375,15 +4579,15 @@ public struct TooManyCookiesInCachePolicy: ClientRuntime.ModeledError, AWSClient } } -/// The number of headers in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the Amazon CloudFront Developer Guide. -public struct TooManyHeadersInCachePolicy: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +/// The tagging specified is not valid. +public struct InvalidTagging: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { public internal(set) var message: Swift.String? = nil } public internal(set) var properties = Properties() - public static var typeName: Swift.String { "TooManyHeadersInCachePolicy" } + public static var typeName: Swift.String { "InvalidTagging" } public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } @@ -4399,15 +4603,15 @@ public struct TooManyHeadersInCachePolicy: ClientRuntime.ModeledError, AWSClient } } -/// The number of query strings in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the Amazon CloudFront Developer Guide. -public struct TooManyQueryStringsInCachePolicy: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +/// This operation is not supported in this region. +public struct UnsupportedOperation: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { public internal(set) var message: Swift.String? = nil } public internal(set) var properties = Properties() - public static var typeName: Swift.String { "TooManyQueryStringsInCachePolicy" } + public static var typeName: Swift.String { "UnsupportedOperation" } public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } @@ -4423,48 +4627,90 @@ public struct TooManyQueryStringsInCachePolicy: ClientRuntime.ModeledError, AWSC } } -public struct CreateCachePolicyInput: Swift.Sendable { - /// A cache policy configuration. +extension CloudFrontClientTypes { + + /// A complex type that contains Tag key and Tag value. + public struct Tag: Swift.Sendable { + /// A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @. + /// This member is required. + public var key: Swift.String? + /// A string that contains an optional Tag value. The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @. + public var value: Swift.String? + + public init( + key: Swift.String? = nil, + value: Swift.String? = nil + ) + { + self.key = key + self.value = value + } + } +} + +extension CloudFrontClientTypes { + + /// A complex type that contains zero or more Tag elements. + public struct Tags: Swift.Sendable { + /// A complex type that contains Tag elements. + public var items: [CloudFrontClientTypes.Tag]? + + public init( + items: [CloudFrontClientTypes.Tag]? = nil + ) + { + self.items = items + } + } +} + +public struct CreateAnycastIpListInput: Swift.Sendable { + /// The number of static IP addresses that are allocated to the Anycast static IP list. /// This member is required. - public var cachePolicyConfig: CloudFrontClientTypes.CachePolicyConfig? + public var ipCount: Swift.Int? + /// Name of the Anycast static IP list. + /// This member is required. + public var name: Swift.String? + /// A complex type that contains zero or more Tag elements. + public var tags: CloudFrontClientTypes.Tags? public init( - cachePolicyConfig: CloudFrontClientTypes.CachePolicyConfig? = nil + ipCount: Swift.Int? = nil, + name: Swift.String? = nil, + tags: CloudFrontClientTypes.Tags? = nil ) { - self.cachePolicyConfig = cachePolicyConfig + self.ipCount = ipCount + self.name = name + self.tags = tags } } -public struct CreateCachePolicyOutput: Swift.Sendable { - /// A cache policy. - public var cachePolicy: CloudFrontClientTypes.CachePolicy? - /// The current version of the cache policy. +public struct CreateAnycastIpListOutput: Swift.Sendable { + /// A response structure that includes the version identifier (ETag) and the created [AnycastIpList] structure. + public var anycastIpList: CloudFrontClientTypes.AnycastIpList? + /// The version identifier for the current version of the Anycast static IP list. public var eTag: Swift.String? - /// The fully qualified URI of the cache policy just created. - public var location: Swift.String? public init( - cachePolicy: CloudFrontClientTypes.CachePolicy? = nil, - eTag: Swift.String? = nil, - location: Swift.String? = nil + anycastIpList: CloudFrontClientTypes.AnycastIpList? = nil, + eTag: Swift.String? = nil ) { - self.cachePolicy = cachePolicy + self.anycastIpList = anycastIpList self.eTag = eTag - self.location = location } } -/// If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error. -public struct CloudFrontOriginAccessIdentityAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +/// You have reached the maximum number of cache policies for this Amazon Web Services account. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the Amazon CloudFront Developer Guide. +public struct TooManyCachePolicies: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { public internal(set) var message: Swift.String? = nil } public internal(set) var properties = Properties() - public static var typeName: Swift.String { "CloudFrontOriginAccessIdentityAlreadyExists" } + public static var typeName: Swift.String { "TooManyCachePolicies" } public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } @@ -4480,15 +4726,15 @@ public struct CloudFrontOriginAccessIdentityAlreadyExists: ClientRuntime.Modeled } } -/// Processing your request would cause you to exceed the maximum number of origin access identities allowed. -public struct TooManyCloudFrontOriginAccessIdentities: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { +/// The number of cookies in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the Amazon CloudFront Developer Guide. +public struct TooManyCookiesInCachePolicy: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { public internal(set) var message: Swift.String? = nil } public internal(set) var properties = Properties() - public static var typeName: Swift.String { "TooManyCloudFrontOriginAccessIdentities" } + public static var typeName: Swift.String { "TooManyCookiesInCachePolicy" } public static var fault: ClientRuntime.ErrorFault { .client } public static var isRetryable: Swift.Bool { false } public static var isThrottling: Swift.Bool { false } @@ -4504,16 +4750,145 @@ public struct TooManyCloudFrontOriginAccessIdentities: ClientRuntime.ModeledErro } } -extension CloudFrontClientTypes { +/// The number of headers in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the Amazon CloudFront Developer Guide. +public struct TooManyHeadersInCachePolicy: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - /// Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource. - public struct CloudFrontOriginAccessIdentityConfig: Swift.Sendable { - /// A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error. - /// This member is required. - public var callerReference: Swift.String? - /// A comment to describe the origin access identity. The comment cannot be longer than 128 characters. - /// This member is required. - public var comment: Swift.String? + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "TooManyHeadersInCachePolicy" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +/// The number of query strings in the cache policy exceeds the maximum. For more information, see [Quotas](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html) (formerly known as limits) in the Amazon CloudFront Developer Guide. +public struct TooManyQueryStringsInCachePolicy: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "TooManyQueryStringsInCachePolicy" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +public struct CreateCachePolicyInput: Swift.Sendable { + /// A cache policy configuration. + /// This member is required. + public var cachePolicyConfig: CloudFrontClientTypes.CachePolicyConfig? + + public init( + cachePolicyConfig: CloudFrontClientTypes.CachePolicyConfig? = nil + ) + { + self.cachePolicyConfig = cachePolicyConfig + } +} + +public struct CreateCachePolicyOutput: Swift.Sendable { + /// A cache policy. + public var cachePolicy: CloudFrontClientTypes.CachePolicy? + /// The current version of the cache policy. + public var eTag: Swift.String? + /// The fully qualified URI of the cache policy just created. + public var location: Swift.String? + + public init( + cachePolicy: CloudFrontClientTypes.CachePolicy? = nil, + eTag: Swift.String? = nil, + location: Swift.String? = nil + ) + { + self.cachePolicy = cachePolicy + self.eTag = eTag + self.location = location + } +} + +/// If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error. +public struct CloudFrontOriginAccessIdentityAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "CloudFrontOriginAccessIdentityAlreadyExists" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +/// Processing your request would cause you to exceed the maximum number of origin access identities allowed. +public struct TooManyCloudFrontOriginAccessIdentities: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "TooManyCloudFrontOriginAccessIdentities" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +extension CloudFrontClientTypes { + + /// Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource. + public struct CloudFrontOriginAccessIdentityConfig: Swift.Sendable { + /// A unique value (for example, a date-time stamp) that ensures that the request can't be replayed. If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created. If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request. If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error. + /// This member is required. + public var callerReference: Swift.String? + /// A comment to describe the origin access identity. The comment cannot be longer than 128 characters. + /// This member is required. + public var comment: Swift.String? public init( callerReference: Swift.String? = nil, @@ -4909,6 +5284,30 @@ public struct ContinuousDeploymentPolicyInUse: ClientRuntime.ModeledError, AWSCl } } +/// The entity was not found. +public struct EntityNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "EntityNotFound" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + /// An origin cannot contain both an origin access control (OAC) and an origin access identity (OAI). public struct IllegalOriginAccessConfiguration: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -5016,67 +5415,6 @@ public struct CreateDistributionOutput: Swift.Sendable { } } -/// The tagging specified is not valid. -public struct InvalidTagging: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "InvalidTagging" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil - ) - { - self.properties.message = message - } -} - -extension CloudFrontClientTypes { - - /// A complex type that contains Tag key and Tag value. - public struct Tag: Swift.Sendable { - /// A string that contains Tag key. The string length should be between 1 and 128 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @. - /// This member is required. - public var key: Swift.String? - /// A string that contains an optional Tag value. The string length should be between 0 and 256 characters. Valid characters include a-z, A-Z, 0-9, space, and the special characters _ - . : / = + @. - public var value: Swift.String? - - public init( - key: Swift.String? = nil, - value: Swift.String? = nil - ) - { - self.key = key - self.value = value - } - } -} - -extension CloudFrontClientTypes { - - /// A complex type that contains zero or more Tag elements. - public struct Tags: Swift.Sendable { - /// A complex type that contains Tag elements. - public var items: [CloudFrontClientTypes.Tag]? - - public init( - items: [CloudFrontClientTypes.Tag]? = nil - ) - { - self.items = items - } - } -} - extension CloudFrontClientTypes { /// A distribution Configuration and a list of tags to be associated with the distribution. @@ -5901,30 +6239,6 @@ public struct TooManyFunctions: ClientRuntime.ModeledError, AWSClientRuntime.AWS } } -/// This operation is not supported in this region. -public struct UnsupportedOperation: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "UnsupportedOperation" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil - ) - { - self.properties.message = message - } -} - extension CloudFrontClientTypes { /// The key value store association. @@ -6449,55 +6763,7 @@ public struct CreateKeyGroupOutput: Swift.Sendable { } } -/// The key value store entity already exists. You must provide a unique key value store entity. -public struct EntityAlreadyExists: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "EntityAlreadyExists" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil - ) - { - self.properties.message = message - } -} - -/// The key value store entity limit has been exceeded. -public struct EntityLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "EntityLimitExceeded" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil - ) - { - self.properties.message = message - } -} - -/// The key value store entity size limit was exceeded. +/// The entity size limit was exceeded. public struct EntitySizeLimitExceeded: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { @@ -8571,7 +8837,7 @@ extension CloudFrontClientTypes { /// A complex type that controls whether access logs are written for this streaming distribution. public struct StreamingLoggingConfig: Swift.Sendable { - /// The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com. + /// The Amazon S3 bucket to store the access logs in, for example, amzn-s3-demo-bucket.s3.amazonaws.com. /// This member is required. public var bucket: Swift.String? /// Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a streaming distribution or if you want to disable logging for an existing streaming distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket and Prefix, the values are automatically deleted. @@ -8803,7 +9069,127 @@ public struct CreateStreamingDistributionWithTagsOutput: Swift.Sendable { } } -/// You cannot delete a managed policy. +extension CloudFrontClientTypes { + + /// An Amazon CloudFront VPC origin endpoint configuration. + public struct VpcOriginEndpointConfig: Swift.Sendable { + /// The ARN of the CloudFront VPC origin endpoint configuration. + /// This member is required. + public var arn: Swift.String? + /// The HTTP port for the CloudFront VPC origin endpoint configuration. + /// This member is required. + public var httpPort: Swift.Int? + /// The HTTPS port of the CloudFront VPC origin endpoint configuration. + /// This member is required. + public var httpsPort: Swift.Int? + /// The name of the CloudFront VPC origin endpoint configuration. + /// This member is required. + public var name: Swift.String? + /// The origin protocol policy for the CloudFront VPC origin endpoint configuration. + /// This member is required. + public var originProtocolPolicy: CloudFrontClientTypes.OriginProtocolPolicy? + /// A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin. + public var originSslProtocols: CloudFrontClientTypes.OriginSslProtocols? + + public init( + arn: Swift.String? = nil, + httpPort: Swift.Int? = nil, + httpsPort: Swift.Int? = nil, + name: Swift.String? = nil, + originProtocolPolicy: CloudFrontClientTypes.OriginProtocolPolicy? = nil, + originSslProtocols: CloudFrontClientTypes.OriginSslProtocols? = nil + ) + { + self.arn = arn + self.httpPort = httpPort + self.httpsPort = httpsPort + self.name = name + self.originProtocolPolicy = originProtocolPolicy + self.originSslProtocols = originSslProtocols + } + } +} + +public struct CreateVpcOriginInput: Swift.Sendable { + /// A complex type that contains zero or more Tag elements. + public var tags: CloudFrontClientTypes.Tags? + /// The VPC origin endpoint configuration. + /// This member is required. + public var vpcOriginEndpointConfig: CloudFrontClientTypes.VpcOriginEndpointConfig? + + public init( + tags: CloudFrontClientTypes.Tags? = nil, + vpcOriginEndpointConfig: CloudFrontClientTypes.VpcOriginEndpointConfig? = nil + ) + { + self.tags = tags + self.vpcOriginEndpointConfig = vpcOriginEndpointConfig + } +} + +extension CloudFrontClientTypes { + + /// An Amazon CloudFront VPC origin. + public struct VpcOrigin: Swift.Sendable { + /// The VPC origin ARN. + /// This member is required. + public var arn: Swift.String? + /// The VPC origin created time. + /// This member is required. + public var createdTime: Foundation.Date? + /// The VPC origin ID. + /// This member is required. + public var id: Swift.String? + /// The VPC origin last modified time. + /// This member is required. + public var lastModifiedTime: Foundation.Date? + /// The VPC origin status. + /// This member is required. + public var status: Swift.String? + /// The VPC origin endpoint configuration. + /// This member is required. + public var vpcOriginEndpointConfig: CloudFrontClientTypes.VpcOriginEndpointConfig? + + public init( + arn: Swift.String? = nil, + createdTime: Foundation.Date? = nil, + id: Swift.String? = nil, + lastModifiedTime: Foundation.Date? = nil, + status: Swift.String? = nil, + vpcOriginEndpointConfig: CloudFrontClientTypes.VpcOriginEndpointConfig? = nil + ) + { + self.arn = arn + self.createdTime = createdTime + self.id = id + self.lastModifiedTime = lastModifiedTime + self.status = status + self.vpcOriginEndpointConfig = vpcOriginEndpointConfig + } + } +} + +public struct CreateVpcOriginOutput: Swift.Sendable { + /// The VPC origin ETag. + public var eTag: Swift.String? + /// The VPC origin location. + public var location: Swift.String? + /// The VPC origin. + public var vpcOrigin: CloudFrontClientTypes.VpcOrigin? + + public init( + eTag: Swift.String? = nil, + location: Swift.String? = nil, + vpcOrigin: CloudFrontClientTypes.VpcOrigin? = nil + ) + { + self.eTag = eTag + self.location = location + self.vpcOrigin = vpcOrigin + } +} + +/// Deletion is not allowed for this entity. public struct IllegalDelete: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { @@ -8827,6 +9213,24 @@ public struct IllegalDelete: ClientRuntime.ModeledError, AWSClientRuntime.AWSSer } } +public struct DeleteAnycastIpListInput: Swift.Sendable { + /// The ID of the Anycast static IP list. + /// This member is required. + public var id: Swift.String? + /// The current version (ETag value) of the Anycast static IP list that you are deleting. + /// This member is required. + public var ifMatch: Swift.String? + + public init( + id: Swift.String? = nil, + ifMatch: Swift.String? = nil + ) + { + self.id = id + self.ifMatch = ifMatch + } +} + public struct DeleteCachePolicyInput: Swift.Sendable { /// The unique identifier for the cache policy that you are deleting. To get the identifier, you can use ListCachePolicies. /// This member is required. @@ -9201,30 +9605,6 @@ public struct DeleteKeyGroupInput: Swift.Sendable { } } -/// The key value store entity was not found. -public struct EntityNotFound: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { - - public struct Properties { - public internal(set) var message: Swift.String? = nil - } - - public internal(set) var properties = Properties() - public static var typeName: Swift.String { "EntityNotFound" } - public static var fault: ClientRuntime.ErrorFault { .client } - public static var isRetryable: Swift.Bool { false } - public static var isThrottling: Swift.Bool { false } - public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() - public internal(set) var message: Swift.String? - public internal(set) var requestID: Swift.String? - - public init( - message: Swift.String? = nil - ) - { - self.properties.message = message - } -} - public struct DeleteKeyValueStoreInput: Swift.Sendable { /// The key value store to delete, if a match occurs. /// This member is required. @@ -9554,19 +9934,37 @@ public struct StreamingDistributionNotDisabled: ClientRuntime.ModeledError, AWSC public internal(set) var requestID: Swift.String? public init( - message: Swift.String? = nil + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +/// The request to delete a streaming distribution. +public struct DeleteStreamingDistributionInput: Swift.Sendable { + /// The distribution ID. + /// This member is required. + public var id: Swift.String? + /// The value of the ETag header that you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL. + public var ifMatch: Swift.String? + + public init( + id: Swift.String? = nil, + ifMatch: Swift.String? = nil ) { - self.properties.message = message + self.id = id + self.ifMatch = ifMatch } } -/// The request to delete a streaming distribution. -public struct DeleteStreamingDistributionInput: Swift.Sendable { - /// The distribution ID. +public struct DeleteVpcOriginInput: Swift.Sendable { + /// The VPC origin ID. /// This member is required. public var id: Swift.String? - /// The value of the ETag header that you received when you disabled the streaming distribution. For example: E2QWRUHAPOMQZL. + /// The VPC origin to delete, if a match occurs. + /// This member is required. public var ifMatch: Swift.String? public init( @@ -9579,6 +9977,22 @@ public struct DeleteStreamingDistributionInput: Swift.Sendable { } } +public struct DeleteVpcOriginOutput: Swift.Sendable { + /// The VPC origin ETag. + public var eTag: Swift.String? + /// The VPC origin. + public var vpcOrigin: CloudFrontClientTypes.VpcOrigin? + + public init( + eTag: Swift.String? = nil, + vpcOrigin: CloudFrontClientTypes.VpcOrigin? = nil + ) + { + self.eTag = eTag + self.vpcOrigin = vpcOrigin + } +} + public struct DescribeFunctionInput: Swift.Sendable { /// The name of the function that you are getting information about. /// This member is required. @@ -9641,6 +10055,35 @@ public struct DescribeKeyValueStoreOutput: Swift.Sendable { } } +public struct GetAnycastIpListInput: Swift.Sendable { + /// The ID of the Anycast static IP list. + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +public struct GetAnycastIpListOutput: Swift.Sendable { + /// The Anycast static IP list details. + public var anycastIpList: CloudFrontClientTypes.AnycastIpList? + /// The version identifier for the current version of the Anycast static IP list. + public var eTag: Swift.String? + + public init( + anycastIpList: CloudFrontClientTypes.AnycastIpList? = nil, + eTag: Swift.String? = nil + ) + { + self.anycastIpList = anycastIpList + self.eTag = eTag + } +} + public struct GetCachePolicyInput: Swift.Sendable { /// The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies. /// This member is required. @@ -10500,6 +10943,63 @@ public struct GetStreamingDistributionConfigOutput: Swift.Sendable { } } +public struct GetVpcOriginInput: Swift.Sendable { + /// The VPC origin ID. + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +public struct GetVpcOriginOutput: Swift.Sendable { + /// The VPC origin ETag. + public var eTag: Swift.String? + /// The VPC origin. + public var vpcOrigin: CloudFrontClientTypes.VpcOrigin? + + public init( + eTag: Swift.String? = nil, + vpcOrigin: CloudFrontClientTypes.VpcOrigin? = nil + ) + { + self.eTag = eTag + self.vpcOrigin = vpcOrigin + } +} + +public struct ListAnycastIpListsInput: Swift.Sendable { + /// Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response. + public var marker: Swift.String? + /// The maximum number of Anycast static IP lists that you want returned in the response. + public var maxItems: Swift.Int? + + public init( + marker: Swift.String? = nil, + maxItems: Swift.Int? = nil + ) + { + self.marker = marker + self.maxItems = maxItems + } +} + +public struct ListAnycastIpListsOutput: Swift.Sendable { + /// Root level tag for the AnycastIpLists parameters. + public var anycastIpLists: CloudFrontClientTypes.AnycastIpListCollection? + + public init( + anycastIpLists: CloudFrontClientTypes.AnycastIpListCollection? = nil + ) + { + self.anycastIpLists = anycastIpLists + } +} + public struct ListCachePoliciesInput: Swift.Sendable { /// Use this field when paginating results to indicate where to begin in your list of cache policies. The response includes cache policies in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response. public var marker: Swift.String? @@ -10824,6 +11324,8 @@ extension CloudFrontClientTypes { /// A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution. /// This member is required. public var aliases: CloudFrontClientTypes.Aliases? + /// ID of the Anycast static IP list that is associated with the distribution. + public var anycastIpListId: Swift.String? /// The ARN (Amazon Resource Name) for the distribution. For example: arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5, where 123456789012 is your Amazon Web Services account ID. /// This member is required. public var arn: Swift.String? @@ -10884,6 +11386,7 @@ extension CloudFrontClientTypes { public init( aliasICPRecordals: [CloudFrontClientTypes.AliasICPRecordal]? = nil, aliases: CloudFrontClientTypes.Aliases? = nil, + anycastIpListId: Swift.String? = nil, arn: Swift.String? = nil, cacheBehaviors: CloudFrontClientTypes.CacheBehaviors? = nil, comment: Swift.String? = nil, @@ -10907,6 +11410,7 @@ extension CloudFrontClientTypes { { self.aliasICPRecordals = aliasICPRecordals self.aliases = aliases + self.anycastIpListId = anycastIpListId self.arn = arn self.cacheBehaviors = cacheBehaviors self.comment = comment @@ -10983,6 +11487,39 @@ public struct ListDistributionsOutput: Swift.Sendable { } } +public struct ListDistributionsByAnycastIpListIdInput: Swift.Sendable { + /// The ID of the Anycast static IP list. + /// This member is required. + public var anycastIpListId: Swift.String? + /// Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur after the marker. To get the next page of the list, set this field's value to the value of NextMarker from the current page's response. + public var marker: Swift.String? + /// The maximum number of distributions that you want returned in the response. + public var maxItems: Swift.Int? + + public init( + anycastIpListId: Swift.String? = nil, + marker: Swift.String? = nil, + maxItems: Swift.Int? = nil + ) + { + self.anycastIpListId = anycastIpListId + self.marker = marker + self.maxItems = maxItems + } +} + +public struct ListDistributionsByAnycastIpListIdOutput: Swift.Sendable { + /// A distribution list. + public var distributionList: CloudFrontClientTypes.DistributionList? + + public init( + distributionList: CloudFrontClientTypes.DistributionList? = nil + ) + { + self.distributionList = distributionList + } +} + public struct ListDistributionsByCachePolicyIdInput: Swift.Sendable { /// The ID of the cache policy whose associated distribution IDs you want to list. /// This member is required. @@ -11191,6 +11728,39 @@ public struct ListDistributionsByResponseHeadersPolicyIdOutput: Swift.Sendable { } } +public struct ListDistributionsByVpcOriginIdInput: Swift.Sendable { + /// The marker associated with the VPC origin distributions list. + public var marker: Swift.String? + /// The maximum number of items included in the list. + public var maxItems: Swift.Int? + /// The VPC origin ID. + /// This member is required. + public var vpcOriginId: Swift.String? + + public init( + marker: Swift.String? = nil, + maxItems: Swift.Int? = nil, + vpcOriginId: Swift.String? = nil + ) + { + self.marker = marker + self.maxItems = maxItems + self.vpcOriginId = vpcOriginId + } +} + +public struct ListDistributionsByVpcOriginIdOutput: Swift.Sendable { + /// A list of distribution IDs. + public var distributionIdList: CloudFrontClientTypes.DistributionIdList? + + public init( + distributionIdList: CloudFrontClientTypes.DistributionIdList? = nil + ) + { + self.distributionIdList = distributionIdList + } +} + /// The request to list distributions that are associated with a specified WAF web ACL. public struct ListDistributionsByWebACLIdInput: Swift.Sendable { /// Use Marker and MaxItems to control pagination of results. If you have more than MaxItems distributions that satisfy the request, the response includes a NextMarker element. To get the next page of results, submit another request. For the value of Marker, specify the value of NextMarker from the last response. (For the first request, omit Marker.) @@ -12385,6 +12955,121 @@ public struct ListTagsForResourceOutput: Swift.Sendable { } } +public struct ListVpcOriginsInput: Swift.Sendable { + /// The marker associated with the VPC origins list. + public var marker: Swift.String? + /// The maximum number of items included in the list. + public var maxItems: Swift.Int? + + public init( + marker: Swift.String? = nil, + maxItems: Swift.Int? = nil + ) + { + self.marker = marker + self.maxItems = maxItems + } +} + +extension CloudFrontClientTypes { + + /// A summary of the CloudFront VPC origin. + public struct VpcOriginSummary: Swift.Sendable { + /// The VPC origin summary ARN. + /// This member is required. + public var arn: Swift.String? + /// The VPC origin summary created time. + /// This member is required. + public var createdTime: Foundation.Date? + /// The VPC origin summary ID. + /// This member is required. + public var id: Swift.String? + /// The VPC origin summary last modified time. + /// This member is required. + public var lastModifiedTime: Foundation.Date? + /// The VPC origin summary name. + /// This member is required. + public var name: Swift.String? + /// The VPC origin summary origin endpoint ARN. + /// This member is required. + public var originEndpointArn: Swift.String? + /// The VPC origin summary status. + /// This member is required. + public var status: Swift.String? + + public init( + arn: Swift.String? = nil, + createdTime: Foundation.Date? = nil, + id: Swift.String? = nil, + lastModifiedTime: Foundation.Date? = nil, + name: Swift.String? = nil, + originEndpointArn: Swift.String? = nil, + status: Swift.String? = nil + ) + { + self.arn = arn + self.createdTime = createdTime + self.id = id + self.lastModifiedTime = lastModifiedTime + self.name = name + self.originEndpointArn = originEndpointArn + self.status = status + } + } +} + +extension CloudFrontClientTypes { + + /// A list of CloudFront VPC origins. + public struct VpcOriginList: Swift.Sendable { + /// A flag that indicates whether more VPC origins remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker request parameter to retrieve more VPC origins in the list. + /// This member is required. + public var isTruncated: Swift.Bool? + /// The items of the VPC origins list. + public var items: [CloudFrontClientTypes.VpcOriginSummary]? + /// The marker associated with the VPC origins list. + /// This member is required. + public var marker: Swift.String? + /// The maximum number of items included in the list. + /// This member is required. + public var maxItems: Swift.Int? + /// The next marker associated with the VPC origins list. + public var nextMarker: Swift.String? + /// The number of VPC origins in the list. + /// This member is required. + public var quantity: Swift.Int? + + public init( + isTruncated: Swift.Bool? = nil, + items: [CloudFrontClientTypes.VpcOriginSummary]? = nil, + marker: Swift.String? = nil, + maxItems: Swift.Int? = nil, + nextMarker: Swift.String? = nil, + quantity: Swift.Int? = nil + ) + { + self.isTruncated = isTruncated + self.items = items + self.marker = marker + self.maxItems = maxItems + self.nextMarker = nextMarker + self.quantity = quantity + } + } +} + +public struct ListVpcOriginsOutput: Swift.Sendable { + /// List of VPC origins. + public var vpcOriginList: CloudFrontClientTypes.VpcOriginList? + + public init( + vpcOriginList: CloudFrontClientTypes.VpcOriginList? = nil + ) + { + self.vpcOriginList = vpcOriginList + } +} + public struct PublishFunctionInput: Swift.Sendable { /// The current version (ETag value) of the function that you are publishing, which you can get using DescribeFunction. /// This member is required. @@ -13168,36 +13853,75 @@ public struct UpdateStreamingDistributionInput: Swift.Sendable { public var id: Swift.String? /// The value of the ETag header that you received when retrieving the streaming distribution's configuration. For example: E2QWRUHAPOMQZL. public var ifMatch: Swift.String? - /// The streaming distribution's configuration information. + /// The streaming distribution's configuration information. + /// This member is required. + public var streamingDistributionConfig: CloudFrontClientTypes.StreamingDistributionConfig? + + public init( + id: Swift.String? = nil, + ifMatch: Swift.String? = nil, + streamingDistributionConfig: CloudFrontClientTypes.StreamingDistributionConfig? = nil + ) + { + self.id = id + self.ifMatch = ifMatch + self.streamingDistributionConfig = streamingDistributionConfig + } +} + +/// The returned result of the corresponding request. +public struct UpdateStreamingDistributionOutput: Swift.Sendable { + /// The current version of the configuration. For example: E2QWRUHAPOMQZL. + public var eTag: Swift.String? + /// The streaming distribution's information. + public var streamingDistribution: CloudFrontClientTypes.StreamingDistribution? + + public init( + eTag: Swift.String? = nil, + streamingDistribution: CloudFrontClientTypes.StreamingDistribution? = nil + ) + { + self.eTag = eTag + self.streamingDistribution = streamingDistribution + } +} + +public struct UpdateVpcOriginInput: Swift.Sendable { + /// The VPC origin ID. + /// This member is required. + public var id: Swift.String? + /// The VPC origin to update, if a match occurs. + /// This member is required. + public var ifMatch: Swift.String? + /// The VPC origin endpoint configuration. /// This member is required. - public var streamingDistributionConfig: CloudFrontClientTypes.StreamingDistributionConfig? + public var vpcOriginEndpointConfig: CloudFrontClientTypes.VpcOriginEndpointConfig? public init( id: Swift.String? = nil, ifMatch: Swift.String? = nil, - streamingDistributionConfig: CloudFrontClientTypes.StreamingDistributionConfig? = nil + vpcOriginEndpointConfig: CloudFrontClientTypes.VpcOriginEndpointConfig? = nil ) { self.id = id self.ifMatch = ifMatch - self.streamingDistributionConfig = streamingDistributionConfig + self.vpcOriginEndpointConfig = vpcOriginEndpointConfig } } -/// The returned result of the corresponding request. -public struct UpdateStreamingDistributionOutput: Swift.Sendable { - /// The current version of the configuration. For example: E2QWRUHAPOMQZL. +public struct UpdateVpcOriginOutput: Swift.Sendable { + /// The VPC origin ETag. public var eTag: Swift.String? - /// The streaming distribution's information. - public var streamingDistribution: CloudFrontClientTypes.StreamingDistribution? + /// The VPC origin. + public var vpcOrigin: CloudFrontClientTypes.VpcOrigin? public init( eTag: Swift.String? = nil, - streamingDistribution: CloudFrontClientTypes.StreamingDistribution? = nil + vpcOrigin: CloudFrontClientTypes.VpcOrigin? = nil ) { self.eTag = eTag - self.streamingDistribution = streamingDistribution + self.vpcOrigin = vpcOrigin } } @@ -13249,6 +13973,13 @@ extension CopyDistributionInput { } } +extension CreateAnycastIpListInput { + + static func urlPathProvider(_ value: CreateAnycastIpListInput) -> Swift.String? { + return "/2020-05-31/anycast-ip-list" + } +} + extension CreateCachePolicyInput { static func urlPathProvider(_ value: CreateCachePolicyInput) -> Swift.String? { @@ -13406,6 +14137,34 @@ extension CreateStreamingDistributionWithTagsInput { } } +extension CreateVpcOriginInput { + + static func urlPathProvider(_ value: CreateVpcOriginInput) -> Swift.String? { + return "/2020-05-31/vpc-origin" + } +} + +extension DeleteAnycastIpListInput { + + static func urlPathProvider(_ value: DeleteAnycastIpListInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/2020-05-31/anycast-ip-list/\(id.urlPercentEncoding())" + } +} + +extension DeleteAnycastIpListInput { + + static func headerProvider(_ value: DeleteAnycastIpListInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let ifMatch = value.ifMatch { + items.add(SmithyHTTPAPI.Header(name: "If-Match", value: Swift.String(ifMatch))) + } + return items + } +} + extension DeleteCachePolicyInput { static func urlPathProvider(_ value: DeleteCachePolicyInput) -> Swift.String? { @@ -13717,6 +14476,27 @@ extension DeleteStreamingDistributionInput { } } +extension DeleteVpcOriginInput { + + static func urlPathProvider(_ value: DeleteVpcOriginInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/2020-05-31/vpc-origin/\(id.urlPercentEncoding())" + } +} + +extension DeleteVpcOriginInput { + + static func headerProvider(_ value: DeleteVpcOriginInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let ifMatch = value.ifMatch { + items.add(SmithyHTTPAPI.Header(name: "If-Match", value: Swift.String(ifMatch))) + } + return items + } +} + extension DescribeFunctionInput { static func urlPathProvider(_ value: DescribeFunctionInput) -> Swift.String? { @@ -13749,6 +14529,16 @@ extension DescribeKeyValueStoreInput { } } +extension GetAnycastIpListInput { + + static func urlPathProvider(_ value: GetAnycastIpListInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/2020-05-31/anycast-ip-list/\(id.urlPercentEncoding())" + } +} + extension GetCachePolicyInput { static func urlPathProvider(_ value: GetCachePolicyInput) -> Swift.String? { @@ -14041,6 +14831,39 @@ extension GetStreamingDistributionConfigInput { } } +extension GetVpcOriginInput { + + static func urlPathProvider(_ value: GetVpcOriginInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/2020-05-31/vpc-origin/\(id.urlPercentEncoding())" + } +} + +extension ListAnycastIpListsInput { + + static func urlPathProvider(_ value: ListAnycastIpListsInput) -> Swift.String? { + return "/2020-05-31/anycast-ip-list" + } +} + +extension ListAnycastIpListsInput { + + static func queryItemProvider(_ value: ListAnycastIpListsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let marker = value.marker { + let markerQueryItem = Smithy.URIQueryItem(name: "Marker".urlPercentEncoding(), value: Swift.String(marker).urlPercentEncoding()) + items.append(markerQueryItem) + } + if let maxItems = value.maxItems { + let maxItemsQueryItem = Smithy.URIQueryItem(name: "MaxItems".urlPercentEncoding(), value: Swift.String(maxItems).urlPercentEncoding()) + items.append(maxItemsQueryItem) + } + return items + } +} + extension ListCachePoliciesInput { static func urlPathProvider(_ value: ListCachePoliciesInput) -> Swift.String? { @@ -14172,6 +14995,32 @@ extension ListDistributionsInput { } } +extension ListDistributionsByAnycastIpListIdInput { + + static func urlPathProvider(_ value: ListDistributionsByAnycastIpListIdInput) -> Swift.String? { + guard let anycastIpListId = value.anycastIpListId else { + return nil + } + return "/2020-05-31/distributionsByAnycastIpListId/\(anycastIpListId.urlPercentEncoding())" + } +} + +extension ListDistributionsByAnycastIpListIdInput { + + static func queryItemProvider(_ value: ListDistributionsByAnycastIpListIdInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let marker = value.marker { + let markerQueryItem = Smithy.URIQueryItem(name: "Marker".urlPercentEncoding(), value: Swift.String(marker).urlPercentEncoding()) + items.append(markerQueryItem) + } + if let maxItems = value.maxItems { + let maxItemsQueryItem = Smithy.URIQueryItem(name: "MaxItems".urlPercentEncoding(), value: Swift.String(maxItems).urlPercentEncoding()) + items.append(maxItemsQueryItem) + } + return items + } +} + extension ListDistributionsByCachePolicyIdInput { static func urlPathProvider(_ value: ListDistributionsByCachePolicyIdInput) -> Swift.String? { @@ -14283,6 +15132,32 @@ extension ListDistributionsByResponseHeadersPolicyIdInput { } } +extension ListDistributionsByVpcOriginIdInput { + + static func urlPathProvider(_ value: ListDistributionsByVpcOriginIdInput) -> Swift.String? { + guard let vpcOriginId = value.vpcOriginId else { + return nil + } + return "/2020-05-31/distributionsByVpcOriginId/\(vpcOriginId.urlPercentEncoding())" + } +} + +extension ListDistributionsByVpcOriginIdInput { + + static func queryItemProvider(_ value: ListDistributionsByVpcOriginIdInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let marker = value.marker { + let markerQueryItem = Smithy.URIQueryItem(name: "Marker".urlPercentEncoding(), value: Swift.String(marker).urlPercentEncoding()) + items.append(markerQueryItem) + } + if let maxItems = value.maxItems { + let maxItemsQueryItem = Smithy.URIQueryItem(name: "MaxItems".urlPercentEncoding(), value: Swift.String(maxItems).urlPercentEncoding()) + items.append(maxItemsQueryItem) + } + return items + } +} + extension ListDistributionsByWebACLIdInput { static func urlPathProvider(_ value: ListDistributionsByWebACLIdInput) -> Swift.String? { @@ -14625,6 +15500,29 @@ extension ListTagsForResourceInput { } } +extension ListVpcOriginsInput { + + static func urlPathProvider(_ value: ListVpcOriginsInput) -> Swift.String? { + return "/2020-05-31/vpc-origin" + } +} + +extension ListVpcOriginsInput { + + static func queryItemProvider(_ value: ListVpcOriginsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let marker = value.marker { + let markerQueryItem = Smithy.URIQueryItem(name: "Marker".urlPercentEncoding(), value: Swift.String(marker).urlPercentEncoding()) + items.append(markerQueryItem) + } + if let maxItems = value.maxItems { + let maxItemsQueryItem = Smithy.URIQueryItem(name: "MaxItems".urlPercentEncoding(), value: Swift.String(maxItems).urlPercentEncoding()) + items.append(maxItemsQueryItem) + } + return items + } +} + extension PublishFunctionInput { static func urlPathProvider(_ value: PublishFunctionInput) -> Swift.String? { @@ -15045,6 +15943,27 @@ extension UpdateStreamingDistributionInput { } } +extension UpdateVpcOriginInput { + + static func urlPathProvider(_ value: UpdateVpcOriginInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/2020-05-31/vpc-origin/\(id.urlPercentEncoding())" + } +} + +extension UpdateVpcOriginInput { + + static func headerProvider(_ value: UpdateVpcOriginInput) -> SmithyHTTPAPI.Headers { + var items = SmithyHTTPAPI.Headers() + if let ifMatch = value.ifMatch { + items.add(SmithyHTTPAPI.Header(name: "If-Match", value: Swift.String(ifMatch))) + } + return items + } +} + extension CopyDistributionInput { static func write(value: CopyDistributionInput?, to writer: SmithyXML.Writer) throws { @@ -15054,6 +15973,16 @@ extension CopyDistributionInput { } } +extension CreateAnycastIpListInput { + + static func write(value: CreateAnycastIpListInput?, to writer: SmithyXML.Writer) throws { + guard let value else { return } + try writer["IpCount"].write(value.ipCount) + try writer["Name"].write(value.name) + try writer["Tags"].write(value.tags, with: CloudFrontClientTypes.Tags.write(value:to:)) + } +} + extension CreateCachePolicyInput { static func write(value: CreateCachePolicyInput?, to writer: SmithyXML.Writer) throws { @@ -15213,6 +16142,15 @@ extension CreateStreamingDistributionWithTagsInput { } } +extension CreateVpcOriginInput { + + static func write(value: CreateVpcOriginInput?, to writer: SmithyXML.Writer) throws { + guard let value else { return } + try writer["Tags"].write(value.tags, with: CloudFrontClientTypes.Tags.write(value:to:)) + try writer["VpcOriginEndpointConfig"].write(value.vpcOriginEndpointConfig, with: CloudFrontClientTypes.VpcOriginEndpointConfig.write(value:to:)) + } +} + extension DeleteRealtimeLogConfigInput { static func write(value: DeleteRealtimeLogConfigInput?, to writer: SmithyXML.Writer) throws { @@ -15392,6 +16330,14 @@ extension UpdateStreamingDistributionInput { } } +extension UpdateVpcOriginInput { + + static func write(value: UpdateVpcOriginInput?, to writer: SmithyXML.Writer) throws { + guard let value else { return } + try writer["VpcOriginEndpointConfig"].write(value.vpcOriginEndpointConfig, with: CloudFrontClientTypes.VpcOriginEndpointConfig.write(value:to:)) + } +} + extension AssociateAliasOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateAliasOutput { @@ -15417,6 +16363,21 @@ extension CopyDistributionOutput { } } +extension CreateAnycastIpListOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateAnycastIpListOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = CreateAnycastIpListOutput() + if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { + value.eTag = eTagHeaderValue + } + value.anycastIpList = try reader.readIfPresent(with: CloudFrontClientTypes.AnycastIpList.read(from:)) + return value + } +} + extension CreateCachePolicyOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateCachePolicyOutput { @@ -15744,6 +16705,31 @@ extension CreateStreamingDistributionWithTagsOutput { } } +extension CreateVpcOriginOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateVpcOriginOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = CreateVpcOriginOutput() + if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { + value.eTag = eTagHeaderValue + } + if let locationHeaderValue = httpResponse.headers.value(for: "Location") { + value.location = locationHeaderValue + } + value.vpcOrigin = try reader.readIfPresent(with: CloudFrontClientTypes.VpcOrigin.read(from:)) + return value + } +} + +extension DeleteAnycastIpListOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteAnycastIpListOutput { + return DeleteAnycastIpListOutput() + } +} + extension DeleteCachePolicyOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteCachePolicyOutput { @@ -15856,6 +16842,21 @@ extension DeleteStreamingDistributionOutput { } } +extension DeleteVpcOriginOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteVpcOriginOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = DeleteVpcOriginOutput() + if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { + value.eTag = eTagHeaderValue + } + value.vpcOrigin = try reader.readIfPresent(with: CloudFrontClientTypes.VpcOrigin.read(from:)) + return value + } +} + extension DescribeFunctionOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeFunctionOutput { @@ -15886,6 +16887,21 @@ extension DescribeKeyValueStoreOutput { } } +extension GetAnycastIpListOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetAnycastIpListOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = GetAnycastIpListOutput() + if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { + value.eTag = eTagHeaderValue + } + value.anycastIpList = try reader.readIfPresent(with: CloudFrontClientTypes.AnycastIpList.read(from:)) + return value + } +} + extension GetCachePolicyOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetCachePolicyOutput { @@ -16269,37 +17285,64 @@ extension GetResponseHeadersPolicyConfigOutput { if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { value.eTag = eTagHeaderValue } - value.responseHeadersPolicyConfig = try reader.readIfPresent(with: CloudFrontClientTypes.ResponseHeadersPolicyConfig.read(from:)) + value.responseHeadersPolicyConfig = try reader.readIfPresent(with: CloudFrontClientTypes.ResponseHeadersPolicyConfig.read(from:)) + return value + } +} + +extension GetStreamingDistributionOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingDistributionOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = GetStreamingDistributionOutput() + if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { + value.eTag = eTagHeaderValue + } + value.streamingDistribution = try reader.readIfPresent(with: CloudFrontClientTypes.StreamingDistribution.read(from:)) + return value + } +} + +extension GetStreamingDistributionConfigOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingDistributionConfigOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = GetStreamingDistributionConfigOutput() + if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { + value.eTag = eTagHeaderValue + } + value.streamingDistributionConfig = try reader.readIfPresent(with: CloudFrontClientTypes.StreamingDistributionConfig.read(from:)) return value } } -extension GetStreamingDistributionOutput { +extension GetVpcOriginOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingDistributionOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetVpcOriginOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader - var value = GetStreamingDistributionOutput() + var value = GetVpcOriginOutput() if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { value.eTag = eTagHeaderValue } - value.streamingDistribution = try reader.readIfPresent(with: CloudFrontClientTypes.StreamingDistribution.read(from:)) + value.vpcOrigin = try reader.readIfPresent(with: CloudFrontClientTypes.VpcOrigin.read(from:)) return value } } -extension GetStreamingDistributionConfigOutput { +extension ListAnycastIpListsOutput { - static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetStreamingDistributionConfigOutput { + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListAnycastIpListsOutput { let data = try await httpResponse.data() let responseReader = try SmithyXML.Reader.from(data: data) let reader = responseReader - var value = GetStreamingDistributionConfigOutput() - if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { - value.eTag = eTagHeaderValue - } - value.streamingDistributionConfig = try reader.readIfPresent(with: CloudFrontClientTypes.StreamingDistributionConfig.read(from:)) + var value = ListAnycastIpListsOutput() + value.anycastIpLists = try reader.readIfPresent(with: CloudFrontClientTypes.AnycastIpListCollection.read(from:)) return value } } @@ -16364,6 +17407,18 @@ extension ListDistributionsOutput { } } +extension ListDistributionsByAnycastIpListIdOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByAnycastIpListIdOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = ListDistributionsByAnycastIpListIdOutput() + value.distributionList = try reader.readIfPresent(with: CloudFrontClientTypes.DistributionList.read(from:)) + return value + } +} + extension ListDistributionsByCachePolicyIdOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByCachePolicyIdOutput { @@ -16424,6 +17479,18 @@ extension ListDistributionsByResponseHeadersPolicyIdOutput { } } +extension ListDistributionsByVpcOriginIdOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByVpcOriginIdOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = ListDistributionsByVpcOriginIdOutput() + value.distributionIdList = try reader.readIfPresent(with: CloudFrontClientTypes.DistributionIdList.read(from:)) + return value + } +} + extension ListDistributionsByWebACLIdOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDistributionsByWebACLIdOutput { @@ -16592,6 +17659,18 @@ extension ListTagsForResourceOutput { } } +extension ListVpcOriginsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListVpcOriginsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = ListVpcOriginsOutput() + value.vpcOriginList = try reader.readIfPresent(with: CloudFrontClientTypes.VpcOriginList.read(from:)) + return value + } +} + extension PublishFunctionOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PublishFunctionOutput { @@ -16867,6 +17946,21 @@ extension UpdateStreamingDistributionOutput { } } +extension UpdateVpcOriginOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateVpcOriginOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader + var value = UpdateVpcOriginOutput() + if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { + value.eTag = eTagHeaderValue + } + value.vpcOrigin = try reader.readIfPresent(with: CloudFrontClientTypes.VpcOrigin.read(from:)) + return value + } +} + enum AssociateAliasOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -16962,6 +18056,25 @@ enum CopyDistributionOutputError { } } +enum CreateAnycastIpListOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "EntityAlreadyExists": return try EntityAlreadyExists.makeError(baseError: baseError) + case "EntityLimitExceeded": return try EntityLimitExceeded.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "InvalidTagging": return try InvalidTagging.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum CreateCachePolicyOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -17032,6 +18145,7 @@ enum CreateDistributionOutputError { case "CNAMEAlreadyExists": return try CNAMEAlreadyExists.makeError(baseError: baseError) case "ContinuousDeploymentPolicyInUse": return try ContinuousDeploymentPolicyInUse.makeError(baseError: baseError) case "DistributionAlreadyExists": return try DistributionAlreadyExists.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) case "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior": return try IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.makeError(baseError: baseError) case "IllegalOriginAccessConfiguration": return try IllegalOriginAccessConfiguration.makeError(baseError: baseError) case "InconsistentQuantities": return try InconsistentQuantities.makeError(baseError: baseError) @@ -17110,6 +18224,7 @@ enum CreateDistributionWithTagsOutputError { case "CNAMEAlreadyExists": return try CNAMEAlreadyExists.makeError(baseError: baseError) case "ContinuousDeploymentPolicyInUse": return try ContinuousDeploymentPolicyInUse.makeError(baseError: baseError) case "DistributionAlreadyExists": return try DistributionAlreadyExists.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) case "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior": return try IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.makeError(baseError: baseError) case "IllegalOriginAccessConfiguration": return try IllegalOriginAccessConfiguration.makeError(baseError: baseError) case "InconsistentQuantities": return try InconsistentQuantities.makeError(baseError: baseError) @@ -17454,6 +18569,47 @@ enum CreateStreamingDistributionWithTagsOutputError { } } +enum CreateVpcOriginOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "EntityAlreadyExists": return try EntityAlreadyExists.makeError(baseError: baseError) + case "EntityLimitExceeded": return try EntityLimitExceeded.makeError(baseError: baseError) + case "InconsistentQuantities": return try InconsistentQuantities.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "InvalidTagging": return try InvalidTagging.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum DeleteAnycastIpListOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "CannotDeleteEntityWhileInUse": return try CannotDeleteEntityWhileInUse.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) + case "IllegalDelete": return try IllegalDelete.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "InvalidIfMatchVersion": return try InvalidIfMatchVersion.makeError(baseError: baseError) + case "PreconditionFailed": return try PreconditionFailed.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DeleteCachePolicyOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -17744,6 +18900,27 @@ enum DeleteStreamingDistributionOutputError { } } +enum DeleteVpcOriginOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "CannotDeleteEntityWhileInUse": return try CannotDeleteEntityWhileInUse.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) + case "IllegalDelete": return try IllegalDelete.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "InvalidIfMatchVersion": return try InvalidIfMatchVersion.makeError(baseError: baseError) + case "PreconditionFailed": return try PreconditionFailed.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DescribeFunctionOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -17776,6 +18953,23 @@ enum DescribeKeyValueStoreOutputError { } } +enum GetAnycastIpListOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum GetCachePolicyOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -18198,6 +19392,40 @@ enum GetStreamingDistributionConfigOutputError { } } +enum GetVpcOriginOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum ListAnycastIpListsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListCachePoliciesOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -18273,6 +19501,23 @@ enum ListDistributionsOutputError { } } +enum ListDistributionsByAnycastIpListIdOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListDistributionsByCachePolicyIdOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -18350,6 +19595,23 @@ enum ListDistributionsByResponseHeadersPolicyIdOutputError { } } +enum ListDistributionsByVpcOriginIdOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListDistributionsByWebACLIdOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -18561,6 +19823,23 @@ enum ListTagsForResourceOutputError { } } +enum ListVpcOriginsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum PublishFunctionOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -18707,6 +19986,7 @@ enum UpdateDistributionOutputError { case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) case "CNAMEAlreadyExists": return try CNAMEAlreadyExists.makeError(baseError: baseError) case "ContinuousDeploymentPolicyInUse": return try ContinuousDeploymentPolicyInUse.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) case "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior": return try IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.makeError(baseError: baseError) case "IllegalOriginAccessConfiguration": return try IllegalOriginAccessConfiguration.makeError(baseError: baseError) case "IllegalUpdate": return try IllegalUpdate.makeError(baseError: baseError) @@ -18785,6 +20065,7 @@ enum UpdateDistributionWithStagingConfigOutputError { switch baseError.code { case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) case "CNAMEAlreadyExists": return try CNAMEAlreadyExists.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) case "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior": return try IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior.makeError(baseError: baseError) case "IllegalUpdate": return try IllegalUpdate.makeError(baseError: baseError) case "InconsistentQuantities": return try InconsistentQuantities.makeError(baseError: baseError) @@ -19073,14 +20354,38 @@ enum UpdateStreamingDistributionOutputError { case "InconsistentQuantities": return try InconsistentQuantities.makeError(baseError: baseError) case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) case "InvalidIfMatchVersion": return try InvalidIfMatchVersion.makeError(baseError: baseError) - case "InvalidOriginAccessControl": return try InvalidOriginAccessControl.makeError(baseError: baseError) - case "InvalidOriginAccessIdentity": return try InvalidOriginAccessIdentity.makeError(baseError: baseError) - case "MissingBody": return try MissingBody.makeError(baseError: baseError) - case "NoSuchStreamingDistribution": return try NoSuchStreamingDistribution.makeError(baseError: baseError) + case "InvalidOriginAccessControl": return try InvalidOriginAccessControl.makeError(baseError: baseError) + case "InvalidOriginAccessIdentity": return try InvalidOriginAccessIdentity.makeError(baseError: baseError) + case "MissingBody": return try MissingBody.makeError(baseError: baseError) + case "NoSuchStreamingDistribution": return try NoSuchStreamingDistribution.makeError(baseError: baseError) + case "PreconditionFailed": return try PreconditionFailed.makeError(baseError: baseError) + case "TooManyStreamingDistributionCNAMEs": return try TooManyStreamingDistributionCNAMEs.makeError(baseError: baseError) + case "TooManyTrustedSigners": return try TooManyTrustedSigners.makeError(baseError: baseError) + case "TrustedSignerDoesNotExist": return try TrustedSignerDoesNotExist.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + +enum UpdateVpcOriginOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestXMLError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDenied": return try AccessDenied.makeError(baseError: baseError) + case "CannotUpdateEntityWhileInUse": return try CannotUpdateEntityWhileInUse.makeError(baseError: baseError) + case "EntityAlreadyExists": return try EntityAlreadyExists.makeError(baseError: baseError) + case "EntityLimitExceeded": return try EntityLimitExceeded.makeError(baseError: baseError) + case "EntityNotFound": return try EntityNotFound.makeError(baseError: baseError) + case "IllegalUpdate": return try IllegalUpdate.makeError(baseError: baseError) + case "InconsistentQuantities": return try InconsistentQuantities.makeError(baseError: baseError) + case "InvalidArgument": return try InvalidArgument.makeError(baseError: baseError) + case "InvalidIfMatchVersion": return try InvalidIfMatchVersion.makeError(baseError: baseError) case "PreconditionFailed": return try PreconditionFailed.makeError(baseError: baseError) - case "TooManyStreamingDistributionCNAMEs": return try TooManyStreamingDistributionCNAMEs.makeError(baseError: baseError) - case "TooManyTrustedSigners": return try TooManyTrustedSigners.makeError(baseError: baseError) - case "TrustedSignerDoesNotExist": return try TrustedSignerDoesNotExist.makeError(baseError: baseError) + case "UnsupportedOperation": return try UnsupportedOperation.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) } } @@ -19931,6 +21236,58 @@ extension TooManyFunctionAssociations { } } +extension UnsupportedOperation { + + static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> UnsupportedOperation { + let reader = baseError.errorBodyReader + var value = UnsupportedOperation() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension EntityLimitExceeded { + + static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> EntityLimitExceeded { + let reader = baseError.errorBodyReader + var value = EntityLimitExceeded() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InvalidTagging { + + static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> InvalidTagging { + let reader = baseError.errorBodyReader + var value = InvalidTagging() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension EntityAlreadyExists { + + static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> EntityAlreadyExists { + let reader = baseError.errorBodyReader + var value = EntityAlreadyExists() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + extension TooManyCookiesInCachePolicy { static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> TooManyCookiesInCachePolicy { @@ -20113,11 +21470,11 @@ extension InvalidDomainNameForOriginAccessControl { } } -extension InvalidTagging { +extension EntityNotFound { - static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> InvalidTagging { + static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> EntityNotFound { let reader = baseError.errorBodyReader - var value = InvalidTagging() + var value = EntityNotFound() value.properties.message = try reader["Message"].readIfPresent() value.httpResponse = baseError.httpResponse value.requestID = baseError.requestID @@ -20282,19 +21639,6 @@ extension FieldLevelEncryptionProfileSizeExceeded { } } -extension UnsupportedOperation { - - static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> UnsupportedOperation { - let reader = baseError.errorBodyReader - var value = UnsupportedOperation() - value.properties.message = try reader["Message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message - return value - } -} - extension TooManyFunctions { static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> TooManyFunctions { @@ -20399,19 +21743,6 @@ extension TooManyPublicKeysInKeyGroup { } } -extension EntityLimitExceeded { - - static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> EntityLimitExceeded { - let reader = baseError.errorBodyReader - var value = EntityLimitExceeded() - value.properties.message = try reader["Message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message - return value - } -} - extension EntitySizeLimitExceeded { static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> EntitySizeLimitExceeded { @@ -20425,19 +21756,6 @@ extension EntitySizeLimitExceeded { } } -extension EntityAlreadyExists { - - static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> EntityAlreadyExists { - let reader = baseError.errorBodyReader - var value = EntityAlreadyExists() - value.properties.message = try reader["Message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message - return value - } -} - extension MonitoringSubscriptionAlreadyExists { static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> MonitoringSubscriptionAlreadyExists { @@ -20698,6 +22016,19 @@ extension TooManyStreamingDistributionCNAMEs { } } +extension CannotDeleteEntityWhileInUse { + + static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> CannotDeleteEntityWhileInUse { + let reader = baseError.errorBodyReader + var value = CannotDeleteEntityWhileInUse() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + extension IllegalDelete { static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> IllegalDelete { @@ -20841,32 +22172,6 @@ extension ResourceInUse { } } -extension CannotDeleteEntityWhileInUse { - - static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> CannotDeleteEntityWhileInUse { - let reader = baseError.errorBodyReader - var value = CannotDeleteEntityWhileInUse() - value.properties.message = try reader["Message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message - return value - } -} - -extension EntityNotFound { - - static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> EntityNotFound { - let reader = baseError.errorBodyReader - var value = EntityNotFound() - value.properties.message = try reader["Message"].readIfPresent() - value.httpResponse = baseError.httpResponse - value.requestID = baseError.requestID - value.message = baseError.message - return value - } -} - extension NoSuchMonitoringSubscription { static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> NoSuchMonitoringSubscription { @@ -21023,6 +22328,19 @@ extension CannotChangeImmutablePublicKeyFields { } } +extension CannotUpdateEntityWhileInUse { + + static func makeError(baseError: AWSClientRuntime.RestXMLError) throws -> CannotUpdateEntityWhileInUse { + let reader = baseError.errorBodyReader + var value = CannotUpdateEntityWhileInUse() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + extension CloudFrontClientTypes.Distribution { static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.Distribution { @@ -21058,6 +22376,7 @@ extension CloudFrontClientTypes.DistributionConfig { static func write(value: CloudFrontClientTypes.DistributionConfig?, to writer: SmithyXML.Writer) throws { guard let value else { return } try writer["Aliases"].write(value.aliases, with: CloudFrontClientTypes.Aliases.write(value:to:)) + try writer["AnycastIpListId"].write(value.anycastIpListId) try writer["CacheBehaviors"].write(value.cacheBehaviors, with: CloudFrontClientTypes.CacheBehaviors.write(value:to:)) try writer["CallerReference"].write(value.callerReference) try writer["Comment"].write(value.comment) @@ -21100,6 +22419,7 @@ extension CloudFrontClientTypes.DistributionConfig { value.isIPV6Enabled = try reader["IsIPV6Enabled"].readIfPresent() value.continuousDeploymentPolicyId = try reader["ContinuousDeploymentPolicyId"].readIfPresent() value.staging = try reader["Staging"].readIfPresent() + value.anycastIpListId = try reader["AnycastIpListId"].readIfPresent() return value } } @@ -21252,6 +22572,7 @@ extension CloudFrontClientTypes.CacheBehavior { try writer["FieldLevelEncryptionId"].write(value.fieldLevelEncryptionId) try writer["ForwardedValues"].write(value.forwardedValues, with: CloudFrontClientTypes.ForwardedValues.write(value:to:)) try writer["FunctionAssociations"].write(value.functionAssociations, with: CloudFrontClientTypes.FunctionAssociations.write(value:to:)) + try writer["GrpcConfig"].write(value.grpcConfig, with: CloudFrontClientTypes.GrpcConfig.write(value:to:)) try writer["LambdaFunctionAssociations"].write(value.lambdaFunctionAssociations, with: CloudFrontClientTypes.LambdaFunctionAssociations.write(value:to:)) try writer["MaxTTL"].write(value.maxTTL) try writer["MinTTL"].write(value.minTTL) @@ -21284,6 +22605,7 @@ extension CloudFrontClientTypes.CacheBehavior { value.cachePolicyId = try reader["CachePolicyId"].readIfPresent() value.originRequestPolicyId = try reader["OriginRequestPolicyId"].readIfPresent() value.responseHeadersPolicyId = try reader["ResponseHeadersPolicyId"].readIfPresent() + value.grpcConfig = try reader["GrpcConfig"].readIfPresent(with: CloudFrontClientTypes.GrpcConfig.read(from:)) value.forwardedValues = try reader["ForwardedValues"].readIfPresent(with: CloudFrontClientTypes.ForwardedValues.read(from:)) value.minTTL = try reader["MinTTL"].readIfPresent() value.defaultTTL = try reader["DefaultTTL"].readIfPresent() @@ -21381,6 +22703,21 @@ extension CloudFrontClientTypes.CookieNames { } } +extension CloudFrontClientTypes.GrpcConfig { + + static func write(value: CloudFrontClientTypes.GrpcConfig?, to writer: SmithyXML.Writer) throws { + guard let value else { return } + try writer["Enabled"].write(value.enabled) + } + + static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.GrpcConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = CloudFrontClientTypes.GrpcConfig() + value.enabled = try reader["Enabled"].readIfPresent() ?? false + return value + } +} + extension CloudFrontClientTypes.FunctionAssociations { static func write(value: CloudFrontClientTypes.FunctionAssociations?, to writer: SmithyXML.Writer) throws { @@ -21536,6 +22873,7 @@ extension CloudFrontClientTypes.DefaultCacheBehavior { try writer["FieldLevelEncryptionId"].write(value.fieldLevelEncryptionId) try writer["ForwardedValues"].write(value.forwardedValues, with: CloudFrontClientTypes.ForwardedValues.write(value:to:)) try writer["FunctionAssociations"].write(value.functionAssociations, with: CloudFrontClientTypes.FunctionAssociations.write(value:to:)) + try writer["GrpcConfig"].write(value.grpcConfig, with: CloudFrontClientTypes.GrpcConfig.write(value:to:)) try writer["LambdaFunctionAssociations"].write(value.lambdaFunctionAssociations, with: CloudFrontClientTypes.LambdaFunctionAssociations.write(value:to:)) try writer["MaxTTL"].write(value.maxTTL) try writer["MinTTL"].write(value.minTTL) @@ -21566,6 +22904,7 @@ extension CloudFrontClientTypes.DefaultCacheBehavior { value.cachePolicyId = try reader["CachePolicyId"].readIfPresent() value.originRequestPolicyId = try reader["OriginRequestPolicyId"].readIfPresent() value.responseHeadersPolicyId = try reader["ResponseHeadersPolicyId"].readIfPresent() + value.grpcConfig = try reader["GrpcConfig"].readIfPresent(with: CloudFrontClientTypes.GrpcConfig.read(from:)) value.forwardedValues = try reader["ForwardedValues"].readIfPresent(with: CloudFrontClientTypes.ForwardedValues.read(from:)) value.minTTL = try reader["MinTTL"].readIfPresent() value.defaultTTL = try reader["DefaultTTL"].readIfPresent() @@ -21705,6 +23044,7 @@ extension CloudFrontClientTypes.Origin { try writer["OriginPath"].write(value.originPath) try writer["OriginShield"].write(value.originShield, with: CloudFrontClientTypes.OriginShield.write(value:to:)) try writer["S3OriginConfig"].write(value.s3OriginConfig, with: CloudFrontClientTypes.S3OriginConfig.write(value:to:)) + try writer["VpcOriginConfig"].write(value.vpcOriginConfig, with: CloudFrontClientTypes.VpcOriginConfig.write(value:to:)) } static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.Origin { @@ -21716,6 +23056,7 @@ extension CloudFrontClientTypes.Origin { value.customHeaders = try reader["CustomHeaders"].readIfPresent(with: CloudFrontClientTypes.CustomHeaders.read(from:)) value.s3OriginConfig = try reader["S3OriginConfig"].readIfPresent(with: CloudFrontClientTypes.S3OriginConfig.read(from:)) value.customOriginConfig = try reader["CustomOriginConfig"].readIfPresent(with: CloudFrontClientTypes.CustomOriginConfig.read(from:)) + value.vpcOriginConfig = try reader["VpcOriginConfig"].readIfPresent(with: CloudFrontClientTypes.VpcOriginConfig.read(from:)) value.connectionAttempts = try reader["ConnectionAttempts"].readIfPresent() value.connectionTimeout = try reader["ConnectionTimeout"].readIfPresent() value.originShield = try reader["OriginShield"].readIfPresent(with: CloudFrontClientTypes.OriginShield.read(from:)) @@ -21741,6 +23082,21 @@ extension CloudFrontClientTypes.OriginShield { } } +extension CloudFrontClientTypes.VpcOriginConfig { + + static func write(value: CloudFrontClientTypes.VpcOriginConfig?, to writer: SmithyXML.Writer) throws { + guard let value else { return } + try writer["VpcOriginId"].write(value.vpcOriginId) + } + + static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.VpcOriginConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = CloudFrontClientTypes.VpcOriginConfig() + value.vpcOriginId = try reader["VpcOriginId"].readIfPresent() ?? "" + return value + } +} + extension CloudFrontClientTypes.CustomOriginConfig { static func write(value: CloudFrontClientTypes.CustomOriginConfig?, to writer: SmithyXML.Writer) throws { @@ -21906,6 +23262,22 @@ extension CloudFrontClientTypes.Signer { } } +extension CloudFrontClientTypes.AnycastIpList { + + static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.AnycastIpList { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = CloudFrontClientTypes.AnycastIpList() + value.id = try reader["Id"].readIfPresent() ?? "" + value.name = try reader["Name"].readIfPresent() ?? "" + value.status = try reader["Status"].readIfPresent() ?? "" + value.arn = try reader["Arn"].readIfPresent() ?? "" + value.anycastIps = try reader["AnycastIps"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "AnycastIp", isFlattened: false) ?? [] + value.ipCount = try reader["IpCount"].readIfPresent() ?? 0 + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + return value + } +} + extension CloudFrontClientTypes.CachePolicy { static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.CachePolicy { @@ -23238,6 +24610,76 @@ extension CloudFrontClientTypes.S3Origin { } } +extension CloudFrontClientTypes.VpcOrigin { + + static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.VpcOrigin { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = CloudFrontClientTypes.VpcOrigin() + value.id = try reader["Id"].readIfPresent() ?? "" + value.arn = try reader["Arn"].readIfPresent() ?? "" + value.status = try reader["Status"].readIfPresent() ?? "" + value.createdTime = try reader["CreatedTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.vpcOriginEndpointConfig = try reader["VpcOriginEndpointConfig"].readIfPresent(with: CloudFrontClientTypes.VpcOriginEndpointConfig.read(from:)) + return value + } +} + +extension CloudFrontClientTypes.VpcOriginEndpointConfig { + + static func write(value: CloudFrontClientTypes.VpcOriginEndpointConfig?, to writer: SmithyXML.Writer) throws { + guard let value else { return } + try writer["Arn"].write(value.arn) + try writer["HTTPPort"].write(value.httpPort) + try writer["HTTPSPort"].write(value.httpsPort) + try writer["Name"].write(value.name) + try writer["OriginProtocolPolicy"].write(value.originProtocolPolicy) + try writer["OriginSslProtocols"].write(value.originSslProtocols, with: CloudFrontClientTypes.OriginSslProtocols.write(value:to:)) + } + + static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.VpcOriginEndpointConfig { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = CloudFrontClientTypes.VpcOriginEndpointConfig() + value.name = try reader["Name"].readIfPresent() ?? "" + value.arn = try reader["Arn"].readIfPresent() ?? "" + value.httpPort = try reader["HTTPPort"].readIfPresent() ?? 0 + value.httpsPort = try reader["HTTPSPort"].readIfPresent() ?? 0 + value.originProtocolPolicy = try reader["OriginProtocolPolicy"].readIfPresent() ?? .sdkUnknown("") + value.originSslProtocols = try reader["OriginSslProtocols"].readIfPresent(with: CloudFrontClientTypes.OriginSslProtocols.read(from:)) + return value + } +} + +extension CloudFrontClientTypes.AnycastIpListCollection { + + static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.AnycastIpListCollection { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = CloudFrontClientTypes.AnycastIpListCollection() + value.items = try reader["Items"].readListIfPresent(memberReadingClosure: CloudFrontClientTypes.AnycastIpListSummary.read(from:), memberNodeInfo: "AnycastIpListSummary", isFlattened: false) + value.marker = try reader["Marker"].readIfPresent() ?? "" + value.nextMarker = try reader["NextMarker"].readIfPresent() + value.maxItems = try reader["MaxItems"].readIfPresent() ?? 0 + value.isTruncated = try reader["IsTruncated"].readIfPresent() ?? false + value.quantity = try reader["Quantity"].readIfPresent() ?? 0 + return value + } +} + +extension CloudFrontClientTypes.AnycastIpListSummary { + + static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.AnycastIpListSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = CloudFrontClientTypes.AnycastIpListSummary() + value.id = try reader["Id"].readIfPresent() ?? "" + value.name = try reader["Name"].readIfPresent() ?? "" + value.status = try reader["Status"].readIfPresent() ?? "" + value.arn = try reader["Arn"].readIfPresent() ?? "" + value.ipCount = try reader["IpCount"].readIfPresent() ?? 0 + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + return value + } +} + extension CloudFrontClientTypes.CachePolicyList { static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.CachePolicyList { @@ -23378,6 +24820,7 @@ extension CloudFrontClientTypes.DistributionSummary { value.isIPV6Enabled = try reader["IsIPV6Enabled"].readIfPresent() ?? false value.aliasICPRecordals = try reader["AliasICPRecordals"].readListIfPresent(memberReadingClosure: CloudFrontClientTypes.AliasICPRecordal.read(from:), memberNodeInfo: "AliasICPRecordal", isFlattened: false) value.staging = try reader["Staging"].readIfPresent() ?? false + value.anycastIpListId = try reader["AnycastIpListId"].readIfPresent() return value } } @@ -23713,6 +25156,37 @@ extension CloudFrontClientTypes.Tag { } } +extension CloudFrontClientTypes.VpcOriginList { + + static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.VpcOriginList { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = CloudFrontClientTypes.VpcOriginList() + value.marker = try reader["Marker"].readIfPresent() ?? "" + value.nextMarker = try reader["NextMarker"].readIfPresent() + value.maxItems = try reader["MaxItems"].readIfPresent() ?? 0 + value.isTruncated = try reader["IsTruncated"].readIfPresent() ?? false + value.quantity = try reader["Quantity"].readIfPresent() ?? 0 + value.items = try reader["Items"].readListIfPresent(memberReadingClosure: CloudFrontClientTypes.VpcOriginSummary.read(from:), memberNodeInfo: "VpcOriginSummary", isFlattened: false) + return value + } +} + +extension CloudFrontClientTypes.VpcOriginSummary { + + static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.VpcOriginSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = CloudFrontClientTypes.VpcOriginSummary() + value.id = try reader["Id"].readIfPresent() ?? "" + value.name = try reader["Name"].readIfPresent() ?? "" + value.status = try reader["Status"].readIfPresent() ?? "" + value.createdTime = try reader["CreatedTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.arn = try reader["Arn"].readIfPresent() ?? "" + value.originEndpointArn = try reader["OriginEndpointArn"].readIfPresent() ?? "" + return value + } +} + extension CloudFrontClientTypes.TestResult { static func read(from reader: SmithyXML.Reader) throws -> CloudFrontClientTypes.TestResult { diff --git a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift index 7b6397f454f..7b65253a3c9 100644 --- a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift +++ b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFrontKeyValueStoreClient: ClientRuntime.Client { public static let clientName = "CloudFrontKeyValueStoreClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudFrontKeyValueStoreClient.CloudFrontKeyValueStoreClientConfiguration let serviceName = "CloudFront KeyValueStore" diff --git a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift index 52c717e4873..52b5e894365 100644 --- a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift +++ b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudHSMClient: ClientRuntime.Client { public static let clientName = "CloudHSMClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudHSMClient.CloudHSMClientConfiguration let serviceName = "CloudHSM" diff --git a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift index 7516dbfa549..2c546db45c6 100644 --- a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift +++ b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudHSMV2Client: ClientRuntime.Client { public static let clientName = "CloudHSMV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudHSMV2Client.CloudHSMV2ClientConfiguration let serviceName = "CloudHSM V2" diff --git a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift index f2fbfbd2c36..3b99df2a558 100644 --- a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift +++ b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudSearchClient: ClientRuntime.Client { public static let clientName = "CloudSearchClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudSearchClient.CloudSearchClientConfiguration let serviceName = "CloudSearch" diff --git a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift index b7a65c0b0a8..c0ef8f01c59 100644 --- a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift +++ b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudSearchDomainClient: ClientRuntime.Client { public static let clientName = "CloudSearchDomainClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudSearchDomainClient.CloudSearchDomainClientConfiguration let serviceName = "CloudSearch Domain" diff --git a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift index 8d12077f09a..f31e5e5352c 100644 --- a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift +++ b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudTrailClient: ClientRuntime.Client { public static let clientName = "CloudTrailClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudTrailClient.CloudTrailClientConfiguration let serviceName = "CloudTrail" diff --git a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift index b64450710c9..e3bbf911d7c 100644 --- a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift +++ b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudTrailDataClient: ClientRuntime.Client { public static let clientName = "CloudTrailDataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudTrailDataClient.CloudTrailDataClientConfiguration let serviceName = "CloudTrail Data" diff --git a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift index 19ecd43a115..5314a2456e1 100644 --- a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift +++ b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchClient: ClientRuntime.Client { public static let clientName = "CloudWatchClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudWatchClient.CloudWatchClientConfiguration let serviceName = "CloudWatch" diff --git a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift index 6dd92017580..e56a75a9f0f 100644 --- a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift +++ b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchEventsClient: ClientRuntime.Client { public static let clientName = "CloudWatchEventsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudWatchEventsClient.CloudWatchEventsClientConfiguration let serviceName = "CloudWatch Events" diff --git a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift index c5f334cd248..d0b09ff430a 100644 --- a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift +++ b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchLogsClient: ClientRuntime.Client { public static let clientName = "CloudWatchLogsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CloudWatchLogsClient.CloudWatchLogsClientConfiguration let serviceName = "CloudWatch Logs" diff --git a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift index fc8ba6afb4b..309715a5f04 100644 --- a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift +++ b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeBuildClient: ClientRuntime.Client { public static let clientName = "CodeBuildClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeBuildClient.CodeBuildClientConfiguration let serviceName = "CodeBuild" diff --git a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift index be179bdb2b1..5ed3fa48446 100644 --- a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift +++ b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeCatalystClient: ClientRuntime.Client { public static let clientName = "CodeCatalystClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeCatalystClient.CodeCatalystClientConfiguration let serviceName = "CodeCatalyst" diff --git a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift index 82a3d4eeaef..e88548de39c 100644 --- a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift +++ b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeCommitClient: ClientRuntime.Client { public static let clientName = "CodeCommitClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeCommitClient.CodeCommitClientConfiguration let serviceName = "CodeCommit" diff --git a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift index 703f1c85699..3f8923f6edc 100644 --- a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift +++ b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeConnectionsClient: ClientRuntime.Client { public static let clientName = "CodeConnectionsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeConnectionsClient.CodeConnectionsClientConfiguration let serviceName = "CodeConnections" diff --git a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift index 49c9a4c721a..5f1adb78484 100644 --- a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift +++ b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeDeployClient: ClientRuntime.Client { public static let clientName = "CodeDeployClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeDeployClient.CodeDeployClientConfiguration let serviceName = "CodeDeploy" diff --git a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift index b7046e9a7b5..67d2460be17 100644 --- a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift +++ b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruProfilerClient: ClientRuntime.Client { public static let clientName = "CodeGuruProfilerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeGuruProfilerClient.CodeGuruProfilerClientConfiguration let serviceName = "CodeGuruProfiler" diff --git a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift index ea1136c02d7..8ed9e922538 100644 --- a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift +++ b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruReviewerClient: ClientRuntime.Client { public static let clientName = "CodeGuruReviewerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeGuruReviewerClient.CodeGuruReviewerClientConfiguration let serviceName = "CodeGuru Reviewer" diff --git a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift index 7d4e58ece1e..5f8deec0719 100644 --- a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift +++ b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruSecurityClient: ClientRuntime.Client { public static let clientName = "CodeGuruSecurityClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeGuruSecurityClient.CodeGuruSecurityClientConfiguration let serviceName = "CodeGuru Security" diff --git a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift index 72dad016198..44af3f7afda 100644 --- a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift +++ b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodePipelineClient: ClientRuntime.Client { public static let clientName = "CodePipelineClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodePipelineClient.CodePipelineClientConfiguration let serviceName = "CodePipeline" diff --git a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift index 3d265990332..8b28014ba56 100644 --- a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift +++ b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeStarconnectionsClient: ClientRuntime.Client { public static let clientName = "CodeStarconnectionsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeStarconnectionsClient.CodeStarconnectionsClientConfiguration let serviceName = "CodeStar connections" diff --git a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift index 4aa416d58b5..4aab563e256 100644 --- a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift +++ b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeartifactClient: ClientRuntime.Client { public static let clientName = "CodeartifactClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodeartifactClient.CodeartifactClientConfiguration let serviceName = "codeartifact" diff --git a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift index 647fef297ee..2840892e57a 100644 --- a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift +++ b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodestarnotificationsClient: ClientRuntime.Client { public static let clientName = "CodestarnotificationsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CodestarnotificationsClient.CodestarnotificationsClientConfiguration let serviceName = "codestar notifications" diff --git a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift index bccea28054d..1aced24c8e6 100644 --- a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift +++ b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoIdentityClient: ClientRuntime.Client { public static let clientName = "CognitoIdentityClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CognitoIdentityClient.CognitoIdentityClientConfiguration let serviceName = "Cognito Identity" diff --git a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift index 38b68953ba0..8c3338b36d3 100644 --- a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift +++ b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoIdentityProviderClient: ClientRuntime.Client { public static let clientName = "CognitoIdentityProviderClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CognitoIdentityProviderClient.CognitoIdentityProviderClientConfiguration let serviceName = "Cognito Identity Provider" diff --git a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift index b4ba6c5bc5b..d133acb05ce 100644 --- a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift +++ b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoSyncClient: ClientRuntime.Client { public static let clientName = "CognitoSyncClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CognitoSyncClient.CognitoSyncClientConfiguration let serviceName = "Cognito Sync" diff --git a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift index a6f85fb32e7..2503c58ff79 100644 --- a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift +++ b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComprehendClient: ClientRuntime.Client { public static let clientName = "ComprehendClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ComprehendClient.ComprehendClientConfiguration let serviceName = "Comprehend" diff --git a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift index 75add8578fc..261b8212d92 100644 --- a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift +++ b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComprehendMedicalClient: ClientRuntime.Client { public static let clientName = "ComprehendMedicalClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ComprehendMedicalClient.ComprehendMedicalClientConfiguration let serviceName = "ComprehendMedical" diff --git a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift index d03464b39ab..e9d777164b2 100644 --- a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift +++ b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComputeOptimizerClient: ClientRuntime.Client { public static let clientName = "ComputeOptimizerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ComputeOptimizerClient.ComputeOptimizerClientConfiguration let serviceName = "Compute Optimizer" @@ -657,6 +657,83 @@ extension ComputeOptimizerClient { return try await op.execute(input: input) } + /// Performs the `ExportIdleRecommendations` operation on the `ComputeOptimizerService` service. + /// + /// Export optimization recommendations for your idle resources. Recommendations are exported in a comma-separated values (CSV) file, and its metadata in a JavaScript Object Notation (JSON) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see [Exporting Recommendations](https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) in the Compute Optimizer User Guide. You can have only one idle resource export job in progress per Amazon Web Services Region. + /// + /// - Parameter ExportIdleRecommendationsInput : [no documentation found] + /// + /// - Returns: `ExportIdleRecommendationsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : An internal error has occurred. Try your call again. + /// - `InvalidParameterValueException` : The value supplied for the input parameter is out of range or not valid. + /// - `LimitExceededException` : The request exceeds a limit of the service. + /// - `MissingAuthenticationToken` : The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate. + /// - `OptInRequiredException` : The account is not opted in to Compute Optimizer. + /// - `ServiceUnavailableException` : The request has failed due to a temporary failure of the server. + /// - `ThrottlingException` : The request was denied due to request throttling. + public func exportIdleRecommendations(input: ExportIdleRecommendationsInput) async throws -> ExportIdleRecommendationsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "exportIdleRecommendations") + .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: "compute-optimizer") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ExportIdleRecommendationsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ExportIdleRecommendationsOutput.httpOutput(from:), ExportIdleRecommendationsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ComputeOptimizerClient.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "ComputeOptimizerService.ExportIdleRecommendations")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ExportIdleRecommendationsInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ComputeOptimizer") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ExportIdleRecommendations") + 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 `ExportLambdaFunctionRecommendations` operation on the `ComputeOptimizerService` service. /// /// Exports optimization recommendations for Lambda functions. Recommendations are exported in a comma-separated values (.csv) file, and its metadata in a JavaScript Object Notation (JSON) (.json) file, to an existing Amazon Simple Storage Service (Amazon S3) bucket that you specify. For more information, see [Exporting Recommendations](https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html) in the Compute Optimizer User Guide. You can have only one Lambda function export job in progress per Amazon Web Services Region. @@ -1577,6 +1654,83 @@ extension ComputeOptimizerClient { return try await op.execute(input: input) } + /// Performs the `GetIdleRecommendations` operation on the `ComputeOptimizerService` service. + /// + /// Returns idle resource recommendations. Compute Optimizer generates recommendations for idle resources that meet a specific set of requirements. For more information, see [Resource requirements](https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) in the Compute Optimizer User Guide + /// + /// - Parameter GetIdleRecommendationsInput : [no documentation found] + /// + /// - Returns: `GetIdleRecommendationsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : An internal error has occurred. Try your call again. + /// - `InvalidParameterValueException` : The value supplied for the input parameter is out of range or not valid. + /// - `MissingAuthenticationToken` : The request must contain either a valid (registered) Amazon Web Services access key ID or X.509 certificate. + /// - `OptInRequiredException` : The account is not opted in to Compute Optimizer. + /// - `ResourceNotFoundException` : A resource that is required for the action doesn't exist. + /// - `ServiceUnavailableException` : The request has failed due to a temporary failure of the server. + /// - `ThrottlingException` : The request was denied due to request throttling. + public func getIdleRecommendations(input: GetIdleRecommendationsInput) async throws -> GetIdleRecommendationsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "getIdleRecommendations") + .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: "compute-optimizer") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetIdleRecommendationsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetIdleRecommendationsOutput.httpOutput(from:), GetIdleRecommendationsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ComputeOptimizerClient.version, config: config)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "ComputeOptimizerService.GetIdleRecommendations")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: GetIdleRecommendationsInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ComputeOptimizer") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetIdleRecommendations") + 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 `GetLambdaFunctionRecommendations` operation on the `ComputeOptimizerService` service. /// /// Returns Lambda function recommendations. Compute Optimizer generates recommendations for functions that meet a specific set of requirements. For more information, see the [Supported resources and requirements](https://docs.aws.amazon.com/compute-optimizer/latest/ug/requirements.html) in the Compute Optimizer User Guide. diff --git a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/Models.swift b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/Models.swift index 5a18c53d993..b58edd0584a 100644 --- a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/Models.swift +++ b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/Models.swift @@ -1437,6 +1437,7 @@ extension ComputeOptimizerClientTypes { case ebsVolume case ec2Instance case ecsService + case idle case lambdaFunction case license case notApplicable @@ -1449,6 +1450,7 @@ extension ComputeOptimizerClientTypes { .ebsVolume, .ec2Instance, .ecsService, + .idle, .lambdaFunction, .license, .notApplicable, @@ -1467,6 +1469,7 @@ extension ComputeOptimizerClientTypes { case .ebsVolume: return "EbsVolume" case .ec2Instance: return "Ec2Instance" case .ecsService: return "EcsService" + case .idle: return "Idle" case .lambdaFunction: return "LambdaFunction" case .license: return "License" case .notApplicable: return "NotApplicable" @@ -2961,6 +2964,187 @@ public struct ExportECSServiceRecommendationsOutput: Swift.Sendable { } } +extension ComputeOptimizerClientTypes { + + public enum ExportableIdleField: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case accountId + case finding + case findingDescription + case lastRefreshTimestamp + case lookbackPeriodInDays + case resourceArn + case resourceId + case resourceType + case savingsOpportunity + case savingsOpportunityAfterDiscount + case tags + case utilizationMetricsCpuMaximum + case utilizationMetricsDatabaseConnectionsMaximum + case utilizationMetricsEbsVolumeReadIopsMaximum + case utilizationMetricsEbsVolumeWriteIopsMaximum + case utilizationMetricsMemoryMaximum + case utilizationMetricsNetworkInBytesPerSecondMaximum + case utilizationMetricsNetworkOutBytesPerSecondMaximum + case utilizationMetricsVolumeReadOpsPerSecondMaximum + case utilizationMetricsVolumeWriteOpsPerSecondMaximum + case sdkUnknown(Swift.String) + + public static var allCases: [ExportableIdleField] { + return [ + .accountId, + .finding, + .findingDescription, + .lastRefreshTimestamp, + .lookbackPeriodInDays, + .resourceArn, + .resourceId, + .resourceType, + .savingsOpportunity, + .savingsOpportunityAfterDiscount, + .tags, + .utilizationMetricsCpuMaximum, + .utilizationMetricsDatabaseConnectionsMaximum, + .utilizationMetricsEbsVolumeReadIopsMaximum, + .utilizationMetricsEbsVolumeWriteIopsMaximum, + .utilizationMetricsMemoryMaximum, + .utilizationMetricsNetworkInBytesPerSecondMaximum, + .utilizationMetricsNetworkOutBytesPerSecondMaximum, + .utilizationMetricsVolumeReadOpsPerSecondMaximum, + .utilizationMetricsVolumeWriteOpsPerSecondMaximum + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .accountId: return "AccountId" + case .finding: return "Finding" + case .findingDescription: return "FindingDescription" + case .lastRefreshTimestamp: return "LastRefreshTimestamp" + case .lookbackPeriodInDays: return "LookbackPeriodInDays" + case .resourceArn: return "ResourceArn" + case .resourceId: return "ResourceId" + case .resourceType: return "ResourceType" + case .savingsOpportunity: return "SavingsOpportunity" + case .savingsOpportunityAfterDiscount: return "SavingsOpportunityAfterDiscount" + case .tags: return "Tags" + case .utilizationMetricsCpuMaximum: return "UtilizationMetricsCpuMaximum" + case .utilizationMetricsDatabaseConnectionsMaximum: return "UtilizationMetricsDatabaseConnectionsMaximum" + case .utilizationMetricsEbsVolumeReadIopsMaximum: return "UtilizationMetricsEBSVolumeReadIOPSMaximum" + case .utilizationMetricsEbsVolumeWriteIopsMaximum: return "UtilizationMetricsEBSVolumeWriteIOPSMaximum" + case .utilizationMetricsMemoryMaximum: return "UtilizationMetricsMemoryMaximum" + case .utilizationMetricsNetworkInBytesPerSecondMaximum: return "UtilizationMetricsNetworkInBytesPerSecondMaximum" + case .utilizationMetricsNetworkOutBytesPerSecondMaximum: return "UtilizationMetricsNetworkOutBytesPerSecondMaximum" + case .utilizationMetricsVolumeReadOpsPerSecondMaximum: return "UtilizationMetricsVolumeReadOpsPerSecondMaximum" + case .utilizationMetricsVolumeWriteOpsPerSecondMaximum: return "UtilizationMetricsVolumeWriteOpsPerSecondMaximum" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ComputeOptimizerClientTypes { + + public enum IdleRecommendationFilterName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case finding + case resourceType + case sdkUnknown(Swift.String) + + public static var allCases: [IdleRecommendationFilterName] { + return [ + .finding, + .resourceType + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .finding: return "Finding" + case .resourceType: return "ResourceType" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ComputeOptimizerClientTypes { + + /// Describes a filter that returns a more specific list of idle resource recommendations. + public struct IdleRecommendationFilter: Swift.Sendable { + /// The name of the filter. Specify Finding to return recommendations with a specific finding classification. You can filter your idle resource recommendations by tag:key and tag-key tags. A tag:key is a key and value combination of a tag assigned to your idle resource recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all idle resource service recommendations that have a tag with the key of Owner and the value of TeamA, specify tag:Owner for the filter name and TeamA for the filter value. A tag-key is the key of a tag assigned to your idle resource recommendations. Use this filter to find all of your idle resource recommendations that have a tag with a specific key. This doesn’t consider the tag value. For example, you can find your idle resource service recommendations with a tag key value of Owner or without any tag keys assigned. + public var name: ComputeOptimizerClientTypes.IdleRecommendationFilterName? + /// The value of the filter. + public var values: [Swift.String]? + + public init( + name: ComputeOptimizerClientTypes.IdleRecommendationFilterName? = nil, + values: [Swift.String]? = nil + ) + { + self.name = name + self.values = values + } + } +} + +public struct ExportIdleRecommendationsInput: Swift.Sendable { + /// The Amazon Web Services account IDs for the export idle resource recommendations. If your account is the management account or the delegated administrator of an organization, use this parameter to specify the member account you want to export recommendations to. This parameter can't be specified together with the include member accounts parameter. The parameters are mutually exclusive. If this parameter or the include member accounts parameter is omitted, the recommendations for member accounts aren't included in the export. You can specify multiple account IDs per request. + public var accountIds: [Swift.String]? + /// The recommendations data to include in the export file. For more information about the fields that can be exported, see [Exported files](https://docs.aws.amazon.com/compute-optimizer/latest/ug/exporting-recommendations.html#exported-files) in the Compute Optimizer User Guide. + public var fieldsToExport: [ComputeOptimizerClientTypes.ExportableIdleField]? + /// The format of the export file. The CSV file is the only export file format currently supported. + public var fileFormat: ComputeOptimizerClientTypes.FileFormat? + /// An array of objects to specify a filter that exports a more specific set of idle resource recommendations. + public var filters: [ComputeOptimizerClientTypes.IdleRecommendationFilter]? + /// If your account is the management account or the delegated administrator of an organization, this parameter indicates whether to include recommendations for resources in all member accounts of the organization. The member accounts must also be opted in to Compute Optimizer, and trusted access for Compute Optimizer must be enabled in the organization account. For more information, see [Compute Optimizer and Amazon Web Services Organizations trusted access](https://docs.aws.amazon.com/compute-optimizer/latest/ug/security-iam.html#trusted-service-access) in the Compute Optimizer User Guide. If this parameter is omitted, recommendations for member accounts of the organization aren't included in the export file. If this parameter or the account ID parameter is omitted, recommendations for member accounts aren't included in the export. + public var includeMemberAccounts: Swift.Bool? + /// Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and key prefix for a recommendations export job. You must create the destination Amazon S3 bucket for your recommendations export before you create the export job. Compute Optimizer does not create the S3 bucket for you. After you create the S3 bucket, ensure that it has the required permission policy to allow Compute Optimizer to write the export file to it. If you plan to specify an object prefix when you create the export job, you must include the object prefix in the policy that you add to the S3 bucket. For more information, see [Amazon S3 Bucket Policy for Compute Optimizer](https://docs.aws.amazon.com/compute-optimizer/latest/ug/create-s3-bucket-policy-for-compute-optimizer.html) in the Compute Optimizer User Guide. + /// This member is required. + public var s3DestinationConfig: ComputeOptimizerClientTypes.S3DestinationConfig? + + public init( + accountIds: [Swift.String]? = nil, + fieldsToExport: [ComputeOptimizerClientTypes.ExportableIdleField]? = nil, + fileFormat: ComputeOptimizerClientTypes.FileFormat? = nil, + filters: [ComputeOptimizerClientTypes.IdleRecommendationFilter]? = nil, + includeMemberAccounts: Swift.Bool? = false, + s3DestinationConfig: ComputeOptimizerClientTypes.S3DestinationConfig? = nil + ) + { + self.accountIds = accountIds + self.fieldsToExport = fieldsToExport + self.fileFormat = fileFormat + self.filters = filters + self.includeMemberAccounts = includeMemberAccounts + self.s3DestinationConfig = s3DestinationConfig + } +} + +public struct ExportIdleRecommendationsOutput: Swift.Sendable { + /// The identification number of the export job. To view the status of an export job, use the [DescribeRecommendationExportJobs] action and specify the job ID. + public var jobId: Swift.String? + /// Describes the destination Amazon Simple Storage Service (Amazon S3) bucket name and object keys of a recommendations export file, and its associated metadata file. + public var s3Destination: ComputeOptimizerClientTypes.S3Destination? + + public init( + jobId: Swift.String? = nil, + s3Destination: ComputeOptimizerClientTypes.S3Destination? = nil + ) + { + self.jobId = jobId + self.s3Destination = s3Destination + } +} + extension ComputeOptimizerClientTypes { public enum ExportableLambdaFunctionField: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -3376,12 +3560,14 @@ extension ComputeOptimizerClientTypes { case accountId case currentDbInstanceClass case currentInstanceOnDemandHourlyPrice + case currentInstancePerformanceRisk case currentStorageConfigurationAllocatedStorage case currentStorageConfigurationIops case currentStorageConfigurationMaxAllocatedStorage case currentStorageConfigurationStorageThroughput case currentStorageConfigurationStorageType case currentStorageOnDemandMonthlyPrice + case dbClusterIdentifier case effectiveRecommendationPreferencesCpuVendorArchitectures case effectiveRecommendationPreferencesEnhancedInfrastructureMetrics case effectiveRecommendationPreferencesLookbackPeriod @@ -3405,6 +3591,7 @@ extension ComputeOptimizerClientTypes { case lastRefreshTimestamp case lookbackPeriodInDays case multiAzDbInstance + case promotionTier case resourceArn case storageFinding case storageFindingReasonCodes @@ -3422,6 +3609,10 @@ extension ComputeOptimizerClientTypes { case storageRecommendationOptionsStorageThroughput case storageRecommendationOptionsStorageType case tags + case utilizationMetricsAuroraMemoryHealthStateMaximum + case utilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum + case utilizationMetricsAuroraMemoryNumKillConnTotalMaximum + case utilizationMetricsAuroraMemoryNumKillQueryTotalMaximum case utilizationMetricsCpuMaximum case utilizationMetricsDatabaseConnectionsMaximum case utilizationMetricsEbsVolumeReadIopsMaximum @@ -3432,6 +3623,10 @@ extension ComputeOptimizerClientTypes { case utilizationMetricsMemoryMaximum case utilizationMetricsNetworkReceiveThroughputMaximum case utilizationMetricsNetworkTransmitThroughputMaximum + case utilizationMetricsReadIopsEphemeralStorageMaximum + case utilizationMetricsStorageNetworkReceiveThroughputMaximum + case utilizationMetricsStorageNetworkTransmitThroughputMaximum + case utilizationMetricsWriteIopsEphemeralStorageMaximum case sdkUnknown(Swift.String) public static var allCases: [ExportableRDSDBField] { @@ -3439,12 +3634,14 @@ extension ComputeOptimizerClientTypes { .accountId, .currentDbInstanceClass, .currentInstanceOnDemandHourlyPrice, + .currentInstancePerformanceRisk, .currentStorageConfigurationAllocatedStorage, .currentStorageConfigurationIops, .currentStorageConfigurationMaxAllocatedStorage, .currentStorageConfigurationStorageThroughput, .currentStorageConfigurationStorageType, .currentStorageOnDemandMonthlyPrice, + .dbClusterIdentifier, .effectiveRecommendationPreferencesCpuVendorArchitectures, .effectiveRecommendationPreferencesEnhancedInfrastructureMetrics, .effectiveRecommendationPreferencesLookbackPeriod, @@ -3468,6 +3665,7 @@ extension ComputeOptimizerClientTypes { .lastRefreshTimestamp, .lookbackPeriodInDays, .multiAzDbInstance, + .promotionTier, .resourceArn, .storageFinding, .storageFindingReasonCodes, @@ -3485,6 +3683,10 @@ extension ComputeOptimizerClientTypes { .storageRecommendationOptionsStorageThroughput, .storageRecommendationOptionsStorageType, .tags, + .utilizationMetricsAuroraMemoryHealthStateMaximum, + .utilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum, + .utilizationMetricsAuroraMemoryNumKillConnTotalMaximum, + .utilizationMetricsAuroraMemoryNumKillQueryTotalMaximum, .utilizationMetricsCpuMaximum, .utilizationMetricsDatabaseConnectionsMaximum, .utilizationMetricsEbsVolumeReadIopsMaximum, @@ -3494,7 +3696,11 @@ extension ComputeOptimizerClientTypes { .utilizationMetricsEbsVolumeWriteThroughputMaximum, .utilizationMetricsMemoryMaximum, .utilizationMetricsNetworkReceiveThroughputMaximum, - .utilizationMetricsNetworkTransmitThroughputMaximum + .utilizationMetricsNetworkTransmitThroughputMaximum, + .utilizationMetricsReadIopsEphemeralStorageMaximum, + .utilizationMetricsStorageNetworkReceiveThroughputMaximum, + .utilizationMetricsStorageNetworkTransmitThroughputMaximum, + .utilizationMetricsWriteIopsEphemeralStorageMaximum ] } @@ -3508,12 +3714,14 @@ extension ComputeOptimizerClientTypes { case .accountId: return "AccountId" case .currentDbInstanceClass: return "CurrentDBInstanceClass" case .currentInstanceOnDemandHourlyPrice: return "CurrentInstanceOnDemandHourlyPrice" + case .currentInstancePerformanceRisk: return "CurrentInstancePerformanceRisk" case .currentStorageConfigurationAllocatedStorage: return "CurrentStorageConfigurationAllocatedStorage" case .currentStorageConfigurationIops: return "CurrentStorageConfigurationIOPS" case .currentStorageConfigurationMaxAllocatedStorage: return "CurrentStorageConfigurationMaxAllocatedStorage" case .currentStorageConfigurationStorageThroughput: return "CurrentStorageConfigurationStorageThroughput" case .currentStorageConfigurationStorageType: return "CurrentStorageConfigurationStorageType" case .currentStorageOnDemandMonthlyPrice: return "CurrentStorageOnDemandMonthlyPrice" + case .dbClusterIdentifier: return "DBClusterIdentifier" case .effectiveRecommendationPreferencesCpuVendorArchitectures: return "EffectiveRecommendationPreferencesCpuVendorArchitectures" case .effectiveRecommendationPreferencesEnhancedInfrastructureMetrics: return "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics" case .effectiveRecommendationPreferencesLookbackPeriod: return "EffectiveRecommendationPreferencesLookBackPeriod" @@ -3537,6 +3745,7 @@ extension ComputeOptimizerClientTypes { case .lastRefreshTimestamp: return "LastRefreshTimestamp" case .lookbackPeriodInDays: return "LookbackPeriodInDays" case .multiAzDbInstance: return "MultiAZDBInstance" + case .promotionTier: return "PromotionTier" case .resourceArn: return "ResourceArn" case .storageFinding: return "StorageFinding" case .storageFindingReasonCodes: return "StorageFindingReasonCodes" @@ -3554,6 +3763,10 @@ extension ComputeOptimizerClientTypes { case .storageRecommendationOptionsStorageThroughput: return "StorageRecommendationOptionsStorageThroughput" case .storageRecommendationOptionsStorageType: return "StorageRecommendationOptionsStorageType" case .tags: return "Tags" + case .utilizationMetricsAuroraMemoryHealthStateMaximum: return "UtilizationMetricsAuroraMemoryHealthStateMaximum" + case .utilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum: return "UtilizationMetricsAuroraMemoryNumDeclinedSqlTotalMaximum" + case .utilizationMetricsAuroraMemoryNumKillConnTotalMaximum: return "UtilizationMetricsAuroraMemoryNumKillConnTotalMaximum" + case .utilizationMetricsAuroraMemoryNumKillQueryTotalMaximum: return "UtilizationMetricsAuroraMemoryNumKillQueryTotalMaximum" case .utilizationMetricsCpuMaximum: return "UtilizationMetricsCpuMaximum" case .utilizationMetricsDatabaseConnectionsMaximum: return "UtilizationMetricsDatabaseConnectionsMaximum" case .utilizationMetricsEbsVolumeReadIopsMaximum: return "UtilizationMetricsEBSVolumeReadIOPSMaximum" @@ -3564,6 +3777,10 @@ extension ComputeOptimizerClientTypes { case .utilizationMetricsMemoryMaximum: return "UtilizationMetricsMemoryMaximum" case .utilizationMetricsNetworkReceiveThroughputMaximum: return "UtilizationMetricsNetworkReceiveThroughputMaximum" case .utilizationMetricsNetworkTransmitThroughputMaximum: return "UtilizationMetricsNetworkTransmitThroughputMaximum" + case .utilizationMetricsReadIopsEphemeralStorageMaximum: return "UtilizationMetricsReadIOPSEphemeralStorageMaximum" + case .utilizationMetricsStorageNetworkReceiveThroughputMaximum: return "UtilizationMetricsStorageNetworkReceiveThroughputMaximum" + case .utilizationMetricsStorageNetworkTransmitThroughputMaximum: return "UtilizationMetricsStorageNetworkTransmitThroughputMaximum" + case .utilizationMetricsWriteIopsEphemeralStorageMaximum: return "UtilizationMetricsWriteIOPSEphemeralStorageMaximum" case let .sdkUnknown(s): return s } } @@ -3801,7 +4018,17 @@ extension ComputeOptimizerClientTypes { public var volumeBurstThroughput: Swift.Int /// The size of the volume, in GiB. public var volumeSize: Swift.Int - /// The volume type. This can be gp2 for General Purpose SSD, io1 or io2 for Provisioned IOPS SSD, st1 for Throughput Optimized HDD, sc1 for Cold HDD, or standard for Magnetic volumes. + /// The volume type. The volume types can be the following: + /// + /// * General Purpose SSD gp2 and gp3 + /// + /// * Provisioned IOPS SSD io1, io2, and io2 Block Express + /// + /// * Throughput Optimized HDD st1 + /// + /// * Cold HDD sc1 + /// + /// * Magnetic volumes standard public var volumeType: Swift.String? public init( @@ -5700,44 +5927,463 @@ extension ComputeOptimizerClientTypes { values: [Swift.String]? = nil ) { - self.name = name - self.values = values + self.name = name + self.values = values + } + } +} + +public struct GetEnrollmentStatusesForOrganizationInput: Swift.Sendable { + /// An array of objects to specify a filter that returns a more specific list of account enrollment statuses. + public var filters: [ComputeOptimizerClientTypes.EnrollmentFilter]? + /// The maximum number of account enrollment statuses to return with a single request. You can specify up to 100 statuses to return with each request. To retrieve the remaining results, make another request with the returned nextToken value. + public var maxResults: Swift.Int? + /// The token to advance to the next page of account enrollment statuses. + public var nextToken: Swift.String? + + public init( + filters: [ComputeOptimizerClientTypes.EnrollmentFilter]? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.filters = filters + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +public struct GetEnrollmentStatusesForOrganizationOutput: Swift.Sendable { + /// An array of objects that describe the enrollment statuses of organization member accounts. + public var accountEnrollmentStatuses: [ComputeOptimizerClientTypes.AccountEnrollmentStatus]? + /// The token to use to advance to the next page of account enrollment statuses. This value is null when there are no more pages of account enrollment statuses to return. + public var nextToken: Swift.String? + + public init( + accountEnrollmentStatuses: [ComputeOptimizerClientTypes.AccountEnrollmentStatus]? = nil, + nextToken: Swift.String? = nil + ) + { + self.accountEnrollmentStatuses = accountEnrollmentStatuses + self.nextToken = nextToken + } +} + +extension ComputeOptimizerClientTypes { + + public enum Dimension: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case savingsValue + case savingsValueAfterDiscount + case sdkUnknown(Swift.String) + + public static var allCases: [Dimension] { + return [ + .savingsValue, + .savingsValueAfterDiscount + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .savingsValue: return "SavingsValue" + case .savingsValueAfterDiscount: return "SavingsValueAfterDiscount" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ComputeOptimizerClientTypes { + + public enum Order: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case asc + case desc + case sdkUnknown(Swift.String) + + public static var allCases: [Order] { + return [ + .asc, + .desc + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .asc: return "Asc" + case .desc: return "Desc" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ComputeOptimizerClientTypes { + + /// Describes how the recommendations are ordered. + public struct OrderBy: Swift.Sendable { + /// The dimension values to sort the recommendations. + public var dimension: ComputeOptimizerClientTypes.Dimension? + /// The order to sort the recommendations. + public var order: ComputeOptimizerClientTypes.Order? + + public init( + dimension: ComputeOptimizerClientTypes.Dimension? = nil, + order: ComputeOptimizerClientTypes.Order? = nil + ) + { + self.dimension = dimension + self.order = order + } + } +} + +public struct GetIdleRecommendationsInput: Swift.Sendable { + /// Return the idle resource recommendations to the specified Amazon Web Services account IDs. If your account is the management account or the delegated administrator of an organization, use this parameter to return the idle resource recommendations to specific member accounts. You can only specify one account ID per request. + public var accountIds: [Swift.String]? + /// An array of objects to specify a filter that returns a more specific list of idle resource recommendations. + public var filters: [ComputeOptimizerClientTypes.IdleRecommendationFilter]? + /// The maximum number of idle resource recommendations to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value. + public var maxResults: Swift.Int? + /// The token to advance to the next page of idle resource recommendations. + public var nextToken: Swift.String? + /// The order to sort the idle resource recommendations. + public var orderBy: ComputeOptimizerClientTypes.OrderBy? + /// The ARN that identifies the idle resource. + public var resourceArns: [Swift.String]? + + public init( + accountIds: [Swift.String]? = nil, + filters: [ComputeOptimizerClientTypes.IdleRecommendationFilter]? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + orderBy: ComputeOptimizerClientTypes.OrderBy? = nil, + resourceArns: [Swift.String]? = nil + ) + { + self.accountIds = accountIds + self.filters = filters + self.maxResults = maxResults + self.nextToken = nextToken + self.orderBy = orderBy + self.resourceArns = resourceArns + } +} + +extension ComputeOptimizerClientTypes { + + public enum IdleRecommendationResourceType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case autoScalingGroup + case ebsVolume + case ec2Instance + case ecsService + case rdsDbInstance + case sdkUnknown(Swift.String) + + public static var allCases: [IdleRecommendationResourceType] { + return [ + .autoScalingGroup, + .ebsVolume, + .ec2Instance, + .ecsService, + .rdsDbInstance + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .autoScalingGroup: return "AutoScalingGroup" + case .ebsVolume: return "EBSVolume" + case .ec2Instance: return "EC2Instance" + case .ecsService: return "ECSService" + case .rdsDbInstance: return "RDSDBInstance" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ComputeOptimizerClientTypes { + + /// Returns of list of resources that doesn't have idle recommendations. + public struct IdleRecommendationError: Swift.Sendable { + /// The error code. + public var code: Swift.String? + /// The ID of the error. + public var identifier: Swift.String? + /// The error message. + public var message: Swift.String? + /// The type of resource associated with the error. + public var resourceType: ComputeOptimizerClientTypes.IdleRecommendationResourceType? + + public init( + code: Swift.String? = nil, + identifier: Swift.String? = nil, + message: Swift.String? = nil, + resourceType: ComputeOptimizerClientTypes.IdleRecommendationResourceType? = nil + ) + { + self.code = code + self.identifier = identifier + self.message = message + self.resourceType = resourceType + } + } +} + +extension ComputeOptimizerClientTypes { + + public enum IdleFinding: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case idle + case unattached + case sdkUnknown(Swift.String) + + public static var allCases: [IdleFinding] { + return [ + .idle, + .unattached + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .idle: return "Idle" + case .unattached: return "Unattached" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ComputeOptimizerClientTypes { + + /// Describes the estimated monthly savings possible for idle resources by adopting Compute Optimizer recommendations. + public struct IdleEstimatedMonthlySavings: Swift.Sendable { + /// The currency of the estimated monthly savings. + public var currency: ComputeOptimizerClientTypes.Currency? + /// The value of the estimated monthly savings for Idle resources. + public var value: Swift.Double + + public init( + currency: ComputeOptimizerClientTypes.Currency? = nil, + value: Swift.Double = 0.0 + ) + { + self.currency = currency + self.value = value + } + } +} + +extension ComputeOptimizerClientTypes { + + /// Describes the savings opportunity for idle resource recommendations. + public struct IdleSavingsOpportunity: Swift.Sendable { + /// The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations. + public var estimatedMonthlySavings: ComputeOptimizerClientTypes.IdleEstimatedMonthlySavings? + /// The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations. + public var savingsOpportunityPercentage: Swift.Double + + public init( + estimatedMonthlySavings: ComputeOptimizerClientTypes.IdleEstimatedMonthlySavings? = nil, + savingsOpportunityPercentage: Swift.Double = 0.0 + ) + { + self.estimatedMonthlySavings = estimatedMonthlySavings + self.savingsOpportunityPercentage = savingsOpportunityPercentage + } + } +} + +extension ComputeOptimizerClientTypes { + + /// Describes the savings opportunity for idle resource recommendations after applying discounts. Savings opportunity represents the estimated monthly savings after applying discounts. You can achieve this by implementing a given Compute Optimizer recommendation. + public struct IdleSavingsOpportunityAfterDiscounts: Swift.Sendable { + /// The estimated monthly savings possible by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts. + public var estimatedMonthlySavings: ComputeOptimizerClientTypes.IdleEstimatedMonthlySavings? + /// The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer's idle resource recommendations. This includes any applicable discounts. + public var savingsOpportunityPercentage: Swift.Double + + public init( + estimatedMonthlySavings: ComputeOptimizerClientTypes.IdleEstimatedMonthlySavings? = nil, + savingsOpportunityPercentage: Swift.Double = 0.0 + ) + { + self.estimatedMonthlySavings = estimatedMonthlySavings + self.savingsOpportunityPercentage = savingsOpportunityPercentage + } + } +} + +extension ComputeOptimizerClientTypes { + + public enum IdleMetricName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case cpu + case databaseConnections + case ebsVolumeReadIops + case ebsVolumeWriteIops + case memory + case networkInBytesPerSecond + case networkOutBytesPerSecond + case volumeReadOpsPerSecond + case volumeWriteOpsPerSecond + case sdkUnknown(Swift.String) + + public static var allCases: [IdleMetricName] { + return [ + .cpu, + .databaseConnections, + .ebsVolumeReadIops, + .ebsVolumeWriteIops, + .memory, + .networkInBytesPerSecond, + .networkOutBytesPerSecond, + .volumeReadOpsPerSecond, + .volumeWriteOpsPerSecond + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .cpu: return "CPU" + case .databaseConnections: return "DatabaseConnections" + case .ebsVolumeReadIops: return "EBSVolumeReadIOPS" + case .ebsVolumeWriteIops: return "EBSVolumeWriteIOPS" + case .memory: return "Memory" + case .networkInBytesPerSecond: return "NetworkInBytesPerSecond" + case .networkOutBytesPerSecond: return "NetworkOutBytesPerSecond" + case .volumeReadOpsPerSecond: return "VolumeReadOpsPerSecond" + case .volumeWriteOpsPerSecond: return "VolumeWriteOpsPerSecond" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ComputeOptimizerClientTypes { + + /// Describes the utilization metric of an idle resource. + public struct IdleUtilizationMetric: Swift.Sendable { + /// The name of the utilization metric. + public var name: ComputeOptimizerClientTypes.IdleMetricName? + /// The statistic of the utilization metric. The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the Maximum statistic, which is the highest value observed during the specified period. The Compute Optimizer console displays graphs for some utilization metrics using the Average statistic, which is the value of Sum / SampleCount during the specified period. For more information, see [Viewing resource recommendations](https://docs.aws.amazon.com/compute-optimizer/latest/ug/viewing-recommendations.html) in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html). + public var statistic: ComputeOptimizerClientTypes.MetricStatistic? + /// The value of the utilization metric. + public var value: Swift.Double + + public init( + name: ComputeOptimizerClientTypes.IdleMetricName? = nil, + statistic: ComputeOptimizerClientTypes.MetricStatistic? = nil, + value: Swift.Double = 0.0 + ) + { + self.name = name + self.statistic = statistic + self.value = value + } + } +} + +extension ComputeOptimizerClientTypes { + + /// Describes an Idle resource recommendation. + public struct IdleRecommendation: Swift.Sendable { + /// The Amazon Web Services account ID of the idle resource. + public var accountId: Swift.String? + /// The finding classification of an idle resource. + public var finding: ComputeOptimizerClientTypes.IdleFinding? + /// A summary of the findings for the resource. + public var findingDescription: Swift.String? + /// The timestamp of when the idle resource recommendation was last generated. + public var lastRefreshTimestamp: Foundation.Date? + /// The number of days the idle resource utilization metrics were analyzed. + public var lookBackPeriodInDays: Swift.Double + /// The ARN of the current idle resource. + public var resourceArn: Swift.String? + /// The unique identifier for the resource. + public var resourceId: Swift.String? + /// The type of resource that is idle. + public var resourceType: ComputeOptimizerClientTypes.IdleRecommendationResourceType? + /// The savings opportunity for the idle resource. + public var savingsOpportunity: ComputeOptimizerClientTypes.IdleSavingsOpportunity? + /// The savings opportunity for the idle resource after any applying discounts. + public var savingsOpportunityAfterDiscounts: ComputeOptimizerClientTypes.IdleSavingsOpportunityAfterDiscounts? + /// A list of tags assigned to your idle resource recommendations. + public var tags: [ComputeOptimizerClientTypes.Tag]? + /// An array of objects that describe the utilization metrics of the idle resource. + public var utilizationMetrics: [ComputeOptimizerClientTypes.IdleUtilizationMetric]? + + public init( + accountId: Swift.String? = nil, + finding: ComputeOptimizerClientTypes.IdleFinding? = nil, + findingDescription: Swift.String? = nil, + lastRefreshTimestamp: Foundation.Date? = nil, + lookBackPeriodInDays: Swift.Double = 0.0, + resourceArn: Swift.String? = nil, + resourceId: Swift.String? = nil, + resourceType: ComputeOptimizerClientTypes.IdleRecommendationResourceType? = nil, + savingsOpportunity: ComputeOptimizerClientTypes.IdleSavingsOpportunity? = nil, + savingsOpportunityAfterDiscounts: ComputeOptimizerClientTypes.IdleSavingsOpportunityAfterDiscounts? = nil, + tags: [ComputeOptimizerClientTypes.Tag]? = nil, + utilizationMetrics: [ComputeOptimizerClientTypes.IdleUtilizationMetric]? = nil + ) + { + self.accountId = accountId + self.finding = finding + self.findingDescription = findingDescription + self.lastRefreshTimestamp = lastRefreshTimestamp + self.lookBackPeriodInDays = lookBackPeriodInDays + self.resourceArn = resourceArn + self.resourceId = resourceId + self.resourceType = resourceType + self.savingsOpportunity = savingsOpportunity + self.savingsOpportunityAfterDiscounts = savingsOpportunityAfterDiscounts + self.tags = tags + self.utilizationMetrics = utilizationMetrics } } } -public struct GetEnrollmentStatusesForOrganizationInput: Swift.Sendable { - /// An array of objects to specify a filter that returns a more specific list of account enrollment statuses. - public var filters: [ComputeOptimizerClientTypes.EnrollmentFilter]? - /// The maximum number of account enrollment statuses to return with a single request. You can specify up to 100 statuses to return with each request. To retrieve the remaining results, make another request with the returned nextToken value. - public var maxResults: Swift.Int? - /// The token to advance to the next page of account enrollment statuses. - public var nextToken: Swift.String? - - public init( - filters: [ComputeOptimizerClientTypes.EnrollmentFilter]? = nil, - maxResults: Swift.Int? = nil, - nextToken: Swift.String? = nil - ) - { - self.filters = filters - self.maxResults = maxResults - self.nextToken = nextToken - } -} - -public struct GetEnrollmentStatusesForOrganizationOutput: Swift.Sendable { - /// An array of objects that describe the enrollment statuses of organization member accounts. - public var accountEnrollmentStatuses: [ComputeOptimizerClientTypes.AccountEnrollmentStatus]? - /// The token to use to advance to the next page of account enrollment statuses. This value is null when there are no more pages of account enrollment statuses to return. +public struct GetIdleRecommendationsOutput: Swift.Sendable { + /// An array of objects that describe errors of the request. + public var errors: [ComputeOptimizerClientTypes.IdleRecommendationError]? + /// An array of objects that describe the idle resource recommendations. + public var idleRecommendations: [ComputeOptimizerClientTypes.IdleRecommendation]? + /// The token to advance to the next page of idle resource recommendations. public var nextToken: Swift.String? public init( - accountEnrollmentStatuses: [ComputeOptimizerClientTypes.AccountEnrollmentStatus]? = nil, + errors: [ComputeOptimizerClientTypes.IdleRecommendationError]? = nil, + idleRecommendations: [ComputeOptimizerClientTypes.IdleRecommendation]? = nil, nextToken: Swift.String? = nil ) { - self.accountEnrollmentStatuses = accountEnrollmentStatuses + self.errors = errors + self.idleRecommendations = idleRecommendations self.nextToken = nextToken } } @@ -6668,6 +7314,10 @@ public struct GetRDSDatabaseRecommendationProjectedMetricsInput: Swift.Sendable extension ComputeOptimizerClientTypes { public enum RDSDBMetricName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case auroraMemoryHealthState + case auroraMemoryNumDeclinedSql + case auroraMemoryNumKillConnTotal + case auroraMemoryNumKillQueryTotal case cpu case databaseConnections case ebsVolumeReadIops @@ -6678,10 +7328,18 @@ extension ComputeOptimizerClientTypes { case memory case networkReceiveThroughput case networkTransmitThroughput + case readIopsEphemeralStorage + case storageNetworkReceiveThroughput + case storageNetworkTransmitThroughput + case writeIopsEphemeralStorage case sdkUnknown(Swift.String) public static var allCases: [RDSDBMetricName] { return [ + .auroraMemoryHealthState, + .auroraMemoryNumDeclinedSql, + .auroraMemoryNumKillConnTotal, + .auroraMemoryNumKillQueryTotal, .cpu, .databaseConnections, .ebsVolumeReadIops, @@ -6691,7 +7349,11 @@ extension ComputeOptimizerClientTypes { .ebsVolumeWriteThroughput, .memory, .networkReceiveThroughput, - .networkTransmitThroughput + .networkTransmitThroughput, + .readIopsEphemeralStorage, + .storageNetworkReceiveThroughput, + .storageNetworkTransmitThroughput, + .writeIopsEphemeralStorage ] } @@ -6702,6 +7364,10 @@ extension ComputeOptimizerClientTypes { public var rawValue: Swift.String { switch self { + case .auroraMemoryHealthState: return "AuroraMemoryHealthState" + case .auroraMemoryNumDeclinedSql: return "AuroraMemoryNumDeclinedSql" + case .auroraMemoryNumKillConnTotal: return "AuroraMemoryNumKillConnTotal" + case .auroraMemoryNumKillQueryTotal: return "AuroraMemoryNumKillQueryTotal" case .cpu: return "CPU" case .databaseConnections: return "DatabaseConnections" case .ebsVolumeReadIops: return "EBSVolumeReadIOPS" @@ -6712,6 +7378,10 @@ extension ComputeOptimizerClientTypes { case .memory: return "Memory" case .networkReceiveThroughput: return "NetworkReceiveThroughput" case .networkTransmitThroughput: return "NetworkTransmitThroughput" + case .readIopsEphemeralStorage: return "ReadIOPSEphemeralStorage" + case .storageNetworkReceiveThroughput: return "StorageNetworkReceiveThroughput" + case .storageNetworkTransmitThroughput: return "StorageNetworkTransmitThroughput" + case .writeIopsEphemeralStorage: return "WriteIOPSEphemeralStorage" case let .sdkUnknown(s): return s } } @@ -6810,6 +7480,41 @@ public struct GetRDSDatabaseRecommendationsInput: Swift.Sendable { } } +extension ComputeOptimizerClientTypes { + + public enum RDSCurrentInstancePerformanceRisk: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case high + case low + case medium + case veryLow + case sdkUnknown(Swift.String) + + public static var allCases: [RDSCurrentInstancePerformanceRisk] { + return [ + .high, + .low, + .medium, + .veryLow + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .high: return "High" + case .low: return "Low" + case .medium: return "Medium" + case .veryLow: return "VeryLow" + case let .sdkUnknown(s): return s + } + } + } +} + extension ComputeOptimizerClientTypes { /// The configuration of the recommended RDS storage. @@ -6984,9 +7689,14 @@ extension ComputeOptimizerClientTypes { public enum RDSInstanceFindingReasonCode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case cpuOverProvisioned case cpuUnderProvisioned + case dbClusterWriterUnderProvisioned case ebsIopsOverProvisioned + case ebsIopsUnderProvisioned case ebsThroughputOverProvisioned case ebsThroughputUnderProvisioned + case instanceStorageReadIopsUnderProvisioned + case instanceStorageWriteIopsUnderProvisioned + case memoryUnderProvisioned case networkBandwidthOverProvisioned case networkBandwidthUnderProvisioned case newEngineVersionAvailable @@ -6997,9 +7707,14 @@ extension ComputeOptimizerClientTypes { return [ .cpuOverProvisioned, .cpuUnderProvisioned, + .dbClusterWriterUnderProvisioned, .ebsIopsOverProvisioned, + .ebsIopsUnderProvisioned, .ebsThroughputOverProvisioned, .ebsThroughputUnderProvisioned, + .instanceStorageReadIopsUnderProvisioned, + .instanceStorageWriteIopsUnderProvisioned, + .memoryUnderProvisioned, .networkBandwidthOverProvisioned, .networkBandwidthUnderProvisioned, .newEngineVersionAvailable, @@ -7016,9 +7731,14 @@ extension ComputeOptimizerClientTypes { switch self { case .cpuOverProvisioned: return "CPUOverprovisioned" case .cpuUnderProvisioned: return "CPUUnderprovisioned" + case .dbClusterWriterUnderProvisioned: return "DBClusterWriterUnderprovisioned" case .ebsIopsOverProvisioned: return "EBSIOPSOverprovisioned" + case .ebsIopsUnderProvisioned: return "EBSIOPSUnderprovisioned" case .ebsThroughputOverProvisioned: return "EBSThroughputOverprovisioned" case .ebsThroughputUnderProvisioned: return "EBSThroughputUnderprovisioned" + case .instanceStorageReadIopsUnderProvisioned: return "InstanceStorageReadIOPSUnderprovisioned" + case .instanceStorageWriteIopsUnderProvisioned: return "InstanceStorageWriteIOPSUnderprovisioned" + case .memoryUnderProvisioned: return "MemoryUnderprovisioned" case .networkBandwidthOverProvisioned: return "NetworkBandwidthOverprovisioned" case .networkBandwidthUnderProvisioned: return "NetworkBandwidthUnderprovisioned" case .newEngineVersionAvailable: return "NewEngineVersionAvailable" @@ -7307,8 +8027,12 @@ extension ComputeOptimizerClientTypes { public var accountId: Swift.String? /// The DB instance class of the current RDS instance. public var currentDBInstanceClass: Swift.String? + /// The performance risk for the current DB instance. + public var currentInstancePerformanceRisk: ComputeOptimizerClientTypes.RDSCurrentInstancePerformanceRisk? /// The configuration of the current RDS storage. public var currentStorageConfiguration: ComputeOptimizerClientTypes.DBStorageConfiguration? + /// The identifier for DB cluster. + public var dbClusterIdentifier: Swift.String? /// Describes the effective recommendation preferences for Amazon RDS. public var effectiveRecommendationPreferences: ComputeOptimizerClientTypes.RDSEffectiveRecommendationPreferences? /// The engine of the RDS instance. @@ -7333,6 +8057,8 @@ extension ComputeOptimizerClientTypes { public var lastRefreshTimestamp: Foundation.Date? /// The number of days the Amazon RDS utilization metrics were analyzed. public var lookbackPeriodInDays: Swift.Double + /// The promotion tier for the Aurora instance. + public var promotionTier: Swift.Int? /// The ARN of the current Amazon RDS. The following is the format of the ARN: arn:aws:rds:{region}:{accountId}:db:{resourceName} public var resourceArn: Swift.String? /// The finding classification of Amazon RDS storage. Findings for Amazon RDS instance include: @@ -7355,7 +8081,9 @@ extension ComputeOptimizerClientTypes { public init( accountId: Swift.String? = nil, currentDBInstanceClass: Swift.String? = nil, + currentInstancePerformanceRisk: ComputeOptimizerClientTypes.RDSCurrentInstancePerformanceRisk? = nil, currentStorageConfiguration: ComputeOptimizerClientTypes.DBStorageConfiguration? = nil, + dbClusterIdentifier: Swift.String? = nil, effectiveRecommendationPreferences: ComputeOptimizerClientTypes.RDSEffectiveRecommendationPreferences? = nil, engine: Swift.String? = nil, engineVersion: Swift.String? = nil, @@ -7365,6 +8093,7 @@ extension ComputeOptimizerClientTypes { instanceRecommendationOptions: [ComputeOptimizerClientTypes.RDSDBInstanceRecommendationOption]? = nil, lastRefreshTimestamp: Foundation.Date? = nil, lookbackPeriodInDays: Swift.Double = 0.0, + promotionTier: Swift.Int? = nil, resourceArn: Swift.String? = nil, storageFinding: ComputeOptimizerClientTypes.RDSStorageFinding? = nil, storageFindingReasonCodes: [ComputeOptimizerClientTypes.RDSStorageFindingReasonCode]? = nil, @@ -7375,7 +8104,9 @@ extension ComputeOptimizerClientTypes { { self.accountId = accountId self.currentDBInstanceClass = currentDBInstanceClass + self.currentInstancePerformanceRisk = currentInstancePerformanceRisk self.currentStorageConfiguration = currentStorageConfiguration + self.dbClusterIdentifier = dbClusterIdentifier self.effectiveRecommendationPreferences = effectiveRecommendationPreferences self.engine = engine self.engineVersion = engineVersion @@ -7385,6 +8116,7 @@ extension ComputeOptimizerClientTypes { self.instanceRecommendationOptions = instanceRecommendationOptions self.lastRefreshTimestamp = lastRefreshTimestamp self.lookbackPeriodInDays = lookbackPeriodInDays + self.promotionTier = promotionTier self.resourceArn = resourceArn self.storageFinding = storageFinding self.storageFindingReasonCodes = storageFindingReasonCodes @@ -7581,6 +8313,26 @@ extension ComputeOptimizerClientTypes { } } +extension ComputeOptimizerClientTypes { + + /// Describes the findings summary of the idle resources. + public struct IdleSummary: Swift.Sendable { + /// The name of the finding group for the idle resources. + public var name: ComputeOptimizerClientTypes.IdleFinding? + /// The count of idle resources in the finding group. + public var value: Swift.Double + + public init( + name: ComputeOptimizerClientTypes.IdleFinding? = nil, + value: Swift.Double = 0.0 + ) + { + self.name = name + self.value = value + } + } +} + extension ComputeOptimizerClientTypes { /// The estimated monthly savings after you adjust the configurations of your instances running on the inferred workload types to the recommended configurations. If the inferredWorkloadTypes list contains multiple entries, then the savings are the sum of the monthly savings from instances that run the exact combination of the inferred workload types. @@ -7698,8 +8450,14 @@ extension ComputeOptimizerClientTypes { public struct RecommendationSummary: Swift.Sendable { /// The Amazon Web Services account ID of the recommendation summary. public var accountId: Swift.String? + /// Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource. Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation. Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see [Enabling Cost Explorer](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html) and [Optimizing your cost with Rightsizing Recommendations](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html) in the Cost Management User Guide. + public var aggregatedSavingsOpportunity: ComputeOptimizerClientTypes.SavingsOpportunity? /// An object that describes the performance risk ratings for a given resource type. public var currentPerformanceRiskRatings: ComputeOptimizerClientTypes.CurrentPerformanceRiskRatings? + /// Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource. Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation. Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see [Enabling Cost Explorer](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-enable.html) and [Optimizing your cost with Rightsizing Recommendations](https://docs.aws.amazon.com/cost-management/latest/userguide/ce-rightsizing.html) in the Cost Management User Guide. + public var idleSavingsOpportunity: ComputeOptimizerClientTypes.SavingsOpportunity? + /// Describes the findings summary of the idle resources. + public var idleSummaries: [ComputeOptimizerClientTypes.IdleSummary]? /// An array of objects that describes the estimated monthly saving amounts for the instances running on the specified inferredWorkloadTypes. The array contains the top five savings opportunites for the instances that run inferred workload types. public var inferredWorkloadSavings: [ComputeOptimizerClientTypes.InferredWorkloadSaving]? /// The resource type that the recommendation summary applies to. @@ -7711,7 +8469,10 @@ extension ComputeOptimizerClientTypes { public init( accountId: Swift.String? = nil, + aggregatedSavingsOpportunity: ComputeOptimizerClientTypes.SavingsOpportunity? = nil, currentPerformanceRiskRatings: ComputeOptimizerClientTypes.CurrentPerformanceRiskRatings? = nil, + idleSavingsOpportunity: ComputeOptimizerClientTypes.SavingsOpportunity? = nil, + idleSummaries: [ComputeOptimizerClientTypes.IdleSummary]? = nil, inferredWorkloadSavings: [ComputeOptimizerClientTypes.InferredWorkloadSaving]? = nil, recommendationResourceType: ComputeOptimizerClientTypes.RecommendationSourceType? = nil, savingsOpportunity: ComputeOptimizerClientTypes.SavingsOpportunity? = nil, @@ -7719,7 +8480,10 @@ extension ComputeOptimizerClientTypes { ) { self.accountId = accountId + self.aggregatedSavingsOpportunity = aggregatedSavingsOpportunity self.currentPerformanceRiskRatings = currentPerformanceRiskRatings + self.idleSavingsOpportunity = idleSavingsOpportunity + self.idleSummaries = idleSummaries self.inferredWorkloadSavings = inferredWorkloadSavings self.recommendationResourceType = recommendationResourceType self.savingsOpportunity = savingsOpportunity @@ -7924,6 +8688,13 @@ extension ExportECSServiceRecommendationsInput { } } +extension ExportIdleRecommendationsInput { + + static func urlPathProvider(_ value: ExportIdleRecommendationsInput) -> Swift.String? { + return "/" + } +} + extension ExportLambdaFunctionRecommendationsInput { static func urlPathProvider(_ value: ExportLambdaFunctionRecommendationsInput) -> Swift.String? { @@ -8008,6 +8779,13 @@ extension GetEnrollmentStatusesForOrganizationInput { } } +extension GetIdleRecommendationsInput { + + static func urlPathProvider(_ value: GetIdleRecommendationsInput) -> Swift.String? { + return "/" + } +} + extension GetLambdaFunctionRecommendationsInput { static func urlPathProvider(_ value: GetLambdaFunctionRecommendationsInput) -> Swift.String? { @@ -8139,6 +8917,19 @@ extension ExportECSServiceRecommendationsInput { } } +extension ExportIdleRecommendationsInput { + + static func write(value: ExportIdleRecommendationsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["accountIds"].writeList(value.accountIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["fieldsToExport"].writeList(value.fieldsToExport, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["fileFormat"].write(value.fileFormat) + try writer["filters"].writeList(value.filters, memberWritingClosure: ComputeOptimizerClientTypes.IdleRecommendationFilter.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["includeMemberAccounts"].write(value.includeMemberAccounts) + try writer["s3DestinationConfig"].write(value.s3DestinationConfig, with: ComputeOptimizerClientTypes.S3DestinationConfig.write(value:to:)) + } +} + extension ExportLambdaFunctionRecommendationsInput { static func write(value: ExportLambdaFunctionRecommendationsInput?, to writer: SmithyJSON.Writer) throws { @@ -8280,6 +9071,19 @@ extension GetEnrollmentStatusesForOrganizationInput { } } +extension GetIdleRecommendationsInput { + + static func write(value: GetIdleRecommendationsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["accountIds"].writeList(value.accountIds, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["filters"].writeList(value.filters, memberWritingClosure: ComputeOptimizerClientTypes.IdleRecommendationFilter.write(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["maxResults"].write(value.maxResults) + try writer["nextToken"].write(value.nextToken) + try writer["orderBy"].write(value.orderBy, with: ComputeOptimizerClientTypes.OrderBy.write(value:to:)) + try writer["resourceArns"].writeList(value.resourceArns, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension GetLambdaFunctionRecommendationsInput { static func write(value: GetLambdaFunctionRecommendationsInput?, to writer: SmithyJSON.Writer) throws { @@ -8448,6 +9252,19 @@ extension ExportECSServiceRecommendationsOutput { } } +extension ExportIdleRecommendationsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportIdleRecommendationsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ExportIdleRecommendationsOutput() + value.jobId = try reader["jobId"].readIfPresent() + value.s3Destination = try reader["s3Destination"].readIfPresent(with: ComputeOptimizerClientTypes.S3Destination.read(from:)) + return value + } +} + extension ExportLambdaFunctionRecommendationsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ExportLambdaFunctionRecommendationsOutput { @@ -8612,6 +9429,20 @@ extension GetEnrollmentStatusesForOrganizationOutput { } } +extension GetIdleRecommendationsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdleRecommendationsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetIdleRecommendationsOutput() + value.errors = try reader["errors"].readListIfPresent(memberReadingClosure: ComputeOptimizerClientTypes.IdleRecommendationError.read(from:), memberNodeInfo: "member", isFlattened: false) + value.idleRecommendations = try reader["idleRecommendations"].readListIfPresent(memberReadingClosure: ComputeOptimizerClientTypes.IdleRecommendation.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + extension GetLambdaFunctionRecommendationsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetLambdaFunctionRecommendationsOutput { @@ -8837,6 +9668,27 @@ enum ExportECSServiceRecommendationsOutputError { } } +enum ExportIdleRecommendationsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidParameterValueException": return try InvalidParameterValueException.makeError(baseError: baseError) + case "LimitExceededException": return try LimitExceededException.makeError(baseError: baseError) + case "MissingAuthenticationToken": return try MissingAuthenticationToken.makeError(baseError: baseError) + case "OptInRequiredException": return try OptInRequiredException.makeError(baseError: baseError) + case "ServiceUnavailableException": return try ServiceUnavailableException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ExportLambdaFunctionRecommendationsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -9085,6 +9937,27 @@ enum GetEnrollmentStatusesForOrganizationOutputError { } } +enum GetIdleRecommendationsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "InvalidParameterValueException": return try InvalidParameterValueException.makeError(baseError: baseError) + case "MissingAuthenticationToken": return try MissingAuthenticationToken.makeError(baseError: baseError) + case "OptInRequiredException": return try OptInRequiredException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceUnavailableException": return try ServiceUnavailableException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum GetLambdaFunctionRecommendationsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -10055,6 +10928,85 @@ extension ComputeOptimizerClientTypes.AccountEnrollmentStatus { } } +extension ComputeOptimizerClientTypes.IdleRecommendation { + + static func read(from reader: SmithyJSON.Reader) throws -> ComputeOptimizerClientTypes.IdleRecommendation { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ComputeOptimizerClientTypes.IdleRecommendation() + value.resourceArn = try reader["resourceArn"].readIfPresent() + value.resourceId = try reader["resourceId"].readIfPresent() + value.resourceType = try reader["resourceType"].readIfPresent() + value.accountId = try reader["accountId"].readIfPresent() + value.finding = try reader["finding"].readIfPresent() + value.findingDescription = try reader["findingDescription"].readIfPresent() + value.savingsOpportunity = try reader["savingsOpportunity"].readIfPresent(with: ComputeOptimizerClientTypes.IdleSavingsOpportunity.read(from:)) + value.savingsOpportunityAfterDiscounts = try reader["savingsOpportunityAfterDiscounts"].readIfPresent(with: ComputeOptimizerClientTypes.IdleSavingsOpportunityAfterDiscounts.read(from:)) + value.utilizationMetrics = try reader["utilizationMetrics"].readListIfPresent(memberReadingClosure: ComputeOptimizerClientTypes.IdleUtilizationMetric.read(from:), memberNodeInfo: "member", isFlattened: false) + value.lookBackPeriodInDays = try reader["lookBackPeriodInDays"].readIfPresent() ?? 0 + value.lastRefreshTimestamp = try reader["lastRefreshTimestamp"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.tags = try reader["tags"].readListIfPresent(memberReadingClosure: ComputeOptimizerClientTypes.Tag.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension ComputeOptimizerClientTypes.IdleUtilizationMetric { + + static func read(from reader: SmithyJSON.Reader) throws -> ComputeOptimizerClientTypes.IdleUtilizationMetric { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ComputeOptimizerClientTypes.IdleUtilizationMetric() + value.name = try reader["name"].readIfPresent() + value.statistic = try reader["statistic"].readIfPresent() + value.value = try reader["value"].readIfPresent() ?? 0 + return value + } +} + +extension ComputeOptimizerClientTypes.IdleSavingsOpportunityAfterDiscounts { + + static func read(from reader: SmithyJSON.Reader) throws -> ComputeOptimizerClientTypes.IdleSavingsOpportunityAfterDiscounts { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ComputeOptimizerClientTypes.IdleSavingsOpportunityAfterDiscounts() + value.savingsOpportunityPercentage = try reader["savingsOpportunityPercentage"].readIfPresent() ?? 0 + value.estimatedMonthlySavings = try reader["estimatedMonthlySavings"].readIfPresent(with: ComputeOptimizerClientTypes.IdleEstimatedMonthlySavings.read(from:)) + return value + } +} + +extension ComputeOptimizerClientTypes.IdleEstimatedMonthlySavings { + + static func read(from reader: SmithyJSON.Reader) throws -> ComputeOptimizerClientTypes.IdleEstimatedMonthlySavings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ComputeOptimizerClientTypes.IdleEstimatedMonthlySavings() + value.currency = try reader["currency"].readIfPresent() + value.value = try reader["value"].readIfPresent() ?? 0 + return value + } +} + +extension ComputeOptimizerClientTypes.IdleSavingsOpportunity { + + static func read(from reader: SmithyJSON.Reader) throws -> ComputeOptimizerClientTypes.IdleSavingsOpportunity { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ComputeOptimizerClientTypes.IdleSavingsOpportunity() + value.savingsOpportunityPercentage = try reader["savingsOpportunityPercentage"].readIfPresent() ?? 0 + value.estimatedMonthlySavings = try reader["estimatedMonthlySavings"].readIfPresent(with: ComputeOptimizerClientTypes.IdleEstimatedMonthlySavings.read(from:)) + return value + } +} + +extension ComputeOptimizerClientTypes.IdleRecommendationError { + + static func read(from reader: SmithyJSON.Reader) throws -> ComputeOptimizerClientTypes.IdleRecommendationError { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ComputeOptimizerClientTypes.IdleRecommendationError() + value.identifier = try reader["identifier"].readIfPresent() + value.code = try reader["code"].readIfPresent() + value.message = try reader["message"].readIfPresent() + value.resourceType = try reader["resourceType"].readIfPresent() + return value + } +} + extension ComputeOptimizerClientTypes.LambdaFunctionRecommendation { static func read(from reader: SmithyJSON.Reader) throws -> ComputeOptimizerClientTypes.LambdaFunctionRecommendation { @@ -10251,12 +11203,15 @@ extension ComputeOptimizerClientTypes.RDSDBRecommendation { value.accountId = try reader["accountId"].readIfPresent() value.engine = try reader["engine"].readIfPresent() value.engineVersion = try reader["engineVersion"].readIfPresent() + value.promotionTier = try reader["promotionTier"].readIfPresent() value.currentDBInstanceClass = try reader["currentDBInstanceClass"].readIfPresent() value.currentStorageConfiguration = try reader["currentStorageConfiguration"].readIfPresent(with: ComputeOptimizerClientTypes.DBStorageConfiguration.read(from:)) + value.dbClusterIdentifier = try reader["dbClusterIdentifier"].readIfPresent() value.idle = try reader["idle"].readIfPresent() value.instanceFinding = try reader["instanceFinding"].readIfPresent() value.storageFinding = try reader["storageFinding"].readIfPresent() value.instanceFindingReasonCodes = try reader["instanceFindingReasonCodes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) + value.currentInstancePerformanceRisk = try reader["currentInstancePerformanceRisk"].readIfPresent() value.storageFindingReasonCodes = try reader["storageFindingReasonCodes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: false) value.instanceRecommendationOptions = try reader["instanceRecommendationOptions"].readListIfPresent(memberReadingClosure: ComputeOptimizerClientTypes.RDSDBInstanceRecommendationOption.read(from:), memberNodeInfo: "member", isFlattened: false) value.storageRecommendationOptions = try reader["storageRecommendationOptions"].readListIfPresent(memberReadingClosure: ComputeOptimizerClientTypes.RDSDBStorageRecommendationOption.read(from:), memberNodeInfo: "member", isFlattened: false) @@ -10431,9 +11386,12 @@ extension ComputeOptimizerClientTypes.RecommendationSummary { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = ComputeOptimizerClientTypes.RecommendationSummary() value.summaries = try reader["summaries"].readListIfPresent(memberReadingClosure: ComputeOptimizerClientTypes.Summary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.idleSummaries = try reader["idleSummaries"].readListIfPresent(memberReadingClosure: ComputeOptimizerClientTypes.IdleSummary.read(from:), memberNodeInfo: "member", isFlattened: false) value.recommendationResourceType = try reader["recommendationResourceType"].readIfPresent() value.accountId = try reader["accountId"].readIfPresent() value.savingsOpportunity = try reader["savingsOpportunity"].readIfPresent(with: ComputeOptimizerClientTypes.SavingsOpportunity.read(from:)) + value.idleSavingsOpportunity = try reader["idleSavingsOpportunity"].readIfPresent(with: ComputeOptimizerClientTypes.SavingsOpportunity.read(from:)) + value.aggregatedSavingsOpportunity = try reader["aggregatedSavingsOpportunity"].readIfPresent(with: ComputeOptimizerClientTypes.SavingsOpportunity.read(from:)) value.currentPerformanceRiskRatings = try reader["currentPerformanceRiskRatings"].readIfPresent(with: ComputeOptimizerClientTypes.CurrentPerformanceRiskRatings.read(from:)) value.inferredWorkloadSavings = try reader["inferredWorkloadSavings"].readListIfPresent(memberReadingClosure: ComputeOptimizerClientTypes.InferredWorkloadSaving.read(from:), memberNodeInfo: "member", isFlattened: false) return value @@ -10464,6 +11422,17 @@ extension ComputeOptimizerClientTypes.CurrentPerformanceRiskRatings { } } +extension ComputeOptimizerClientTypes.IdleSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> ComputeOptimizerClientTypes.IdleSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ComputeOptimizerClientTypes.IdleSummary() + value.name = try reader["name"].readIfPresent() + value.value = try reader["value"].readIfPresent() ?? 0 + return value + } +} + extension ComputeOptimizerClientTypes.Summary { static func read(from reader: SmithyJSON.Reader) throws -> ComputeOptimizerClientTypes.Summary { @@ -10540,6 +11509,15 @@ extension ComputeOptimizerClientTypes.ECSServiceRecommendationFilter { } } +extension ComputeOptimizerClientTypes.IdleRecommendationFilter { + + static func write(value: ComputeOptimizerClientTypes.IdleRecommendationFilter?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["name"].write(value.name) + try writer["values"].writeList(value.values, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension ComputeOptimizerClientTypes.LambdaFunctionRecommendationFilter { static func write(value: ComputeOptimizerClientTypes.LambdaFunctionRecommendationFilter?, to writer: SmithyJSON.Writer) throws { @@ -10576,6 +11554,15 @@ extension ComputeOptimizerClientTypes.EnrollmentFilter { } } +extension ComputeOptimizerClientTypes.OrderBy { + + static func write(value: ComputeOptimizerClientTypes.OrderBy?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["dimension"].write(value.dimension) + try writer["order"].write(value.order) + } +} + extension ComputeOptimizerClientTypes.PreferredResource { static func write(value: ComputeOptimizerClientTypes.PreferredResource?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift index 48dfb3358c5..6702ffee8eb 100644 --- a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift +++ b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConfigClient: ClientRuntime.Client { public static let clientName = "ConfigClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ConfigClient.ConfigClientConfiguration let serviceName = "Config" diff --git a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift index edd57efbafd..62020019ce9 100644 --- a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift +++ b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectClient: ClientRuntime.Client { public static let clientName = "ConnectClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ConnectClient.ConnectClientConfiguration let serviceName = "Connect" diff --git a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift index d3386e25fa0..e5b096a2814 100644 --- a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift +++ b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCampaignsClient: ClientRuntime.Client { public static let clientName = "ConnectCampaignsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ConnectCampaignsClient.ConnectCampaignsClientConfiguration let serviceName = "ConnectCampaigns" diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift index 4e1f1f1bb5e..20b850d7be1 100644 --- a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCampaignsV2Client: ClientRuntime.Client { public static let clientName = "ConnectCampaignsV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration let serviceName = "ConnectCampaignsV2" diff --git a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift index 7f76c26f3b4..56d3f62047d 100644 --- a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift +++ b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCasesClient: ClientRuntime.Client { public static let clientName = "ConnectCasesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ConnectCasesClient.ConnectCasesClientConfiguration let serviceName = "ConnectCases" diff --git a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift index 554d5eedfb0..5b3c65df8bc 100644 --- a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift +++ b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectContactLensClient: ClientRuntime.Client { public static let clientName = "ConnectContactLensClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ConnectContactLensClient.ConnectContactLensClientConfiguration let serviceName = "Connect Contact Lens" diff --git a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift index 36cf752e289..f0435580248 100644 --- a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift +++ b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectParticipantClient: ClientRuntime.Client { public static let clientName = "ConnectParticipantClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ConnectParticipantClient.ConnectParticipantClientConfiguration let serviceName = "ConnectParticipant" diff --git a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift index 11f4f496dc8..5ef79d8460d 100644 --- a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift +++ b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ControlCatalogClient: ClientRuntime.Client { public static let clientName = "ControlCatalogClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ControlCatalogClient.ControlCatalogClientConfiguration let serviceName = "ControlCatalog" diff --git a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift index 06c4e6e5513..72c8fc28970 100644 --- a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift +++ b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ControlTowerClient: ClientRuntime.Client { public static let clientName = "ControlTowerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ControlTowerClient.ControlTowerClientConfiguration let serviceName = "ControlTower" diff --git a/Sources/Services/AWSControlTower/Sources/AWSControlTower/Models.swift b/Sources/Services/AWSControlTower/Sources/AWSControlTower/Models.swift index 467d5caf240..05e4a0ede54 100644 --- a/Sources/Services/AWSControlTower/Sources/AWSControlTower/Models.swift +++ b/Sources/Services/AWSControlTower/Sources/AWSControlTower/Models.swift @@ -933,6 +933,8 @@ extension ControlTowerClientTypes { public var baselineVersion: Swift.String? /// Shows the parameters that are applied when enabling this Baseline. public var parameters: [ControlTowerClientTypes.EnabledBaselineParameterSummary]? + /// An ARN that represents the parent EnabledBaseline at the Organizational Unit (OU) level, from which the child EnabledBaseline inherits its configuration. The value is returned by GetEnabledBaseline. + public var parentIdentifier: Swift.String? /// The deployment summary of an EnabledControl or EnabledBaseline resource. /// This member is required. public var statusSummary: ControlTowerClientTypes.EnablementStatusSummary? @@ -945,6 +947,7 @@ extension ControlTowerClientTypes { baselineIdentifier: Swift.String? = nil, baselineVersion: Swift.String? = nil, parameters: [ControlTowerClientTypes.EnabledBaselineParameterSummary]? = nil, + parentIdentifier: Swift.String? = nil, statusSummary: ControlTowerClientTypes.EnablementStatusSummary? = nil, targetIdentifier: Swift.String? = nil ) @@ -953,6 +956,7 @@ extension ControlTowerClientTypes { self.baselineIdentifier = baselineIdentifier self.baselineVersion = baselineVersion self.parameters = parameters + self.parentIdentifier = parentIdentifier self.statusSummary = statusSummary self.targetIdentifier = targetIdentifier } @@ -977,15 +981,19 @@ extension ControlTowerClientTypes { public struct EnabledBaselineFilter: Swift.Sendable { /// Identifiers for the Baseline objects returned as part of the filter operation. public var baselineIdentifiers: [Swift.String]? + /// An optional filter that sets up a list of parentIdentifiers to filter the results of the ListEnabledBaseline output. + public var parentIdentifiers: [Swift.String]? /// Identifiers for the targets of the Baseline filter operation. public var targetIdentifiers: [Swift.String]? public init( baselineIdentifiers: [Swift.String]? = nil, + parentIdentifiers: [Swift.String]? = nil, targetIdentifiers: [Swift.String]? = nil ) { self.baselineIdentifiers = baselineIdentifiers + self.parentIdentifiers = parentIdentifiers self.targetIdentifiers = targetIdentifiers } } @@ -994,6 +1002,8 @@ extension ControlTowerClientTypes { public struct ListEnabledBaselinesInput: Swift.Sendable { /// A filter applied on the ListEnabledBaseline operation. Allowed filters are baselineIdentifiers and targetIdentifiers. The filter can be applied for either, or both. public var filter: ControlTowerClientTypes.EnabledBaselineFilter? + /// A value that can be set to include the child enabled baselines in responses. The default value is false. + public var includeChildren: Swift.Bool? /// The maximum number of results to be shown. public var maxResults: Swift.Int? /// A pagination token. @@ -1001,11 +1011,13 @@ public struct ListEnabledBaselinesInput: Swift.Sendable { public init( filter: ControlTowerClientTypes.EnabledBaselineFilter? = nil, + includeChildren: Swift.Bool? = nil, maxResults: Swift.Int? = nil, nextToken: Swift.String? = nil ) { self.filter = filter + self.includeChildren = includeChildren self.maxResults = maxResults self.nextToken = nextToken } @@ -1023,6 +1035,8 @@ extension ControlTowerClientTypes { public var baselineIdentifier: Swift.String? /// The enabled version of the baseline. public var baselineVersion: Swift.String? + /// An ARN that represents an object returned by ListEnabledBaseline, to describe an enabled baseline. + public var parentIdentifier: Swift.String? /// The deployment summary of an EnabledControl or EnabledBaseline resource. /// This member is required. public var statusSummary: ControlTowerClientTypes.EnablementStatusSummary? @@ -1034,6 +1048,7 @@ extension ControlTowerClientTypes { arn: Swift.String? = nil, baselineIdentifier: Swift.String? = nil, baselineVersion: Swift.String? = nil, + parentIdentifier: Swift.String? = nil, statusSummary: ControlTowerClientTypes.EnablementStatusSummary? = nil, targetIdentifier: Swift.String? = nil ) @@ -1041,6 +1056,7 @@ extension ControlTowerClientTypes { self.arn = arn self.baselineIdentifier = baselineIdentifier self.baselineVersion = baselineVersion + self.parentIdentifier = parentIdentifier self.statusSummary = statusSummary self.targetIdentifier = targetIdentifier } @@ -2484,6 +2500,7 @@ extension ListEnabledBaselinesInput { static func write(value: ListEnabledBaselinesInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["filter"].write(value.filter, with: ControlTowerClientTypes.EnabledBaselineFilter.write(value:to:)) + try writer["includeChildren"].write(value.includeChildren) try writer["maxResults"].write(value.maxResults) try writer["nextToken"].write(value.nextToken) } @@ -3568,6 +3585,7 @@ extension ControlTowerClientTypes.EnabledBaselineDetails { value.baselineIdentifier = try reader["baselineIdentifier"].readIfPresent() ?? "" value.baselineVersion = try reader["baselineVersion"].readIfPresent() value.targetIdentifier = try reader["targetIdentifier"].readIfPresent() ?? "" + value.parentIdentifier = try reader["parentIdentifier"].readIfPresent() value.statusSummary = try reader["statusSummary"].readIfPresent(with: ControlTowerClientTypes.EnablementStatusSummary.read(from:)) value.parameters = try reader["parameters"].readListIfPresent(memberReadingClosure: ControlTowerClientTypes.EnabledBaselineParameterSummary.read(from:), memberNodeInfo: "member", isFlattened: false) return value @@ -3722,6 +3740,7 @@ extension ControlTowerClientTypes.EnabledBaselineSummary { value.baselineIdentifier = try reader["baselineIdentifier"].readIfPresent() ?? "" value.baselineVersion = try reader["baselineVersion"].readIfPresent() value.targetIdentifier = try reader["targetIdentifier"].readIfPresent() ?? "" + value.parentIdentifier = try reader["parentIdentifier"].readIfPresent() value.statusSummary = try reader["statusSummary"].readIfPresent(with: ControlTowerClientTypes.EnablementStatusSummary.read(from:)) return value } @@ -3798,6 +3817,7 @@ extension ControlTowerClientTypes.EnabledBaselineFilter { static func write(value: ControlTowerClientTypes.EnabledBaselineFilter?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["baselineIdentifiers"].writeList(value.baselineIdentifiers, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["parentIdentifiers"].writeList(value.parentIdentifiers, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["targetIdentifiers"].writeList(value.targetIdentifiers, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) } } diff --git a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift index e275d7ecc8d..f90b696100e 100644 --- a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift +++ b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostExplorerClient: ClientRuntime.Client { public static let clientName = "CostExplorerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CostExplorerClient.CostExplorerClientConfiguration let serviceName = "Cost Explorer" diff --git a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift index 5586421b6b0..66d490e6e35 100644 --- a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift +++ b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostOptimizationHubClient: ClientRuntime.Client { public static let clientName = "CostOptimizationHubClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CostOptimizationHubClient.CostOptimizationHubClientConfiguration let serviceName = "Cost Optimization Hub" diff --git a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/Models.swift b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/Models.swift index 127124b1ea0..28096f4ae06 100644 --- a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/Models.swift +++ b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/Models.swift @@ -110,6 +110,7 @@ extension CostOptimizationHubClientTypes { extension CostOptimizationHubClientTypes { public enum ActionType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case delete case migrateToGraviton case purchaseReservedInstances case purchaseSavingsPlans @@ -120,6 +121,7 @@ extension CostOptimizationHubClientTypes { public static var allCases: [ActionType] { return [ + .delete, .migrateToGraviton, .purchaseReservedInstances, .purchaseSavingsPlans, @@ -136,6 +138,7 @@ extension CostOptimizationHubClientTypes { public var rawValue: Swift.String { switch self { + case .delete: return "Delete" case .migrateToGraviton: return "MigrateToGraviton" case .purchaseReservedInstances: return "PurchaseReservedInstances" case .purchaseSavingsPlans: return "PurchaseSavingsPlans" diff --git a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift index cf26d2d0fda..5369193ab32 100644 --- a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift +++ b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostandUsageReportClient: ClientRuntime.Client { public static let clientName = "CostandUsageReportClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CostandUsageReportClient.CostandUsageReportClientConfiguration let serviceName = "Cost and Usage Report" diff --git a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift index b5c05dda3dd..644aae7407e 100644 --- a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift +++ b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CustomerProfilesClient: ClientRuntime.Client { public static let clientName = "CustomerProfilesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: CustomerProfilesClient.CustomerProfilesClientConfiguration let serviceName = "Customer Profiles" diff --git a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift index 2ad1b90be92..73345d37f1c 100644 --- a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift +++ b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DAXClient: ClientRuntime.Client { public static let clientName = "DAXClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DAXClient.DAXClientConfiguration let serviceName = "DAX" diff --git a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift index 0cdfb4c03a7..0da88b7952b 100644 --- a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift +++ b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DLMClient: ClientRuntime.Client { public static let clientName = "DLMClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DLMClient.DLMClientConfiguration let serviceName = "DLM" diff --git a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift index d7c3db67dcd..42f5f667af2 100644 --- a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift +++ b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataBrewClient: ClientRuntime.Client { public static let clientName = "DataBrewClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DataBrewClient.DataBrewClientConfiguration let serviceName = "DataBrew" diff --git a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift index 86fc4a714a1..a7860dff371 100644 --- a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift +++ b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataExchangeClient: ClientRuntime.Client { public static let clientName = "DataExchangeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DataExchangeClient.DataExchangeClientConfiguration let serviceName = "DataExchange" diff --git a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift index ec47b4a649a..06da29df3dd 100644 --- a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift +++ b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataPipelineClient: ClientRuntime.Client { public static let clientName = "DataPipelineClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DataPipelineClient.DataPipelineClientConfiguration let serviceName = "Data Pipeline" diff --git a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift index 3a16a0cb864..76754517456 100644 --- a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift +++ b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataSyncClient: ClientRuntime.Client { public static let clientName = "DataSyncClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DataSyncClient.DataSyncClientConfiguration let serviceName = "DataSync" diff --git a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift index 6ed2afaee2b..90ccd6153ef 100644 --- a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift +++ b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataZoneClient: ClientRuntime.Client { public static let clientName = "DataZoneClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DataZoneClient.DataZoneClientConfiguration let serviceName = "DataZone" @@ -2163,6 +2163,83 @@ extension DataZoneClient { return try await op.execute(input: input) } + /// Performs the `CreateRule` operation on the `DataZone` service. + /// + /// Creates a rule in Amazon DataZone. A rule is a formal agreement that enforces specific requirements across user workflows (e.g., publishing assets to the catalog, requesting subscriptions, creating projects) within the Amazon DataZone data portal. These rules help maintain consistency, ensure compliance, and uphold governance standards in data management processes. For instance, a metadata enforcement rule can specify the required information for creating a subscription request or publishing a data asset to the catalog, ensuring alignment with organizational standards. + /// + /// - Parameter CreateRuleInput : [no documentation found] + /// + /// - Returns: `CreateRuleOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : There is a conflict while performing this action. + /// - `InternalServerException` : The request has failed because of an unknown error, exception or failure. + /// - `ResourceNotFoundException` : The specified resource cannot be found. + /// - `ServiceQuotaExceededException` : The request has exceeded the specified service quota. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `UnauthorizedException` : You do not have permission to perform this action. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the Amazon Web Services service. + public func createRule(input: CreateRuleInput) async throws -> CreateRuleOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createRule") + .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: "datazone") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + 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(keyPath: \.clientToken)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRuleInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateRuleInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateRuleOutput.httpOutput(from:), CreateRuleOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: DataZoneClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "DataZone") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateRule") + 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 `CreateSubscriptionGrant` operation on the `DataZone` service. /// /// Creates a subsscription grant in Amazon DataZone. @@ -3694,6 +3771,78 @@ extension DataZoneClient { return try await op.execute(input: input) } + /// Performs the `DeleteRule` operation on the `DataZone` service. + /// + /// Deletes a rule in Amazon DataZone. A rule is a formal agreement that enforces specific requirements across user workflows (e.g., publishing assets to the catalog, requesting subscriptions, creating projects) within the Amazon DataZone data portal. These rules help maintain consistency, ensure compliance, and uphold governance standards in data management processes. For instance, a metadata enforcement rule can specify the required information for creating a subscription request or publishing a data asset to the catalog, ensuring alignment with organizational standards. + /// + /// - Parameter DeleteRuleInput : [no documentation found] + /// + /// - Returns: `DeleteRuleOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : There is a conflict while performing this action. + /// - `InternalServerException` : The request has failed because of an unknown error, exception or failure. + /// - `ResourceNotFoundException` : The specified resource cannot be found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `UnauthorizedException` : You do not have permission to perform this action. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the Amazon Web Services service. + public func deleteRule(input: DeleteRuleInput) async throws -> DeleteRuleOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteRule") + .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: "datazone") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRuleInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteRuleOutput.httpOutput(from:), DeleteRuleOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: DataZoneClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "DataZone") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteRule") + 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 `DeleteSubscriptionGrant` operation on the `DataZone` service. /// /// Deletes and subscription grant in Amazon DataZone. @@ -5700,6 +5849,78 @@ extension DataZoneClient { return try await op.execute(input: input) } + /// Performs the `GetRule` operation on the `DataZone` service. + /// + /// Gets the details of a rule in Amazon DataZone. A rule is a formal agreement that enforces specific requirements across user workflows (e.g., publishing assets to the catalog, requesting subscriptions, creating projects) within the Amazon DataZone data portal. These rules help maintain consistency, ensure compliance, and uphold governance standards in data management processes. For instance, a metadata enforcement rule can specify the required information for creating a subscription request or publishing a data asset to the catalog, ensuring alignment with organizational standards. + /// + /// - Parameter GetRuleInput : [no documentation found] + /// + /// - Returns: `GetRuleOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : The request has failed because of an unknown error, exception or failure. + /// - `ResourceNotFoundException` : The specified resource cannot be found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `UnauthorizedException` : You do not have permission to perform this action. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the Amazon Web Services service. + public func getRule(input: GetRuleInput) async throws -> GetRuleOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getRule") + .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: "datazone") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRuleInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(GetRuleInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetRuleOutput.httpOutput(from:), GetRuleOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: DataZoneClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "DataZone") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetRule") + 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 `GetSubscription` operation on the `DataZone` service. /// /// Gets a subscription in Amazon DataZone. @@ -7569,6 +7790,78 @@ extension DataZoneClient { return try await op.execute(input: input) } + /// Performs the `ListRules` operation on the `DataZone` service. + /// + /// Lists existing rules. In Amazon DataZone, a rule is a formal agreement that enforces specific requirements across user workflows (e.g., publishing assets to the catalog, requesting subscriptions, creating projects) within the Amazon DataZone data portal. These rules help maintain consistency, ensure compliance, and uphold governance standards in data management processes. For instance, a metadata enforcement rule can specify the required information for creating a subscription request or publishing a data asset to the catalog, ensuring alignment with organizational standards. + /// + /// - Parameter ListRulesInput : [no documentation found] + /// + /// - Returns: `ListRulesOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `InternalServerException` : The request has failed because of an unknown error, exception or failure. + /// - `ResourceNotFoundException` : The specified resource cannot be found. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `UnauthorizedException` : You do not have permission to perform this action. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the Amazon Web Services service. + public func listRules(input: ListRulesInput) async throws -> ListRulesOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listRules") + .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: "datazone") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRulesInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListRulesInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListRulesOutput.httpOutput(from:), ListRulesOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: DataZoneClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "DataZone") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListRules") + 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 `ListSubscriptionGrants` operation on the `DataZone` service. /// /// Lists subscription grants. @@ -10103,6 +10396,82 @@ extension DataZoneClient { return try await op.execute(input: input) } + /// Performs the `UpdateRule` operation on the `DataZone` service. + /// + /// Updates a rule. In Amazon DataZone, a rule is a formal agreement that enforces specific requirements across user workflows (e.g., publishing assets to the catalog, requesting subscriptions, creating projects) within the Amazon DataZone data portal. These rules help maintain consistency, ensure compliance, and uphold governance standards in data management processes. For instance, a metadata enforcement rule can specify the required information for creating a subscription request or publishing a data asset to the catalog, ensuring alignment with organizational standards. + /// + /// - Parameter UpdateRuleInput : [no documentation found] + /// + /// - Returns: `UpdateRuleOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : There is a conflict while performing this action. + /// - `InternalServerException` : The request has failed because of an unknown error, exception or failure. + /// - `ResourceNotFoundException` : The specified resource cannot be found. + /// - `ServiceQuotaExceededException` : The request has exceeded the specified service quota. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `UnauthorizedException` : You do not have permission to perform this action. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the Amazon Web Services service. + public func updateRule(input: UpdateRuleInput) async throws -> UpdateRuleOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .patch) + .withServiceName(value: serviceName) + .withOperation(value: "updateRule") + .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: "datazone") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRuleInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateRuleInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateRuleOutput.httpOutput(from:), UpdateRuleOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: DataZoneClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "DataZone") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateRule") + 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 `UpdateSubscriptionGrantStatus` operation on the `DataZone` service. /// /// Updates the status of the specified subscription grant status in Amazon DataZone. diff --git a/Sources/Services/AWSDataZone/Sources/AWSDataZone/Models.swift b/Sources/Services/AWSDataZone/Sources/AWSDataZone/Models.swift index f95078495bd..3c1a6d750c5 100644 --- a/Sources/Services/AWSDataZone/Sources/AWSDataZone/Models.swift +++ b/Sources/Services/AWSDataZone/Sources/AWSDataZone/Models.swift @@ -401,6 +401,40 @@ extension AcceptSubscriptionRequestInput: Swift.CustomDebugStringConvertible { "AcceptSubscriptionRequestInput(assetScopes: \(Swift.String(describing: assetScopes)), domainIdentifier: \(Swift.String(describing: domainIdentifier)), identifier: \(Swift.String(describing: identifier)), decisionComment: \"CONTENT_REDACTED\")"} } +extension DataZoneClientTypes { + + /// The details of a metadata form. + public struct FormOutput: Swift.Sendable { + /// The content of the metadata form. + public var content: Swift.String? + /// The name of the metadata form. + /// This member is required. + public var formName: Swift.String? + /// The name of the metadata form type. + public var typeName: Swift.String? + /// The revision of the metadata form type. + public var typeRevision: Swift.String? + + public init( + content: Swift.String? = nil, + formName: Swift.String? = nil, + typeName: Swift.String? = nil, + typeRevision: Swift.String? = nil + ) + { + self.content = content + self.formName = formName + self.typeName = typeName + self.typeRevision = typeRevision + } + } +} + +extension DataZoneClientTypes.FormOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "FormOutput(content: \(Swift.String(describing: content)), formName: \(Swift.String(describing: formName)), typeRevision: \(Swift.String(describing: typeRevision)), typeName: \"CONTENT_REDACTED\")"} +} + extension DataZoneClientTypes { public enum SubscriptionRequestStatus: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -694,9 +728,13 @@ public struct AcceptSubscriptionRequestOutput: Swift.Sendable { /// The unique identifier of the Amazon DataZone domain where the specified subscription request was accepted. /// This member is required. public var domainId: Swift.String? + /// The ID of the existing subscription. + public var existingSubscriptionId: Swift.String? /// The identifier of the subscription request. /// This member is required. public var id: Swift.String? + /// The metadata form in the subscription request. + public var metadataForms: [DataZoneClientTypes.FormOutput]? /// Specifies the reason for requesting a subscription to the asset. /// This member is required. public var requestReason: Swift.String? @@ -722,7 +760,9 @@ public struct AcceptSubscriptionRequestOutput: Swift.Sendable { createdBy: Swift.String? = nil, decisionComment: Swift.String? = nil, domainId: Swift.String? = nil, + existingSubscriptionId: Swift.String? = nil, id: Swift.String? = nil, + metadataForms: [DataZoneClientTypes.FormOutput]? = nil, requestReason: Swift.String? = nil, reviewerId: Swift.String? = nil, status: DataZoneClientTypes.SubscriptionRequestStatus? = nil, @@ -736,7 +776,9 @@ public struct AcceptSubscriptionRequestOutput: Swift.Sendable { self.createdBy = createdBy self.decisionComment = decisionComment self.domainId = domainId + self.existingSubscriptionId = existingSubscriptionId self.id = id + self.metadataForms = metadataForms self.requestReason = requestReason self.reviewerId = reviewerId self.status = status @@ -749,7 +791,7 @@ public struct AcceptSubscriptionRequestOutput: Swift.Sendable { extension AcceptSubscriptionRequestOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "AcceptSubscriptionRequestOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), id: \(Swift.String(describing: id)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} + "AcceptSubscriptionRequestOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), existingSubscriptionId: \(Swift.String(describing: existingSubscriptionId)), id: \(Swift.String(describing: id)), metadataForms: \(Swift.String(describing: metadataForms)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} } extension DataZoneClientTypes { @@ -1617,40 +1659,6 @@ extension CreateAssetInput: Swift.CustomDebugStringConvertible { "CreateAssetInput(clientToken: \(Swift.String(describing: clientToken)), domainIdentifier: \(Swift.String(describing: domainIdentifier)), glossaryTerms: \(Swift.String(describing: glossaryTerms)), owningProjectIdentifier: \(Swift.String(describing: owningProjectIdentifier)), predictionConfiguration: \(Swift.String(describing: predictionConfiguration)), typeIdentifier: \(Swift.String(describing: typeIdentifier)), typeRevision: \(Swift.String(describing: typeRevision)), description: \"CONTENT_REDACTED\", externalIdentifier: \"CONTENT_REDACTED\", formsInput: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} } -extension DataZoneClientTypes { - - /// The details of a metadata form. - public struct FormOutput: Swift.Sendable { - /// The content of the metadata form. - public var content: Swift.String? - /// The name of the metadata form. - /// This member is required. - public var formName: Swift.String? - /// The name of the metadata form type. - public var typeName: Swift.String? - /// The revision of the metadata form type. - public var typeRevision: Swift.String? - - public init( - content: Swift.String? = nil, - formName: Swift.String? = nil, - typeName: Swift.String? = nil, - typeRevision: Swift.String? = nil - ) - { - self.content = content - self.formName = formName - self.typeName = typeName - self.typeRevision = typeRevision - } - } -} - -extension DataZoneClientTypes.FormOutput: Swift.CustomDebugStringConvertible { - public var debugDescription: Swift.String { - "FormOutput(content: \(Swift.String(describing: content)), formName: \(Swift.String(describing: formName)), typeRevision: \(Swift.String(describing: typeRevision)), typeName: \"CONTENT_REDACTED\")"} -} - extension DataZoneClientTypes { /// The summary of the time series data points form. @@ -3096,6 +3104,56 @@ extension DataZoneClientTypes.AssetTypeItem: Swift.CustomDebugStringConvertible "AssetTypeItem(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), formsOutput: \(Swift.String(describing: formsOutput)), name: \(Swift.String(describing: name)), originDomainId: \(Swift.String(describing: originDomainId)), originProjectId: \(Swift.String(describing: originProjectId)), owningProjectId: \(Swift.String(describing: owningProjectId)), revision: \(Swift.String(describing: revision)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), description: \"CONTENT_REDACTED\")"} } +extension DataZoneClientTypes { + + public enum RuleScopeSelectionMode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case all + case specific + case sdkUnknown(Swift.String) + + public static var allCases: [RuleScopeSelectionMode] { + return [ + .all, + .specific + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .all: return "ALL" + case .specific: return "SPECIFIC" + case let .sdkUnknown(s): return s + } + } + } +} + +extension DataZoneClientTypes { + + /// The asset type for the rule details. + public struct AssetTypesForRule: Swift.Sendable { + /// The selection mode for the rule. + /// This member is required. + public var selectionMode: DataZoneClientTypes.RuleScopeSelectionMode? + /// The specific asset types that are included in the rule. + public var specificAssetTypes: [Swift.String]? + + public init( + selectionMode: DataZoneClientTypes.RuleScopeSelectionMode? = nil, + specificAssetTypes: [Swift.String]? = nil + ) + { + self.selectionMode = selectionMode + self.specificAssetTypes = specificAssetTypes + } + } +} + public struct AssociateEnvironmentRoleInput: Swift.Sendable { /// The ID of the Amazon DataZone domain in which the environment role is associated. /// This member is required. @@ -6380,84 +6438,403 @@ public struct CreateProjectMembershipOutput: Swift.Sendable { extension DataZoneClientTypes { - /// A revision to be made to an asset published in a Amazon DataZone catalog. - public struct ListingRevisionInput: Swift.Sendable { - /// An identifier of revision to be made to an asset published in a Amazon DataZone catalog. + public enum RuleAction: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case createSubscriptionRequest + case sdkUnknown(Swift.String) + + public static var allCases: [RuleAction] { + return [ + .createSubscriptionRequest + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .createSubscriptionRequest: return "CREATE_SUBSCRIPTION_REQUEST" + case let .sdkUnknown(s): return s + } + } + } +} + +extension DataZoneClientTypes { + + /// The reference of a metadata form. + public struct MetadataFormReference: Swift.Sendable { + /// The type ID of the metadata form reference. /// This member is required. - public var identifier: Swift.String? - /// The details of a revision to be made to an asset published in a Amazon DataZone catalog. + public var typeIdentifier: Swift.String? + /// The type revision of the metadata form reference. /// This member is required. - public var revision: Swift.String? + public var typeRevision: Swift.String? public init( - identifier: Swift.String? = nil, - revision: Swift.String? = nil + typeIdentifier: Swift.String? = nil, + typeRevision: Swift.String? = nil ) { - self.identifier = identifier - self.revision = revision + self.typeIdentifier = typeIdentifier + self.typeRevision = typeRevision } } } extension DataZoneClientTypes { - /// The details of a listing for which a subscription is to be granted. - public enum GrantedEntityInput: Swift.Sendable { - /// The listing for which a subscription is to be granted. - case listing(DataZoneClientTypes.ListingRevisionInput) + /// The enforcement details of a metadata form. + public struct MetadataFormEnforcementDetail: Swift.Sendable { + /// The required metadata forms. + public var requiredMetadataForms: [DataZoneClientTypes.MetadataFormReference]? + + public init( + requiredMetadataForms: [DataZoneClientTypes.MetadataFormReference]? = nil + ) + { + self.requiredMetadataForms = requiredMetadataForms + } + } +} + +extension DataZoneClientTypes { + + /// The details of a rule. + public enum RuleDetail: Swift.Sendable { + /// The enforcement detail of the metadata form. + case metadataformenforcementdetail(DataZoneClientTypes.MetadataFormEnforcementDetail) case sdkUnknown(Swift.String) } } -public struct CreateSubscriptionGrantInput: Swift.Sendable { - /// The names of the assets for which the subscription grant is created. - public var assetTargetNames: [DataZoneClientTypes.AssetTargetNameMap]? +extension DataZoneClientTypes { + + /// Specifies projects in which the rule is created. + public struct ProjectsForRule: Swift.Sendable { + /// The selection mode of the rule. + /// This member is required. + public var selectionMode: DataZoneClientTypes.RuleScopeSelectionMode? + /// The specific projects in which the rule is created. + public var specificProjects: [Swift.String]? + + public init( + selectionMode: DataZoneClientTypes.RuleScopeSelectionMode? = nil, + specificProjects: [Swift.String]? = nil + ) + { + self.selectionMode = selectionMode + self.specificProjects = specificProjects + } + } +} + +extension DataZoneClientTypes { + + /// The scope of a rule. + public struct RuleScope: Swift.Sendable { + /// The asset type included in the rule scope. + public var assetType: DataZoneClientTypes.AssetTypesForRule? + /// The data product included in the rule scope. + public var dataProduct: Swift.Bool? + /// The project included in the rule scope. + public var project: DataZoneClientTypes.ProjectsForRule? + + public init( + assetType: DataZoneClientTypes.AssetTypesForRule? = nil, + dataProduct: Swift.Bool? = nil, + project: DataZoneClientTypes.ProjectsForRule? = nil + ) + { + self.assetType = assetType + self.dataProduct = dataProduct + self.project = project + } + } +} + +extension DataZoneClientTypes { + + /// The target for the domain unit. + public struct DomainUnitTarget: Swift.Sendable { + /// The ID of the domain unit. + /// This member is required. + public var domainUnitId: Swift.String? + /// Specifies whether to apply a rule to the child domain units. + public var includeChildDomainUnits: Swift.Bool? + + public init( + domainUnitId: Swift.String? = nil, + includeChildDomainUnits: Swift.Bool? = nil + ) + { + self.domainUnitId = domainUnitId + self.includeChildDomainUnits = includeChildDomainUnits + } + } +} + +extension DataZoneClientTypes { + + /// The target of the rule. + public enum RuleTarget: Swift.Sendable { + /// The ID of the domain unit. + case domainunittarget(DataZoneClientTypes.DomainUnitTarget) + case sdkUnknown(Swift.String) + } +} + +public struct CreateRuleInput: Swift.Sendable { + /// The action of the rule. + /// This member is required. + public var action: DataZoneClientTypes.RuleAction? /// A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. public var clientToken: Swift.String? - /// The ID of the Amazon DataZone domain in which the subscription grant is created. + /// The description of the rule. + public var description: Swift.String? + /// The detail of the rule. + /// This member is required. + public var detail: DataZoneClientTypes.RuleDetail? + /// The ID of the domain where the rule is created. /// This member is required. public var domainIdentifier: Swift.String? - /// The ID of the environment in which the subscription grant is created. + /// The name of the rule. /// This member is required. - public var environmentIdentifier: Swift.String? - /// The entity to which the subscription is to be granted. + public var name: Swift.String? + /// The scope of the rule. /// This member is required. - public var grantedEntity: DataZoneClientTypes.GrantedEntityInput? - /// The ID of the subscription target for which the subscription grant is created. + public var scope: DataZoneClientTypes.RuleScope? + /// The target of the rule. /// This member is required. - public var subscriptionTargetIdentifier: Swift.String? + public var target: DataZoneClientTypes.RuleTarget? public init( - assetTargetNames: [DataZoneClientTypes.AssetTargetNameMap]? = nil, + action: DataZoneClientTypes.RuleAction? = nil, clientToken: Swift.String? = nil, + description: Swift.String? = nil, + detail: DataZoneClientTypes.RuleDetail? = nil, domainIdentifier: Swift.String? = nil, - environmentIdentifier: Swift.String? = nil, - grantedEntity: DataZoneClientTypes.GrantedEntityInput? = nil, - subscriptionTargetIdentifier: Swift.String? = nil + name: Swift.String? = nil, + scope: DataZoneClientTypes.RuleScope? = nil, + target: DataZoneClientTypes.RuleTarget? = nil ) { - self.assetTargetNames = assetTargetNames + self.action = action self.clientToken = clientToken + self.description = description + self.detail = detail self.domainIdentifier = domainIdentifier - self.environmentIdentifier = environmentIdentifier - self.grantedEntity = grantedEntity - self.subscriptionTargetIdentifier = subscriptionTargetIdentifier + self.name = name + self.scope = scope + self.target = target } } +extension CreateRuleInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateRuleInput(action: \(Swift.String(describing: action)), clientToken: \(Swift.String(describing: clientToken)), detail: \(Swift.String(describing: detail)), domainIdentifier: \(Swift.String(describing: domainIdentifier)), scope: \(Swift.String(describing: scope)), target: \(Swift.String(describing: target)), description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} +} + extension DataZoneClientTypes { - /// Specifies the error message that is returned if the operation cannot be successfully completed. - public struct FailureCause: Swift.Sendable { - /// The description of the error message. - public var message: Swift.String? + public enum RuleType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case metadataFormEnforcement + case sdkUnknown(Swift.String) - public init( - message: Swift.String? = nil - ) - { - self.message = message + public static var allCases: [RuleType] { + return [ + .metadataFormEnforcement + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .metadataFormEnforcement: return "METADATA_FORM_ENFORCEMENT" + case let .sdkUnknown(s): return s + } + } + } +} + +extension DataZoneClientTypes { + + public enum RuleTargetType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case domainUnit + case sdkUnknown(Swift.String) + + public static var allCases: [RuleTargetType] { + return [ + .domainUnit + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .domainUnit: return "DOMAIN_UNIT" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct CreateRuleOutput: Swift.Sendable { + /// The action of the rule. + /// This member is required. + public var action: DataZoneClientTypes.RuleAction? + /// The timestamp at which the rule is created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The user who creates the rule. + /// This member is required. + public var createdBy: Swift.String? + /// The description of the rule. + public var description: Swift.String? + /// The detail of the rule. + /// This member is required. + public var detail: DataZoneClientTypes.RuleDetail? + /// The ID of the rule. + /// This member is required. + public var identifier: Swift.String? + /// The name of the rule. + /// This member is required. + public var name: Swift.String? + /// The type of the rule. + /// This member is required. + public var ruleType: DataZoneClientTypes.RuleType? + /// The scope of the rule. + /// This member is required. + public var scope: DataZoneClientTypes.RuleScope? + /// The target of the rule. + /// This member is required. + public var target: DataZoneClientTypes.RuleTarget? + /// The target type of the rule. + public var targetType: DataZoneClientTypes.RuleTargetType? + + public init( + action: DataZoneClientTypes.RuleAction? = nil, + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + description: Swift.String? = nil, + detail: DataZoneClientTypes.RuleDetail? = nil, + identifier: Swift.String? = nil, + name: Swift.String? = nil, + ruleType: DataZoneClientTypes.RuleType? = nil, + scope: DataZoneClientTypes.RuleScope? = nil, + target: DataZoneClientTypes.RuleTarget? = nil, + targetType: DataZoneClientTypes.RuleTargetType? = nil + ) + { + self.action = action + self.createdAt = createdAt + self.createdBy = createdBy + self.description = description + self.detail = detail + self.identifier = identifier + self.name = name + self.ruleType = ruleType + self.scope = scope + self.target = target + self.targetType = targetType + } +} + +extension CreateRuleOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateRuleOutput(action: \(Swift.String(describing: action)), createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), detail: \(Swift.String(describing: detail)), identifier: \(Swift.String(describing: identifier)), ruleType: \(Swift.String(describing: ruleType)), scope: \(Swift.String(describing: scope)), target: \(Swift.String(describing: target)), targetType: \(Swift.String(describing: targetType)), description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} +} + +extension DataZoneClientTypes { + + /// A revision to be made to an asset published in a Amazon DataZone catalog. + public struct ListingRevisionInput: Swift.Sendable { + /// An identifier of revision to be made to an asset published in a Amazon DataZone catalog. + /// This member is required. + public var identifier: Swift.String? + /// The details of a revision to be made to an asset published in a Amazon DataZone catalog. + /// This member is required. + public var revision: Swift.String? + + public init( + identifier: Swift.String? = nil, + revision: Swift.String? = nil + ) + { + self.identifier = identifier + self.revision = revision + } + } +} + +extension DataZoneClientTypes { + + /// The details of a listing for which a subscription is to be granted. + public enum GrantedEntityInput: Swift.Sendable { + /// The listing for which a subscription is to be granted. + case listing(DataZoneClientTypes.ListingRevisionInput) + case sdkUnknown(Swift.String) + } +} + +public struct CreateSubscriptionGrantInput: Swift.Sendable { + /// The names of the assets for which the subscription grant is created. + public var assetTargetNames: [DataZoneClientTypes.AssetTargetNameMap]? + /// A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. + public var clientToken: Swift.String? + /// The ID of the Amazon DataZone domain in which the subscription grant is created. + /// This member is required. + public var domainIdentifier: Swift.String? + /// The ID of the environment in which the subscription grant is created. + /// This member is required. + public var environmentIdentifier: Swift.String? + /// The entity to which the subscription is to be granted. + /// This member is required. + public var grantedEntity: DataZoneClientTypes.GrantedEntityInput? + /// The ID of the subscription target for which the subscription grant is created. + /// This member is required. + public var subscriptionTargetIdentifier: Swift.String? + + public init( + assetTargetNames: [DataZoneClientTypes.AssetTargetNameMap]? = nil, + clientToken: Swift.String? = nil, + domainIdentifier: Swift.String? = nil, + environmentIdentifier: Swift.String? = nil, + grantedEntity: DataZoneClientTypes.GrantedEntityInput? = nil, + subscriptionTargetIdentifier: Swift.String? = nil + ) + { + self.assetTargetNames = assetTargetNames + self.clientToken = clientToken + self.domainIdentifier = domainIdentifier + self.environmentIdentifier = environmentIdentifier + self.grantedEntity = grantedEntity + self.subscriptionTargetIdentifier = subscriptionTargetIdentifier + } +} + +extension DataZoneClientTypes { + + /// Specifies the error message that is returned if the operation cannot be successfully completed. + public struct FailureCause: Swift.Sendable { + /// The description of the error message. + public var message: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.message = message } } } @@ -6742,6 +7119,8 @@ public struct CreateSubscriptionRequestInput: Swift.Sendable { /// The ID of the Amazon DataZone domain in which the subscription request is created. /// This member is required. public var domainIdentifier: Swift.String? + /// The metadata form included in the subscription request. + public var metadataForms: [DataZoneClientTypes.FormInput]? /// The reason for the subscription request. /// This member is required. public var requestReason: Swift.String? @@ -6755,6 +7134,7 @@ public struct CreateSubscriptionRequestInput: Swift.Sendable { public init( clientToken: Swift.String? = nil, domainIdentifier: Swift.String? = nil, + metadataForms: [DataZoneClientTypes.FormInput]? = nil, requestReason: Swift.String? = nil, subscribedListings: [DataZoneClientTypes.SubscribedListingInput]? = nil, subscribedPrincipals: [DataZoneClientTypes.SubscribedPrincipalInput]? = nil @@ -6762,6 +7142,7 @@ public struct CreateSubscriptionRequestInput: Swift.Sendable { { self.clientToken = clientToken self.domainIdentifier = domainIdentifier + self.metadataForms = metadataForms self.requestReason = requestReason self.subscribedListings = subscribedListings self.subscribedPrincipals = subscribedPrincipals @@ -6770,7 +7151,7 @@ public struct CreateSubscriptionRequestInput: Swift.Sendable { extension CreateSubscriptionRequestInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateSubscriptionRequestInput(clientToken: \(Swift.String(describing: clientToken)), domainIdentifier: \(Swift.String(describing: domainIdentifier)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), requestReason: \"CONTENT_REDACTED\")"} + "CreateSubscriptionRequestInput(clientToken: \(Swift.String(describing: clientToken)), domainIdentifier: \(Swift.String(describing: domainIdentifier)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), metadataForms: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} } public struct CreateSubscriptionRequestOutput: Swift.Sendable { @@ -6785,9 +7166,13 @@ public struct CreateSubscriptionRequestOutput: Swift.Sendable { /// The ID of the Amazon DataZone domain in whcih the subscription request is created. /// This member is required. public var domainId: Swift.String? + /// The ID of the existing subscription. + public var existingSubscriptionId: Swift.String? /// The ID of the subscription request. /// This member is required. public var id: Swift.String? + /// The metadata form included in the subscription request. + public var metadataForms: [DataZoneClientTypes.FormOutput]? /// The reason for the subscription request. /// This member is required. public var requestReason: Swift.String? @@ -6813,7 +7198,9 @@ public struct CreateSubscriptionRequestOutput: Swift.Sendable { createdBy: Swift.String? = nil, decisionComment: Swift.String? = nil, domainId: Swift.String? = nil, + existingSubscriptionId: Swift.String? = nil, id: Swift.String? = nil, + metadataForms: [DataZoneClientTypes.FormOutput]? = nil, requestReason: Swift.String? = nil, reviewerId: Swift.String? = nil, status: DataZoneClientTypes.SubscriptionRequestStatus? = nil, @@ -6827,7 +7214,9 @@ public struct CreateSubscriptionRequestOutput: Swift.Sendable { self.createdBy = createdBy self.decisionComment = decisionComment self.domainId = domainId + self.existingSubscriptionId = existingSubscriptionId self.id = id + self.metadataForms = metadataForms self.requestReason = requestReason self.reviewerId = reviewerId self.status = status @@ -6840,7 +7229,7 @@ public struct CreateSubscriptionRequestOutput: Swift.Sendable { extension CreateSubscriptionRequestOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CreateSubscriptionRequestOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), id: \(Swift.String(describing: id)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} + "CreateSubscriptionRequestOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), existingSubscriptionId: \(Swift.String(describing: existingSubscriptionId)), id: \(Swift.String(describing: id)), metadataForms: \(Swift.String(describing: metadataForms)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} } extension DataZoneClientTypes { @@ -10913,9 +11302,13 @@ public struct GetSubscriptionRequestDetailsOutput: Swift.Sendable { /// The Amazon DataZone domain of the subscription request. /// This member is required. public var domainId: Swift.String? + /// The ID of the existing subscription. + public var existingSubscriptionId: Swift.String? /// The identifier of the subscription request. /// This member is required. public var id: Swift.String? + /// The metadata forms included in the subscription request. + public var metadataForms: [DataZoneClientTypes.FormOutput]? /// The reason for the subscription request. /// This member is required. public var requestReason: Swift.String? @@ -10941,7 +11334,9 @@ public struct GetSubscriptionRequestDetailsOutput: Swift.Sendable { createdBy: Swift.String? = nil, decisionComment: Swift.String? = nil, domainId: Swift.String? = nil, + existingSubscriptionId: Swift.String? = nil, id: Swift.String? = nil, + metadataForms: [DataZoneClientTypes.FormOutput]? = nil, requestReason: Swift.String? = nil, reviewerId: Swift.String? = nil, status: DataZoneClientTypes.SubscriptionRequestStatus? = nil, @@ -10955,7 +11350,9 @@ public struct GetSubscriptionRequestDetailsOutput: Swift.Sendable { self.createdBy = createdBy self.decisionComment = decisionComment self.domainId = domainId + self.existingSubscriptionId = existingSubscriptionId self.id = id + self.metadataForms = metadataForms self.requestReason = requestReason self.reviewerId = reviewerId self.status = status @@ -10968,7 +11365,7 @@ public struct GetSubscriptionRequestDetailsOutput: Swift.Sendable { extension GetSubscriptionRequestDetailsOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "GetSubscriptionRequestDetailsOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), id: \(Swift.String(describing: id)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} + "GetSubscriptionRequestDetailsOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), existingSubscriptionId: \(Swift.String(describing: existingSubscriptionId)), id: \(Swift.String(describing: id)), metadataForms: \(Swift.String(describing: metadataForms)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} } public struct GetSubscriptionTargetInput: Swift.Sendable { @@ -13481,6 +13878,37 @@ public struct ListSubscriptionRequestsInput: Swift.Sendable { } } +extension DataZoneClientTypes { + + /// The summary of the metadata form. + public struct MetadataFormSummary: Swift.Sendable { + /// The form name of the metadata form. + public var formName: Swift.String? + /// The type name of the metadata form. + /// This member is required. + public var typeName: Swift.String? + /// The type revision of the metadata form. + /// This member is required. + public var typeRevision: Swift.String? + + public init( + formName: Swift.String? = nil, + typeName: Swift.String? = nil, + typeRevision: Swift.String? = nil + ) + { + self.formName = formName + self.typeName = typeName + self.typeRevision = typeRevision + } + } +} + +extension DataZoneClientTypes.MetadataFormSummary: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "MetadataFormSummary(formName: \(Swift.String(describing: formName)), typeRevision: \(Swift.String(describing: typeRevision)), typeName: \"CONTENT_REDACTED\")"} +} + extension DataZoneClientTypes { /// The details of the subscription request. @@ -13496,9 +13924,13 @@ extension DataZoneClientTypes { /// The identifier of the Amazon DataZone domain in which a subscription request exists. /// This member is required. public var domainId: Swift.String? + /// The ID of the existing subscription. + public var existingSubscriptionId: Swift.String? /// The identifier of the subscription request. /// This member is required. public var id: Swift.String? + /// The summary of the metadata forms. + public var metadataFormsSummary: [DataZoneClientTypes.MetadataFormSummary]? /// The reason for the subscription request. /// This member is required. public var requestReason: Swift.String? @@ -13524,7 +13956,9 @@ extension DataZoneClientTypes { createdBy: Swift.String? = nil, decisionComment: Swift.String? = nil, domainId: Swift.String? = nil, + existingSubscriptionId: Swift.String? = nil, id: Swift.String? = nil, + metadataFormsSummary: [DataZoneClientTypes.MetadataFormSummary]? = nil, requestReason: Swift.String? = nil, reviewerId: Swift.String? = nil, status: DataZoneClientTypes.SubscriptionRequestStatus? = nil, @@ -13538,7 +13972,9 @@ extension DataZoneClientTypes { self.createdBy = createdBy self.decisionComment = decisionComment self.domainId = domainId + self.existingSubscriptionId = existingSubscriptionId self.id = id + self.metadataFormsSummary = metadataFormsSummary self.requestReason = requestReason self.reviewerId = reviewerId self.status = status @@ -13552,7 +13988,7 @@ extension DataZoneClientTypes { extension DataZoneClientTypes.SubscriptionRequestSummary: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "SubscriptionRequestSummary(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), id: \(Swift.String(describing: id)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} + "SubscriptionRequestSummary(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), existingSubscriptionId: \(Swift.String(describing: existingSubscriptionId)), id: \(Swift.String(describing: id)), metadataFormsSummary: \(Swift.String(describing: metadataFormsSummary)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} } public struct ListSubscriptionRequestsOutput: Swift.Sendable { @@ -14556,9 +14992,13 @@ public struct RejectSubscriptionRequestOutput: Swift.Sendable { /// The identifier of the Amazon DataZone domain in which the subscription request was rejected. /// This member is required. public var domainId: Swift.String? + /// The ID of the existing subscription. + public var existingSubscriptionId: Swift.String? /// The identifier of the subscription request that was rejected. /// This member is required. public var id: Swift.String? + /// Metadata forms included in the subscription request. + public var metadataForms: [DataZoneClientTypes.FormOutput]? /// The reason for the subscription request. /// This member is required. public var requestReason: Swift.String? @@ -14584,7 +15024,9 @@ public struct RejectSubscriptionRequestOutput: Swift.Sendable { createdBy: Swift.String? = nil, decisionComment: Swift.String? = nil, domainId: Swift.String? = nil, + existingSubscriptionId: Swift.String? = nil, id: Swift.String? = nil, + metadataForms: [DataZoneClientTypes.FormOutput]? = nil, requestReason: Swift.String? = nil, reviewerId: Swift.String? = nil, status: DataZoneClientTypes.SubscriptionRequestStatus? = nil, @@ -14598,7 +15040,9 @@ public struct RejectSubscriptionRequestOutput: Swift.Sendable { self.createdBy = createdBy self.decisionComment = decisionComment self.domainId = domainId + self.existingSubscriptionId = existingSubscriptionId self.id = id + self.metadataForms = metadataForms self.requestReason = requestReason self.reviewerId = reviewerId self.status = status @@ -14611,7 +15055,7 @@ public struct RejectSubscriptionRequestOutput: Swift.Sendable { extension RejectSubscriptionRequestOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "RejectSubscriptionRequestOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), id: \(Swift.String(describing: id)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} + "RejectSubscriptionRequestOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), existingSubscriptionId: \(Swift.String(describing: existingSubscriptionId)), id: \(Swift.String(describing: id)), metadataForms: \(Swift.String(describing: metadataForms)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} } public struct RemoveEntityOwnerInput: Swift.Sendable { @@ -14646,135 +15090,510 @@ public struct RemoveEntityOwnerInput: Swift.Sendable { } } -public struct RemoveEntityOwnerOutput: Swift.Sendable { - - public init() { } +public struct RemoveEntityOwnerOutput: Swift.Sendable { + + public init() { } +} + +public struct RemovePolicyGrantInput: Swift.Sendable { + /// A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. + public var clientToken: Swift.String? + /// The ID of the domain where you want to remove a policy grant. + /// This member is required. + public var domainIdentifier: Swift.String? + /// The ID of the entity from which you want to remove a policy grant. + /// This member is required. + public var entityIdentifier: Swift.String? + /// The type of the entity from which you want to remove a policy grant. + /// This member is required. + public var entityType: DataZoneClientTypes.TargetEntityType? + /// The type of the policy that you want to remove. + /// This member is required. + public var policyType: DataZoneClientTypes.ManagedPolicyType? + /// The principal from which you want to remove a policy grant. + /// This member is required. + public var principal: DataZoneClientTypes.PolicyGrantPrincipal? + + public init( + clientToken: Swift.String? = nil, + domainIdentifier: Swift.String? = nil, + entityIdentifier: Swift.String? = nil, + entityType: DataZoneClientTypes.TargetEntityType? = nil, + policyType: DataZoneClientTypes.ManagedPolicyType? = nil, + principal: DataZoneClientTypes.PolicyGrantPrincipal? = nil + ) + { + self.clientToken = clientToken + self.domainIdentifier = domainIdentifier + self.entityIdentifier = entityIdentifier + self.entityType = entityType + self.policyType = policyType + self.principal = principal + } +} + +public struct RemovePolicyGrantOutput: Swift.Sendable { + + public init() { } +} + +public struct RevokeSubscriptionInput: Swift.Sendable { + /// The identifier of the Amazon DataZone domain where you want to revoke a subscription. + /// This member is required. + public var domainIdentifier: Swift.String? + /// The identifier of the revoked subscription. + /// This member is required. + public var identifier: Swift.String? + /// Specifies whether permissions are retained when the subscription is revoked. + public var retainPermissions: Swift.Bool? + + public init( + domainIdentifier: Swift.String? = nil, + identifier: Swift.String? = nil, + retainPermissions: Swift.Bool? = nil + ) + { + self.domainIdentifier = domainIdentifier + self.identifier = identifier + self.retainPermissions = retainPermissions + } +} + +public struct RevokeSubscriptionOutput: Swift.Sendable { + /// The timestamp of when the subscription was revoked. + /// This member is required. + public var createdAt: Foundation.Date? + /// The identifier of the user who revoked the subscription. + /// This member is required. + public var createdBy: Swift.String? + /// The identifier of the Amazon DataZone domain where you want to revoke a subscription. + /// This member is required. + public var domainId: Swift.String? + /// The identifier of the revoked subscription. + /// This member is required. + public var id: Swift.String? + /// Specifies whether permissions are retained when the subscription is revoked. + public var retainPermissions: Swift.Bool? + /// The status of the revoked subscription. + /// This member is required. + public var status: DataZoneClientTypes.SubscriptionStatus? + /// The subscribed listing of the revoked subscription. + /// This member is required. + public var subscribedListing: DataZoneClientTypes.SubscribedListing? + /// The subscribed principal of the revoked subscription. + /// This member is required. + public var subscribedPrincipal: DataZoneClientTypes.SubscribedPrincipal? + /// The identifier of the subscription request for the revoked subscription. + public var subscriptionRequestId: Swift.String? + /// The timestamp of when the subscription was revoked. + /// This member is required. + public var updatedAt: Foundation.Date? + /// The Amazon DataZone user who revoked the subscription. + public var updatedBy: Swift.String? + + public init( + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + domainId: Swift.String? = nil, + id: Swift.String? = nil, + retainPermissions: Swift.Bool? = nil, + status: DataZoneClientTypes.SubscriptionStatus? = nil, + subscribedListing: DataZoneClientTypes.SubscribedListing? = nil, + subscribedPrincipal: DataZoneClientTypes.SubscribedPrincipal? = nil, + subscriptionRequestId: Swift.String? = nil, + updatedAt: Foundation.Date? = nil, + updatedBy: Swift.String? = nil + ) + { + self.createdAt = createdAt + self.createdBy = createdBy + self.domainId = domainId + self.id = id + self.retainPermissions = retainPermissions + self.status = status + self.subscribedListing = subscribedListing + self.subscribedPrincipal = subscribedPrincipal + self.subscriptionRequestId = subscriptionRequestId + self.updatedAt = updatedAt + self.updatedBy = updatedBy + } +} + +public struct DeleteRuleInput: Swift.Sendable { + /// The ID of the domain that where the rule is to be deleted. + /// This member is required. + public var domainIdentifier: Swift.String? + /// The ID of the rule that is to be deleted. + /// This member is required. + public var identifier: Swift.String? + + public init( + domainIdentifier: Swift.String? = nil, + identifier: Swift.String? = nil + ) + { + self.domainIdentifier = domainIdentifier + self.identifier = identifier + } +} + +public struct DeleteRuleOutput: Swift.Sendable { + + public init() { } +} + +public struct GetRuleInput: Swift.Sendable { + /// The ID of the domain where the GetRule action is to be invoked. + /// This member is required. + public var domainIdentifier: Swift.String? + /// The ID of the rule. + /// This member is required. + public var identifier: Swift.String? + /// The revision of the rule. + public var revision: Swift.String? + + public init( + domainIdentifier: Swift.String? = nil, + identifier: Swift.String? = nil, + revision: Swift.String? = nil + ) + { + self.domainIdentifier = domainIdentifier + self.identifier = identifier + self.revision = revision + } +} + +public struct GetRuleOutput: Swift.Sendable { + /// The action of the rule. + /// This member is required. + public var action: DataZoneClientTypes.RuleAction? + /// The timestamp at which the rule was created. + /// This member is required. + public var createdAt: Foundation.Date? + /// The user who created the rule. + /// This member is required. + public var createdBy: Swift.String? + /// The description of the rule. + public var description: Swift.String? + /// The detail of the rule. + /// This member is required. + public var detail: DataZoneClientTypes.RuleDetail? + /// The ID of the rule. + /// This member is required. + public var identifier: Swift.String? + /// The timestamp at which the rule was last updated. + /// This member is required. + public var lastUpdatedBy: Swift.String? + /// The name of the rule. + /// This member is required. + public var name: Swift.String? + /// The revision of the rule. + /// This member is required. + public var revision: Swift.String? + /// The type of the rule. + /// This member is required. + public var ruleType: DataZoneClientTypes.RuleType? + /// The scope of the rule. + /// This member is required. + public var scope: DataZoneClientTypes.RuleScope? + /// The target of the rule. + /// This member is required. + public var target: DataZoneClientTypes.RuleTarget? + /// The target type of the rule. + public var targetType: DataZoneClientTypes.RuleTargetType? + /// The timestamp at which the rule was last updated. + /// This member is required. + public var updatedAt: Foundation.Date? + + public init( + action: DataZoneClientTypes.RuleAction? = nil, + createdAt: Foundation.Date? = nil, + createdBy: Swift.String? = nil, + description: Swift.String? = nil, + detail: DataZoneClientTypes.RuleDetail? = nil, + identifier: Swift.String? = nil, + lastUpdatedBy: Swift.String? = nil, + name: Swift.String? = nil, + revision: Swift.String? = nil, + ruleType: DataZoneClientTypes.RuleType? = nil, + scope: DataZoneClientTypes.RuleScope? = nil, + target: DataZoneClientTypes.RuleTarget? = nil, + targetType: DataZoneClientTypes.RuleTargetType? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.action = action + self.createdAt = createdAt + self.createdBy = createdBy + self.description = description + self.detail = detail + self.identifier = identifier + self.lastUpdatedBy = lastUpdatedBy + self.name = name + self.revision = revision + self.ruleType = ruleType + self.scope = scope + self.target = target + self.targetType = targetType + self.updatedAt = updatedAt + } +} + +extension GetRuleOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "GetRuleOutput(action: \(Swift.String(describing: action)), createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), detail: \(Swift.String(describing: detail)), identifier: \(Swift.String(describing: identifier)), lastUpdatedBy: \(Swift.String(describing: lastUpdatedBy)), revision: \(Swift.String(describing: revision)), ruleType: \(Swift.String(describing: ruleType)), scope: \(Swift.String(describing: scope)), target: \(Swift.String(describing: target)), targetType: \(Swift.String(describing: targetType)), updatedAt: \(Swift.String(describing: updatedAt)), description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} +} + +public struct ListRulesInput: Swift.Sendable { + /// The action of the rule. + public var action: DataZoneClientTypes.RuleAction? + /// The asset types of the rule. + public var assetTypes: [Swift.String]? + /// The data product of the rule. + public var dataProduct: Swift.Bool? + /// The ID of the domain in which the rules are to be listed. + /// This member is required. + public var domainIdentifier: Swift.String? + /// Specifies whether to include cascading rules in the results. + public var includeCascaded: Swift.Bool? + /// The maximum number of rules to return in a single call to ListRules. When the number of rules to be listed is greater than the value of MaxResults, the response contains a NextToken value that you can use in a subsequent call to ListRules to list the next set of rules. + public var maxResults: Swift.Int? + /// When the number of rules is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of rules, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListRules to list the next set of rules. + public var nextToken: Swift.String? + /// The IDs of projects in which rules are to be listed. + public var projectIds: [Swift.String]? + /// The type of the rule. + public var ruleType: DataZoneClientTypes.RuleType? + /// The target ID of the rule. + /// This member is required. + public var targetIdentifier: Swift.String? + /// The target type of the rule. + /// This member is required. + public var targetType: DataZoneClientTypes.RuleTargetType? + + public init( + action: DataZoneClientTypes.RuleAction? = nil, + assetTypes: [Swift.String]? = nil, + dataProduct: Swift.Bool? = nil, + domainIdentifier: Swift.String? = nil, + includeCascaded: Swift.Bool? = nil, + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil, + projectIds: [Swift.String]? = nil, + ruleType: DataZoneClientTypes.RuleType? = nil, + targetIdentifier: Swift.String? = nil, + targetType: DataZoneClientTypes.RuleTargetType? = nil + ) + { + self.action = action + self.assetTypes = assetTypes + self.dataProduct = dataProduct + self.domainIdentifier = domainIdentifier + self.includeCascaded = includeCascaded + self.maxResults = maxResults + self.nextToken = nextToken + self.projectIds = projectIds + self.ruleType = ruleType + self.targetIdentifier = targetIdentifier + self.targetType = targetType + } +} + +extension DataZoneClientTypes { + + /// The summary of the rule. + public struct RuleSummary: Swift.Sendable { + /// The action of the rule. + public var action: DataZoneClientTypes.RuleAction? + /// The ID of the rule. + public var identifier: Swift.String? + /// The timestamp at which the rule was last updated. + public var lastUpdatedBy: Swift.String? + /// The name of the rule. + public var name: Swift.String? + /// The revision of the rule. + public var revision: Swift.String? + /// The type of the rule. + public var ruleType: DataZoneClientTypes.RuleType? + /// The scope of the rule. + public var scope: DataZoneClientTypes.RuleScope? + /// The target of the rule. + public var target: DataZoneClientTypes.RuleTarget? + /// The target type of the rule. + public var targetType: DataZoneClientTypes.RuleTargetType? + /// The timestamp at which the rule was last updated. + public var updatedAt: Foundation.Date? + + public init( + action: DataZoneClientTypes.RuleAction? = nil, + identifier: Swift.String? = nil, + lastUpdatedBy: Swift.String? = nil, + name: Swift.String? = nil, + revision: Swift.String? = nil, + ruleType: DataZoneClientTypes.RuleType? = nil, + scope: DataZoneClientTypes.RuleScope? = nil, + target: DataZoneClientTypes.RuleTarget? = nil, + targetType: DataZoneClientTypes.RuleTargetType? = nil, + updatedAt: Foundation.Date? = nil + ) + { + self.action = action + self.identifier = identifier + self.lastUpdatedBy = lastUpdatedBy + self.name = name + self.revision = revision + self.ruleType = ruleType + self.scope = scope + self.target = target + self.targetType = targetType + self.updatedAt = updatedAt + } + } +} + +extension DataZoneClientTypes.RuleSummary: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "RuleSummary(action: \(Swift.String(describing: action)), identifier: \(Swift.String(describing: identifier)), lastUpdatedBy: \(Swift.String(describing: lastUpdatedBy)), revision: \(Swift.String(describing: revision)), ruleType: \(Swift.String(describing: ruleType)), scope: \(Swift.String(describing: scope)), target: \(Swift.String(describing: target)), targetType: \(Swift.String(describing: targetType)), updatedAt: \(Swift.String(describing: updatedAt)), name: \"CONTENT_REDACTED\")"} } -public struct RemovePolicyGrantInput: Swift.Sendable { - /// A unique, case-sensitive identifier that is provided to ensure the idempotency of the request. - public var clientToken: Swift.String? - /// The ID of the domain where you want to remove a policy grant. - /// This member is required. - public var domainIdentifier: Swift.String? - /// The ID of the entity from which you want to remove a policy grant. - /// This member is required. - public var entityIdentifier: Swift.String? - /// The type of the entity from which you want to remove a policy grant. - /// This member is required. - public var entityType: DataZoneClientTypes.TargetEntityType? - /// The type of the policy that you want to remove. - /// This member is required. - public var policyType: DataZoneClientTypes.ManagedPolicyType? - /// The principal from which you want to remove a policy grant. +public struct ListRulesOutput: Swift.Sendable { + /// The results of the ListRules action. /// This member is required. - public var principal: DataZoneClientTypes.PolicyGrantPrincipal? + public var items: [DataZoneClientTypes.RuleSummary]? + /// When the number of rules is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of rules, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListRules to list the next set of rules. + public var nextToken: Swift.String? public init( - clientToken: Swift.String? = nil, - domainIdentifier: Swift.String? = nil, - entityIdentifier: Swift.String? = nil, - entityType: DataZoneClientTypes.TargetEntityType? = nil, - policyType: DataZoneClientTypes.ManagedPolicyType? = nil, - principal: DataZoneClientTypes.PolicyGrantPrincipal? = nil + items: [DataZoneClientTypes.RuleSummary]? = nil, + nextToken: Swift.String? = nil ) { - self.clientToken = clientToken - self.domainIdentifier = domainIdentifier - self.entityIdentifier = entityIdentifier - self.entityType = entityType - self.policyType = policyType - self.principal = principal + self.items = items + self.nextToken = nextToken } } -public struct RemovePolicyGrantOutput: Swift.Sendable { - - public init() { } -} - -public struct RevokeSubscriptionInput: Swift.Sendable { - /// The identifier of the Amazon DataZone domain where you want to revoke a subscription. +public struct UpdateRuleInput: Swift.Sendable { + /// The description of the rule. + public var description: Swift.String? + /// The detail of the rule. + public var detail: DataZoneClientTypes.RuleDetail? + /// The ID of the domain in which a rule is to be updated. /// This member is required. public var domainIdentifier: Swift.String? - /// The identifier of the revoked subscription. + /// The ID of the rule that is to be updated /// This member is required. public var identifier: Swift.String? - /// Specifies whether permissions are retained when the subscription is revoked. - public var retainPermissions: Swift.Bool? + /// Specifies whether to update this rule in the child domain units. + public var includeChildDomainUnits: Swift.Bool? + /// The name of the rule. + public var name: Swift.String? + /// The scrope of the rule. + public var scope: DataZoneClientTypes.RuleScope? public init( + description: Swift.String? = nil, + detail: DataZoneClientTypes.RuleDetail? = nil, domainIdentifier: Swift.String? = nil, identifier: Swift.String? = nil, - retainPermissions: Swift.Bool? = nil + includeChildDomainUnits: Swift.Bool? = nil, + name: Swift.String? = nil, + scope: DataZoneClientTypes.RuleScope? = nil ) { + self.description = description + self.detail = detail self.domainIdentifier = domainIdentifier self.identifier = identifier - self.retainPermissions = retainPermissions + self.includeChildDomainUnits = includeChildDomainUnits + self.name = name + self.scope = scope } } -public struct RevokeSubscriptionOutput: Swift.Sendable { - /// The timestamp of when the subscription was revoked. +extension UpdateRuleInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateRuleInput(detail: \(Swift.String(describing: detail)), domainIdentifier: \(Swift.String(describing: domainIdentifier)), identifier: \(Swift.String(describing: identifier)), includeChildDomainUnits: \(Swift.String(describing: includeChildDomainUnits)), scope: \(Swift.String(describing: scope)), description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} +} + +public struct UpdateRuleOutput: Swift.Sendable { + /// The action of the rule. + /// This member is required. + public var action: DataZoneClientTypes.RuleAction? + /// The timestamp at which the rule was created. /// This member is required. public var createdAt: Foundation.Date? - /// The identifier of the user who revoked the subscription. + /// The user who created the rule. /// This member is required. public var createdBy: Swift.String? - /// The identifier of the Amazon DataZone domain where you want to revoke a subscription. + /// The description of the rule. + public var description: Swift.String? + /// The detail of the rule. /// This member is required. - public var domainId: Swift.String? - /// The identifier of the revoked subscription. + public var detail: DataZoneClientTypes.RuleDetail? + /// The ID of the rule. /// This member is required. - public var id: Swift.String? - /// Specifies whether permissions are retained when the subscription is revoked. - public var retainPermissions: Swift.Bool? - /// The status of the revoked subscription. + public var identifier: Swift.String? + /// The timestamp at which the rule was last updated. /// This member is required. - public var status: DataZoneClientTypes.SubscriptionStatus? - /// The subscribed listing of the revoked subscription. + public var lastUpdatedBy: Swift.String? + /// The name of the rule. /// This member is required. - public var subscribedListing: DataZoneClientTypes.SubscribedListing? - /// The subscribed principal of the revoked subscription. + public var name: Swift.String? + /// The revision of the rule. /// This member is required. - public var subscribedPrincipal: DataZoneClientTypes.SubscribedPrincipal? - /// The identifier of the subscription request for the revoked subscription. - public var subscriptionRequestId: Swift.String? - /// The timestamp of when the subscription was revoked. + public var revision: Swift.String? + /// The type of the rule. + /// This member is required. + public var ruleType: DataZoneClientTypes.RuleType? + /// The scope of the rule. + /// This member is required. + public var scope: DataZoneClientTypes.RuleScope? + /// The target of the rule. + /// This member is required. + public var target: DataZoneClientTypes.RuleTarget? + /// The timestamp at which the rule was last updated. /// This member is required. public var updatedAt: Foundation.Date? - /// The Amazon DataZone user who revoked the subscription. - public var updatedBy: Swift.String? public init( + action: DataZoneClientTypes.RuleAction? = nil, createdAt: Foundation.Date? = nil, createdBy: Swift.String? = nil, - domainId: Swift.String? = nil, - id: Swift.String? = nil, - retainPermissions: Swift.Bool? = nil, - status: DataZoneClientTypes.SubscriptionStatus? = nil, - subscribedListing: DataZoneClientTypes.SubscribedListing? = nil, - subscribedPrincipal: DataZoneClientTypes.SubscribedPrincipal? = nil, - subscriptionRequestId: Swift.String? = nil, - updatedAt: Foundation.Date? = nil, - updatedBy: Swift.String? = nil + description: Swift.String? = nil, + detail: DataZoneClientTypes.RuleDetail? = nil, + identifier: Swift.String? = nil, + lastUpdatedBy: Swift.String? = nil, + name: Swift.String? = nil, + revision: Swift.String? = nil, + ruleType: DataZoneClientTypes.RuleType? = nil, + scope: DataZoneClientTypes.RuleScope? = nil, + target: DataZoneClientTypes.RuleTarget? = nil, + updatedAt: Foundation.Date? = nil ) { + self.action = action self.createdAt = createdAt self.createdBy = createdBy - self.domainId = domainId - self.id = id - self.retainPermissions = retainPermissions - self.status = status - self.subscribedListing = subscribedListing - self.subscribedPrincipal = subscribedPrincipal - self.subscriptionRequestId = subscriptionRequestId + self.description = description + self.detail = detail + self.identifier = identifier + self.lastUpdatedBy = lastUpdatedBy + self.name = name + self.revision = revision + self.ruleType = ruleType + self.scope = scope + self.target = target self.updatedAt = updatedAt - self.updatedBy = updatedBy } } +extension UpdateRuleOutput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateRuleOutput(action: \(Swift.String(describing: action)), createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), detail: \(Swift.String(describing: detail)), identifier: \(Swift.String(describing: identifier)), lastUpdatedBy: \(Swift.String(describing: lastUpdatedBy)), revision: \(Swift.String(describing: revision)), ruleType: \(Swift.String(describing: ruleType)), scope: \(Swift.String(describing: scope)), target: \(Swift.String(describing: target)), updatedAt: \(Swift.String(describing: updatedAt)), description: \"CONTENT_REDACTED\", name: \"CONTENT_REDACTED\")"} +} + extension DataZoneClientTypes { public enum SearchOutputAdditionalAttribute: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -16184,9 +17003,13 @@ public struct UpdateSubscriptionRequestOutput: Swift.Sendable { /// The identifier of the Amazon DataZone domain in which a subscription request is to be updated. /// This member is required. public var domainId: Swift.String? + /// The ID of the existing subscription. + public var existingSubscriptionId: Swift.String? /// The identifier of the subscription request that is to be updated. /// This member is required. public var id: Swift.String? + /// Metadata forms included in the subscription request. + public var metadataForms: [DataZoneClientTypes.FormOutput]? /// The reason for the UpdateSubscriptionRequest action. /// This member is required. public var requestReason: Swift.String? @@ -16212,7 +17035,9 @@ public struct UpdateSubscriptionRequestOutput: Swift.Sendable { createdBy: Swift.String? = nil, decisionComment: Swift.String? = nil, domainId: Swift.String? = nil, + existingSubscriptionId: Swift.String? = nil, id: Swift.String? = nil, + metadataForms: [DataZoneClientTypes.FormOutput]? = nil, requestReason: Swift.String? = nil, reviewerId: Swift.String? = nil, status: DataZoneClientTypes.SubscriptionRequestStatus? = nil, @@ -16226,7 +17051,9 @@ public struct UpdateSubscriptionRequestOutput: Swift.Sendable { self.createdBy = createdBy self.decisionComment = decisionComment self.domainId = domainId + self.existingSubscriptionId = existingSubscriptionId self.id = id + self.metadataForms = metadataForms self.requestReason = requestReason self.reviewerId = reviewerId self.status = status @@ -16239,7 +17066,7 @@ public struct UpdateSubscriptionRequestOutput: Swift.Sendable { extension UpdateSubscriptionRequestOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UpdateSubscriptionRequestOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), id: \(Swift.String(describing: id)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} + "UpdateSubscriptionRequestOutput(createdAt: \(Swift.String(describing: createdAt)), createdBy: \(Swift.String(describing: createdBy)), domainId: \(Swift.String(describing: domainId)), existingSubscriptionId: \(Swift.String(describing: existingSubscriptionId)), id: \(Swift.String(describing: id)), metadataForms: \(Swift.String(describing: metadataForms)), reviewerId: \(Swift.String(describing: reviewerId)), status: \(Swift.String(describing: status)), subscribedListings: \(Swift.String(describing: subscribedListings)), subscribedPrincipals: \(Swift.String(describing: subscribedPrincipals)), updatedAt: \(Swift.String(describing: updatedAt)), updatedBy: \(Swift.String(describing: updatedBy)), decisionComment: \"CONTENT_REDACTED\", requestReason: \"CONTENT_REDACTED\")"} } public struct UpdateSubscriptionTargetInput: Swift.Sendable { @@ -17215,6 +18042,16 @@ extension CreateProjectMembershipInput { } } +extension CreateRuleInput { + + static func urlPathProvider(_ value: CreateRuleInput) -> Swift.String? { + guard let domainIdentifier = value.domainIdentifier else { + return nil + } + return "/v2/domains/\(domainIdentifier.urlPercentEncoding())/rules" + } +} + extension CreateSubscriptionGrantInput { static func urlPathProvider(_ value: CreateSubscriptionGrantInput) -> Swift.String? { @@ -17526,6 +18363,19 @@ extension DeleteProjectMembershipInput { } } +extension DeleteRuleInput { + + static func urlPathProvider(_ value: DeleteRuleInput) -> Swift.String? { + guard let domainIdentifier = value.domainIdentifier else { + return nil + } + guard let identifier = value.identifier else { + return nil + } + return "/v2/domains/\(domainIdentifier.urlPercentEncoding())/rules/\(identifier.urlPercentEncoding())" + } +} + extension DeleteSubscriptionGrantInput { static func urlPathProvider(_ value: DeleteSubscriptionGrantInput) -> Swift.String? { @@ -17989,6 +18839,31 @@ extension GetProjectInput { } } +extension GetRuleInput { + + static func urlPathProvider(_ value: GetRuleInput) -> Swift.String? { + guard let domainIdentifier = value.domainIdentifier else { + return nil + } + guard let identifier = value.identifier else { + return nil + } + return "/v2/domains/\(domainIdentifier.urlPercentEncoding())/rules/\(identifier.urlPercentEncoding())" + } +} + +extension GetRuleInput { + + static func queryItemProvider(_ value: GetRuleInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let revision = value.revision { + let revisionQueryItem = Smithy.URIQueryItem(name: "revision".urlPercentEncoding(), value: Swift.String(revision).urlPercentEncoding()) + items.append(revisionQueryItem) + } + return items + } +} + extension GetSubscriptionInput { static func urlPathProvider(_ value: GetSubscriptionInput) -> Swift.String? { @@ -18835,6 +19710,66 @@ extension ListProjectsInput { } } +extension ListRulesInput { + + static func urlPathProvider(_ value: ListRulesInput) -> Swift.String? { + guard let domainIdentifier = value.domainIdentifier else { + return nil + } + guard let targetType = value.targetType else { + return nil + } + guard let targetIdentifier = value.targetIdentifier else { + return nil + } + return "/v2/domains/\(domainIdentifier.urlPercentEncoding())/list-rules/\(targetType.rawValue.urlPercentEncoding())/\(targetIdentifier.urlPercentEncoding())" + } +} + +extension ListRulesInput { + + static func queryItemProvider(_ value: ListRulesInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let assetTypes = value.assetTypes { + assetTypes.forEach { queryItemValue in + let queryItem = Smithy.URIQueryItem(name: "assetTypes".urlPercentEncoding(), value: Swift.String(queryItemValue).urlPercentEncoding()) + items.append(queryItem) + } + } + if let dataProduct = value.dataProduct { + let dataProductQueryItem = Smithy.URIQueryItem(name: "dataProduct".urlPercentEncoding(), value: Swift.String(dataProduct).urlPercentEncoding()) + items.append(dataProductQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let ruleType = value.ruleType { + let ruleTypeQueryItem = Smithy.URIQueryItem(name: "ruleType".urlPercentEncoding(), value: Swift.String(ruleType.rawValue).urlPercentEncoding()) + items.append(ruleTypeQueryItem) + } + if let action = value.action { + let actionQueryItem = Smithy.URIQueryItem(name: "ruleAction".urlPercentEncoding(), value: Swift.String(action.rawValue).urlPercentEncoding()) + items.append(actionQueryItem) + } + if let projectIds = value.projectIds { + projectIds.forEach { queryItemValue in + let queryItem = Smithy.URIQueryItem(name: "projectIds".urlPercentEncoding(), value: Swift.String(queryItemValue).urlPercentEncoding()) + items.append(queryItem) + } + } + if let includeCascaded = value.includeCascaded { + let includeCascadedQueryItem = Smithy.URIQueryItem(name: "includeCascaded".urlPercentEncoding(), value: Swift.String(includeCascaded).urlPercentEncoding()) + items.append(includeCascadedQueryItem) + } + return items + } +} + extension ListSubscriptionGrantsInput { static func urlPathProvider(_ value: ListSubscriptionGrantsInput) -> Swift.String? { @@ -19487,6 +20422,19 @@ extension UpdateProjectInput { } } +extension UpdateRuleInput { + + static func urlPathProvider(_ value: UpdateRuleInput) -> Swift.String? { + guard let domainIdentifier = value.domainIdentifier else { + return nil + } + guard let identifier = value.identifier else { + return nil + } + return "/v2/domains/\(domainIdentifier.urlPercentEncoding())/rules/\(identifier.urlPercentEncoding())" + } +} + extension UpdateSubscriptionGrantStatusInput { static func urlPathProvider(_ value: UpdateSubscriptionGrantStatusInput) -> Swift.String? { @@ -19827,6 +20775,20 @@ extension CreateProjectMembershipInput { } } +extension CreateRuleInput { + + static func write(value: CreateRuleInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["action"].write(value.action) + try writer["clientToken"].write(value.clientToken) + try writer["description"].write(value.description) + try writer["detail"].write(value.detail, with: DataZoneClientTypes.RuleDetail.write(value:to:)) + try writer["name"].write(value.name) + try writer["scope"].write(value.scope, with: DataZoneClientTypes.RuleScope.write(value:to:)) + try writer["target"].write(value.target, with: DataZoneClientTypes.RuleTarget.write(value:to:)) + } +} + extension CreateSubscriptionGrantInput { static func write(value: CreateSubscriptionGrantInput?, to writer: SmithyJSON.Writer) throws { @@ -19844,6 +20806,7 @@ extension CreateSubscriptionRequestInput { static func write(value: CreateSubscriptionRequestInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["clientToken"].write(value.clientToken) + try writer["metadataForms"].writeList(value.metadataForms, memberWritingClosure: DataZoneClientTypes.FormInput.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["requestReason"].write(value.requestReason) try writer["subscribedListings"].writeList(value.subscribedListings, memberWritingClosure: DataZoneClientTypes.SubscribedListingInput.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["subscribedPrincipals"].writeList(value.subscribedPrincipals, memberWritingClosure: DataZoneClientTypes.SubscribedPrincipalInput.write(value:to:), memberNodeInfo: "member", isFlattened: false) @@ -20171,6 +21134,18 @@ extension UpdateProjectInput { } } +extension UpdateRuleInput { + + static func write(value: UpdateRuleInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["description"].write(value.description) + try writer["detail"].write(value.detail, with: DataZoneClientTypes.RuleDetail.write(value:to:)) + try writer["includeChildDomainUnits"].write(value.includeChildDomainUnits) + try writer["name"].write(value.name) + try writer["scope"].write(value.scope, with: DataZoneClientTypes.RuleScope.write(value:to:)) + } +} + extension UpdateSubscriptionGrantStatusInput { static func write(value: UpdateSubscriptionGrantStatusInput?, to writer: SmithyJSON.Writer) throws { @@ -20236,7 +21211,9 @@ extension AcceptSubscriptionRequestOutput { value.createdBy = try reader["createdBy"].readIfPresent() ?? "" value.decisionComment = try reader["decisionComment"].readIfPresent() value.domainId = try reader["domainId"].readIfPresent() ?? "" + value.existingSubscriptionId = try reader["existingSubscriptionId"].readIfPresent() value.id = try reader["id"].readIfPresent() ?? "" + value.metadataForms = try reader["metadataForms"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.FormOutput.read(from:), memberNodeInfo: "member", isFlattened: false) value.requestReason = try reader["requestReason"].readIfPresent() ?? "" value.reviewerId = try reader["reviewerId"].readIfPresent() value.status = try reader["status"].readIfPresent() ?? .sdkUnknown("") @@ -20710,6 +21687,28 @@ extension CreateProjectMembershipOutput { } } +extension CreateRuleOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRuleOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateRuleOutput() + value.action = try reader["action"].readIfPresent() ?? .sdkUnknown("") + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.createdBy = try reader["createdBy"].readIfPresent() ?? "" + value.description = try reader["description"].readIfPresent() + value.detail = try reader["detail"].readIfPresent(with: DataZoneClientTypes.RuleDetail.read(from:)) + value.identifier = try reader["identifier"].readIfPresent() ?? "" + value.name = try reader["name"].readIfPresent() ?? "" + value.ruleType = try reader["ruleType"].readIfPresent() ?? .sdkUnknown("") + value.scope = try reader["scope"].readIfPresent(with: DataZoneClientTypes.RuleScope.read(from:)) + value.target = try reader["target"].readIfPresent(with: DataZoneClientTypes.RuleTarget.read(from:)) + value.targetType = try reader["targetType"].readIfPresent() + return value + } +} + extension CreateSubscriptionGrantOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateSubscriptionGrantOutput { @@ -20743,7 +21742,9 @@ extension CreateSubscriptionRequestOutput { value.createdBy = try reader["createdBy"].readIfPresent() ?? "" value.decisionComment = try reader["decisionComment"].readIfPresent() value.domainId = try reader["domainId"].readIfPresent() ?? "" + value.existingSubscriptionId = try reader["existingSubscriptionId"].readIfPresent() value.id = try reader["id"].readIfPresent() ?? "" + value.metadataForms = try reader["metadataForms"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.FormOutput.read(from:), memberNodeInfo: "member", isFlattened: false) value.requestReason = try reader["requestReason"].readIfPresent() ?? "" value.reviewerId = try reader["reviewerId"].readIfPresent() value.status = try reader["status"].readIfPresent() ?? .sdkUnknown("") @@ -20946,6 +21947,13 @@ extension DeleteProjectMembershipOutput { } } +extension DeleteRuleOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRuleOutput { + return DeleteRuleOutput() + } +} + extension DeleteSubscriptionGrantOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteSubscriptionGrantOutput { @@ -21509,6 +22517,31 @@ extension GetProjectOutput { } } +extension GetRuleOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRuleOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetRuleOutput() + value.action = try reader["action"].readIfPresent() ?? .sdkUnknown("") + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.createdBy = try reader["createdBy"].readIfPresent() ?? "" + value.description = try reader["description"].readIfPresent() + value.detail = try reader["detail"].readIfPresent(with: DataZoneClientTypes.RuleDetail.read(from:)) + value.identifier = try reader["identifier"].readIfPresent() ?? "" + value.lastUpdatedBy = try reader["lastUpdatedBy"].readIfPresent() ?? "" + value.name = try reader["name"].readIfPresent() ?? "" + value.revision = try reader["revision"].readIfPresent() ?? "" + value.ruleType = try reader["ruleType"].readIfPresent() ?? .sdkUnknown("") + value.scope = try reader["scope"].readIfPresent(with: DataZoneClientTypes.RuleScope.read(from:)) + value.target = try reader["target"].readIfPresent(with: DataZoneClientTypes.RuleTarget.read(from:)) + value.targetType = try reader["targetType"].readIfPresent() + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + return value + } +} + extension GetSubscriptionOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetSubscriptionOutput { @@ -21564,7 +22597,9 @@ extension GetSubscriptionRequestDetailsOutput { value.createdBy = try reader["createdBy"].readIfPresent() ?? "" value.decisionComment = try reader["decisionComment"].readIfPresent() value.domainId = try reader["domainId"].readIfPresent() ?? "" + value.existingSubscriptionId = try reader["existingSubscriptionId"].readIfPresent() value.id = try reader["id"].readIfPresent() ?? "" + value.metadataForms = try reader["metadataForms"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.FormOutput.read(from:), memberNodeInfo: "member", isFlattened: false) value.requestReason = try reader["requestReason"].readIfPresent() ?? "" value.reviewerId = try reader["reviewerId"].readIfPresent() value.status = try reader["status"].readIfPresent() ?? .sdkUnknown("") @@ -21894,6 +22929,19 @@ extension ListProjectsOutput { } } +extension ListRulesOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRulesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListRulesOutput() + value.items = try reader["items"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.RuleSummary.read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + extension ListSubscriptionGrantsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListSubscriptionGrantsOutput { @@ -22038,7 +23086,9 @@ extension RejectSubscriptionRequestOutput { value.createdBy = try reader["createdBy"].readIfPresent() ?? "" value.decisionComment = try reader["decisionComment"].readIfPresent() value.domainId = try reader["domainId"].readIfPresent() ?? "" + value.existingSubscriptionId = try reader["existingSubscriptionId"].readIfPresent() value.id = try reader["id"].readIfPresent() ?? "" + value.metadataForms = try reader["metadataForms"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.FormOutput.read(from:), memberNodeInfo: "member", isFlattened: false) value.requestReason = try reader["requestReason"].readIfPresent() ?? "" value.reviewerId = try reader["reviewerId"].readIfPresent() value.status = try reader["status"].readIfPresent() ?? .sdkUnknown("") @@ -22449,6 +23499,30 @@ extension UpdateProjectOutput { } } +extension UpdateRuleOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRuleOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateRuleOutput() + value.action = try reader["action"].readIfPresent() ?? .sdkUnknown("") + value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.createdBy = try reader["createdBy"].readIfPresent() ?? "" + value.description = try reader["description"].readIfPresent() + value.detail = try reader["detail"].readIfPresent(with: DataZoneClientTypes.RuleDetail.read(from:)) + value.identifier = try reader["identifier"].readIfPresent() ?? "" + value.lastUpdatedBy = try reader["lastUpdatedBy"].readIfPresent() ?? "" + value.name = try reader["name"].readIfPresent() ?? "" + value.revision = try reader["revision"].readIfPresent() ?? "" + value.ruleType = try reader["ruleType"].readIfPresent() ?? .sdkUnknown("") + value.scope = try reader["scope"].readIfPresent(with: DataZoneClientTypes.RuleScope.read(from:)) + value.target = try reader["target"].readIfPresent(with: DataZoneClientTypes.RuleTarget.read(from:)) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + return value + } +} + extension UpdateSubscriptionGrantStatusOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateSubscriptionGrantStatusOutput { @@ -22482,7 +23556,9 @@ extension UpdateSubscriptionRequestOutput { value.createdBy = try reader["createdBy"].readIfPresent() ?? "" value.decisionComment = try reader["decisionComment"].readIfPresent() value.domainId = try reader["domainId"].readIfPresent() ?? "" + value.existingSubscriptionId = try reader["existingSubscriptionId"].readIfPresent() value.id = try reader["id"].readIfPresent() ?? "" + value.metadataForms = try reader["metadataForms"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.FormOutput.read(from:), memberNodeInfo: "member", isFlattened: false) value.requestReason = try reader["requestReason"].readIfPresent() ?? "" value.reviewerId = try reader["reviewerId"].readIfPresent() value.status = try reader["status"].readIfPresent() ?? .sdkUnknown("") @@ -23071,6 +24147,27 @@ enum CreateProjectMembershipOutputError { } } +enum CreateRuleOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + if let error = try httpServiceError(baseError: baseError) { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum CreateSubscriptionGrantOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -23484,6 +24581,26 @@ enum DeleteProjectMembershipOutputError { } } +enum DeleteRuleOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + if let error = try httpServiceError(baseError: baseError) { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DeleteSubscriptionGrantOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -24024,6 +25141,25 @@ enum GetProjectOutputError { } } +enum GetRuleOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + if let error = try httpServiceError(baseError: baseError) { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum GetSubscriptionOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -24516,6 +25652,25 @@ enum ListProjectsOutputError { } } +enum ListRulesOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + if let error = try httpServiceError(baseError: baseError) { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListSubscriptionGrantsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -25173,6 +26328,27 @@ enum UpdateProjectOutputError { } } +enum UpdateRuleOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + if let error = try httpServiceError(baseError: baseError) { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateSubscriptionGrantStatusOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -25478,17 +26654,6 @@ extension DataZoneClientTypes.AssetScope { } } -extension DataZoneClientTypes.AssetListingDetails { - - static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.AssetListingDetails { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = DataZoneClientTypes.AssetListingDetails() - value.listingId = try reader["listingId"].readIfPresent() ?? "" - value.listingStatus = try reader["listingStatus"].readIfPresent() ?? .sdkUnknown("") - return value - } -} - extension DataZoneClientTypes.FormOutput { static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.FormOutput { @@ -25502,6 +26667,17 @@ extension DataZoneClientTypes.FormOutput { } } +extension DataZoneClientTypes.AssetListingDetails { + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.AssetListingDetails { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.AssetListingDetails() + value.listingId = try reader["listingId"].readIfPresent() ?? "" + value.listingStatus = try reader["listingStatus"].readIfPresent() ?? .sdkUnknown("") + return value + } +} + extension DataZoneClientTypes.TimeSeriesDataPointSummaryFormOutput { static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.TimeSeriesDataPointSummaryFormOutput { @@ -26369,6 +27545,156 @@ extension DataZoneClientTypes.ProjectDeletionError { } } +extension DataZoneClientTypes.RuleTarget { + + static func write(value: DataZoneClientTypes.RuleTarget?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .domainunittarget(domainunittarget): + try writer["domainUnitTarget"].write(domainunittarget, with: DataZoneClientTypes.DomainUnitTarget.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.RuleTarget { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "domainUnitTarget": + return .domainunittarget(try reader["domainUnitTarget"].read(with: DataZoneClientTypes.DomainUnitTarget.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension DataZoneClientTypes.DomainUnitTarget { + + static func write(value: DataZoneClientTypes.DomainUnitTarget?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["domainUnitId"].write(value.domainUnitId) + try writer["includeChildDomainUnits"].write(value.includeChildDomainUnits) + } + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.DomainUnitTarget { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.DomainUnitTarget() + value.domainUnitId = try reader["domainUnitId"].readIfPresent() ?? "" + value.includeChildDomainUnits = try reader["includeChildDomainUnits"].readIfPresent() + return value + } +} + +extension DataZoneClientTypes.RuleScope { + + static func write(value: DataZoneClientTypes.RuleScope?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["assetType"].write(value.assetType, with: DataZoneClientTypes.AssetTypesForRule.write(value:to:)) + try writer["dataProduct"].write(value.dataProduct) + try writer["project"].write(value.project, with: DataZoneClientTypes.ProjectsForRule.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.RuleScope { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.RuleScope() + value.assetType = try reader["assetType"].readIfPresent(with: DataZoneClientTypes.AssetTypesForRule.read(from:)) + value.dataProduct = try reader["dataProduct"].readIfPresent() + value.project = try reader["project"].readIfPresent(with: DataZoneClientTypes.ProjectsForRule.read(from:)) + return value + } +} + +extension DataZoneClientTypes.ProjectsForRule { + + static func write(value: DataZoneClientTypes.ProjectsForRule?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["selectionMode"].write(value.selectionMode) + try writer["specificProjects"].writeList(value.specificProjects, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.ProjectsForRule { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.ProjectsForRule() + value.selectionMode = try reader["selectionMode"].readIfPresent() ?? .sdkUnknown("") + value.specificProjects = try reader["specificProjects"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension DataZoneClientTypes.AssetTypesForRule { + + static func write(value: DataZoneClientTypes.AssetTypesForRule?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["selectionMode"].write(value.selectionMode) + try writer["specificAssetTypes"].writeList(value.specificAssetTypes, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.AssetTypesForRule { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.AssetTypesForRule() + value.selectionMode = try reader["selectionMode"].readIfPresent() ?? .sdkUnknown("") + value.specificAssetTypes = try reader["specificAssetTypes"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension DataZoneClientTypes.RuleDetail { + + static func write(value: DataZoneClientTypes.RuleDetail?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + switch value { + case let .metadataformenforcementdetail(metadataformenforcementdetail): + try writer["metadataFormEnforcementDetail"].write(metadataformenforcementdetail, with: DataZoneClientTypes.MetadataFormEnforcementDetail.write(value:to:)) + case let .sdkUnknown(sdkUnknown): + try writer["sdkUnknown"].write(sdkUnknown) + } + } + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.RuleDetail { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + let name = reader.children.filter { $0.hasContent && $0.nodeInfo.name != "__type" }.first?.nodeInfo.name + switch name { + case "metadataFormEnforcementDetail": + return .metadataformenforcementdetail(try reader["metadataFormEnforcementDetail"].read(with: DataZoneClientTypes.MetadataFormEnforcementDetail.read(from:))) + default: + return .sdkUnknown(name ?? "") + } + } +} + +extension DataZoneClientTypes.MetadataFormEnforcementDetail { + + static func write(value: DataZoneClientTypes.MetadataFormEnforcementDetail?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["requiredMetadataForms"].writeList(value.requiredMetadataForms, memberWritingClosure: DataZoneClientTypes.MetadataFormReference.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.MetadataFormEnforcementDetail { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.MetadataFormEnforcementDetail() + value.requiredMetadataForms = try reader["requiredMetadataForms"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.MetadataFormReference.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension DataZoneClientTypes.MetadataFormReference { + + static func write(value: DataZoneClientTypes.MetadataFormReference?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["typeIdentifier"].write(value.typeIdentifier) + try writer["typeRevision"].write(value.typeRevision) + } + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.MetadataFormReference { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.MetadataFormReference() + value.typeIdentifier = try reader["typeIdentifier"].readIfPresent() ?? "" + value.typeRevision = try reader["typeRevision"].readIfPresent() ?? "" + return value + } +} + extension DataZoneClientTypes.GrantedEntity { static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.GrantedEntity { @@ -27581,6 +28907,25 @@ extension DataZoneClientTypes.ProjectSummary { } } +extension DataZoneClientTypes.RuleSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.RuleSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.RuleSummary() + value.identifier = try reader["identifier"].readIfPresent() + value.revision = try reader["revision"].readIfPresent() + value.ruleType = try reader["ruleType"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.targetType = try reader["targetType"].readIfPresent() + value.target = try reader["target"].readIfPresent(with: DataZoneClientTypes.RuleTarget.read(from:)) + value.action = try reader["action"].readIfPresent() + value.scope = try reader["scope"].readIfPresent(with: DataZoneClientTypes.RuleScope.read(from:)) + value.updatedAt = try reader["updatedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.lastUpdatedBy = try reader["lastUpdatedBy"].readIfPresent() + return value + } +} + extension DataZoneClientTypes.SubscriptionGrantSummary { static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.SubscriptionGrantSummary { @@ -27618,6 +28963,20 @@ extension DataZoneClientTypes.SubscriptionRequestSummary { value.subscribedListings = try reader["subscribedListings"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.SubscribedListing.read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] value.reviewerId = try reader["reviewerId"].readIfPresent() value.decisionComment = try reader["decisionComment"].readIfPresent() + value.existingSubscriptionId = try reader["existingSubscriptionId"].readIfPresent() + value.metadataFormsSummary = try reader["metadataFormsSummary"].readListIfPresent(memberReadingClosure: DataZoneClientTypes.MetadataFormSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + return value + } +} + +extension DataZoneClientTypes.MetadataFormSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> DataZoneClientTypes.MetadataFormSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = DataZoneClientTypes.MetadataFormSummary() + value.formName = try reader["formName"].readIfPresent() + value.typeName = try reader["typeName"].readIfPresent() ?? "" + value.typeRevision = try reader["typeRevision"].readIfPresent() ?? "" return value } } diff --git a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift index 29802fc6720..b90c13a1208 100644 --- a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift +++ b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DatabaseMigrationClient: ClientRuntime.Client { public static let clientName = "DatabaseMigrationClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DatabaseMigrationClient.DatabaseMigrationClientConfiguration let serviceName = "Database Migration" diff --git a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift index 955336c6aeb..9182f1a6fd0 100644 --- a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift +++ b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DeadlineClient: ClientRuntime.Client { public static let clientName = "DeadlineClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DeadlineClient.DeadlineClientConfiguration let serviceName = "deadline" diff --git a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift index c76382790b6..377fb23c296 100644 --- a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift +++ b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DetectiveClient: ClientRuntime.Client { public static let clientName = "DetectiveClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DetectiveClient.DetectiveClientConfiguration let serviceName = "Detective" diff --git a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift index c283ddaba7b..ce6864c8a64 100644 --- a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift +++ b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DevOpsGuruClient: ClientRuntime.Client { public static let clientName = "DevOpsGuruClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DevOpsGuruClient.DevOpsGuruClientConfiguration let serviceName = "DevOps Guru" diff --git a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift index cd6c99d1fda..e38b0b8ad4b 100644 --- a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift +++ b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DeviceFarmClient: ClientRuntime.Client { public static let clientName = "DeviceFarmClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DeviceFarmClient.DeviceFarmClientConfiguration let serviceName = "Device Farm" diff --git a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift index 866f0da9798..d71e4e5438a 100644 --- a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift +++ b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectConnectClient: ClientRuntime.Client { public static let clientName = "DirectConnectClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DirectConnectClient.DirectConnectClientConfiguration let serviceName = "Direct Connect" diff --git a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift index 0b741390448..07714e9ce86 100644 --- a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift +++ b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectoryClient: ClientRuntime.Client { public static let clientName = "DirectoryClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DirectoryClient.DirectoryClientConfiguration let serviceName = "Directory" diff --git a/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift b/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift index cc20b09c3c2..5e2bc4bf769 100644 --- a/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift +++ b/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectoryServiceDataClient: ClientRuntime.Client { public static let clientName = "DirectoryServiceDataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DirectoryServiceDataClient.DirectoryServiceDataClientConfiguration let serviceName = "Directory Service Data" diff --git a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift index 14a62dbdc89..996c68cc358 100644 --- a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift +++ b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DocDBClient: ClientRuntime.Client { public static let clientName = "DocDBClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DocDBClient.DocDBClientConfiguration let serviceName = "DocDB" diff --git a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift index 91030ea4e98..a3aa2a00342 100644 --- a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift +++ b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DocDBElasticClient: ClientRuntime.Client { public static let clientName = "DocDBElasticClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DocDBElasticClient.DocDBElasticClientConfiguration let serviceName = "DocDB Elastic" diff --git a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift index 28d9348fac9..79bd160da38 100644 --- a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift +++ b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DrsClient: ClientRuntime.Client { public static let clientName = "DrsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DrsClient.DrsClientConfiguration let serviceName = "drs" diff --git a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift index f0c9a2e8f79..10dc49bd391 100644 --- a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift +++ b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DynamoDBClient: ClientRuntime.Client { public static let clientName = "DynamoDBClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DynamoDBClient.DynamoDBClientConfiguration let serviceName = "DynamoDB" diff --git a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift index d0b86e2ec33..cdfd07c7598 100644 --- a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift +++ b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DynamoDBStreamsClient: ClientRuntime.Client { public static let clientName = "DynamoDBStreamsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: DynamoDBStreamsClient.DynamoDBStreamsClientConfiguration let serviceName = "DynamoDB Streams" diff --git a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift index 12f95269f84..d055019647d 100644 --- a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift +++ b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EBSClient: ClientRuntime.Client { public static let clientName = "EBSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EBSClient.EBSClientConfiguration let serviceName = "EBS" diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift index e0a90630dfb..3580c5ac20b 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EC2Client: ClientRuntime.Client { public static let clientName = "EC2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EC2Client.EC2ClientConfiguration let serviceName = "EC2" @@ -33484,7 +33484,7 @@ extension EC2Client { /// Performs the `ModifyInstanceCapacityReservationAttributes` operation on the `AmazonEC2` service. /// - /// Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an instance to target a specific Capacity Reservation, run in any open Capacity Reservation with matching attributes, or run On-Demand Instance capacity. + /// Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an instance to target a specific Capacity Reservation, run in any open Capacity Reservation with matching attributes, run in On-Demand Instance capacity, or only run in a Capacity Reservation. /// /// - Parameter ModifyInstanceCapacityReservationAttributesInput : [no documentation found] /// diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift index 914ee4020d0..104b5edc76b 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/Models.swift @@ -13899,6 +13899,73 @@ extension EC2ClientTypes { } } +extension EC2ClientTypes { + + /// Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture. Currently, only one instance family can be specified in the list. + public struct PerformanceFactorReferenceRequest: Swift.Sendable { + /// The instance family to use as a baseline reference. Ensure that you specify the correct value for the instance family. The instance family is everything before the period (.) in the instance type name. For example, in the instance type c6i.large, the instance family is c6i, not c6. For more information, see [Amazon EC2 instance type naming conventions](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html) in Amazon EC2 Instance Types. The following instance families are not supported for performance protection: + /// + /// * c1 + /// + /// * g3 | g3s + /// + /// * hpc7g + /// + /// * m1 | m2 + /// + /// * mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro + /// + /// * p3dn | p4d | p5 + /// + /// * t1 + /// + /// * u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb + /// + /// + /// If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families. If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response for and an exception for , , , and . + public var instanceFamily: Swift.String? + + public init( + instanceFamily: Swift.String? = nil + ) + { + self.instanceFamily = instanceFamily + } + } +} + +extension EC2ClientTypes { + + /// The CPU performance to consider, using an instance family as the baseline reference. + public struct CpuPerformanceFactorRequest: Swift.Sendable { + /// Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. Currently, only one instance family can be specified in the list. + public var references: [EC2ClientTypes.PerformanceFactorReferenceRequest]? + + public init( + references: [EC2ClientTypes.PerformanceFactorReferenceRequest]? = nil + ) + { + self.references = references + } + } +} + +extension EC2ClientTypes { + + /// The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying c6i would use the CPU performance of the c6i family as the baseline reference. + public struct BaselinePerformanceFactorsRequest: Swift.Sendable { + /// The CPU performance to consider, using an instance family as the baseline reference. + public var cpu: EC2ClientTypes.CpuPerformanceFactorRequest? + + public init( + cpu: EC2ClientTypes.CpuPerformanceFactorRequest? = nil + ) + { + self.cpu = cpu + } + } +} + extension EC2ClientTypes { public enum BurstablePerformance: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -13936,6 +14003,7 @@ extension EC2ClientTypes { public enum CpuManufacturer: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case amazonWebServices case amd + case apple case intel case sdkUnknown(Swift.String) @@ -13943,6 +14011,7 @@ extension EC2ClientTypes { return [ .amazonWebServices, .amd, + .apple, .intel ] } @@ -13956,6 +14025,7 @@ extension EC2ClientTypes { switch self { case .amazonWebServices: return "amazon-web-services" case .amd: return "amd" + case .apple: return "apple" case .intel: return "intel" case let .sdkUnknown(s): return s } @@ -14258,6 +14328,8 @@ extension EC2ClientTypes { public var bareMetal: EC2ClientTypes.BareMetal? /// The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the Amazon EC2 User Guide. Default: No minimum or maximum limits public var baselineEbsBandwidthMbps: EC2ClientTypes.BaselineEbsBandwidthMbpsRequest? + /// The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see [Performance protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection) in the Amazon EC2 User Guide. + public var baselinePerformanceFactors: EC2ClientTypes.BaselinePerformanceFactorsRequest? /// Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). /// /// * To include burstable performance instance types, specify included. @@ -14336,6 +14408,7 @@ extension EC2ClientTypes { allowedInstanceTypes: [Swift.String]? = nil, bareMetal: EC2ClientTypes.BareMetal? = nil, baselineEbsBandwidthMbps: EC2ClientTypes.BaselineEbsBandwidthMbpsRequest? = nil, + baselinePerformanceFactors: EC2ClientTypes.BaselinePerformanceFactorsRequest? = nil, burstablePerformance: EC2ClientTypes.BurstablePerformance? = nil, cpuManufacturers: [EC2ClientTypes.CpuManufacturer]? = nil, excludedInstanceTypes: [Swift.String]? = nil, @@ -14362,6 +14435,7 @@ extension EC2ClientTypes { self.allowedInstanceTypes = allowedInstanceTypes self.bareMetal = bareMetal self.baselineEbsBandwidthMbps = baselineEbsBandwidthMbps + self.baselinePerformanceFactors = baselinePerformanceFactors self.burstablePerformance = burstablePerformance self.cpuManufacturers = cpuManufacturers self.excludedInstanceTypes = excludedInstanceTypes @@ -15055,6 +15129,73 @@ extension EC2ClientTypes { } } +extension EC2ClientTypes { + + /// Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture. Currently, only one instance family can be specified in the list. + public struct PerformanceFactorReference: Swift.Sendable { + /// The instance family to use as a baseline reference. Ensure that you specify the correct value for the instance family. The instance family is everything before the period (.) in the instance type name. For example, in the instance type c6i.large, the instance family is c6i, not c6. For more information, see [Amazon EC2 instance type naming conventions](https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html) in Amazon EC2 Instance Types. The following instance families are not supported for performance protection: + /// + /// * c1 + /// + /// * g3 | g3s + /// + /// * hpc7g + /// + /// * m1 | m2 + /// + /// * mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro + /// + /// * p3dn | p4d | p5 + /// + /// * t1 + /// + /// * u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb | u7in-16tb | u7in-24tb | u7in-32tb + /// + /// + /// If you enable performance protection by specifying a supported instance family, the returned instance types will exclude the above unsupported instance families. If you specify an unsupported instance family as a value for baseline performance, the API returns an empty response for and an exception for , , , and . + public var instanceFamily: Swift.String? + + public init( + instanceFamily: Swift.String? = nil + ) + { + self.instanceFamily = instanceFamily + } + } +} + +extension EC2ClientTypes { + + /// The CPU performance to consider, using an instance family as the baseline reference. + public struct CpuPerformanceFactor: Swift.Sendable { + /// Specify an instance family to use as the baseline reference for CPU performance. All instance types that match your specified attributes will be compared against the CPU performance of the referenced instance family, regardless of CPU manufacturer or architecture differences. Currently, only one instance family can be specified in the list. + public var references: [EC2ClientTypes.PerformanceFactorReference]? + + public init( + references: [EC2ClientTypes.PerformanceFactorReference]? = nil + ) + { + self.references = references + } + } +} + +extension EC2ClientTypes { + + /// The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For example, specifying c6i would use the CPU performance of the c6i family as the baseline reference. + public struct BaselinePerformanceFactors: Swift.Sendable { + /// The CPU performance to consider, using an instance family as the baseline reference. + public var cpu: EC2ClientTypes.CpuPerformanceFactor? + + public init( + cpu: EC2ClientTypes.CpuPerformanceFactor? = nil + ) + { + self.cpu = cpu + } + } +} + extension EC2ClientTypes { /// The minimum and maximum amount of memory per vCPU, in GiB. @@ -15258,6 +15399,8 @@ extension EC2ClientTypes { public var bareMetal: EC2ClientTypes.BareMetal? /// The minimum and maximum baseline bandwidth to Amazon EBS, in Mbps. For more information, see [Amazon EBS–optimized instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html) in the Amazon EC2 User Guide. Default: No minimum or maximum limits public var baselineEbsBandwidthMbps: EC2ClientTypes.BaselineEbsBandwidthMbps? + /// The baseline performance to consider, using an instance family as a baseline reference. The instance family establishes the lowest acceptable level of performance. Amazon EC2 uses this baseline to guide instance type selection, but there is no guarantee that the selected instance types will always exceed the baseline for every application. Currently, this parameter only supports CPU performance as a baseline performance factor. For more information, see [Performance protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-abis-performance-protection) in the Amazon EC2 User Guide. + public var baselinePerformanceFactors: EC2ClientTypes.BaselinePerformanceFactors? /// Indicates whether burstable performance T instance types are included, excluded, or required. For more information, see [Burstable performance instances](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html). /// /// * To include burstable performance instance types, specify included. @@ -15334,6 +15477,7 @@ extension EC2ClientTypes { allowedInstanceTypes: [Swift.String]? = nil, bareMetal: EC2ClientTypes.BareMetal? = nil, baselineEbsBandwidthMbps: EC2ClientTypes.BaselineEbsBandwidthMbps? = nil, + baselinePerformanceFactors: EC2ClientTypes.BaselinePerformanceFactors? = nil, burstablePerformance: EC2ClientTypes.BurstablePerformance? = nil, cpuManufacturers: [EC2ClientTypes.CpuManufacturer]? = nil, excludedInstanceTypes: [Swift.String]? = nil, @@ -15360,6 +15504,7 @@ extension EC2ClientTypes { self.allowedInstanceTypes = allowedInstanceTypes self.bareMetal = bareMetal self.baselineEbsBandwidthMbps = baselineEbsBandwidthMbps + self.baselinePerformanceFactors = baselinePerformanceFactors self.burstablePerformance = burstablePerformance self.cpuManufacturers = cpuManufacturers self.excludedInstanceTypes = excludedInstanceTypes @@ -18174,12 +18319,14 @@ extension EC2ClientTypes { extension EC2ClientTypes { public enum CapacityReservationPreference: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case capacityReservationsOnly case `none` case `open` case sdkUnknown(Swift.String) public static var allCases: [CapacityReservationPreference] { return [ + .capacityReservationsOnly, .none, .open ] @@ -18192,6 +18339,7 @@ extension EC2ClientTypes { public var rawValue: Swift.String { switch self { + case .capacityReservationsOnly: return "capacity-reservations-only" case .none: return "none" case .open: return "open" case let .sdkUnknown(s): return s @@ -61476,13 +61624,15 @@ public struct ModifyInstanceAttributeInput: Swift.Sendable { extension EC2ClientTypes { - /// Describes an instance's Capacity Reservation targeting option. You can specify only one parameter at a time. If you specify CapacityReservationPreference and CapacityReservationTarget, the request fails. Use the CapacityReservationPreference parameter to configure the instance to run as an On-Demand Instance or to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). Use the CapacityReservationTarget parameter to explicitly target a specific Capacity Reservation or a Capacity Reservation group. + /// Describes an instance's Capacity Reservation targeting option. Use the CapacityReservationPreference parameter to configure the instance to run as an On-Demand Instance, to run in any open Capacity Reservation that has matching attributes, or to run only in a Capacity Reservation or Capacity Reservation group. Use the CapacityReservationTarget parameter to explicitly target a specific Capacity Reservation or a Capacity Reservation group. You can only specify CapacityReservationPreference and CapacityReservationTarget if the CapacityReservationPreference is capacity-reservations-only. public struct CapacityReservationSpecification: Swift.Sendable { /// Indicates the instance's Capacity Reservation preferences. Possible preferences include: /// - /// * open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). + /// * capacity-reservations-only - The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch. + /// + /// * open - The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone, and tenancy). If capacity isn't available, the instance runs as an On-Demand Instance. /// - /// * none - The instance avoids running in a Capacity Reservation even if one is available. The instance runs as an On-Demand Instance. + /// * none - The instance doesn't run in a Capacity Reservation even if one is available. The instance runs as an On-Demand Instance. public var capacityReservationPreference: EC2ClientTypes.CapacityReservationPreference? /// Information about the target Capacity Reservation or Capacity Reservation group. public var capacityReservationTarget: EC2ClientTypes.CapacityReservationTarget? @@ -67766,7 +67916,7 @@ public struct RunInstancesInput: Swift.Sendable { public var additionalInfo: Swift.String? /// The block device mapping, which defines the EBS volumes and instance store volumes to attach to the instance at launch. For more information, see [Block device mappings](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html) in the Amazon EC2 User Guide. public var blockDeviceMappings: [EC2ClientTypes.BlockDeviceMapping]? - /// Information about the Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone). + /// Information about the Capacity Reservation targeting option. If you do not specify this parameter, the instance's Capacity Reservation preference defaults to open, which enables it to run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone, and tenancy). public var capacityReservationSpecification: EC2ClientTypes.CapacityReservationSpecification? /// Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. For more information, see [Ensuring Idempotency](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). Constraints: Maximum 64 ASCII characters public var clientToken: Swift.String? @@ -101043,6 +101193,7 @@ extension EC2ClientTypes.InstanceRequirements { } try writer["BareMetal"].write(value.bareMetal) try writer["BaselineEbsBandwidthMbps"].write(value.baselineEbsBandwidthMbps, with: EC2ClientTypes.BaselineEbsBandwidthMbps.write(value:to:)) + try writer["BaselinePerformanceFactors"].write(value.baselinePerformanceFactors, with: EC2ClientTypes.BaselinePerformanceFactors.write(value:to:)) try writer["BurstablePerformance"].write(value.burstablePerformance) if !(value.cpuManufacturers?.isEmpty ?? true) { try writer["CpuManufacturerSet"].writeList(value.cpuManufacturers, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "Item", isFlattened: true) @@ -101096,6 +101247,54 @@ extension EC2ClientTypes.InstanceRequirements { value.networkBandwidthGbps = try reader["networkBandwidthGbps"].readIfPresent(with: EC2ClientTypes.NetworkBandwidthGbps.read(from:)) value.allowedInstanceTypes = try reader["allowedInstanceTypeSet"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "item", isFlattened: false) value.maxSpotPriceAsPercentageOfOptimalOnDemandPrice = try reader["maxSpotPriceAsPercentageOfOptimalOnDemandPrice"].readIfPresent() + value.baselinePerformanceFactors = try reader["baselinePerformanceFactors"].readIfPresent(with: EC2ClientTypes.BaselinePerformanceFactors.read(from:)) + return value + } +} + +extension EC2ClientTypes.BaselinePerformanceFactors { + + static func write(value: EC2ClientTypes.BaselinePerformanceFactors?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["Cpu"].write(value.cpu, with: EC2ClientTypes.CpuPerformanceFactor.write(value:to:)) + } + + static func read(from reader: SmithyXML.Reader) throws -> EC2ClientTypes.BaselinePerformanceFactors { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = EC2ClientTypes.BaselinePerformanceFactors() + value.cpu = try reader["cpu"].readIfPresent(with: EC2ClientTypes.CpuPerformanceFactor.read(from:)) + return value + } +} + +extension EC2ClientTypes.CpuPerformanceFactor { + + static func write(value: EC2ClientTypes.CpuPerformanceFactor?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + if !(value.references?.isEmpty ?? true) { + try writer["ReferenceSet"].writeList(value.references, memberWritingClosure: EC2ClientTypes.PerformanceFactorReference.write(value:to:), memberNodeInfo: "Item", isFlattened: true) + } + } + + static func read(from reader: SmithyXML.Reader) throws -> EC2ClientTypes.CpuPerformanceFactor { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = EC2ClientTypes.CpuPerformanceFactor() + value.references = try reader["referenceSet"].readListIfPresent(memberReadingClosure: EC2ClientTypes.PerformanceFactorReference.read(from:), memberNodeInfo: "item", isFlattened: false) + return value + } +} + +extension EC2ClientTypes.PerformanceFactorReference { + + static func write(value: EC2ClientTypes.PerformanceFactorReference?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["InstanceFamily"].write(value.instanceFamily) + } + + static func read(from reader: SmithyXML.Reader) throws -> EC2ClientTypes.PerformanceFactorReference { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = EC2ClientTypes.PerformanceFactorReference() + value.instanceFamily = try reader["instanceFamily"].readIfPresent() return value } } @@ -108909,6 +109108,7 @@ extension EC2ClientTypes.InstanceRequirementsRequest { } try writer["BareMetal"].write(value.bareMetal) try writer["BaselineEbsBandwidthMbps"].write(value.baselineEbsBandwidthMbps, with: EC2ClientTypes.BaselineEbsBandwidthMbpsRequest.write(value:to:)) + try writer["BaselinePerformanceFactors"].write(value.baselinePerformanceFactors, with: EC2ClientTypes.BaselinePerformanceFactorsRequest.write(value:to:)) try writer["BurstablePerformance"].write(value.burstablePerformance) if !(value.cpuManufacturers?.isEmpty ?? true) { try writer["CpuManufacturer"].writeList(value.cpuManufacturers, memberWritingClosure: SmithyReadWrite.WritingClosureBox().write(value:to:), memberNodeInfo: "Item", isFlattened: true) @@ -108936,6 +109136,32 @@ extension EC2ClientTypes.InstanceRequirementsRequest { } } +extension EC2ClientTypes.BaselinePerformanceFactorsRequest { + + static func write(value: EC2ClientTypes.BaselinePerformanceFactorsRequest?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["Cpu"].write(value.cpu, with: EC2ClientTypes.CpuPerformanceFactorRequest.write(value:to:)) + } +} + +extension EC2ClientTypes.CpuPerformanceFactorRequest { + + static func write(value: EC2ClientTypes.CpuPerformanceFactorRequest?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + if !(value.references?.isEmpty ?? true) { + try writer["Reference"].writeList(value.references, memberWritingClosure: EC2ClientTypes.PerformanceFactorReferenceRequest.write(value:to:), memberNodeInfo: "Item", isFlattened: true) + } + } +} + +extension EC2ClientTypes.PerformanceFactorReferenceRequest { + + static func write(value: EC2ClientTypes.PerformanceFactorReferenceRequest?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["InstanceFamily"].write(value.instanceFamily) + } +} + extension EC2ClientTypes.NetworkBandwidthGbpsRequest { static func write(value: EC2ClientTypes.NetworkBandwidthGbpsRequest?, to writer: SmithyFormURL.Writer) throws { diff --git a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift index ad0bceb3289..edcebc60df6 100644 --- a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift +++ b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EC2InstanceConnectClient: ClientRuntime.Client { public static let clientName = "EC2InstanceConnectClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EC2InstanceConnectClient.EC2InstanceConnectClientConfiguration let serviceName = "EC2 Instance Connect" diff --git a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift index 9546b6b588a..1b586868d0d 100644 --- a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift +++ b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECRClient: ClientRuntime.Client { public static let clientName = "ECRClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ECRClient.ECRClientConfiguration let serviceName = "ECR" diff --git a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift index 481b3815e74..15bb719685e 100644 --- a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift +++ b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECRPUBLICClient: ClientRuntime.Client { public static let clientName = "ECRPUBLICClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ECRPUBLICClient.ECRPUBLICClientConfiguration let serviceName = "ECR PUBLIC" diff --git a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift index 6347a21f346..5788080bf78 100644 --- a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift +++ b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECSClient: ClientRuntime.Client { public static let clientName = "ECSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ECSClient.ECSClientConfiguration let serviceName = "ECS" @@ -664,7 +664,7 @@ extension ECSClient { /// Performs the `DeleteCapacityProvider` operation on the `AmazonEC2ContainerServiceV20141113` service. /// - /// Deletes the specified capacity provider. The FARGATE and FARGATE_SPOT capacity providers are reserved and can't be deleted. You can disassociate them from a cluster using either [PutCapacityProviderProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html) or by deleting the cluster. Prior to a capacity provider being deleted, the capacity provider must be removed from the capacity provider strategy from all services. The [UpdateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html) API can be used to remove a capacity provider from a service's capacity provider strategy. When updating a service, the forceNewDeployment option can be used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity provider are transitioned to use the capacity from the remaining capacity providers. Only capacity providers that aren't associated with a cluster can be deleted. To remove a capacity provider from a cluster, you can either use [PutCapacityProviderProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html) or delete the cluster. + /// Deletes the specified capacity provider. The FARGATE and FARGATE_SPOT capacity providers are reserved and can't be deleted. You can disassociate them from a cluster using either [PutCapacityProviderProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutCapacityProviderProviders.html) or by deleting the cluster. Prior to a capacity provider being deleted, the capacity provider must be removed from the capacity provider strategy from all services. The [UpdateService](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_UpdateService.html) API can be used to remove a capacity provider from a service's capacity provider strategy. When updating a service, the forceNewDeployment option can be used to ensure that any tasks using the Amazon EC2 instance capacity provided by the capacity provider are transitioned to use the capacity from the remaining capacity providers. Only capacity providers that aren't associated with a cluster can be deleted. To remove a capacity provider from a cluster, you can either use [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) or delete the cluster. /// /// - Parameter DeleteCapacityProviderInput : [no documentation found] /// diff --git a/Sources/Services/AWSECS/Sources/AWSECS/Models.swift b/Sources/Services/AWSECS/Sources/AWSECS/Models.swift index f7ec88469f6..e68b7ff17e4 100644 --- a/Sources/Services/AWSECS/Sources/AWSECS/Models.swift +++ b/Sources/Services/AWSECS/Sources/AWSECS/Models.swift @@ -1153,6 +1153,35 @@ public struct UnsupportedFeatureException: ClientRuntime.ModeledError, AWSClient } } +extension ECSClientTypes { + + public enum AvailabilityZoneRebalancing: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case disabled + case enabled + case sdkUnknown(Swift.String) + + public static var allCases: [AvailabilityZoneRebalancing] { + return [ + .disabled, + .enabled + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .disabled: return "DISABLED" + case .enabled: return "ENABLED" + case let .sdkUnknown(s): return s + } + } + } +} + extension ECSClientTypes { /// One of the methods which provide a way for you to quickly identify when a deployment has failed, and then to optionally roll back the failure to the last working deployment. When the alarms are generated, Amazon ECS sets the service deployment to failed. Set the rollback parameter to have Amazon ECS to roll back your service to the last completed deployment after a failure. You can only use the DeploymentAlarms method to detect failures when the DeploymentController is set to ECS (rolling update). For more information, see [Rolling update](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) in the Amazon Elastic Container Service Developer Guide . @@ -1280,9 +1309,9 @@ extension ECSClientTypes { extension ECSClientTypes { - /// The deployment controller to use for the service. For more information, see [Amazon ECS deployment types](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-types.html) in the Amazon Elastic Container Service Developer Guide. + /// The deployment controller to use for the service. public struct DeploymentController: Swift.Sendable { - /// The deployment controller type to use. There are three deployment controller types available: ECS The rolling update (ECS) deployment type involves replacing the current running version of the container with the latest version. The number of containers Amazon ECS adds or removes from the service during a rolling update is controlled by adjusting the minimum and maximum number of healthy tasks allowed during a service deployment, as specified in the [DeploymentConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeploymentConfiguration.html). CODE_DEPLOY The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment model powered by CodeDeploy, which allows you to verify a new deployment of a service before sending production traffic to it. EXTERNAL The external (EXTERNAL) deployment type enables you to use any third-party deployment controller for full control over the deployment process for an Amazon ECS service. + /// The deployment controller type to use. There are three deployment controller types available: ECS The rolling update (ECS) deployment type involves replacing the current running version of the container with the latest version. The number of containers Amazon ECS adds or removes from the service during a rolling update is controlled by adjusting the minimum and maximum number of healthy tasks allowed during a service deployment, as specified in the [DeploymentConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeploymentConfiguration.html). For more information about rolling deployments, see [Deploy Amazon ECS services by replacing tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-ecs.html) in the Amazon Elastic Container Service Developer Guide. CODE_DEPLOY The blue/green (CODE_DEPLOY) deployment type uses the blue/green deployment model powered by CodeDeploy, which allows you to verify a new deployment of a service before sending production traffic to it. For more information about blue/green deployments, see [Validate the state of an Amazon ECS service before deployment ](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-bluegreen.html) in the Amazon Elastic Container Service Developer Guide. EXTERNAL The external (EXTERNAL) deployment type enables you to use any third-party deployment controller for full control over the deployment process for an Amazon ECS service. For more information about external deployments, see [Deploy Amazon ECS services using a third-party controller ](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/deployment-type-external.html) in the Amazon Elastic Container Service Developer Guide. /// This member is required. public var type: ECSClientTypes.DeploymentControllerType? @@ -2095,6 +2124,8 @@ extension ECSClientTypes { } public struct CreateServiceInput: Swift.Sendable { + /// Indicates whether to use Availability Zone rebalancing for the service. For more information, see [Balancing an Amazon ECS service across Availability Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) in the Amazon Elastic Container Service Developer Guide. + public var availabilityZoneRebalancing: ECSClientTypes.AvailabilityZoneRebalancing? /// The capacity provider strategy to use for the service. If a capacityProviderStrategy is specified, the launchType parameter must be omitted. If no capacityProviderStrategy or launchType is specified, the defaultCapacityProviderStrategy for the cluster is used. A capacity provider strategy may contain a maximum of 6 capacity providers. public var capacityProviderStrategy: [ECSClientTypes.CapacityProviderStrategyItem]? /// An identifier that you provide to ensure the idempotency of the request. It must be unique and is case sensitive. Up to 36 ASCII characters in the range of 33-126 (inclusive) are allowed. @@ -2166,6 +2197,7 @@ public struct CreateServiceInput: Swift.Sendable { public var vpcLatticeConfigurations: [ECSClientTypes.VpcLatticeConfiguration]? public init( + availabilityZoneRebalancing: ECSClientTypes.AvailabilityZoneRebalancing? = nil, capacityProviderStrategy: [ECSClientTypes.CapacityProviderStrategyItem]? = nil, clientToken: Swift.String? = nil, cluster: Swift.String? = nil, @@ -2193,6 +2225,7 @@ public struct CreateServiceInput: Swift.Sendable { vpcLatticeConfigurations: [ECSClientTypes.VpcLatticeConfiguration]? = nil ) { + self.availabilityZoneRebalancing = availabilityZoneRebalancing self.capacityProviderStrategy = capacityProviderStrategy self.clientToken = clientToken self.cluster = cluster @@ -2625,6 +2658,8 @@ extension ECSClientTypes { /// Details on a service within a cluster. public struct Service: Swift.Sendable { + /// Indicates whether to use Availability Zone rebalancing for the service. For more information, see [Balancing an Amazon ECS service across Availability Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) in the Amazon Elastic Container Service Developer Guide. + public var availabilityZoneRebalancing: ECSClientTypes.AvailabilityZoneRebalancing? /// The capacity provider strategy the service uses. When using the DescribeServices API, this field is omitted if the service was created using a launch type. public var capacityProviderStrategy: [ECSClientTypes.CapacityProviderStrategyItem]? /// The Amazon Resource Name (ARN) of the cluster that hosts the service. @@ -2707,6 +2742,7 @@ extension ECSClientTypes { public var taskSets: [ECSClientTypes.TaskSet]? public init( + availabilityZoneRebalancing: ECSClientTypes.AvailabilityZoneRebalancing? = nil, capacityProviderStrategy: [ECSClientTypes.CapacityProviderStrategyItem]? = nil, clusterArn: Swift.String? = nil, createdAt: Foundation.Date? = nil, @@ -2740,6 +2776,7 @@ extension ECSClientTypes { taskSets: [ECSClientTypes.TaskSet]? = nil ) { + self.availabilityZoneRebalancing = availabilityZoneRebalancing self.capacityProviderStrategy = capacityProviderStrategy self.clusterArn = clusterArn self.createdAt = createdAt @@ -9635,6 +9672,8 @@ public struct UpdateContainerInstancesStateOutput: Swift.Sendable { } public struct UpdateServiceInput: Swift.Sendable { + /// Indicates whether to use Availability Zone rebalancing for the service. For more information, see [Balancing an Amazon ECS service across Availability Zones](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-rebalancing.html) in the Amazon Elastic Container Service Developer Guide. + public var availabilityZoneRebalancing: ECSClientTypes.AvailabilityZoneRebalancing? /// The capacity provider strategy to update the service to use. if the service uses the default capacity provider strategy for the cluster, the service can be updated to use one or more capacity providers as opposed to the default capacity provider strategy. However, when a service is using a capacity provider strategy that's not the default capacity provider strategy, the service can't be updated to use the cluster's default capacity provider strategy. A capacity provider strategy consists of one or more capacity providers along with the base and weight to assign to them. A capacity provider must be associated with the cluster to be used in a capacity provider strategy. The [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html) API is used to associate a capacity provider with a cluster. Only capacity providers with an ACTIVE or UPDATING status can be used. If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must already be created. New capacity providers can be created with the [CreateClusterCapacityProvider](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateClusterCapacityProvider.html) API operation. To use a Fargate capacity provider, specify either the FARGATE or FARGATE_SPOT capacity providers. The Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used. The [PutClusterCapacityProviders](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PutClusterCapacityProviders.html)API operation is used to update the list of available capacity providers for a cluster after the cluster is created. public var capacityProviderStrategy: [ECSClientTypes.CapacityProviderStrategyItem]? /// The short name or full Amazon Resource Name (ARN) of the cluster that your service runs on. If you do not specify a cluster, the default cluster is assumed. @@ -9678,6 +9717,7 @@ public struct UpdateServiceInput: Swift.Sendable { public var vpcLatticeConfigurations: [ECSClientTypes.VpcLatticeConfiguration]? public init( + availabilityZoneRebalancing: ECSClientTypes.AvailabilityZoneRebalancing? = nil, capacityProviderStrategy: [ECSClientTypes.CapacityProviderStrategyItem]? = nil, cluster: Swift.String? = nil, deploymentConfiguration: ECSClientTypes.DeploymentConfiguration? = nil, @@ -9700,6 +9740,7 @@ public struct UpdateServiceInput: Swift.Sendable { vpcLatticeConfigurations: [ECSClientTypes.VpcLatticeConfiguration]? = nil ) { + self.availabilityZoneRebalancing = availabilityZoneRebalancing self.capacityProviderStrategy = capacityProviderStrategy self.cluster = cluster self.deploymentConfiguration = deploymentConfiguration @@ -10300,6 +10341,7 @@ extension CreateServiceInput { static func write(value: CreateServiceInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["availabilityZoneRebalancing"].write(value.availabilityZoneRebalancing) try writer["capacityProviderStrategy"].writeList(value.capacityProviderStrategy, memberWritingClosure: ECSClientTypes.CapacityProviderStrategyItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["clientToken"].write(value.clientToken) try writer["cluster"].write(value.cluster) @@ -10919,6 +10961,7 @@ extension UpdateServiceInput { static func write(value: UpdateServiceInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["availabilityZoneRebalancing"].write(value.availabilityZoneRebalancing) try writer["capacityProviderStrategy"].writeList(value.capacityProviderStrategy, memberWritingClosure: ECSClientTypes.CapacityProviderStrategyItem.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["cluster"].write(value.cluster) try writer["deploymentConfiguration"].write(value.deploymentConfiguration, with: ECSClientTypes.DeploymentConfiguration.write(value:to:)) @@ -13393,6 +13436,7 @@ extension ECSClientTypes.Service { value.enableECSManagedTags = try reader["enableECSManagedTags"].readIfPresent() ?? false value.propagateTags = try reader["propagateTags"].readIfPresent() value.enableExecuteCommand = try reader["enableExecuteCommand"].readIfPresent() ?? false + value.availabilityZoneRebalancing = try reader["availabilityZoneRebalancing"].readIfPresent() return value } } diff --git a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift index c13d266f4c3..bb83af35edf 100644 --- a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift +++ b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EFSClient: ClientRuntime.Client { public static let clientName = "EFSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EFSClient.EFSClientConfiguration let serviceName = "EFS" diff --git a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift index 69d7a336964..f58cba96f10 100644 --- a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift +++ b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EKSClient: ClientRuntime.Client { public static let clientName = "EKSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EKSClient.EKSClientConfiguration let serviceName = "EKS" diff --git a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift index 43c259273f6..96b32211768 100644 --- a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift +++ b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EKSAuthClient: ClientRuntime.Client { public static let clientName = "EKSAuthClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EKSAuthClient.EKSAuthClientConfiguration let serviceName = "EKS Auth" diff --git a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift index d095e55b72a..8080e0eb621 100644 --- a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift +++ b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRClient: ClientRuntime.Client { public static let clientName = "EMRClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EMRClient.EMRClientConfiguration let serviceName = "EMR" diff --git a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift index 1e1d5528b39..a6fde1d88e8 100644 --- a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift +++ b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRServerlessClient: ClientRuntime.Client { public static let clientName = "EMRServerlessClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EMRServerlessClient.EMRServerlessClientConfiguration let serviceName = "EMR Serverless" diff --git a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift index 2b862352fd7..080f9262a7b 100644 --- a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift +++ b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRcontainersClient: ClientRuntime.Client { public static let clientName = "EMRcontainersClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EMRcontainersClient.EMRcontainersClientConfiguration let serviceName = "EMR containers" diff --git a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift index 658acda4937..c0cc204bc23 100644 --- a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift +++ b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElastiCacheClient: ClientRuntime.Client { public static let clientName = "ElastiCacheClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ElastiCacheClient.ElastiCacheClientConfiguration let serviceName = "ElastiCache" diff --git a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift index a3dc0f01124..55dd5ca9c25 100644 --- a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift +++ b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticBeanstalkClient: ClientRuntime.Client { public static let clientName = "ElasticBeanstalkClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ElasticBeanstalkClient.ElasticBeanstalkClientConfiguration let serviceName = "Elastic Beanstalk" diff --git a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift index 44d4fe62780..651189db318 100644 --- a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift +++ b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticInferenceClient: ClientRuntime.Client { public static let clientName = "ElasticInferenceClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ElasticInferenceClient.ElasticInferenceClientConfiguration let serviceName = "Elastic Inference" diff --git a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift index 85930a11adf..fbdb843e03f 100644 --- a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift +++ b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticLoadBalancingClient: ClientRuntime.Client { public static let clientName = "ElasticLoadBalancingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ElasticLoadBalancingClient.ElasticLoadBalancingClientConfiguration let serviceName = "Elastic Load Balancing" diff --git a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift index c78c05292c9..54e73944fa0 100644 --- a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift +++ b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift @@ -7,6 +7,7 @@ // Code generated by smithy-swift-codegen. DO NOT EDIT! +import Foundation import class AWSClientRuntime.AWSClientConfigDefaultsProvider import class AWSClientRuntime.AmzSdkRequestMiddleware import class AWSClientRuntime.DefaultAWSClientPlugin @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticLoadBalancingv2Client: ClientRuntime.Client { public static let clientName = "ElasticLoadBalancingv2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ElasticLoadBalancingv2Client.ElasticLoadBalancingv2ClientConfiguration let serviceName = "Elastic Load Balancing v2" @@ -1406,6 +1407,75 @@ extension ElasticLoadBalancingv2Client { return try await op.execute(input: input) } + /// Performs the `DescribeCapacityReservation` operation on the `ElasticLoadBalancing_v10` service. + /// + /// Describes the capacity reservation status for the specified load balancer. + /// + /// - Parameter DescribeCapacityReservationInput : [no documentation found] + /// + /// - Returns: `DescribeCapacityReservationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `LoadBalancerNotFoundException` : The specified load balancer does not exist. + public func describeCapacityReservation(input: DescribeCapacityReservationInput) async throws -> DescribeCapacityReservationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "describeCapacityReservation") + .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: "elasticloadbalancing") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DescribeCapacityReservationInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DescribeCapacityReservationOutput.httpOutput(from:), DescribeCapacityReservationOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ElasticLoadBalancingv2Client.version, config: config)) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: DescribeCapacityReservationInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-www-form-urlencoded")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ElasticLoadBalancingv2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DescribeCapacityReservation") + 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 `DescribeListenerAttributes` operation on the `ElasticLoadBalancing_v10` service. /// /// Describes the attributes for the specified listener. @@ -2604,6 +2674,82 @@ extension ElasticLoadBalancingv2Client { return try await op.execute(input: input) } + /// Performs the `ModifyCapacityReservation` operation on the `ElasticLoadBalancing_v10` service. + /// + /// Modifies the capacity reservation of the specified load balancer. When modifying capacity reservation, you must include at least one MinimumLoadBalancerCapacity or ResetCapacityReservation. + /// + /// - Parameter ModifyCapacityReservationInput : [no documentation found] + /// + /// - Returns: `ModifyCapacityReservationOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `CapacityDecreaseRequestsLimitExceededException` : You've exceeded the daily capacity decrease limit for this reservation. + /// - `CapacityReservationPendingException` : There is a pending capacity reservation. + /// - `CapacityUnitsLimitExceededException` : You've exceeded the capacity units limit. + /// - `InsufficientCapacityException` : There is insufficient capacity to reserve. + /// - `InvalidConfigurationRequestException` : The requested configuration is not valid. + /// - `LoadBalancerNotFoundException` : The specified load balancer does not exist. + /// - `OperationNotPermittedException` : This operation is not allowed. + /// - `PriorRequestNotCompleteException` : This operation is not allowed while a prior request has not been completed. + public func modifyCapacityReservation(input: ModifyCapacityReservationInput) async throws -> ModifyCapacityReservationOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "modifyCapacityReservation") + .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: "elasticloadbalancing") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ModifyCapacityReservationInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ModifyCapacityReservationOutput.httpOutput(from:), ModifyCapacityReservationOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ElasticLoadBalancingv2Client.version, config: config)) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ModifyCapacityReservationInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-www-form-urlencoded")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "ElasticLoadBalancingv2") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ModifyCapacityReservation") + 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 `ModifyListener` operation on the `ElasticLoadBalancing_v10` service. /// /// Replaces the specified properties of the specified listener. Any properties that you do not specify remain unchanged. Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP to TLS, you must add the security policy and default certificate properties. To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action. @@ -3633,6 +3779,7 @@ extension ElasticLoadBalancingv2Client { /// __Possible Exceptions:__ /// - `AllocationIdNotFoundException` : The specified allocation ID does not exist. /// - `AvailabilityZoneNotSupportedException` : The specified Availability Zone is not supported. + /// - `CapacityReservationPendingException` : There is a pending capacity reservation. /// - `InvalidConfigurationRequestException` : The requested configuration is not valid. /// - `InvalidSubnetException` : The specified subnet is out of available addresses. /// - `LoadBalancerNotFoundException` : The specified load balancer does not exist. diff --git a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/Models.swift b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/Models.swift index 36fe59bd302..b3fc488b475 100644 --- a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/Models.swift +++ b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/Models.swift @@ -1282,6 +1282,133 @@ public struct CaCertificatesBundleNotFoundException: ClientRuntime.ModeledError, } } +/// You've exceeded the daily capacity decrease limit for this reservation. +public struct CapacityDecreaseRequestsLimitExceededException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "CapacityDecreaseRequestLimitExceeded" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +/// There is a pending capacity reservation. +public struct CapacityReservationPendingException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "CapacityReservationPending" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +extension ElasticLoadBalancingv2ClientTypes { + + public enum CapacityReservationStateEnum: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failed + case pending + case provisioned + case rebalancing + case sdkUnknown(Swift.String) + + public static var allCases: [CapacityReservationStateEnum] { + return [ + .failed, + .pending, + .provisioned, + .rebalancing + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .failed: return "failed" + case .pending: return "pending" + case .provisioned: return "provisioned" + case .rebalancing: return "rebalancing" + case let .sdkUnknown(s): return s + } + } + } +} + +extension ElasticLoadBalancingv2ClientTypes { + + /// The status of a capacity reservation. + public struct CapacityReservationStatus: Swift.Sendable { + /// The status code. + public var code: ElasticLoadBalancingv2ClientTypes.CapacityReservationStateEnum? + /// The reason code for the status. + public var reason: Swift.String? + + public init( + code: ElasticLoadBalancingv2ClientTypes.CapacityReservationStateEnum? = nil, + reason: Swift.String? = nil + ) + { + self.code = code + self.reason = reason + } + } +} + +/// You've exceeded the capacity units limit. +public struct CapacityUnitsLimitExceededException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "CapacityUnitsLimitExceeded" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + extension ElasticLoadBalancingv2ClientTypes { /// Information about a cipher used in a policy. @@ -3529,6 +3656,83 @@ public struct DescribeAccountLimitsOutput: Swift.Sendable { } } +public struct DescribeCapacityReservationInput: Swift.Sendable { + /// The Amazon Resource Name (ARN) of the load balancer. + /// This member is required. + public var loadBalancerArn: Swift.String? + + public init( + loadBalancerArn: Swift.String? = nil + ) + { + self.loadBalancerArn = loadBalancerArn + } +} + +extension ElasticLoadBalancingv2ClientTypes { + + /// The capacity reservation status for each availability zone. + public struct ZonalCapacityReservationState: Swift.Sendable { + /// Information about the availability zone. + public var availabilityZone: Swift.String? + /// The number of effective capacity units. + public var effectiveCapacityUnits: Swift.Double? + /// The state of the capacity reservation. + public var state: ElasticLoadBalancingv2ClientTypes.CapacityReservationStatus? + + public init( + availabilityZone: Swift.String? = nil, + effectiveCapacityUnits: Swift.Double? = nil, + state: ElasticLoadBalancingv2ClientTypes.CapacityReservationStatus? = nil + ) + { + self.availabilityZone = availabilityZone + self.effectiveCapacityUnits = effectiveCapacityUnits + self.state = state + } + } +} + +extension ElasticLoadBalancingv2ClientTypes { + + /// The minimum capacity for a load balancer. + public struct MinimumLoadBalancerCapacity: Swift.Sendable { + /// The number of capacity units. + public var capacityUnits: Swift.Int? + + public init( + capacityUnits: Swift.Int? = nil + ) + { + self.capacityUnits = capacityUnits + } + } +} + +public struct DescribeCapacityReservationOutput: Swift.Sendable { + /// The state of the capacity reservation. + public var capacityReservationState: [ElasticLoadBalancingv2ClientTypes.ZonalCapacityReservationState]? + /// The amount of daily capacity decreases remaining. + public var decreaseRequestsRemaining: Swift.Int? + /// The last time the capacity reservation was modified. + public var lastModifiedTime: Foundation.Date? + /// The requested minimum capacity reservation for the load balancer + public var minimumLoadBalancerCapacity: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity? + + public init( + capacityReservationState: [ElasticLoadBalancingv2ClientTypes.ZonalCapacityReservationState]? = nil, + decreaseRequestsRemaining: Swift.Int? = nil, + lastModifiedTime: Foundation.Date? = nil, + minimumLoadBalancerCapacity: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity? = nil + ) + { + self.capacityReservationState = capacityReservationState + self.decreaseRequestsRemaining = decreaseRequestsRemaining + self.lastModifiedTime = lastModifiedTime + self.minimumLoadBalancerCapacity = minimumLoadBalancerCapacity + } +} + public struct DescribeListenerAttributesInput: Swift.Sendable { /// The Amazon Resource Name (ARN) of the listener. /// This member is required. @@ -4681,6 +4885,99 @@ public struct GetTrustStoreRevocationContentOutput: Swift.Sendable { } } +/// There is insufficient capacity to reserve. +public struct InsufficientCapacityException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "InsufficientCapacity" } + public static var fault: ClientRuntime.ErrorFault { .server } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +/// This operation is not allowed while a prior request has not been completed. +public struct PriorRequestNotCompleteException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { + + public struct Properties { + public internal(set) var message: Swift.String? = nil + } + + public internal(set) var properties = Properties() + public static var typeName: Swift.String { "PriorRequestNotComplete" } + public static var fault: ClientRuntime.ErrorFault { .client } + public static var isRetryable: Swift.Bool { false } + public static var isThrottling: Swift.Bool { false } + public internal(set) var httpResponse = SmithyHTTPAPI.HTTPResponse() + public internal(set) var message: Swift.String? + public internal(set) var requestID: Swift.String? + + public init( + message: Swift.String? = nil + ) + { + self.properties.message = message + } +} + +public struct ModifyCapacityReservationInput: Swift.Sendable { + /// The Amazon Resource Name (ARN) of the load balancer. + /// This member is required. + public var loadBalancerArn: Swift.String? + /// The minimum load balancer capacity reserved. + public var minimumLoadBalancerCapacity: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity? + /// Resets the capacity reservation. + public var resetCapacityReservation: Swift.Bool? + + public init( + loadBalancerArn: Swift.String? = nil, + minimumLoadBalancerCapacity: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity? = nil, + resetCapacityReservation: Swift.Bool? = nil + ) + { + self.loadBalancerArn = loadBalancerArn + self.minimumLoadBalancerCapacity = minimumLoadBalancerCapacity + self.resetCapacityReservation = resetCapacityReservation + } +} + +public struct ModifyCapacityReservationOutput: Swift.Sendable { + /// The state of the capacity reservation. + public var capacityReservationState: [ElasticLoadBalancingv2ClientTypes.ZonalCapacityReservationState]? + /// The amount of daily capacity decreases remaining. + public var decreaseRequestsRemaining: Swift.Int? + /// The last time the capacity reservation was modified. + public var lastModifiedTime: Foundation.Date? + /// The requested minimum capacity reservation for the load balancer + public var minimumLoadBalancerCapacity: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity? + + public init( + capacityReservationState: [ElasticLoadBalancingv2ClientTypes.ZonalCapacityReservationState]? = nil, + decreaseRequestsRemaining: Swift.Int? = nil, + lastModifiedTime: Foundation.Date? = nil, + minimumLoadBalancerCapacity: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity? = nil + ) + { + self.capacityReservationState = capacityReservationState + self.decreaseRequestsRemaining = decreaseRequestsRemaining + self.lastModifiedTime = lastModifiedTime + self.minimumLoadBalancerCapacity = minimumLoadBalancerCapacity + } +} + public struct ModifyListenerInput: Swift.Sendable { /// [TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values: /// @@ -5365,6 +5662,13 @@ extension DescribeAccountLimitsInput { } } +extension DescribeCapacityReservationInput { + + static func urlPathProvider(_ value: DescribeCapacityReservationInput) -> Swift.String? { + return "/" + } +} + extension DescribeListenerAttributesInput { static func urlPathProvider(_ value: DescribeListenerAttributesInput) -> Swift.String? { @@ -5484,6 +5788,13 @@ extension GetTrustStoreRevocationContentInput { } } +extension ModifyCapacityReservationInput { + + static func urlPathProvider(_ value: ModifyCapacityReservationInput) -> Swift.String? { + return "/" + } +} + extension ModifyListenerInput { static func urlPathProvider(_ value: ModifyListenerInput) -> Swift.String? { @@ -5796,6 +6107,16 @@ extension DescribeAccountLimitsInput { } } +extension DescribeCapacityReservationInput { + + static func write(value: DescribeCapacityReservationInput?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["LoadBalancerArn"].write(value.loadBalancerArn) + try writer["Action"].write("DescribeCapacityReservation") + try writer["Version"].write("2015-12-01") + } +} + extension DescribeListenerAttributesInput { static func write(value: DescribeListenerAttributesInput?, to writer: SmithyFormURL.Writer) throws { @@ -5995,6 +6316,18 @@ extension GetTrustStoreRevocationContentInput { } } +extension ModifyCapacityReservationInput { + + static func write(value: ModifyCapacityReservationInput?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["LoadBalancerArn"].write(value.loadBalancerArn) + try writer["MinimumLoadBalancerCapacity"].write(value.minimumLoadBalancerCapacity, with: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity.write(value:to:)) + try writer["ResetCapacityReservation"].write(value.resetCapacityReservation) + try writer["Action"].write("ModifyCapacityReservation") + try writer["Version"].write("2015-12-01") + } +} + extension ModifyListenerInput { static func write(value: ModifyListenerInput?, to writer: SmithyFormURL.Writer) throws { @@ -6333,6 +6666,21 @@ extension DescribeAccountLimitsOutput { } } +extension DescribeCapacityReservationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeCapacityReservationOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader["DescribeCapacityReservationResult"] + var value = DescribeCapacityReservationOutput() + value.capacityReservationState = try reader["CapacityReservationState"].readListIfPresent(memberReadingClosure: ElasticLoadBalancingv2ClientTypes.ZonalCapacityReservationState.read(from:), memberNodeInfo: "member", isFlattened: false) + value.decreaseRequestsRemaining = try reader["DecreaseRequestsRemaining"].readIfPresent() + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) + value.minimumLoadBalancerCapacity = try reader["MinimumLoadBalancerCapacity"].readIfPresent(with: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity.read(from:)) + return value + } +} + extension DescribeListenerAttributesOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DescribeListenerAttributesOutput { @@ -6546,6 +6894,21 @@ extension GetTrustStoreRevocationContentOutput { } } +extension ModifyCapacityReservationOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyCapacityReservationOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let reader = responseReader["ModifyCapacityReservationResult"] + var value = ModifyCapacityReservationOutput() + value.capacityReservationState = try reader["CapacityReservationState"].readListIfPresent(memberReadingClosure: ElasticLoadBalancingv2ClientTypes.ZonalCapacityReservationState.read(from:), memberNodeInfo: "member", isFlattened: false) + value.decreaseRequestsRemaining = try reader["DecreaseRequestsRemaining"].readIfPresent() + value.lastModifiedTime = try reader["LastModifiedTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) + value.minimumLoadBalancerCapacity = try reader["MinimumLoadBalancerCapacity"].readIfPresent(with: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity.read(from:)) + return value + } +} + extension ModifyListenerOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ModifyListenerOutput { @@ -7004,6 +7367,20 @@ enum DescribeAccountLimitsOutputError { } } +enum DescribeCapacityReservationOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "LoadBalancerNotFound": return try LoadBalancerNotFoundException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DescribeListenerAttributesOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -7255,6 +7632,27 @@ enum GetTrustStoreRevocationContentOutputError { } } +enum ModifyCapacityReservationOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyXML.Reader.from(data: data) + let baseError = try AWSClientRuntime.AWSQueryError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "CapacityDecreaseRequestLimitExceeded": return try CapacityDecreaseRequestsLimitExceededException.makeError(baseError: baseError) + case "CapacityReservationPending": return try CapacityReservationPendingException.makeError(baseError: baseError) + case "CapacityUnitsLimitExceeded": return try CapacityUnitsLimitExceededException.makeError(baseError: baseError) + case "InsufficientCapacity": return try InsufficientCapacityException.makeError(baseError: baseError) + case "InvalidConfigurationRequest": return try InvalidConfigurationRequestException.makeError(baseError: baseError) + case "LoadBalancerNotFound": return try LoadBalancerNotFoundException.makeError(baseError: baseError) + case "OperationNotPermitted": return try OperationNotPermittedException.makeError(baseError: baseError) + case "PriorRequestNotComplete": return try PriorRequestNotCompleteException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ModifyListenerOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -7511,6 +7909,7 @@ enum SetSubnetsOutputError { switch baseError.code { case "AllocationIdNotFound": return try AllocationIdNotFoundException.makeError(baseError: baseError) case "AvailabilityZoneNotSupported": return try AvailabilityZoneNotSupportedException.makeError(baseError: baseError) + case "CapacityReservationPending": return try CapacityReservationPendingException.makeError(baseError: baseError) case "InvalidConfigurationRequest": return try InvalidConfigurationRequestException.makeError(baseError: baseError) case "InvalidSubnet": return try InvalidSubnetException.makeError(baseError: baseError) case "LoadBalancerNotFound": return try LoadBalancerNotFoundException.makeError(baseError: baseError) @@ -8183,6 +8582,71 @@ extension ResourceNotFoundException { } } +extension PriorRequestNotCompleteException { + + static func makeError(baseError: AWSClientRuntime.AWSQueryError) throws -> PriorRequestNotCompleteException { + let reader = baseError.errorBodyReader + var value = PriorRequestNotCompleteException() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension CapacityReservationPendingException { + + static func makeError(baseError: AWSClientRuntime.AWSQueryError) throws -> CapacityReservationPendingException { + let reader = baseError.errorBodyReader + var value = CapacityReservationPendingException() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension InsufficientCapacityException { + + static func makeError(baseError: AWSClientRuntime.AWSQueryError) throws -> InsufficientCapacityException { + let reader = baseError.errorBodyReader + var value = InsufficientCapacityException() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension CapacityUnitsLimitExceededException { + + static func makeError(baseError: AWSClientRuntime.AWSQueryError) throws -> CapacityUnitsLimitExceededException { + let reader = baseError.errorBodyReader + var value = CapacityUnitsLimitExceededException() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + +extension CapacityDecreaseRequestsLimitExceededException { + + static func makeError(baseError: AWSClientRuntime.AWSQueryError) throws -> CapacityDecreaseRequestsLimitExceededException { + let reader = baseError.errorBodyReader + var value = CapacityDecreaseRequestsLimitExceededException() + value.properties.message = try reader["Message"].readIfPresent() + value.httpResponse = baseError.httpResponse + value.requestID = baseError.requestID + value.message = baseError.message + return value + } +} + extension ElasticLoadBalancingv2ClientTypes.Certificate { static func write(value: ElasticLoadBalancingv2ClientTypes.Certificate?, to writer: SmithyFormURL.Writer) throws { @@ -8725,6 +9189,44 @@ extension ElasticLoadBalancingv2ClientTypes.Limit { } } +extension ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity { + + static func write(value: ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity?, to writer: SmithyFormURL.Writer) throws { + guard let value else { return } + try writer["CapacityUnits"].write(value.capacityUnits) + } + + static func read(from reader: SmithyXML.Reader) throws -> ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ElasticLoadBalancingv2ClientTypes.MinimumLoadBalancerCapacity() + value.capacityUnits = try reader["CapacityUnits"].readIfPresent() + return value + } +} + +extension ElasticLoadBalancingv2ClientTypes.ZonalCapacityReservationState { + + static func read(from reader: SmithyXML.Reader) throws -> ElasticLoadBalancingv2ClientTypes.ZonalCapacityReservationState { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ElasticLoadBalancingv2ClientTypes.ZonalCapacityReservationState() + value.state = try reader["State"].readIfPresent(with: ElasticLoadBalancingv2ClientTypes.CapacityReservationStatus.read(from:)) + value.availabilityZone = try reader["AvailabilityZone"].readIfPresent() + value.effectiveCapacityUnits = try reader["EffectiveCapacityUnits"].readIfPresent() + return value + } +} + +extension ElasticLoadBalancingv2ClientTypes.CapacityReservationStatus { + + static func read(from reader: SmithyXML.Reader) throws -> ElasticLoadBalancingv2ClientTypes.CapacityReservationStatus { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = ElasticLoadBalancingv2ClientTypes.CapacityReservationStatus() + value.code = try reader["Code"].readIfPresent() + value.reason = try reader["Reason"].readIfPresent() + return value + } +} + extension ElasticLoadBalancingv2ClientTypes.ListenerAttribute { static func write(value: ElasticLoadBalancingv2ClientTypes.ListenerAttribute?, to writer: SmithyFormURL.Writer) throws { diff --git a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift index 1f673d114d8..66e003c4abd 100644 --- a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift +++ b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticTranscoderClient: ClientRuntime.Client { public static let clientName = "ElasticTranscoderClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ElasticTranscoderClient.ElasticTranscoderClientConfiguration let serviceName = "Elastic Transcoder" diff --git a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift index fc3c4da7e9c..1d8c59d6c9b 100644 --- a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift +++ b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticsearchClient: ClientRuntime.Client { public static let clientName = "ElasticsearchClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ElasticsearchClient.ElasticsearchClientConfiguration let serviceName = "Elasticsearch" diff --git a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift index 71007a2553f..d94eff8c316 100644 --- a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift +++ b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EntityResolutionClient: ClientRuntime.Client { public static let clientName = "EntityResolutionClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EntityResolutionClient.EntityResolutionClientConfiguration let serviceName = "EntityResolution" diff --git a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift index 33b2e3facb3..7c3eb29aa6a 100644 --- a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift +++ b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EventBridgeClient: ClientRuntime.Client { public static let clientName = "EventBridgeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EventBridgeClient.EventBridgeClientConfiguration let serviceName = "EventBridge" diff --git a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift index 7ec0f868f79..fd6595278de 100644 --- a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift +++ b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EvidentlyClient: ClientRuntime.Client { public static let clientName = "EvidentlyClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: EvidentlyClient.EvidentlyClientConfiguration let serviceName = "Evidently" diff --git a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift index 0990806bc85..7238f1cac14 100644 --- a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift +++ b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FMSClient: ClientRuntime.Client { public static let clientName = "FMSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: FMSClient.FMSClientConfiguration let serviceName = "FMS" diff --git a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift index 6dbcc0787ea..5594eea203e 100644 --- a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift +++ b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FSxClient: ClientRuntime.Client { public static let clientName = "FSxClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: FSxClient.FSxClientConfiguration let serviceName = "FSx" diff --git a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift index a728a2ada65..8ea933f70b0 100644 --- a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift +++ b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FinspaceClient: ClientRuntime.Client { public static let clientName = "FinspaceClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: FinspaceClient.FinspaceClientConfiguration let serviceName = "finspace" diff --git a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift index a14e6bb00fc..0a947e6e85e 100644 --- a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift +++ b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FinspacedataClient: ClientRuntime.Client { public static let clientName = "FinspacedataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: FinspacedataClient.FinspacedataClientConfiguration let serviceName = "finspace data" diff --git a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift index 9e9949ef504..b2e18b6ae9e 100644 --- a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift +++ b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FirehoseClient: ClientRuntime.Client { public static let clientName = "FirehoseClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: FirehoseClient.FirehoseClientConfiguration let serviceName = "Firehose" diff --git a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift index 79d6cfdeaad..e550e92f4a5 100644 --- a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift +++ b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FisClient: ClientRuntime.Client { public static let clientName = "FisClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: FisClient.FisClientConfiguration let serviceName = "fis" diff --git a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift index 66f6375ae3a..6901027939a 100644 --- a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift +++ b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ForecastClient: ClientRuntime.Client { public static let clientName = "ForecastClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ForecastClient.ForecastClientConfiguration let serviceName = "forecast" diff --git a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift index cc70597590d..b2a985df863 100644 --- a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift +++ b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ForecastqueryClient: ClientRuntime.Client { public static let clientName = "ForecastqueryClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ForecastqueryClient.ForecastqueryClientConfiguration let serviceName = "forecastquery" diff --git a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift index 2c53f8613ea..50b0d05d1c1 100644 --- a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift +++ b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FraudDetectorClient: ClientRuntime.Client { public static let clientName = "FraudDetectorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: FraudDetectorClient.FraudDetectorClientConfiguration let serviceName = "FraudDetector" diff --git a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift index f494a7331e8..2b3f520a4de 100644 --- a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift +++ b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FreeTierClient: ClientRuntime.Client { public static let clientName = "FreeTierClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: FreeTierClient.FreeTierClientConfiguration let serviceName = "FreeTier" diff --git a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift index 83b176c9dae..bbf0b67cb89 100644 --- a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift +++ b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GameLiftClient: ClientRuntime.Client { public static let clientName = "GameLiftClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GameLiftClient.GameLiftClientConfiguration let serviceName = "GameLift" diff --git a/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift b/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift index a423179f37c..e5d3a6a22d9 100644 --- a/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift +++ b/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift @@ -59,7 +59,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoMapsClient: ClientRuntime.Client { public static let clientName = "GeoMapsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GeoMapsClient.GeoMapsClientConfiguration let serviceName = "Geo Maps" diff --git a/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift b/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift index 916bd45b839..2ef10f75147 100644 --- a/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift +++ b/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoPlacesClient: ClientRuntime.Client { public static let clientName = "GeoPlacesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GeoPlacesClient.GeoPlacesClientConfiguration let serviceName = "Geo Places" diff --git a/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift b/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift index 7bcba924e39..718606a4b62 100644 --- a/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift +++ b/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoRoutesClient: ClientRuntime.Client { public static let clientName = "GeoRoutesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GeoRoutesClient.GeoRoutesClientConfiguration let serviceName = "Geo Routes" diff --git a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift index 89fb9158cea..9e7c337cce4 100644 --- a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift +++ b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift @@ -70,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlacierClient: ClientRuntime.Client { public static let clientName = "GlacierClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GlacierClient.GlacierClientConfiguration let serviceName = "Glacier" diff --git a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift index 1de47e3496b..b260123181c 100644 --- a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift +++ b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlobalAcceleratorClient: ClientRuntime.Client { public static let clientName = "GlobalAcceleratorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GlobalAcceleratorClient.GlobalAcceleratorClientConfiguration let serviceName = "Global Accelerator" diff --git a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift index 27bb4633f09..7521aaf92ce 100644 --- a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift +++ b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlueClient: ClientRuntime.Client { public static let clientName = "GlueClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GlueClient.GlueClientConfiguration let serviceName = "Glue" diff --git a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift index 6ad24ec26fc..9df52580d87 100644 --- a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift +++ b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GrafanaClient: ClientRuntime.Client { public static let clientName = "GrafanaClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GrafanaClient.GrafanaClientConfiguration let serviceName = "grafana" diff --git a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift index 9d38c151142..90f83f312fa 100644 --- a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift +++ b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GreengrassClient: ClientRuntime.Client { public static let clientName = "GreengrassClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GreengrassClient.GreengrassClientConfiguration let serviceName = "Greengrass" diff --git a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift index 2e749ae39c9..fdb447ba2e4 100644 --- a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift +++ b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GreengrassV2Client: ClientRuntime.Client { public static let clientName = "GreengrassV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GreengrassV2Client.GreengrassV2ClientConfiguration let serviceName = "GreengrassV2" diff --git a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift index 49b5e73f5b2..c3edef85c0b 100644 --- a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift +++ b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GroundStationClient: ClientRuntime.Client { public static let clientName = "GroundStationClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GroundStationClient.GroundStationClientConfiguration let serviceName = "GroundStation" diff --git a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift index 54a48ecb4aa..3abe471ae7f 100644 --- a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift +++ b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GuardDutyClient: ClientRuntime.Client { public static let clientName = "GuardDutyClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: GuardDutyClient.GuardDutyClientConfiguration let serviceName = "GuardDuty" diff --git a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift index a2e6067a569..46a713fc8d1 100644 --- a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift +++ b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class HealthClient: ClientRuntime.Client { public static let clientName = "HealthClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: HealthClient.HealthClientConfiguration let serviceName = "Health" diff --git a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift index f3c66c27c39..622b3a86d5e 100644 --- a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift +++ b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class HealthLakeClient: ClientRuntime.Client { public static let clientName = "HealthLakeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: HealthLakeClient.HealthLakeClientConfiguration let serviceName = "HealthLake" diff --git a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift index 2622d2a5bc2..f4d5127b12a 100644 --- a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift +++ b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IAMClient: ClientRuntime.Client { public static let clientName = "IAMClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IAMClient.IAMClientConfiguration let serviceName = "IAM" diff --git a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift index 2e46c6c9173..455257e6d9b 100644 --- a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift +++ b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IVSRealTimeClient: ClientRuntime.Client { public static let clientName = "IVSRealTimeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IVSRealTimeClient.IVSRealTimeClientConfiguration let serviceName = "IVS RealTime" diff --git a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift index 511a0cdcd77..74f513b65f2 100644 --- a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift +++ b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IdentitystoreClient: ClientRuntime.Client { public static let clientName = "IdentitystoreClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IdentitystoreClient.IdentitystoreClientConfiguration let serviceName = "identitystore" diff --git a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift index 9f20b84f8ab..aeaaf0abef2 100644 --- a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift +++ b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ImagebuilderClient: ClientRuntime.Client { public static let clientName = "ImagebuilderClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ImagebuilderClient.ImagebuilderClientConfiguration let serviceName = "imagebuilder" diff --git a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift index 66904f443f6..0e5a8315133 100644 --- a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift +++ b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InspectorClient: ClientRuntime.Client { public static let clientName = "InspectorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: InspectorClient.InspectorClientConfiguration let serviceName = "Inspector" diff --git a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift index e532f6c7634..62e76ab81f2 100644 --- a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift +++ b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Inspector2Client: ClientRuntime.Client { public static let clientName = "Inspector2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Inspector2Client.Inspector2ClientConfiguration let serviceName = "Inspector2" diff --git a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift index 2c71e9b5806..5d73370f661 100644 --- a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift +++ b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InspectorScanClient: ClientRuntime.Client { public static let clientName = "InspectorScanClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: InspectorScanClient.InspectorScanClientConfiguration let serviceName = "Inspector Scan" diff --git a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift index 0e37705407d..8bafbee9a33 100644 --- a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift +++ b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InternetMonitorClient: ClientRuntime.Client { public static let clientName = "InternetMonitorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: InternetMonitorClient.InternetMonitorClientConfiguration let serviceName = "InternetMonitor" diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift index fb55641824c..318e365a879 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTClient: ClientRuntime.Client { public static let clientName = "IoTClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTClient.IoTClientConfiguration let serviceName = "IoT" diff --git a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift index 234c4b06e87..d716272b892 100644 --- a/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift +++ b/Sources/Services/AWSIoT1ClickDevicesService/Sources/AWSIoT1ClickDevicesService/IoT1ClickDevicesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoT1ClickDevicesClient: ClientRuntime.Client { public static let clientName = "IoT1ClickDevicesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoT1ClickDevicesClient.IoT1ClickDevicesClientConfiguration let serviceName = "IoT 1Click Devices" diff --git a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift index f9e8447f317..bb7bcc902d2 100644 --- a/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift +++ b/Sources/Services/AWSIoT1ClickProjects/Sources/AWSIoT1ClickProjects/IoT1ClickProjectsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoT1ClickProjectsClient: ClientRuntime.Client { public static let clientName = "IoT1ClickProjectsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoT1ClickProjectsClient.IoT1ClickProjectsClientConfiguration let serviceName = "IoT 1Click Projects" diff --git a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift index c97a3dfd372..c49543f565b 100644 --- a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift +++ b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTAnalyticsClient: ClientRuntime.Client { public static let clientName = "IoTAnalyticsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTAnalyticsClient.IoTAnalyticsClientConfiguration let serviceName = "IoTAnalytics" diff --git a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift index 3d1c89a6d36..613d4a6ca87 100644 --- a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift +++ b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTDataPlaneClient: ClientRuntime.Client { public static let clientName = "IoTDataPlaneClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTDataPlaneClient.IoTDataPlaneClientConfiguration let serviceName = "IoT Data Plane" diff --git a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift index f4fa1035882..7ef52e49fd0 100644 --- a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift +++ b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTEventsClient: ClientRuntime.Client { public static let clientName = "IoTEventsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTEventsClient.IoTEventsClientConfiguration let serviceName = "IoT Events" diff --git a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift index 85378190346..01ec8cc5c54 100644 --- a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift +++ b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTEventsDataClient: ClientRuntime.Client { public static let clientName = "IoTEventsDataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTEventsDataClient.IoTEventsDataClientConfiguration let serviceName = "IoT Events Data" diff --git a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift index 221640af649..376af4fc8d3 100644 --- a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift +++ b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTFleetHubClient: ClientRuntime.Client { public static let clientName = "IoTFleetHubClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTFleetHubClient.IoTFleetHubClientConfiguration let serviceName = "IoTFleetHub" diff --git a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift index c2a439ca4e1..a297d6b9f45 100644 --- a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift +++ b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTFleetWiseClient: ClientRuntime.Client { public static let clientName = "IoTFleetWiseClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTFleetWiseClient.IoTFleetWiseClientConfiguration let serviceName = "IoTFleetWise" diff --git a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift index a51a8754380..6027142939a 100644 --- a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift +++ b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTJobsDataPlaneClient: ClientRuntime.Client { public static let clientName = "IoTJobsDataPlaneClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTJobsDataPlaneClient.IoTJobsDataPlaneClientConfiguration let serviceName = "IoT Jobs Data Plane" diff --git a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift index 3630ce8d97b..03a2413bfca 100644 --- a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift +++ b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTSecureTunnelingClient: ClientRuntime.Client { public static let clientName = "IoTSecureTunnelingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTSecureTunnelingClient.IoTSecureTunnelingClientConfiguration let serviceName = "IoTSecureTunneling" diff --git a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift index 166a0ce03b9..a1bea89f85d 100644 --- a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift +++ b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTSiteWiseClient: ClientRuntime.Client { public static let clientName = "IoTSiteWiseClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTSiteWiseClient.IoTSiteWiseClientConfiguration let serviceName = "IoTSiteWise" diff --git a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift index 9d63217dea3..8a60269947a 100644 --- a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift +++ b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTThingsGraphClient: ClientRuntime.Client { public static let clientName = "IoTThingsGraphClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTThingsGraphClient.IoTThingsGraphClientConfiguration let serviceName = "IoTThingsGraph" diff --git a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift index 34d3545ca09..fbd96e22789 100644 --- a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift +++ b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTTwinMakerClient: ClientRuntime.Client { public static let clientName = "IoTTwinMakerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTTwinMakerClient.IoTTwinMakerClientConfiguration let serviceName = "IoTTwinMaker" diff --git a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift index 8ccba163953..4493717dc91 100644 --- a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift +++ b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTWirelessClient: ClientRuntime.Client { public static let clientName = "IoTWirelessClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IoTWirelessClient.IoTWirelessClientConfiguration let serviceName = "IoT Wireless" diff --git a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift index 7b4eb7abfe6..9f478bf0ea3 100644 --- a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift +++ b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IotDeviceAdvisorClient: ClientRuntime.Client { public static let clientName = "IotDeviceAdvisorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IotDeviceAdvisorClient.IotDeviceAdvisorClientConfiguration let serviceName = "IotDeviceAdvisor" diff --git a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift index 57d0a5ae930..aa70f8aeb6b 100644 --- a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift +++ b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IvsClient: ClientRuntime.Client { public static let clientName = "IvsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IvsClient.IvsClientConfiguration let serviceName = "ivs" diff --git a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift index 1f23613ca00..29dffa0fc80 100644 --- a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift +++ b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IvschatClient: ClientRuntime.Client { public static let clientName = "IvschatClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: IvschatClient.IvschatClientConfiguration let serviceName = "ivschat" diff --git a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift index 431389a5009..2624bc91c5b 100644 --- a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift +++ b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KMSClient: ClientRuntime.Client { public static let clientName = "KMSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KMSClient.KMSClientConfiguration let serviceName = "KMS" diff --git a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift index e91a109deb5..e16b7322007 100644 --- a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift +++ b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KafkaClient: ClientRuntime.Client { public static let clientName = "KafkaClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KafkaClient.KafkaClientConfiguration let serviceName = "Kafka" diff --git a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift index 07f837372ab..1ae31687111 100644 --- a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift +++ b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KafkaConnectClient: ClientRuntime.Client { public static let clientName = "KafkaConnectClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KafkaConnectClient.KafkaConnectClientConfiguration let serviceName = "KafkaConnect" diff --git a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift index 5470275ed68..40e9ea838de 100644 --- a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift +++ b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KendraClient: ClientRuntime.Client { public static let clientName = "KendraClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KendraClient.KendraClientConfiguration let serviceName = "kendra" diff --git a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift index d6123258fee..e465e1740a2 100644 --- a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift +++ b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KendraRankingClient: ClientRuntime.Client { public static let clientName = "KendraRankingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KendraRankingClient.KendraRankingClientConfiguration let serviceName = "Kendra Ranking" diff --git a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift index 898299dd547..83a8c70d664 100644 --- a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift +++ b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KeyspacesClient: ClientRuntime.Client { public static let clientName = "KeyspacesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KeyspacesClient.KeyspacesClientConfiguration let serviceName = "Keyspaces" diff --git a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift index 4fcff7d270a..e15db285648 100644 --- a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift +++ b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisClient: ClientRuntime.Client { public static let clientName = "KinesisClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KinesisClient.KinesisClientConfiguration let serviceName = "Kinesis" diff --git a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift index 5ba54e3105a..0adcab594d6 100644 --- a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift +++ b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisAnalyticsClient: ClientRuntime.Client { public static let clientName = "KinesisAnalyticsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KinesisAnalyticsClient.KinesisAnalyticsClientConfiguration let serviceName = "Kinesis Analytics" diff --git a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift index e6468bb5366..89857b1374a 100644 --- a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift +++ b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisAnalyticsV2Client: ClientRuntime.Client { public static let clientName = "KinesisAnalyticsV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KinesisAnalyticsV2Client.KinesisAnalyticsV2ClientConfiguration let serviceName = "Kinesis Analytics V2" diff --git a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift index d1ef349ce1d..71acfef8dfb 100644 --- a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift +++ b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoClient: ClientRuntime.Client { public static let clientName = "KinesisVideoClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoClient.KinesisVideoClientConfiguration let serviceName = "Kinesis Video" diff --git a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift index d97e31c39d7..044cd85263a 100644 --- a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoArchivedMediaClient: ClientRuntime.Client { public static let clientName = "KinesisVideoArchivedMediaClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoArchivedMediaClient.KinesisVideoArchivedMediaClientConfiguration let serviceName = "Kinesis Video Archived Media" diff --git a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift index 914ed410def..f00ff4292aa 100644 --- a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoMediaClient: ClientRuntime.Client { public static let clientName = "KinesisVideoMediaClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoMediaClient.KinesisVideoMediaClientConfiguration let serviceName = "Kinesis Video Media" diff --git a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift index d18b987422d..2c4ba837424 100644 --- a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift +++ b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoSignalingClient: ClientRuntime.Client { public static let clientName = "KinesisVideoSignalingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoSignalingClient.KinesisVideoSignalingClientConfiguration let serviceName = "Kinesis Video Signaling" diff --git a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift index 202bcf2370d..5fda02548c4 100644 --- a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift +++ b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoWebRTCStorageClient: ClientRuntime.Client { public static let clientName = "KinesisVideoWebRTCStorageClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoWebRTCStorageClient.KinesisVideoWebRTCStorageClientConfiguration let serviceName = "Kinesis Video WebRTC Storage" diff --git a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift index cf685b578f7..5dd48cf589a 100644 --- a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift +++ b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LakeFormationClient: ClientRuntime.Client { public static let clientName = "LakeFormationClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LakeFormationClient.LakeFormationClientConfiguration let serviceName = "LakeFormation" diff --git a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift index 74aca4858e4..b65a78ab610 100644 --- a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift +++ b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LambdaClient: ClientRuntime.Client { public static let clientName = "LambdaClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LambdaClient.LambdaClientConfiguration let serviceName = "Lambda" diff --git a/Sources/Services/AWSLambda/Sources/AWSLambda/Models.swift b/Sources/Services/AWSLambda/Sources/AWSLambda/Models.swift index 35df796e01d..4c50ad81452 100644 --- a/Sources/Services/AWSLambda/Sources/AWSLambda/Models.swift +++ b/Sources/Services/AWSLambda/Sources/AWSLambda/Models.swift @@ -1953,6 +1953,7 @@ extension LambdaClientTypes { case nodejs16x case nodejs18x case nodejs20x + case nodejs22x case nodejs43 case nodejs43edge case nodejs610 @@ -1996,6 +1997,7 @@ extension LambdaClientTypes { .nodejs16x, .nodejs18x, .nodejs20x, + .nodejs22x, .nodejs43, .nodejs43edge, .nodejs610, @@ -2045,6 +2047,7 @@ extension LambdaClientTypes { case .nodejs16x: return "nodejs16.x" case .nodejs18x: return "nodejs18.x" case .nodejs20x: return "nodejs20.x" + case .nodejs22x: return "nodejs22.x" case .nodejs43: return "nodejs4.3" case .nodejs43edge: return "nodejs4.3-edge" case .nodejs610: return "nodejs6.10" diff --git a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift index 8dbdf28d8c8..3487f65e94b 100644 --- a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift +++ b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LaunchWizardClient: ClientRuntime.Client { public static let clientName = "LaunchWizardClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LaunchWizardClient.LaunchWizardClientConfiguration let serviceName = "Launch Wizard" diff --git a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift index 7c2ff9898c8..007efeda254 100644 --- a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift +++ b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexModelBuildingClient: ClientRuntime.Client { public static let clientName = "LexModelBuildingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LexModelBuildingClient.LexModelBuildingClientConfiguration let serviceName = "Lex Model Building" diff --git a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift index ab62e536693..3995fa78560 100644 --- a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift +++ b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexModelsV2Client: ClientRuntime.Client { public static let clientName = "LexModelsV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LexModelsV2Client.LexModelsV2ClientConfiguration let serviceName = "Lex Models V2" diff --git a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift index fc0df2c8e42..c5d543b1df2 100644 --- a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift +++ b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexRuntimeClient: ClientRuntime.Client { public static let clientName = "LexRuntimeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LexRuntimeClient.LexRuntimeClientConfiguration let serviceName = "Lex Runtime" diff --git a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift index 9f283abce24..2df8e4e0f76 100644 --- a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift +++ b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexRuntimeV2Client: ClientRuntime.Client { public static let clientName = "LexRuntimeV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LexRuntimeV2Client.LexRuntimeV2ClientConfiguration let serviceName = "Lex Runtime V2" diff --git a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift index 91548113b31..b263c9c75e0 100644 --- a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift +++ b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerClient: ClientRuntime.Client { public static let clientName = "LicenseManagerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerClient.LicenseManagerClientConfiguration let serviceName = "License Manager" diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift index d4b299e569d..fbed7ab03e3 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerLinuxSubscriptionsClient: ClientRuntime.Client { public static let clientName = "LicenseManagerLinuxSubscriptionsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerLinuxSubscriptionsClient.LicenseManagerLinuxSubscriptionsClientConfiguration let serviceName = "License Manager Linux Subscriptions" diff --git a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift index ce209719f05..e36cd7f672c 100644 --- a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerUserSubscriptionsClient: ClientRuntime.Client { public static let clientName = "LicenseManagerUserSubscriptionsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerUserSubscriptionsClient.LicenseManagerUserSubscriptionsClientConfiguration let serviceName = "License Manager User Subscriptions" diff --git a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift index c0ceb4b121a..856ebe72c5d 100644 --- a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift +++ b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LightsailClient: ClientRuntime.Client { public static let clientName = "LightsailClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LightsailClient.LightsailClientConfiguration let serviceName = "Lightsail" diff --git a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift index 7c859b09ae4..da379342221 100644 --- a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift +++ b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LocationClient: ClientRuntime.Client { public static let clientName = "LocationClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LocationClient.LocationClientConfiguration let serviceName = "Location" diff --git a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift index db8f64a2341..892ffc3d576 100644 --- a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift +++ b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutEquipmentClient: ClientRuntime.Client { public static let clientName = "LookoutEquipmentClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LookoutEquipmentClient.LookoutEquipmentClientConfiguration let serviceName = "LookoutEquipment" diff --git a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift index 7722d137fec..59a6a49f37b 100644 --- a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift +++ b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutMetricsClient: ClientRuntime.Client { public static let clientName = "LookoutMetricsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LookoutMetricsClient.LookoutMetricsClientConfiguration let serviceName = "LookoutMetrics" diff --git a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift index 92eeeb8d973..75c5f658f2a 100644 --- a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift +++ b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutVisionClient: ClientRuntime.Client { public static let clientName = "LookoutVisionClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: LookoutVisionClient.LookoutVisionClientConfiguration let serviceName = "LookoutVision" diff --git a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift index 491a1fea1e7..5efe0e30eb6 100644 --- a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift +++ b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class M2Client: ClientRuntime.Client { public static let clientName = "M2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: M2Client.M2ClientConfiguration let serviceName = "m2" diff --git a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift index 789c6abd761..3ca79d3ed05 100644 --- a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift +++ b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MTurkClient: ClientRuntime.Client { public static let clientName = "MTurkClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MTurkClient.MTurkClientConfiguration let serviceName = "MTurk" diff --git a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift index 32210dcc606..48144b4edaa 100644 --- a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift +++ b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MWAAClient: ClientRuntime.Client { public static let clientName = "MWAAClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MWAAClient.MWAAClientConfiguration let serviceName = "MWAA" diff --git a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift index 0b64c5a3151..da3a25a3514 100644 --- a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift +++ b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MachineLearningClient: ClientRuntime.Client { public static let clientName = "MachineLearningClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MachineLearningClient.MachineLearningClientConfiguration let serviceName = "Machine Learning" diff --git a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift index e902186b175..6636e73ffb2 100644 --- a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift +++ b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Macie2Client: ClientRuntime.Client { public static let clientName = "Macie2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Macie2Client.Macie2ClientConfiguration let serviceName = "Macie2" diff --git a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift index fbb5639d52b..5baac40dff2 100644 --- a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift +++ b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MailManagerClient: ClientRuntime.Client { public static let clientName = "MailManagerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MailManagerClient.MailManagerClientConfiguration let serviceName = "MailManager" diff --git a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift index 121994390fd..bb529fe60f8 100644 --- a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift +++ b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ManagedBlockchainClient: ClientRuntime.Client { public static let clientName = "ManagedBlockchainClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ManagedBlockchainClient.ManagedBlockchainClientConfiguration let serviceName = "ManagedBlockchain" diff --git a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift index b6ea205a41c..3abda825dc9 100644 --- a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift +++ b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ManagedBlockchainQueryClient: ClientRuntime.Client { public static let clientName = "ManagedBlockchainQueryClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ManagedBlockchainQueryClient.ManagedBlockchainQueryClientConfiguration let serviceName = "ManagedBlockchain Query" diff --git a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift index 594f9a3f2a6..0376065eb3e 100644 --- a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift +++ b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceAgreementClient: ClientRuntime.Client { public static let clientName = "MarketplaceAgreementClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MarketplaceAgreementClient.MarketplaceAgreementClientConfiguration let serviceName = "Marketplace Agreement" diff --git a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift index 977730db329..58eb9e9b5b1 100644 --- a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift +++ b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceCatalogClient: ClientRuntime.Client { public static let clientName = "MarketplaceCatalogClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MarketplaceCatalogClient.MarketplaceCatalogClientConfiguration let serviceName = "Marketplace Catalog" diff --git a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift index ecc377aad23..46d4175e337 100644 --- a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift +++ b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceCommerceAnalyticsClient: ClientRuntime.Client { public static let clientName = "MarketplaceCommerceAnalyticsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MarketplaceCommerceAnalyticsClient.MarketplaceCommerceAnalyticsClientConfiguration let serviceName = "Marketplace Commerce Analytics" diff --git a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift index 13b35c04c9c..4d2ee5d692f 100644 --- a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift +++ b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceDeploymentClient: ClientRuntime.Client { public static let clientName = "MarketplaceDeploymentClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MarketplaceDeploymentClient.MarketplaceDeploymentClientConfiguration let serviceName = "Marketplace Deployment" diff --git a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift index 1b592586007..a7836080aff 100644 --- a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift +++ b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceEntitlementClient: ClientRuntime.Client { public static let clientName = "MarketplaceEntitlementClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MarketplaceEntitlementClient.MarketplaceEntitlementClientConfiguration let serviceName = "Marketplace Entitlement" diff --git a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift index b8b0e8815c4..63368a359cb 100644 --- a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift +++ b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceMeteringClient: ClientRuntime.Client { public static let clientName = "MarketplaceMeteringClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MarketplaceMeteringClient.MarketplaceMeteringClientConfiguration let serviceName = "Marketplace Metering" diff --git a/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift b/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift index d0b4bf9464b..41caa879081 100644 --- a/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift +++ b/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceReportingClient: ClientRuntime.Client { public static let clientName = "MarketplaceReportingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MarketplaceReportingClient.MarketplaceReportingClientConfiguration let serviceName = "Marketplace Reporting" diff --git a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift index 4f836670c9b..d17dda70c81 100644 --- a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift +++ b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaConnectClient: ClientRuntime.Client { public static let clientName = "MediaConnectClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MediaConnectClient.MediaConnectClientConfiguration let serviceName = "MediaConnect" diff --git a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift index e932e299f55..cf79d3a56a4 100644 --- a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift +++ b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaConvertClient: ClientRuntime.Client { public static let clientName = "MediaConvertClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MediaConvertClient.MediaConvertClientConfiguration let serviceName = "MediaConvert" diff --git a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/Models.swift b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/Models.swift index 11f7bd29ffd..929b679fe54 100644 --- a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/Models.swift +++ b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/Models.swift @@ -21573,6 +21573,34 @@ extension MediaConvertClientTypes { } } +extension MediaConvertClientTypes { + + /// A service override applied by MediaConvert to the settings that you have configured. If you see any overrides, we recommend that you contact AWS Support. + public struct ServiceOverride: Swift.Sendable { + /// Details about the service override that MediaConvert has applied. + public var message: Swift.String? + /// The name of the setting that MediaConvert has applied an override to. + public var name: Swift.String? + /// The current value of the service override that MediaConvert has applied. + public var overrideValue: Swift.String? + /// The value of the setting that you configured, prior to any overrides that MediaConvert has applied. + public var value: Swift.String? + + public init( + message: Swift.String? = nil, + name: Swift.String? = nil, + overrideValue: Swift.String? = nil, + value: Swift.String? = nil + ) + { + self.message = message + self.name = name + self.overrideValue = overrideValue + self.value = value + } + } +} + extension MediaConvertClientTypes { /// Queues can be ACTIVE or PAUSED. If you pause a queue, jobs in that queue won't begin. Jobs that are running when you pause a queue continue to run until they finish or result in an error. @@ -21609,6 +21637,8 @@ extension MediaConvertClientTypes { public struct Queue: Swift.Sendable { /// An identifier for this resource that is unique within all of AWS. public var arn: Swift.String? + /// The maximum number of jobs your queue can process concurrently. + public var concurrentJobs: Swift.Int? /// The timestamp in epoch seconds for when you created the queue. public var createdAt: Foundation.Date? /// An optional description that you create for each queue. @@ -21624,6 +21654,8 @@ extension MediaConvertClientTypes { public var progressingJobsCount: Swift.Int? /// Details about the pricing plan for your reserved queue. Required for reserved queues and not applicable to on-demand queues. public var reservationPlan: MediaConvertClientTypes.ReservationPlan? + /// A list of any service overrides applied by MediaConvert to the settings that you have configured. If you see any overrides, we recommend that you contact AWS Support. + public var serviceOverrides: [MediaConvertClientTypes.ServiceOverride]? /// Queues can be ACTIVE or PAUSED. If you pause a queue, the service won't begin processing jobs in that queue. Jobs that are running when you pause the queue continue to run until they finish or result in an error. public var status: MediaConvertClientTypes.QueueStatus? /// The estimated number of jobs with a SUBMITTED status. @@ -21633,6 +21665,7 @@ extension MediaConvertClientTypes { public init( arn: Swift.String? = nil, + concurrentJobs: Swift.Int? = nil, createdAt: Foundation.Date? = nil, description: Swift.String? = nil, lastUpdated: Foundation.Date? = nil, @@ -21640,12 +21673,14 @@ extension MediaConvertClientTypes { pricingPlan: MediaConvertClientTypes.PricingPlan? = nil, progressingJobsCount: Swift.Int? = nil, reservationPlan: MediaConvertClientTypes.ReservationPlan? = nil, + serviceOverrides: [MediaConvertClientTypes.ServiceOverride]? = nil, status: MediaConvertClientTypes.QueueStatus? = nil, submittedJobsCount: Swift.Int? = nil, type: MediaConvertClientTypes.ModelType? = nil ) { self.arn = arn + self.concurrentJobs = concurrentJobs self.createdAt = createdAt self.description = description self.lastUpdated = lastUpdated @@ -21653,6 +21688,7 @@ extension MediaConvertClientTypes { self.pricingPlan = pricingPlan self.progressingJobsCount = progressingJobsCount self.reservationPlan = reservationPlan + self.serviceOverrides = serviceOverrides self.status = status self.submittedJobsCount = submittedJobsCount self.type = type @@ -22050,6 +22086,8 @@ extension MediaConvertClientTypes { } public struct CreateQueueInput: Swift.Sendable { + /// Specify the maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, specify the number of jobs you can process concurrently in your reservation plan instead. + public var concurrentJobs: Swift.Int? /// Optional. A description of the queue that you are creating. public var description: Swift.String? /// The name of the queue that you are creating. @@ -22065,6 +22103,7 @@ public struct CreateQueueInput: Swift.Sendable { public var tags: [Swift.String: Swift.String]? public init( + concurrentJobs: Swift.Int? = nil, description: Swift.String? = nil, name: Swift.String? = nil, pricingPlan: MediaConvertClientTypes.PricingPlan? = nil, @@ -22073,6 +22112,7 @@ public struct CreateQueueInput: Swift.Sendable { tags: [Swift.String: Swift.String]? = nil ) { + self.concurrentJobs = concurrentJobs self.description = description self.name = name self.pricingPlan = pricingPlan @@ -22704,14 +22744,22 @@ public struct ListQueuesOutput: Swift.Sendable { public var nextToken: Swift.String? /// List of queues. public var queues: [MediaConvertClientTypes.Queue]? + /// The maximum number of jobs that MediaConvert can process at one time, across all of your on-demand queues in the current AWS Region. + public var totalConcurrentJobs: Swift.Int? + /// The remaining number of concurrent jobs that are not associated with a queue and are available to allocate to a queue. You can allocate these jobs when you create or update a queue. + public var unallocatedConcurrentJobs: Swift.Int? public init( nextToken: Swift.String? = nil, - queues: [MediaConvertClientTypes.Queue]? = nil + queues: [MediaConvertClientTypes.Queue]? = nil, + totalConcurrentJobs: Swift.Int? = nil, + unallocatedConcurrentJobs: Swift.Int? = nil ) { self.nextToken = nextToken self.queues = queues + self.totalConcurrentJobs = totalConcurrentJobs + self.unallocatedConcurrentJobs = unallocatedConcurrentJobs } } @@ -23005,6 +23053,8 @@ public struct UpdatePresetOutput: Swift.Sendable { } public struct UpdateQueueInput: Swift.Sendable { + /// Specify the maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, update your reservation plan instead in order to increase your yearly commitment. + public var concurrentJobs: Swift.Int? /// The new description for the queue, if you are changing it. public var description: Swift.String? /// The name of the queue that you are modifying. @@ -23016,12 +23066,14 @@ public struct UpdateQueueInput: Swift.Sendable { public var status: MediaConvertClientTypes.QueueStatus? public init( + concurrentJobs: Swift.Int? = nil, description: Swift.String? = nil, name: Swift.String? = nil, reservationPlanSettings: MediaConvertClientTypes.ReservationPlanSettings? = nil, status: MediaConvertClientTypes.QueueStatus? = nil ) { + self.concurrentJobs = concurrentJobs self.description = description self.name = name self.reservationPlanSettings = reservationPlanSettings @@ -23511,6 +23563,7 @@ extension CreateQueueInput { static func write(value: CreateQueueInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["concurrentJobs"].write(value.concurrentJobs) try writer["description"].write(value.description) try writer["name"].write(value.name) try writer["pricingPlan"].write(value.pricingPlan) @@ -23584,6 +23637,7 @@ extension UpdateQueueInput { static func write(value: UpdateQueueInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["concurrentJobs"].write(value.concurrentJobs) try writer["description"].write(value.description) try writer["reservationPlanSettings"].write(value.reservationPlanSettings, with: MediaConvertClientTypes.ReservationPlanSettings.write(value:to:)) try writer["status"].write(value.status) @@ -23808,6 +23862,8 @@ extension ListQueuesOutput { var value = ListQueuesOutput() value.nextToken = try reader["nextToken"].readIfPresent() value.queues = try reader["queues"].readListIfPresent(memberReadingClosure: MediaConvertClientTypes.Queue.read(from:), memberNodeInfo: "member", isFlattened: false) + value.totalConcurrentJobs = try reader["totalConcurrentJobs"].readIfPresent() + value.unallocatedConcurrentJobs = try reader["unallocatedConcurrentJobs"].readIfPresent() return value } } @@ -29173,6 +29229,7 @@ extension MediaConvertClientTypes.Queue { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = MediaConvertClientTypes.Queue() value.arn = try reader["arn"].readIfPresent() + value.concurrentJobs = try reader["concurrentJobs"].readIfPresent() value.createdAt = try reader["createdAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) value.description = try reader["description"].readIfPresent() value.lastUpdated = try reader["lastUpdated"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) @@ -29180,6 +29237,7 @@ extension MediaConvertClientTypes.Queue { value.pricingPlan = try reader["pricingPlan"].readIfPresent() value.progressingJobsCount = try reader["progressingJobsCount"].readIfPresent() value.reservationPlan = try reader["reservationPlan"].readIfPresent(with: MediaConvertClientTypes.ReservationPlan.read(from:)) + value.serviceOverrides = try reader["serviceOverrides"].readListIfPresent(memberReadingClosure: MediaConvertClientTypes.ServiceOverride.read(from:), memberNodeInfo: "member", isFlattened: false) value.status = try reader["status"].readIfPresent() value.submittedJobsCount = try reader["submittedJobsCount"].readIfPresent() value.type = try reader["type"].readIfPresent() @@ -29187,6 +29245,19 @@ extension MediaConvertClientTypes.Queue { } } +extension MediaConvertClientTypes.ServiceOverride { + + static func read(from reader: SmithyJSON.Reader) throws -> MediaConvertClientTypes.ServiceOverride { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaConvertClientTypes.ServiceOverride() + value.message = try reader["message"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.overrideValue = try reader["overrideValue"].readIfPresent() + value.value = try reader["value"].readIfPresent() + return value + } +} + extension MediaConvertClientTypes.ReservationPlan { static func read(from reader: SmithyJSON.Reader) throws -> MediaConvertClientTypes.ReservationPlan { diff --git a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift index b88dde965fd..178a0f7b1fb 100644 --- a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift +++ b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaLiveClient: ClientRuntime.Client { public static let clientName = "MediaLiveClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MediaLiveClient.MediaLiveClientConfiguration let serviceName = "MediaLive" diff --git a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift index c9e30be7247..56679d10384 100644 --- a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift +++ b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageClient: ClientRuntime.Client { public static let clientName = "MediaPackageClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MediaPackageClient.MediaPackageClientConfiguration let serviceName = "MediaPackage" diff --git a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift index 31d5268bc18..559eac54599 100644 --- a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift +++ b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageV2Client: ClientRuntime.Client { public static let clientName = "MediaPackageV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MediaPackageV2Client.MediaPackageV2ClientConfiguration let serviceName = "MediaPackageV2" diff --git a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/Models.swift b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/Models.swift index 1c10b91c7a7..ebfefbaf4d4 100644 --- a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/Models.swift +++ b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/Models.swift @@ -337,6 +337,8 @@ extension MediaPackageV2ClientTypes { case numManifestsHigh case numManifestsLow case onlyCmafInputTypeAllowForceEndpointErrorConfiguration + case onlyCmafInputTypeAllowMqcsInputSwitching + case onlyCmafInputTypeAllowMqcsOutputConfiguration case periodTriggersNoneSpecifiedWithAdditionalValues case roleArnInvalidFormat case roleArnLengthOutOfRange @@ -398,6 +400,8 @@ extension MediaPackageV2ClientTypes { .numManifestsHigh, .numManifestsLow, .onlyCmafInputTypeAllowForceEndpointErrorConfiguration, + .onlyCmafInputTypeAllowMqcsInputSwitching, + .onlyCmafInputTypeAllowMqcsOutputConfiguration, .periodTriggersNoneSpecifiedWithAdditionalValues, .roleArnInvalidFormat, .roleArnLengthOutOfRange, @@ -465,6 +469,8 @@ extension MediaPackageV2ClientTypes { case .numManifestsHigh: return "NUM_MANIFESTS_HIGH" case .numManifestsLow: return "NUM_MANIFESTS_LOW" case .onlyCmafInputTypeAllowForceEndpointErrorConfiguration: return "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION" + case .onlyCmafInputTypeAllowMqcsInputSwitching: return "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING" + case .onlyCmafInputTypeAllowMqcsOutputConfiguration: return "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION" case .periodTriggersNoneSpecifiedWithAdditionalValues: return "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES" case .roleArnInvalidFormat: return "ROLE_ARN_INVALID_FORMAT" case .roleArnLengthOutOfRange: return "ROLE_ARN_LENGTH_OUT_OF_RANGE" @@ -707,6 +713,22 @@ public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClie } } +extension MediaPackageV2ClientTypes { + + /// The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. + public struct InputSwitchConfiguration: Swift.Sendable { + /// When true, AWS Elemental MediaPackage performs input switching based on the MQCS. Default is true. This setting is valid only when InputType is CMAF. + public var mqcsInputSwitching: Swift.Bool? + + public init( + mqcsInputSwitching: Swift.Bool? = nil + ) + { + self.mqcsInputSwitching = mqcsInputSwitching + } + } +} + extension MediaPackageV2ClientTypes { public enum InputType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -736,6 +758,22 @@ extension MediaPackageV2ClientTypes { } } +extension MediaPackageV2ClientTypes { + + /// The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. + public struct OutputHeaderConfiguration: Swift.Sendable { + /// When true, AWS Elemental MediaPackage includes the MQCS in responses to the CDN. This setting is valid only when InputType is CMAF. + public var publishMQCS: Swift.Bool? + + public init( + publishMQCS: Swift.Bool? = nil + ) + { + self.publishMQCS = publishMQCS + } + } +} + public struct CreateChannelInput: Swift.Sendable { /// The name that describes the channel group. The name is the primary identifier for the channel group, and must be unique for your account in the AWS Region. /// This member is required. @@ -747,12 +785,16 @@ public struct CreateChannelInput: Swift.Sendable { public var clientToken: Swift.String? /// Enter any descriptive text that helps you to identify the channel. public var description: Swift.String? + /// The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF. + public var inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? /// The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior. The allowed values are: /// /// * HLS - The HLS streaming specification (which defines M3U8 manifests and TS segments). /// /// * CMAF - The DASH-IF CMAF Ingest specification (which defines CMAF segments with optional DASH manifests). public var inputType: MediaPackageV2ClientTypes.InputType? + /// The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF. + public var outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? /// A comma-separated list of tag key:value pairs that you define. For example: "Key1": "Value1", /// "Key2": "Value2" public var tags: [Swift.String: Swift.String]? @@ -762,7 +804,9 @@ public struct CreateChannelInput: Swift.Sendable { channelName: Swift.String? = nil, clientToken: Swift.String? = nil, description: Swift.String? = nil, + inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? = nil, inputType: MediaPackageV2ClientTypes.InputType? = nil, + outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? = nil, tags: [Swift.String: Swift.String]? = nil ) { @@ -770,7 +814,9 @@ public struct CreateChannelInput: Swift.Sendable { self.channelName = channelName self.clientToken = clientToken self.description = description + self.inputSwitchConfiguration = inputSwitchConfiguration self.inputType = inputType + self.outputHeaderConfiguration = outputHeaderConfiguration self.tags = tags } } @@ -814,6 +860,8 @@ public struct CreateChannelOutput: Swift.Sendable { public var eTag: Swift.String? /// The list of ingest endpoints. public var ingestEndpoints: [MediaPackageV2ClientTypes.IngestEndpoint]? + /// The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF. + public var inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? /// The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior. The allowed values are: /// /// * HLS - The HLS streaming specification (which defines M3U8 manifests and TS segments). @@ -823,6 +871,8 @@ public struct CreateChannelOutput: Swift.Sendable { /// The date and time the channel was modified. /// This member is required. public var modifiedAt: Foundation.Date? + /// The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF. + public var outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? /// The comma-separated list of tag key:value pairs assigned to the channel. public var tags: [Swift.String: Swift.String]? @@ -834,8 +884,10 @@ public struct CreateChannelOutput: Swift.Sendable { description: Swift.String? = nil, eTag: Swift.String? = nil, ingestEndpoints: [MediaPackageV2ClientTypes.IngestEndpoint]? = nil, + inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? = nil, inputType: MediaPackageV2ClientTypes.InputType? = nil, modifiedAt: Foundation.Date? = nil, + outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? = nil, tags: [Swift.String: Swift.String]? = nil ) { @@ -846,8 +898,10 @@ public struct CreateChannelOutput: Swift.Sendable { self.description = description self.eTag = eTag self.ingestEndpoints = ingestEndpoints + self.inputSwitchConfiguration = inputSwitchConfiguration self.inputType = inputType self.modifiedAt = modifiedAt + self.outputHeaderConfiguration = outputHeaderConfiguration self.tags = tags } } @@ -912,6 +966,8 @@ public struct GetChannelOutput: Swift.Sendable { public var eTag: Swift.String? /// The list of ingest endpoints. public var ingestEndpoints: [MediaPackageV2ClientTypes.IngestEndpoint]? + /// The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF. + public var inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? /// The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior. The allowed values are: /// /// * HLS - The HLS streaming specification (which defines M3U8 manifests and TS segments). @@ -921,6 +977,8 @@ public struct GetChannelOutput: Swift.Sendable { /// The date and time the channel was modified. /// This member is required. public var modifiedAt: Foundation.Date? + /// The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF. + public var outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? /// The comma-separated list of tag key:value pairs assigned to the channel. public var tags: [Swift.String: Swift.String]? @@ -932,8 +990,10 @@ public struct GetChannelOutput: Swift.Sendable { description: Swift.String? = nil, eTag: Swift.String? = nil, ingestEndpoints: [MediaPackageV2ClientTypes.IngestEndpoint]? = nil, + inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? = nil, inputType: MediaPackageV2ClientTypes.InputType? = nil, modifiedAt: Foundation.Date? = nil, + outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? = nil, tags: [Swift.String: Swift.String]? = nil ) { @@ -944,8 +1004,10 @@ public struct GetChannelOutput: Swift.Sendable { self.description = description self.eTag = eTag self.ingestEndpoints = ingestEndpoints + self.inputSwitchConfiguration = inputSwitchConfiguration self.inputType = inputType self.modifiedAt = modifiedAt + self.outputHeaderConfiguration = outputHeaderConfiguration self.tags = tags } } @@ -1435,7 +1497,7 @@ extension MediaPackageV2ClientTypes { public var manifestName: Swift.String? /// The total duration (in seconds) of the manifest's content. public var manifestWindowSeconds: Swift.Int? - /// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. + /// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. public var programDateTimeIntervalSeconds: Swift.Int? /// The SCTE configuration. public var scteHls: MediaPackageV2ClientTypes.ScteHls? @@ -1476,7 +1538,7 @@ extension MediaPackageV2ClientTypes { public var manifestName: Swift.String? /// The total duration (in seconds) of the manifest's content. public var manifestWindowSeconds: Swift.Int? - /// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. + /// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. public var programDateTimeIntervalSeconds: Swift.Int? /// The SCTE configuration. public var scteHls: MediaPackageV2ClientTypes.ScteHls? @@ -2078,7 +2140,7 @@ extension MediaPackageV2ClientTypes { public var manifestName: Swift.String? /// The total duration (in seconds) of the manifest's content. public var manifestWindowSeconds: Swift.Int? - /// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. + /// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. public var programDateTimeIntervalSeconds: Swift.Int? /// The SCTE configuration. public var scteHls: MediaPackageV2ClientTypes.ScteHls? @@ -2124,7 +2186,7 @@ extension MediaPackageV2ClientTypes { public var manifestName: Swift.String? /// The total duration (in seconds) of the manifest's content. public var manifestWindowSeconds: Swift.Int? - /// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. ID3Timed metadata messages generate every 5 seconds whenever the content is ingested. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. + /// Inserts EXT-X-PROGRAM-DATE-TIME tags in the output manifest at the interval that you specify. If you don't enter an interval, EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The tags sync the stream to the wall clock so that viewers can seek to a specific time in the playback timeline on the player. Irrespective of this parameter, if any ID3Timed metadata is in the HLS input, it is passed through to the HLS output. public var programDateTimeIntervalSeconds: Swift.Int? /// The SCTE configuration. public var scteHls: MediaPackageV2ClientTypes.ScteHls? @@ -2809,18 +2871,26 @@ public struct UpdateChannelInput: Swift.Sendable { public var description: Swift.String? /// The expected current Entity Tag (ETag) for the resource. If the specified ETag does not match the resource's current entity tag, the update request will be rejected. public var eTag: Swift.String? + /// The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF. + public var inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? + /// The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF. + public var outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? public init( channelGroupName: Swift.String? = nil, channelName: Swift.String? = nil, description: Swift.String? = nil, - eTag: Swift.String? = nil + eTag: Swift.String? = nil, + inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? = nil, + outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? = nil ) { self.channelGroupName = channelGroupName self.channelName = channelName self.description = description self.eTag = eTag + self.inputSwitchConfiguration = inputSwitchConfiguration + self.outputHeaderConfiguration = outputHeaderConfiguration } } @@ -2843,6 +2913,8 @@ public struct UpdateChannelOutput: Swift.Sendable { public var eTag: Swift.String? /// The list of ingest endpoints. public var ingestEndpoints: [MediaPackageV2ClientTypes.IngestEndpoint]? + /// The configuration for input switching based on the media quality confidence score (MQCS) as provided from AWS Elemental MediaLive. This setting is valid only when InputType is CMAF. + public var inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? /// The input type will be an immutable field which will be used to define whether the channel will allow CMAF ingest or HLS ingest. If unprovided, it will default to HLS to preserve current behavior. The allowed values are: /// /// * HLS - The HLS streaming specification (which defines M3U8 manifests and TS segments). @@ -2852,6 +2924,8 @@ public struct UpdateChannelOutput: Swift.Sendable { /// The date and time the channel was modified. /// This member is required. public var modifiedAt: Foundation.Date? + /// The settings for what common media server data (CMSD) headers AWS Elemental MediaPackage includes in responses to the CDN. This setting is valid only when InputType is CMAF. + public var outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? /// The comma-separated list of tag key:value pairs assigned to the channel. public var tags: [Swift.String: Swift.String]? @@ -2863,8 +2937,10 @@ public struct UpdateChannelOutput: Swift.Sendable { description: Swift.String? = nil, eTag: Swift.String? = nil, ingestEndpoints: [MediaPackageV2ClientTypes.IngestEndpoint]? = nil, + inputSwitchConfiguration: MediaPackageV2ClientTypes.InputSwitchConfiguration? = nil, inputType: MediaPackageV2ClientTypes.InputType? = nil, modifiedAt: Foundation.Date? = nil, + outputHeaderConfiguration: MediaPackageV2ClientTypes.OutputHeaderConfiguration? = nil, tags: [Swift.String: Swift.String]? = nil ) { @@ -2875,8 +2951,10 @@ public struct UpdateChannelOutput: Swift.Sendable { self.description = description self.eTag = eTag self.ingestEndpoints = ingestEndpoints + self.inputSwitchConfiguration = inputSwitchConfiguration self.inputType = inputType self.modifiedAt = modifiedAt + self.outputHeaderConfiguration = outputHeaderConfiguration self.tags = tags } } @@ -4279,7 +4357,9 @@ extension CreateChannelInput { guard let value else { return } try writer["ChannelName"].write(value.channelName) try writer["Description"].write(value.description) + try writer["InputSwitchConfiguration"].write(value.inputSwitchConfiguration, with: MediaPackageV2ClientTypes.InputSwitchConfiguration.write(value:to:)) try writer["InputType"].write(value.inputType) + try writer["OutputHeaderConfiguration"].write(value.outputHeaderConfiguration, with: MediaPackageV2ClientTypes.OutputHeaderConfiguration.write(value:to:)) try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) } } @@ -4353,6 +4433,8 @@ extension UpdateChannelInput { static func write(value: UpdateChannelInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["Description"].write(value.description) + try writer["InputSwitchConfiguration"].write(value.inputSwitchConfiguration, with: MediaPackageV2ClientTypes.InputSwitchConfiguration.write(value:to:)) + try writer["OutputHeaderConfiguration"].write(value.outputHeaderConfiguration, with: MediaPackageV2ClientTypes.OutputHeaderConfiguration.write(value:to:)) } } @@ -4400,8 +4482,10 @@ extension CreateChannelOutput { value.description = try reader["Description"].readIfPresent() value.eTag = try reader["ETag"].readIfPresent() value.ingestEndpoints = try reader["IngestEndpoints"].readListIfPresent(memberReadingClosure: MediaPackageV2ClientTypes.IngestEndpoint.read(from:), memberNodeInfo: "member", isFlattened: false) + value.inputSwitchConfiguration = try reader["InputSwitchConfiguration"].readIfPresent(with: MediaPackageV2ClientTypes.InputSwitchConfiguration.read(from:)) value.inputType = try reader["InputType"].readIfPresent() value.modifiedAt = try reader["ModifiedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.outputHeaderConfiguration = try reader["OutputHeaderConfiguration"].readIfPresent(with: MediaPackageV2ClientTypes.OutputHeaderConfiguration.read(from:)) value.tags = try reader["Tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) return value } @@ -4528,8 +4612,10 @@ extension GetChannelOutput { value.description = try reader["Description"].readIfPresent() value.eTag = try reader["ETag"].readIfPresent() value.ingestEndpoints = try reader["IngestEndpoints"].readListIfPresent(memberReadingClosure: MediaPackageV2ClientTypes.IngestEndpoint.read(from:), memberNodeInfo: "member", isFlattened: false) + value.inputSwitchConfiguration = try reader["InputSwitchConfiguration"].readIfPresent(with: MediaPackageV2ClientTypes.InputSwitchConfiguration.read(from:)) value.inputType = try reader["InputType"].readIfPresent() value.modifiedAt = try reader["ModifiedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.outputHeaderConfiguration = try reader["OutputHeaderConfiguration"].readIfPresent(with: MediaPackageV2ClientTypes.OutputHeaderConfiguration.read(from:)) value.tags = try reader["Tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) return value } @@ -4742,8 +4828,10 @@ extension UpdateChannelOutput { value.description = try reader["Description"].readIfPresent() value.eTag = try reader["ETag"].readIfPresent() value.ingestEndpoints = try reader["IngestEndpoints"].readListIfPresent(memberReadingClosure: MediaPackageV2ClientTypes.IngestEndpoint.read(from:), memberNodeInfo: "member", isFlattened: false) + value.inputSwitchConfiguration = try reader["InputSwitchConfiguration"].readIfPresent(with: MediaPackageV2ClientTypes.InputSwitchConfiguration.read(from:)) value.inputType = try reader["InputType"].readIfPresent() value.modifiedAt = try reader["ModifiedAt"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) ?? SmithyTimestamps.TimestampFormatter(format: .dateTime).date(from: "1970-01-01T00:00:00Z") + value.outputHeaderConfiguration = try reader["OutputHeaderConfiguration"].readIfPresent(with: MediaPackageV2ClientTypes.OutputHeaderConfiguration.read(from:)) value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) return value } @@ -5405,6 +5493,36 @@ extension MediaPackageV2ClientTypes.IngestEndpoint { } } +extension MediaPackageV2ClientTypes.InputSwitchConfiguration { + + static func write(value: MediaPackageV2ClientTypes.InputSwitchConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["MQCSInputSwitching"].write(value.mqcsInputSwitching) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaPackageV2ClientTypes.InputSwitchConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaPackageV2ClientTypes.InputSwitchConfiguration() + value.mqcsInputSwitching = try reader["MQCSInputSwitching"].readIfPresent() + return value + } +} + +extension MediaPackageV2ClientTypes.OutputHeaderConfiguration { + + static func write(value: MediaPackageV2ClientTypes.OutputHeaderConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["PublishMQCS"].write(value.publishMQCS) + } + + static func read(from reader: SmithyJSON.Reader) throws -> MediaPackageV2ClientTypes.OutputHeaderConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = MediaPackageV2ClientTypes.OutputHeaderConfiguration() + value.publishMQCS = try reader["PublishMQCS"].readIfPresent() + return value + } +} + extension MediaPackageV2ClientTypes.Destination { static func write(value: MediaPackageV2ClientTypes.Destination?, to writer: SmithyJSON.Writer) throws { diff --git a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift index 1855ae206da..92aedcf7217 100644 --- a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift +++ b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageVodClient: ClientRuntime.Client { public static let clientName = "MediaPackageVodClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MediaPackageVodClient.MediaPackageVodClientConfiguration let serviceName = "MediaPackage Vod" diff --git a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift index fc92d505e13..c8fd2c59a75 100644 --- a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift +++ b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaStoreClient: ClientRuntime.Client { public static let clientName = "MediaStoreClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MediaStoreClient.MediaStoreClientConfiguration let serviceName = "MediaStore" diff --git a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift index 68f994b8050..362f7fd2c98 100644 --- a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift +++ b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaStoreDataClient: ClientRuntime.Client { public static let clientName = "MediaStoreDataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MediaStoreDataClient.MediaStoreDataClientConfiguration let serviceName = "MediaStore Data" diff --git a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift index d6ea9ac8c16..4a521d6b2bb 100644 --- a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift +++ b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaTailorClient: ClientRuntime.Client { public static let clientName = "MediaTailorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MediaTailorClient.MediaTailorClientConfiguration let serviceName = "MediaTailor" diff --git a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift index 897ef4adcfc..dc49bbc73df 100644 --- a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift +++ b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MedicalImagingClient: ClientRuntime.Client { public static let clientName = "MedicalImagingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MedicalImagingClient.MedicalImagingClientConfiguration let serviceName = "Medical Imaging" diff --git a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift index f480ab51c23..846086bf14d 100644 --- a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift +++ b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MemoryDBClient: ClientRuntime.Client { public static let clientName = "MemoryDBClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MemoryDBClient.MemoryDBClientConfiguration let serviceName = "MemoryDB" diff --git a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift index b4093b63d8c..bbf81b3b902 100644 --- a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift +++ b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MgnClient: ClientRuntime.Client { public static let clientName = "MgnClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MgnClient.MgnClientConfiguration let serviceName = "mgn" diff --git a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift index df7d8d37282..5d4e8c82ff1 100644 --- a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift +++ b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubClient: ClientRuntime.Client { public static let clientName = "MigrationHubClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MigrationHubClient.MigrationHubClientConfiguration let serviceName = "Migration Hub" diff --git a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift index 2c14611286b..3b281967811 100644 --- a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift +++ b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubConfigClient: ClientRuntime.Client { public static let clientName = "MigrationHubConfigClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MigrationHubConfigClient.MigrationHubConfigClientConfiguration let serviceName = "MigrationHub Config" diff --git a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift index bbe2f44e3a8..a235179c0d6 100644 --- a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift +++ b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubOrchestratorClient: ClientRuntime.Client { public static let clientName = "MigrationHubOrchestratorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MigrationHubOrchestratorClient.MigrationHubOrchestratorClientConfiguration let serviceName = "MigrationHubOrchestrator" diff --git a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift index ff0b2655192..6cbe22b0cc4 100644 --- a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift +++ b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubRefactorSpacesClient: ClientRuntime.Client { public static let clientName = "MigrationHubRefactorSpacesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MigrationHubRefactorSpacesClient.MigrationHubRefactorSpacesClientConfiguration let serviceName = "Migration Hub Refactor Spaces" diff --git a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift index 195f190742e..491be1eca5d 100644 --- a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift +++ b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubStrategyClient: ClientRuntime.Client { public static let clientName = "MigrationHubStrategyClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MigrationHubStrategyClient.MigrationHubStrategyClientConfiguration let serviceName = "MigrationHubStrategy" diff --git a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift index 33fca19d0fd..13697a7fb2d 100644 --- a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift +++ b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MqClient: ClientRuntime.Client { public static let clientName = "MqClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: MqClient.MqClientConfiguration let serviceName = "mq" diff --git a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift index 8d425a4528b..4ec6be55820 100644 --- a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift +++ b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptuneClient: ClientRuntime.Client { public static let clientName = "NeptuneClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: NeptuneClient.NeptuneClientConfiguration let serviceName = "Neptune" diff --git a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift index dc243766359..08afa3074ef 100644 --- a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift +++ b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptuneGraphClient: ClientRuntime.Client { public static let clientName = "NeptuneGraphClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: NeptuneGraphClient.NeptuneGraphClientConfiguration let serviceName = "Neptune Graph" diff --git a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift index c20ee83d99e..f7b66eb33e8 100644 --- a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift +++ b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptunedataClient: ClientRuntime.Client { public static let clientName = "NeptunedataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: NeptunedataClient.NeptunedataClientConfiguration let serviceName = "neptunedata" diff --git a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift index e8020ecb8fa..c4fb633a77e 100644 --- a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift +++ b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkFirewallClient: ClientRuntime.Client { public static let clientName = "NetworkFirewallClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: NetworkFirewallClient.NetworkFirewallClientConfiguration let serviceName = "Network Firewall" diff --git a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift index 67d59224797..d7ea98a13a2 100644 --- a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift +++ b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkManagerClient: ClientRuntime.Client { public static let clientName = "NetworkManagerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: NetworkManagerClient.NetworkManagerClientConfiguration let serviceName = "NetworkManager" diff --git a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift index 29c5bbce331..f770d8218e5 100644 --- a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift +++ b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkMonitorClient: ClientRuntime.Client { public static let clientName = "NetworkMonitorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: NetworkMonitorClient.NetworkMonitorClientConfiguration let serviceName = "NetworkMonitor" diff --git a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift index 664b30d607b..d4c6a726a4e 100644 --- a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift +++ b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OAMClient: ClientRuntime.Client { public static let clientName = "OAMClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: OAMClient.OAMClientConfiguration let serviceName = "OAM" diff --git a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift index 47ca80d40ad..924a1fbfb29 100644 --- a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift +++ b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OSISClient: ClientRuntime.Client { public static let clientName = "OSISClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: OSISClient.OSISClientConfiguration let serviceName = "OSIS" diff --git a/Sources/Services/AWSOmics/Sources/AWSOmics/Models.swift b/Sources/Services/AWSOmics/Sources/AWSOmics/Models.swift index f5d5d999168..b626942d398 100644 --- a/Sources/Services/AWSOmics/Sources/AWSOmics/Models.swift +++ b/Sources/Services/AWSOmics/Sources/AWSOmics/Models.swift @@ -42,6 +42,11 @@ public struct CancelRunOutput: Swift.Sendable { public init() { } } +public struct DeleteRunCacheOutput: Swift.Sendable { + + public init() { } +} + public struct DeleteRunGroupOutput: Swift.Sendable { public init() { } @@ -57,6 +62,11 @@ public struct DeleteWorkflowOutput: Swift.Sendable { public init() { } } +public struct UpdateRunCacheOutput: Swift.Sendable { + + public init() { } +} + public struct UpdateRunGroupOutput: Swift.Sendable { public init() { } @@ -2295,6 +2305,35 @@ public struct BatchDeleteReadSetOutput: Swift.Sendable { } } +extension OmicsClientTypes { + + public enum CacheBehavior: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case cacheAlways + case cacheOnFailure + case sdkUnknown(Swift.String) + + public static var allCases: [CacheBehavior] { + return [ + .cacheAlways, + .cacheOnFailure + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .cacheAlways: return "CACHE_ALWAYS" + case .cacheOnFailure: return "CACHE_ON_FAILURE" + case let .sdkUnknown(s): return s + } + } + } +} + public struct CancelRunInput: Swift.Sendable { /// The run's ID. /// This member is required. @@ -2629,6 +2668,100 @@ public struct CreateReferenceStoreOutput: Swift.Sendable { } } +public struct CreateRunCacheInput: Swift.Sendable { + /// Default cache behavior for runs that use this cache. Supported values are: CACHE_ON_FAILURE: Caches task outputs from completed tasks for runs that fail. This setting is useful if you're debugging a workflow that fails after several tasks completed successfully. The subsequent run uses the cache outputs for previously-completed tasks if the task definition, inputs, and container in ECR are identical to the prior run. CACHE_ALWAYS: Caches task outputs from completed tasks for all runs. This setting is useful in development mode, but do not use it in a production setting. If you don't specify a value, the default behavior is CACHE_ON_FAILURE. When you start a run that uses this cache, you can override the default cache behavior. For more information, see [Run cache behavior](https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior) in the AWS HealthOmics User Guide. + public var cacheBehavior: OmicsClientTypes.CacheBehavior? + /// The AWS account ID of the expected owner of the S3 bucket for the run cache. If not provided, your account ID is set as the owner of the bucket. + public var cacheBucketOwnerId: Swift.String? + /// Specify the S3 location for storing the cached task outputs. This data must be immediately accessible (not in an archived state). + /// This member is required. + public var cacheS3Location: Swift.String? + /// Enter a description of the run cache. + public var description: Swift.String? + /// Enter a user-friendly name for the run cache. + public var name: Swift.String? + /// A unique request token, to ensure idempotency. If you don't specify a token, HealthOmics automatically generates a universally unique identifier (UUID) for the request. + /// This member is required. + public var requestId: Swift.String? + /// Specify one or more tags to associate with this run cache. + public var tags: [Swift.String: Swift.String]? + + public init( + cacheBehavior: OmicsClientTypes.CacheBehavior? = nil, + cacheBucketOwnerId: Swift.String? = nil, + cacheS3Location: Swift.String? = nil, + description: Swift.String? = nil, + name: Swift.String? = nil, + requestId: Swift.String? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.cacheBehavior = cacheBehavior + self.cacheBucketOwnerId = cacheBucketOwnerId + self.cacheS3Location = cacheS3Location + self.description = description + self.name = name + self.requestId = requestId + self.tags = tags + } +} + +extension OmicsClientTypes { + + public enum RunCacheStatus: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case active + case deleted + case failed + case sdkUnknown(Swift.String) + + public static var allCases: [RunCacheStatus] { + return [ + .active, + .deleted, + .failed + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .active: return "ACTIVE" + case .deleted: return "DELETED" + case .failed: return "FAILED" + case let .sdkUnknown(s): return s + } + } + } +} + +public struct CreateRunCacheOutput: Swift.Sendable { + /// Unique resource identifier for the run cache. + public var arn: Swift.String? + /// Identifier for the run cache. + public var id: Swift.String? + /// Run cache status. + public var status: OmicsClientTypes.RunCacheStatus? + /// The tags associated with this run cache. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + id: Swift.String? = nil, + status: OmicsClientTypes.RunCacheStatus? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.id = id + self.status = status + self.tags = tags + } +} + public struct CreateRunGroupInput: Swift.Sendable { /// The maximum number of CPUs that can run concurrently across all active runs in the run group. public var maxCpus: Swift.Int? @@ -3154,6 +3287,19 @@ public struct DeleteRunInput: Swift.Sendable { } } +public struct DeleteRunCacheInput: Swift.Sendable { + /// Run cache identifier for the cache you want to delete. + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + public struct DeleteRunGroupInput: Swift.Sendable { /// The run group's ID. /// This member is required. @@ -4958,12 +5104,18 @@ public struct GetRunOutput: Swift.Sendable { public var accelerators: OmicsClientTypes.Accelerators? /// The run's ARN. public var arn: Swift.String? + /// The run cache behavior for the run. + public var cacheBehavior: OmicsClientTypes.CacheBehavior? + /// The run cache associated with the run. + public var cacheId: Swift.String? /// When the run was created. public var creationTime: Foundation.Date? /// The run's definition. public var definition: Swift.String? /// The run's digest. public var digest: Swift.String? + /// The workflow engine version. + public var engineVersion: Swift.String? /// The reason a run has failed. public var failureReason: Swift.String? /// The run's ID. @@ -5020,9 +5172,12 @@ public struct GetRunOutput: Swift.Sendable { public init( accelerators: OmicsClientTypes.Accelerators? = nil, arn: Swift.String? = nil, + cacheBehavior: OmicsClientTypes.CacheBehavior? = nil, + cacheId: Swift.String? = nil, creationTime: Foundation.Date? = nil, definition: Swift.String? = nil, digest: Swift.String? = nil, + engineVersion: Swift.String? = nil, failureReason: Swift.String? = nil, id: Swift.String? = nil, logLevel: OmicsClientTypes.RunLogLevel? = nil, @@ -5053,9 +5208,12 @@ public struct GetRunOutput: Swift.Sendable { { self.accelerators = accelerators self.arn = arn + self.cacheBehavior = cacheBehavior + self.cacheId = cacheId self.creationTime = creationTime self.definition = definition self.digest = digest + self.engineVersion = engineVersion self.failureReason = failureReason self.id = id self.logLevel = logLevel @@ -5085,6 +5243,67 @@ public struct GetRunOutput: Swift.Sendable { } } +public struct GetRunCacheInput: Swift.Sendable { + /// The identifier of the run cache to retrieve. + /// This member is required. + public var id: Swift.String? + + public init( + id: Swift.String? = nil + ) + { + self.id = id + } +} + +public struct GetRunCacheOutput: Swift.Sendable { + /// Unique resource identifier for the run cache. + public var arn: Swift.String? + /// The default cache behavior for runs using this cache. + public var cacheBehavior: OmicsClientTypes.CacheBehavior? + /// The identifier of the bucket owner. + public var cacheBucketOwnerId: Swift.String? + /// The S3 URI where the cache data is stored. + public var cacheS3Uri: Swift.String? + /// Creation time of the run cache (an ISO 8601 formatted string). + public var creationTime: Foundation.Date? + /// The run cache description. + public var description: Swift.String? + /// The run cache ID. + public var id: Swift.String? + /// The run cache name. + public var name: Swift.String? + /// The run cache status. + public var status: OmicsClientTypes.RunCacheStatus? + /// The tags associated with the run cache. + public var tags: [Swift.String: Swift.String]? + + public init( + arn: Swift.String? = nil, + cacheBehavior: OmicsClientTypes.CacheBehavior? = nil, + cacheBucketOwnerId: Swift.String? = nil, + cacheS3Uri: Swift.String? = nil, + creationTime: Foundation.Date? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + status: OmicsClientTypes.RunCacheStatus? = nil, + tags: [Swift.String: Swift.String]? = nil + ) + { + self.arn = arn + self.cacheBehavior = cacheBehavior + self.cacheBucketOwnerId = cacheBucketOwnerId + self.cacheS3Uri = cacheS3Uri + self.creationTime = creationTime + self.description = description + self.id = id + self.name = name + self.status = status + self.tags = tags + } +} + public struct GetRunGroupInput: Swift.Sendable { /// The group's ID. /// This member is required. @@ -5205,6 +5424,10 @@ extension OmicsClientTypes { } public struct GetRunTaskOutput: Swift.Sendable { + /// Set to true if AWS HealthOmics found a matching entry in the run cache for this task. + public var cacheHit: Swift.Bool? + /// The S3 URI of the cache location. + public var cacheS3Uri: Swift.String? /// The task's CPU usage. public var cpus: Swift.Int? /// When the task was created. @@ -5233,6 +5456,8 @@ public struct GetRunTaskOutput: Swift.Sendable { public var taskId: Swift.String? public init( + cacheHit: Swift.Bool? = nil, + cacheS3Uri: Swift.String? = nil, cpus: Swift.Int? = nil, creationTime: Foundation.Date? = nil, failureReason: Swift.String? = nil, @@ -5248,6 +5473,8 @@ public struct GetRunTaskOutput: Swift.Sendable { taskId: Swift.String? = nil ) { + self.cacheHit = cacheHit + self.cacheS3Uri = cacheS3Uri self.cpus = cpus self.creationTime = creationTime self.failureReason = failureReason @@ -6627,6 +6854,78 @@ public struct ListReferenceStoresOutput: Swift.Sendable { } } +public struct ListRunCachesInput: Swift.Sendable { + /// The maximum number of results to return. + public var maxResults: Swift.Int? + /// Optional pagination token returned from a prior call to the ListRunCaches API operation. + public var startingToken: Swift.String? + + public init( + maxResults: Swift.Int? = nil, + startingToken: Swift.String? = nil + ) + { + self.maxResults = maxResults + self.startingToken = startingToken + } +} + +extension OmicsClientTypes { + + /// List entry for one run cache. + public struct RunCacheListItem: Swift.Sendable { + /// Unique resource identifier for the run cache. + public var arn: Swift.String? + /// Default cache behavior for the run cache. + public var cacheBehavior: OmicsClientTypes.CacheBehavior? + /// The S3 uri for the run cache data. + public var cacheS3Uri: Swift.String? + /// The time that this run cache was created (an ISO 8601 formatted string). + public var creationTime: Foundation.Date? + /// The identifier for this run cache. + public var id: Swift.String? + /// The name of the run cache. + public var name: Swift.String? + /// The run cache status. + public var status: OmicsClientTypes.RunCacheStatus? + + public init( + arn: Swift.String? = nil, + cacheBehavior: OmicsClientTypes.CacheBehavior? = nil, + cacheS3Uri: Swift.String? = nil, + creationTime: Foundation.Date? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil, + status: OmicsClientTypes.RunCacheStatus? = nil + ) + { + self.arn = arn + self.cacheBehavior = cacheBehavior + self.cacheS3Uri = cacheS3Uri + self.creationTime = creationTime + self.id = id + self.name = name + self.status = status + } + } +} + +public struct ListRunCachesOutput: Swift.Sendable { + /// Details about each run cache in the response. + public var items: [OmicsClientTypes.RunCacheListItem]? + /// Pagination token to retrieve additional run caches. If the response does not have a nextTokenvalue, you have reached to the end of the list. + public var nextToken: Swift.String? + + public init( + items: [OmicsClientTypes.RunCacheListItem]? = nil, + nextToken: Swift.String? = nil + ) + { + self.items = items + self.nextToken = nextToken + } +} + public struct ListRunGroupsInput: Swift.Sendable { /// The maximum number of run groups to return in one page of results. public var maxResults: Swift.Int? @@ -6836,6 +7135,10 @@ extension OmicsClientTypes { /// A workflow run task. public struct TaskListItem: Swift.Sendable { + /// Set to true if AWS HealthOmics found a matching entry in the run cache for this task. + public var cacheHit: Swift.Bool? + /// The S3 URI of the cache location. + public var cacheS3Uri: Swift.String? /// The task's CPU count. public var cpus: Swift.Int? /// When the task was created. @@ -6858,6 +7161,8 @@ extension OmicsClientTypes { public var taskId: Swift.String? public init( + cacheHit: Swift.Bool? = nil, + cacheS3Uri: Swift.String? = nil, cpus: Swift.Int? = nil, creationTime: Foundation.Date? = nil, gpus: Swift.Int? = nil, @@ -6870,6 +7175,8 @@ extension OmicsClientTypes { taskId: Swift.String? = nil ) { + self.cacheHit = cacheHit + self.cacheS3Uri = cacheS3Uri self.cpus = cpus self.creationTime = creationTime self.gpus = gpus @@ -7518,6 +7825,31 @@ public struct StartReferenceImportJobOutput: Swift.Sendable { } } +public struct UpdateRunCacheInput: Swift.Sendable { + /// Update the default run cache behavior. + public var cacheBehavior: OmicsClientTypes.CacheBehavior? + /// Update the run cache description. + public var description: Swift.String? + /// The identifier of the run cache you want to update. + /// This member is required. + public var id: Swift.String? + /// Update the name of the run cache. + public var name: Swift.String? + + public init( + cacheBehavior: OmicsClientTypes.CacheBehavior? = nil, + description: Swift.String? = nil, + id: Swift.String? = nil, + name: Swift.String? = nil + ) + { + self.cacheBehavior = cacheBehavior + self.description = description + self.id = id + self.name = name + } +} + public struct UpdateRunGroupInput: Swift.Sendable { /// The group's ID. /// This member is required. @@ -7552,6 +7884,10 @@ public struct UpdateRunGroupInput: Swift.Sendable { } public struct StartRunInput: Swift.Sendable { + /// The cache behavior for the run. You specify this value if you want to override the default behavior for the cache. You had set the default value when you created the cache. For more information, see [Run cache behavior](https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior) in the AWS HealthOmics User Guide. + public var cacheBehavior: OmicsClientTypes.CacheBehavior? + /// Identifier of the cache associated with this run. If you don't specify a cache ID, no task outputs are cached for this run. + public var cacheId: Swift.String? /// A log level for the run. public var logLevel: OmicsClientTypes.RunLogLevel? /// A name for the run. @@ -7565,7 +7901,7 @@ public struct StartRunInput: Swift.Sendable { /// To ensure that requests don't run multiple times, specify a unique ID for each request. /// This member is required. public var requestId: Swift.String? - /// The retention mode for the run. + /// The retention mode for the run. The default value is RETAIN. HealthOmics stores a fixed number of runs that are available to the console and API. In the default mode (RETAIN), you need to remove runs manually when the number of run exceeds the maximum. If you set the retention mode to REMOVE, HealthOmics automatically removes runs (that have mode set to REMOVE) when the number of run exceeds the maximum. All run logs are available in CloudWatch logs, if you need information about a run that is no longer available to the API. For more information about retention mode, see [Specifying run retention mode](https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html) in the AWS HealthOmics User Guide. public var retentionMode: OmicsClientTypes.RunRetentionMode? /// A service role for the run. /// This member is required. @@ -7588,6 +7924,8 @@ public struct StartRunInput: Swift.Sendable { public var workflowType: OmicsClientTypes.WorkflowType? public init( + cacheBehavior: OmicsClientTypes.CacheBehavior? = nil, + cacheId: Swift.String? = nil, logLevel: OmicsClientTypes.RunLogLevel? = nil, name: Swift.String? = nil, outputUri: Swift.String? = nil, @@ -7606,6 +7944,8 @@ public struct StartRunInput: Swift.Sendable { workflowType: OmicsClientTypes.WorkflowType? = nil ) { + self.cacheBehavior = cacheBehavior + self.cacheId = cacheId self.logLevel = logLevel self.name = name self.outputUri = outputUri @@ -7626,7 +7966,7 @@ public struct StartRunInput: Swift.Sendable { } public struct StartRunOutput: Swift.Sendable { - /// The run's ARN. + /// Unique resource identifier for the run. public var arn: Swift.String? /// The run's ID. public var id: Swift.String? @@ -8245,6 +8585,13 @@ extension CreateReferenceStoreInput { } } +extension CreateRunCacheInput { + + static func urlPathProvider(_ value: CreateRunCacheInput) -> Swift.String? { + return "/runCache" + } +} + extension CreateRunGroupInput { static func urlPathProvider(_ value: CreateRunGroupInput) -> Swift.String? { @@ -8357,6 +8704,16 @@ extension DeleteRunInput { } } +extension DeleteRunCacheInput { + + static func urlPathProvider(_ value: DeleteRunCacheInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/runCache/\(id.urlPercentEncoding())" + } +} + extension DeleteRunGroupInput { static func urlPathProvider(_ value: DeleteRunGroupInput) -> Swift.String? { @@ -8637,6 +8994,16 @@ extension GetRunInput { } } +extension GetRunCacheInput { + + static func urlPathProvider(_ value: GetRunCacheInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/runCache/\(id.urlPercentEncoding())" + } +} + extension GetRunGroupInput { static func urlPathProvider(_ value: GetRunGroupInput) -> Swift.String? { @@ -9038,6 +9405,29 @@ extension ListReferenceStoresInput { } } +extension ListRunCachesInput { + + static func urlPathProvider(_ value: ListRunCachesInput) -> Swift.String? { + return "/runCache" + } +} + +extension ListRunCachesInput { + + static func queryItemProvider(_ value: ListRunCachesInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let startingToken = value.startingToken { + let startingTokenQueryItem = Smithy.URIQueryItem(name: "startingToken".urlPercentEncoding(), value: Swift.String(startingToken).urlPercentEncoding()) + items.append(startingTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + extension ListRunGroupsInput { static func urlPathProvider(_ value: ListRunGroupsInput) -> Swift.String? { @@ -9383,6 +9773,16 @@ extension UpdateAnnotationStoreVersionInput { } } +extension UpdateRunCacheInput { + + static func urlPathProvider(_ value: UpdateRunCacheInput) -> Swift.String? { + guard let id = value.id else { + return nil + } + return "/runCache/\(id.urlPercentEncoding())" + } +} + extension UpdateRunGroupInput { static func urlPathProvider(_ value: UpdateRunGroupInput) -> Swift.String? { @@ -9516,6 +9916,20 @@ extension CreateReferenceStoreInput { } } +extension CreateRunCacheInput { + + static func write(value: CreateRunCacheInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["cacheBehavior"].write(value.cacheBehavior) + try writer["cacheBucketOwnerId"].write(value.cacheBucketOwnerId) + try writer["cacheS3Location"].write(value.cacheS3Location) + try writer["description"].write(value.description) + try writer["name"].write(value.name) + try writer["requestId"].write(value.requestId) + try writer["tags"].writeMap(value.tags, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + } +} + extension CreateRunGroupInput { static func write(value: CreateRunGroupInput?, to writer: SmithyJSON.Writer) throws { @@ -9776,6 +10190,8 @@ extension StartRunInput { static func write(value: StartRunInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["cacheBehavior"].write(value.cacheBehavior) + try writer["cacheId"].write(value.cacheId) try writer["logLevel"].write(value.logLevel) try writer["name"].write(value.name) try writer["outputUri"].write(value.outputUri) @@ -9831,6 +10247,16 @@ extension UpdateAnnotationStoreVersionInput { } } +extension UpdateRunCacheInput { + + static func write(value: UpdateRunCacheInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["cacheBehavior"].write(value.cacheBehavior) + try writer["description"].write(value.description) + try writer["name"].write(value.name) + } +} + extension UpdateRunGroupInput { static func write(value: UpdateRunGroupInput?, to writer: SmithyJSON.Writer) throws { @@ -10008,6 +10434,21 @@ extension CreateReferenceStoreOutput { } } +extension CreateRunCacheOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRunCacheOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateRunCacheOutput() + value.arn = try reader["arn"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + extension CreateRunGroupOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateRunGroupOutput { @@ -10131,6 +10572,13 @@ extension DeleteRunOutput { } } +extension DeleteRunCacheOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRunCacheOutput { + return DeleteRunCacheOutput() + } +} + extension DeleteRunGroupOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteRunGroupOutput { @@ -10434,9 +10882,12 @@ extension GetRunOutput { var value = GetRunOutput() value.accelerators = try reader["accelerators"].readIfPresent() value.arn = try reader["arn"].readIfPresent() + value.cacheBehavior = try reader["cacheBehavior"].readIfPresent() + value.cacheId = try reader["cacheId"].readIfPresent() value.creationTime = try reader["creationTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) value.definition = try reader["definition"].readIfPresent() value.digest = try reader["digest"].readIfPresent() + value.engineVersion = try reader["engineVersion"].readIfPresent() value.failureReason = try reader["failureReason"].readIfPresent() value.id = try reader["id"].readIfPresent() value.logLevel = try reader["logLevel"].readIfPresent() @@ -10467,6 +10918,27 @@ extension GetRunOutput { } } +extension GetRunCacheOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRunCacheOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetRunCacheOutput() + value.arn = try reader["arn"].readIfPresent() + value.cacheBehavior = try reader["cacheBehavior"].readIfPresent() + value.cacheBucketOwnerId = try reader["cacheBucketOwnerId"].readIfPresent() + value.cacheS3Uri = try reader["cacheS3Uri"].readIfPresent() + value.creationTime = try reader["creationTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) + value.description = try reader["description"].readIfPresent() + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.status = try reader["status"].readIfPresent() + value.tags = try reader["tags"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + extension GetRunGroupOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetRunGroupOutput { @@ -10494,6 +10966,8 @@ extension GetRunTaskOutput { let responseReader = try SmithyJSON.Reader.from(data: data) let reader = responseReader var value = GetRunTaskOutput() + value.cacheHit = try reader["cacheHit"].readIfPresent() + value.cacheS3Uri = try reader["cacheS3Uri"].readIfPresent() value.cpus = try reader["cpus"].readIfPresent() value.creationTime = try reader["creationTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) value.failureReason = try reader["failureReason"].readIfPresent() @@ -10772,6 +11246,19 @@ extension ListReferenceStoresOutput { } } +extension ListRunCachesOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRunCachesOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListRunCachesOutput() + value.items = try reader["items"].readListIfPresent(memberReadingClosure: OmicsClientTypes.RunCacheListItem.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + extension ListRunGroupsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListRunGroupsOutput { @@ -11045,6 +11532,13 @@ extension UpdateAnnotationStoreVersionOutput { } } +extension UpdateRunCacheOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRunCacheOutput { + return UpdateRunCacheOutput() + } +} + extension UpdateRunGroupOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateRunGroupOutput { @@ -11307,6 +11801,27 @@ enum CreateReferenceStoreOutputError { } } +enum CreateRunCacheOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "RequestTimeoutException": return try RequestTimeoutException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum CreateRunGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -11507,6 +12022,27 @@ enum DeleteRunOutputError { } } +enum DeleteRunCacheOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "RequestTimeoutException": return try RequestTimeoutException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DeleteRunGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -11857,6 +12393,27 @@ enum GetRunOutputError { } } +enum GetRunCacheOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "RequestTimeoutException": return try RequestTimeoutException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum GetRunGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12223,6 +12780,27 @@ enum ListReferenceStoresOutputError { } } +enum ListRunCachesOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "RequestTimeoutException": return try RequestTimeoutException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListRunGroupsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -12619,6 +13197,27 @@ enum UpdateAnnotationStoreVersionOutputError { } } +enum UpdateRunCacheOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "RequestTimeoutException": return try RequestTimeoutException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateRunGroupOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -13512,6 +14111,22 @@ extension OmicsClientTypes.ReferenceStoreDetail { } } +extension OmicsClientTypes.RunCacheListItem { + + static func read(from reader: SmithyJSON.Reader) throws -> OmicsClientTypes.RunCacheListItem { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = OmicsClientTypes.RunCacheListItem() + value.arn = try reader["arn"].readIfPresent() + value.cacheBehavior = try reader["cacheBehavior"].readIfPresent() + value.cacheS3Uri = try reader["cacheS3Uri"].readIfPresent() + value.creationTime = try reader["creationTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) + value.id = try reader["id"].readIfPresent() + value.name = try reader["name"].readIfPresent() + value.status = try reader["status"].readIfPresent() + return value + } +} + extension OmicsClientTypes.RunGroupListItem { static func read(from reader: SmithyJSON.Reader) throws -> OmicsClientTypes.RunGroupListItem { @@ -13558,6 +14173,8 @@ extension OmicsClientTypes.TaskListItem { value.status = try reader["status"].readIfPresent() value.name = try reader["name"].readIfPresent() value.cpus = try reader["cpus"].readIfPresent() + value.cacheHit = try reader["cacheHit"].readIfPresent() + value.cacheS3Uri = try reader["cacheS3Uri"].readIfPresent() value.memory = try reader["memory"].readIfPresent() value.creationTime = try reader["creationTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) value.startTime = try reader["startTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) diff --git a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift index fb9cc8ac60a..537f4cdb651 100644 --- a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift +++ b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift @@ -70,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OmicsClient: ClientRuntime.Client { public static let clientName = "OmicsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: OmicsClient.OmicsClientConfiguration let serviceName = "Omics" @@ -1009,6 +1009,83 @@ extension OmicsClient { return try await op.execute(input: input) } + /// Performs the `CreateRunCache` operation on the `Omics` service. + /// + /// You can create a run cache to save the task outputs from completed tasks in a run for a private workflow. Subsequent runs use the task outputs from the cache, rather than computing the task outputs again. You specify an Amazon S3 location where HealthOmics saves the cached data. This data must be immediately accessible (not in an archived state). For more information, see [Creating a run cache](https://docs.aws.amazon.com/omics/latest/dev/workflow-cache-create.html) in the AWS HealthOmics User Guide. + /// + /// - Parameter CreateRunCacheInput : [no documentation found] + /// + /// - Returns: `CreateRunCacheOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request cannot be applied to the target resource in its current state. + /// - `InternalServerException` : An unexpected error occurred. Try the request again. + /// - `RequestTimeoutException` : The request timed out. + /// - `ResourceNotFoundException` : The target resource was not found in the current Region. + /// - `ServiceQuotaExceededException` : The request exceeds a service quota. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func createRunCache(input: CreateRunCacheInput) async throws -> CreateRunCacheOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createRunCache") + .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: "omics") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + 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(keyPath: \.requestId)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateRunCacheInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateRunCacheInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateRunCacheOutput.httpOutput(from:), CreateRunCacheOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: OmicsClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "Omics") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateRunCache") + 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 `CreateRunGroup` operation on the `Omics` service. /// /// You can optionally create a run group to limit the compute resources for the runs that you add to the group. @@ -1757,6 +1834,79 @@ extension OmicsClient { return try await op.execute(input: input) } + /// Performs the `DeleteRunCache` operation on the `Omics` service. + /// + /// Delete a run cache. This action removes the cache metadata stored in the service account, but doesn't delete the data in Amazon S3. You can access the cache data in Amazon S3, for inspection or to troubleshoot issues. You can remove old cache data using standard S3 Delete operations. For more information, see [Deleting a run cache](https://docs.aws.amazon.com/omics/latest/dev/workflow-cache-delete.html) in the AWS HealthOmics User Guide. + /// + /// - Parameter DeleteRunCacheInput : [no documentation found] + /// + /// - Returns: `DeleteRunCacheOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request cannot be applied to the target resource in its current state. + /// - `InternalServerException` : An unexpected error occurred. Try the request again. + /// - `RequestTimeoutException` : The request timed out. + /// - `ResourceNotFoundException` : The target resource was not found in the current Region. + /// - `ServiceQuotaExceededException` : The request exceeds a service quota. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func deleteRunCache(input: DeleteRunCacheInput) async throws -> DeleteRunCacheOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteRunCache") + .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: "omics") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteRunCacheInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteRunCacheOutput.httpOutput(from:), DeleteRunCacheOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: OmicsClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "Omics") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteRunCache") + 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 `DeleteRunGroup` operation on the `Omics` service. /// /// Deletes a workflow run group. @@ -2976,7 +3126,7 @@ extension OmicsClient { /// Performs the `GetRun` operation on the `Omics` service. /// - /// Gets information about a workflow run. If a workflow is shared with you, you cannot export information about the run. + /// Gets information about a workflow run. If a workflow is shared with you, you cannot export information about the run. HealthOmics stores a fixed number of runs that are available to the console and API. If GetRun doesn't return the requested run, you can find run logs for all runs in the CloudWatch logs. For more information about viewing the run logs, see [CloudWatch logs](https://docs.aws.amazon.com/omics/latest/dev/cloudwatch-logs.html) in the AWS HealthOmics User Guide. /// /// - Parameter GetRunInput : [no documentation found] /// @@ -3048,6 +3198,79 @@ extension OmicsClient { return try await op.execute(input: input) } + /// Performs the `GetRunCache` operation on the `Omics` service. + /// + /// Retrieve the details for the specified run cache. For more information, see [Call caching for HealthOmics runs](https://docs.aws.amazon.com/omics/latest/dev/workflow-call-caching.html) in the AWS HealthOmics User Guide. + /// + /// - Parameter GetRunCacheInput : [no documentation found] + /// + /// - Returns: `GetRunCacheOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request cannot be applied to the target resource in its current state. + /// - `InternalServerException` : An unexpected error occurred. Try the request again. + /// - `RequestTimeoutException` : The request timed out. + /// - `ResourceNotFoundException` : The target resource was not found in the current Region. + /// - `ServiceQuotaExceededException` : The request exceeds a service quota. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func getRunCache(input: GetRunCacheInput) async throws -> GetRunCacheOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getRunCache") + .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: "omics") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetRunCacheInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetRunCacheOutput.httpOutput(from:), GetRunCacheOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: OmicsClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "Omics") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetRunCache") + 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 `GetRunGroup` operation on the `Omics` service. /// /// Gets information about a workflow run group. @@ -4448,6 +4671,80 @@ extension OmicsClient { return try await op.execute(input: input) } + /// Performs the `ListRunCaches` operation on the `Omics` service. + /// + /// Retrieves a list of your run caches. + /// + /// - Parameter ListRunCachesInput : [no documentation found] + /// + /// - Returns: `ListRunCachesOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request cannot be applied to the target resource in its current state. + /// - `InternalServerException` : An unexpected error occurred. Try the request again. + /// - `RequestTimeoutException` : The request timed out. + /// - `ResourceNotFoundException` : The target resource was not found in the current Region. + /// - `ServiceQuotaExceededException` : The request exceeds a service quota. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func listRunCaches(input: ListRunCachesInput) async throws -> ListRunCachesOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listRunCaches") + .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: "omics") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListRunCachesInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListRunCachesInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListRunCachesOutput.httpOutput(from:), ListRunCachesOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: OmicsClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "Omics") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListRunCaches") + 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 `ListRunGroups` operation on the `Omics` service. /// /// Retrieves a list of run groups. @@ -4598,7 +4895,7 @@ extension OmicsClient { /// Performs the `ListRuns` operation on the `Omics` service. /// - /// Retrieves a list of runs. + /// Retrieves a list of runs. HealthOmics stores a fixed number of runs that are available to the console and API. If the ListRuns response doesn't include specific runs that you expected, you can find run logs for all runs in the CloudWatch logs. For more information about viewing the run logs, see [CloudWatch logs](https://docs.aws.amazon.com/omics/latest/dev/cloudwatch-logs.html) in the AWS HealthOmics User Guide. /// /// - Parameter ListRunsInput : [no documentation found] /// @@ -5491,7 +5788,7 @@ extension OmicsClient { /// Performs the `StartRun` operation on the `Omics` service. /// - /// Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The remaining parameters are copied from the previous run. StartRun will not support re-run for a workflow that is shared with you. The total number of runs in your account is subject to a quota per Region. To avoid needing to delete runs manually, you can set the retention mode to REMOVE. Runs with this setting are deleted automatically when the run quoata is exceeded. By default, the run uses STATIC storage. For STATIC storage, set the storageCapacity field. You can set the storage type to DYNAMIC. You do not set storageCapacity, because HealthOmics dynamically scales the storage up or down as required. For more information about static and dynamic storage, see [Running workflows](https://docs.aws.amazon.com/omics/latest/dev/Using-workflows.html) in the AWS HealthOmics User Guide. + /// Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The remaining parameters are copied from the previous run. StartRun will not support re-run for a workflow that is shared with you. HealthOmics stores a fixed number of runs that are available to the console and API. By default, HealthOmics doesn't any remove any runs. If HealthOmics reaches the maximum number of runs, you must manually remove runs. To have older runs removed automatically, set the retention mode to REMOVE. By default, the run uses STATIC storage. For STATIC storage, set the storageCapacity field. You can set the storage type to DYNAMIC. You do not set storageCapacity, because HealthOmics dynamically scales the storage up or down as required. For more information about static and dynamic storage, see [Running workflows](https://docs.aws.amazon.com/omics/latest/dev/Using-workflows.html) in the AWS HealthOmics User Guide. /// /// - Parameter StartRunInput : [no documentation found] /// @@ -5936,6 +6233,82 @@ extension OmicsClient { return try await op.execute(input: input) } + /// Performs the `UpdateRunCache` operation on the `Omics` service. + /// + /// Update a run cache. + /// + /// - Parameter UpdateRunCacheInput : [no documentation found] + /// + /// - Returns: `UpdateRunCacheOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : You do not have sufficient access to perform this action. + /// - `ConflictException` : The request cannot be applied to the target resource in its current state. + /// - `InternalServerException` : An unexpected error occurred. Try the request again. + /// - `RequestTimeoutException` : The request timed out. + /// - `ResourceNotFoundException` : The target resource was not found in the current Region. + /// - `ServiceQuotaExceededException` : The request exceeds a service quota. + /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ValidationException` : The input fails to satisfy the constraints specified by an AWS service. + public func updateRunCache(input: UpdateRunCacheInput) async throws -> UpdateRunCacheOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "updateRunCache") + .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: "omics") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateRunCacheInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware(hostPrefix: "workflows-")) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateRunCacheInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateRunCacheOutput.httpOutput(from:), UpdateRunCacheOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: OmicsClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "Omics") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateRunCache") + 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 `UpdateRunGroup` operation on the `Omics` service. /// /// Updates a run group. diff --git a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift index ee7f65acf18..ef6dead405a 100644 --- a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift +++ b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpenSearchClient: ClientRuntime.Client { public static let clientName = "OpenSearchClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: OpenSearchClient.OpenSearchClientConfiguration let serviceName = "OpenSearch" diff --git a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift index d141776b8d1..86f6a3f3055 100644 --- a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift +++ b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpenSearchServerlessClient: ClientRuntime.Client { public static let clientName = "OpenSearchServerlessClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: OpenSearchServerlessClient.OpenSearchServerlessClientConfiguration let serviceName = "OpenSearchServerless" diff --git a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift index 5b568d38980..f770060a6f6 100644 --- a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift +++ b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpsWorksClient: ClientRuntime.Client { public static let clientName = "OpsWorksClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: OpsWorksClient.OpsWorksClientConfiguration let serviceName = "OpsWorks" diff --git a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift index 6fe17a35acf..4c32fe820c1 100644 --- a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift +++ b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpsWorksCMClient: ClientRuntime.Client { public static let clientName = "OpsWorksCMClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: OpsWorksCMClient.OpsWorksCMClientConfiguration let serviceName = "OpsWorksCM" diff --git a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift index f6c825ae4e7..5b476b2e8b2 100644 --- a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift +++ b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OrganizationsClient: ClientRuntime.Client { public static let clientName = "OrganizationsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: OrganizationsClient.OrganizationsClientConfiguration let serviceName = "Organizations" diff --git a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift index 55f0e3b8c45..ca13d837517 100644 --- a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift +++ b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OutpostsClient: ClientRuntime.Client { public static let clientName = "OutpostsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: OutpostsClient.OutpostsClientConfiguration let serviceName = "Outposts" diff --git a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift index 4faa552d99c..82199de8802 100644 --- a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift +++ b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PCSClient: ClientRuntime.Client { public static let clientName = "PCSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PCSClient.PCSClientConfiguration let serviceName = "PCS" diff --git a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift index bcacd81207f..c914acd67a7 100644 --- a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift +++ b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PIClient: ClientRuntime.Client { public static let clientName = "PIClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PIClient.PIClientConfiguration let serviceName = "PI" diff --git a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift index 2fd72b008a3..7fcd2e63725 100644 --- a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift +++ b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PanoramaClient: ClientRuntime.Client { public static let clientName = "PanoramaClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PanoramaClient.PanoramaClientConfiguration let serviceName = "Panorama" diff --git a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift index a1233df25a0..4901ad8fe7e 100644 --- a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift +++ b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PartnerCentralSellingClient: ClientRuntime.Client { public static let clientName = "PartnerCentralSellingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PartnerCentralSellingClient.PartnerCentralSellingClientConfiguration let serviceName = "PartnerCentral Selling" diff --git a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift index fabfcda6802..1a3c1e9bfac 100644 --- a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift +++ b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PaymentCryptographyClient: ClientRuntime.Client { public static let clientName = "PaymentCryptographyClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PaymentCryptographyClient.PaymentCryptographyClientConfiguration let serviceName = "Payment Cryptography" diff --git a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift index d00c7a97e28..854771a7c1d 100644 --- a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift +++ b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PaymentCryptographyDataClient: ClientRuntime.Client { public static let clientName = "PaymentCryptographyDataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PaymentCryptographyDataClient.PaymentCryptographyDataClientConfiguration let serviceName = "Payment Cryptography Data" diff --git a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift index e53313a1d71..4d00862c1bc 100644 --- a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift +++ b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PcaConnectorAdClient: ClientRuntime.Client { public static let clientName = "PcaConnectorAdClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PcaConnectorAdClient.PcaConnectorAdClientConfiguration let serviceName = "Pca Connector Ad" diff --git a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift index a4a5d619901..01809094ff4 100644 --- a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift +++ b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PcaConnectorScepClient: ClientRuntime.Client { public static let clientName = "PcaConnectorScepClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PcaConnectorScepClient.PcaConnectorScepClientConfiguration let serviceName = "Pca Connector Scep" diff --git a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift index fae837f9c5a..0b406cd1799 100644 --- a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift +++ b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeClient: ClientRuntime.Client { public static let clientName = "PersonalizeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PersonalizeClient.PersonalizeClientConfiguration let serviceName = "Personalize" diff --git a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift index ad31ed653b1..c1072f25e5e 100644 --- a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift +++ b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeEventsClient: ClientRuntime.Client { public static let clientName = "PersonalizeEventsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PersonalizeEventsClient.PersonalizeEventsClientConfiguration let serviceName = "Personalize Events" diff --git a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift index fbd027e9152..4ab89d51ba6 100644 --- a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift +++ b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeRuntimeClient: ClientRuntime.Client { public static let clientName = "PersonalizeRuntimeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PersonalizeRuntimeClient.PersonalizeRuntimeClientConfiguration let serviceName = "Personalize Runtime" diff --git a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift index 08aa3dbb062..c72b873cf7b 100644 --- a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift +++ b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointClient: ClientRuntime.Client { public static let clientName = "PinpointClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PinpointClient.PinpointClientConfiguration let serviceName = "Pinpoint" diff --git a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift index 9bfd35d9cf5..7bcb28834fe 100644 --- a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift +++ b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointEmailClient: ClientRuntime.Client { public static let clientName = "PinpointEmailClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PinpointEmailClient.PinpointEmailClientConfiguration let serviceName = "Pinpoint Email" diff --git a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift index e88ba3281b7..651773eca11 100644 --- a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift +++ b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointSMSVoiceClient: ClientRuntime.Client { public static let clientName = "PinpointSMSVoiceClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PinpointSMSVoiceClient.PinpointSMSVoiceClientConfiguration let serviceName = "Pinpoint SMS Voice" diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift index 502f916dd8e..46e255db470 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointSMSVoiceV2Client: ClientRuntime.Client { public static let clientName = "PinpointSMSVoiceV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PinpointSMSVoiceV2Client.PinpointSMSVoiceV2ClientConfiguration let serviceName = "Pinpoint SMS Voice V2" diff --git a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift index fd02fa10569..ca56a1a2939 100644 --- a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift +++ b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PipesClient: ClientRuntime.Client { public static let clientName = "PipesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PipesClient.PipesClientConfiguration let serviceName = "Pipes" diff --git a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift index 20ad3e59162..15f1e64bdd4 100644 --- a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift +++ b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift @@ -69,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PollyClient: ClientRuntime.Client { public static let clientName = "PollyClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PollyClient.PollyClientConfiguration let serviceName = "Polly" diff --git a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift index d108cd209bd..393e2650193 100644 --- a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift +++ b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PricingClient: ClientRuntime.Client { public static let clientName = "PricingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PricingClient.PricingClientConfiguration let serviceName = "Pricing" diff --git a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift index 5cfa4504309..954e3ace619 100644 --- a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift +++ b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PrivateNetworksClient: ClientRuntime.Client { public static let clientName = "PrivateNetworksClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: PrivateNetworksClient.PrivateNetworksClientConfiguration let serviceName = "PrivateNetworks" diff --git a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift index f692eba6c4a..afc4d035829 100644 --- a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift +++ b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ProtonClient: ClientRuntime.Client { public static let clientName = "ProtonClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ProtonClient.ProtonClientConfiguration let serviceName = "Proton" diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift index 2781f27af87..d17861a88eb 100644 --- a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QAppsClient: ClientRuntime.Client { public static let clientName = "QAppsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: QAppsClient.QAppsClientConfiguration let serviceName = "QApps" diff --git a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift index 482a67a0acc..82227bc2a27 100644 --- a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift +++ b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QBusinessClient: ClientRuntime.Client { public static let clientName = "QBusinessClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: QBusinessClient.QBusinessClientConfiguration let serviceName = "QBusiness" diff --git a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift index 85b35c3c48c..6bc5703e19b 100644 --- a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift +++ b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QConnectClient: ClientRuntime.Client { public static let clientName = "QConnectClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: QConnectClient.QConnectClientConfiguration let serviceName = "QConnect" diff --git a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift index e6bc6f2b999..157a9bdc9dc 100644 --- a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift +++ b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QLDBClient: ClientRuntime.Client { public static let clientName = "QLDBClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: QLDBClient.QLDBClientConfiguration let serviceName = "QLDB" diff --git a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift index 769d61b416c..c2f338c835a 100644 --- a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift +++ b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QLDBSessionClient: ClientRuntime.Client { public static let clientName = "QLDBSessionClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: QLDBSessionClient.QLDBSessionClientConfiguration let serviceName = "QLDB Session" diff --git a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift index f2f64ed9f69..625dec5dc76 100644 --- a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift +++ b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QuickSightClient: ClientRuntime.Client { public static let clientName = "QuickSightClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: QuickSightClient.QuickSightClientConfiguration let serviceName = "QuickSight" diff --git a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift index 97d33047027..6ed4d3f1c4a 100644 --- a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift +++ b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RAMClient: ClientRuntime.Client { public static let clientName = "RAMClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RAMClient.RAMClientConfiguration let serviceName = "RAM" diff --git a/Sources/Services/AWSRDS/Sources/AWSRDS/Models.swift b/Sources/Services/AWSRDS/Sources/AWSRDS/Models.swift index ed55d4ac305..7b67d6c1f35 100644 --- a/Sources/Services/AWSRDS/Sources/AWSRDS/Models.swift +++ b/Sources/Services/AWSRDS/Sources/AWSRDS/Models.swift @@ -2871,6 +2871,8 @@ public struct CreateBlueGreenDeploymentInput: Swift.Sendable { public var source: Swift.String? /// Tags to assign to the blue/green deployment. public var tags: [RDSClientTypes.Tag]? + /// The amount of storage in gibibytes (GiB) to allocate for the green DB instance. You can choose to increase or decrease the allocated storage on the green DB instance. This setting doesn't apply to Amazon Aurora blue/green deployments. + public var targetAllocatedStorage: Swift.Int? /// The DB cluster parameter group associated with the Aurora DB cluster in the green environment. To test parameter changes, specify a DB cluster parameter group that is different from the one associated with the source DB cluster. public var targetDBClusterParameterGroupName: Swift.String? /// Specify the DB instance class for the databases in the green environment. This parameter only applies to RDS DB instances, because DB instances within an Aurora DB cluster can have multiple different instance classes. If you're creating a blue/green deployment from an Aurora DB cluster, don't specify this parameter. After the green environment is created, you can individually modify the instance classes of the DB instances within the green DB cluster. @@ -2879,6 +2881,12 @@ public struct CreateBlueGreenDeploymentInput: Swift.Sendable { public var targetDBParameterGroupName: Swift.String? /// The engine version of the database in the green environment. Specify the engine version to upgrade to in the green environment. public var targetEngineVersion: Swift.String? + /// The amount of Provisioned IOPS (input/output operations per second) to allocate for the green DB instance. For information about valid IOPS values, see [Amazon RDS DB instance storage](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html) in the Amazon RDS User Guide. This setting doesn't apply to Amazon Aurora blue/green deployments. + public var targetIops: Swift.Int? + /// The storage throughput value for the green DB instance. This setting applies only to the gp3 storage type. This setting doesn't apply to Amazon Aurora blue/green deployments. + public var targetStorageThroughput: Swift.Int? + /// The storage type to associate with the green DB instance. Valid Values: gp2 | gp3 | io1 | io2 This setting doesn't apply to Amazon Aurora blue/green deployments. + public var targetStorageType: Swift.String? /// Whether to upgrade the storage file system configuration on the green database. This option migrates the green DB instance from the older 32-bit file system to the preferred configuration. For more information, see [Upgrading the storage file system for a DB instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.UpgradeFileSystem). public var upgradeTargetStorageConfig: Swift.Bool? @@ -2886,20 +2894,28 @@ public struct CreateBlueGreenDeploymentInput: Swift.Sendable { blueGreenDeploymentName: Swift.String? = nil, source: Swift.String? = nil, tags: [RDSClientTypes.Tag]? = nil, + targetAllocatedStorage: Swift.Int? = nil, targetDBClusterParameterGroupName: Swift.String? = nil, targetDBInstanceClass: Swift.String? = nil, targetDBParameterGroupName: Swift.String? = nil, targetEngineVersion: Swift.String? = nil, + targetIops: Swift.Int? = nil, + targetStorageThroughput: Swift.Int? = nil, + targetStorageType: Swift.String? = nil, upgradeTargetStorageConfig: Swift.Bool? = nil ) { self.blueGreenDeploymentName = blueGreenDeploymentName self.source = source self.tags = tags + self.targetAllocatedStorage = targetAllocatedStorage self.targetDBClusterParameterGroupName = targetDBClusterParameterGroupName self.targetDBInstanceClass = targetDBInstanceClass self.targetDBParameterGroupName = targetDBParameterGroupName self.targetEngineVersion = targetEngineVersion + self.targetIops = targetIops + self.targetStorageThroughput = targetStorageThroughput + self.targetStorageType = targetStorageType self.upgradeTargetStorageConfig = upgradeTargetStorageConfig } } @@ -23195,10 +23211,14 @@ extension CreateBlueGreenDeploymentInput { try writer["BlueGreenDeploymentName"].write(value.blueGreenDeploymentName) try writer["Source"].write(value.source) try writer["Tags"].writeList(value.tags, memberWritingClosure: RDSClientTypes.Tag.write(value:to:), memberNodeInfo: "Tag", isFlattened: false) + try writer["TargetAllocatedStorage"].write(value.targetAllocatedStorage) try writer["TargetDBClusterParameterGroupName"].write(value.targetDBClusterParameterGroupName) try writer["TargetDBInstanceClass"].write(value.targetDBInstanceClass) try writer["TargetDBParameterGroupName"].write(value.targetDBParameterGroupName) try writer["TargetEngineVersion"].write(value.targetEngineVersion) + try writer["TargetIops"].write(value.targetIops) + try writer["TargetStorageThroughput"].write(value.targetStorageThroughput) + try writer["TargetStorageType"].write(value.targetStorageType) try writer["UpgradeTargetStorageConfig"].write(value.upgradeTargetStorageConfig) try writer["Action"].write("CreateBlueGreenDeployment") try writer["Version"].write("2014-10-31") diff --git a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift index 8542b4344e8..829a218da4d 100644 --- a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift +++ b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RDSClient: ClientRuntime.Client { public static let clientName = "RDSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RDSClient.RDSClientConfiguration let serviceName = "RDS" @@ -1140,7 +1140,7 @@ extension RDSClient { /// Performs the `CreateBlueGreenDeployment` operation on the `AmazonRDSv19` service. /// - /// Creates a blue/green deployment. A blue/green deployment creates a staging environment that copies the production environment. In a blue/green deployment, the blue environment is the current production environment. The green environment is the staging environment. The staging environment stays in sync with the current production environment using logical replication. You can make changes to the databases in the green environment without affecting production workloads. For example, you can upgrade the major or minor DB engine version, change database parameters, or make schema changes in the staging environment. You can thoroughly test changes in the green environment. When ready, you can switch over the environments to promote the green environment to be the new production environment. The switchover typically takes under a minute. For more information, see [Using Amazon RDS Blue/Green Deployments for database updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) in the Amazon RDS User Guide and [ Using Amazon RDS Blue/Green Deployments for database updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) in the Amazon Aurora User Guide. + /// Creates a blue/green deployment. A blue/green deployment creates a staging environment that copies the production environment. In a blue/green deployment, the blue environment is the current production environment. The green environment is the staging environment, and it stays in sync with the current production environment. You can make changes to the databases in the green environment without affecting production workloads. For example, you can upgrade the major or minor DB engine version, change database parameters, or make schema changes in the staging environment. You can thoroughly test changes in the green environment. When ready, you can switch over the environments to promote the green environment to be the new production environment. The switchover typically takes under a minute. For more information, see [Using Amazon RDS Blue/Green Deployments for database updates](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments.html) in the Amazon RDS User Guide and [ Using Amazon RDS Blue/Green Deployments for database updates](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/blue-green-deployments.html) in the Amazon Aurora User Guide. /// /// - Parameter CreateBlueGreenDeploymentInput : [no documentation found] /// diff --git a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift index 698d0607a29..305933fbc2e 100644 --- a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift +++ b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RDSDataClient: ClientRuntime.Client { public static let clientName = "RDSDataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RDSDataClient.RDSDataClientConfiguration let serviceName = "RDS Data" diff --git a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift index f87dc60d01f..805c4dc27a2 100644 --- a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift +++ b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RUMClient: ClientRuntime.Client { public static let clientName = "RUMClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RUMClient.RUMClientConfiguration let serviceName = "RUM" diff --git a/Sources/Services/AWSRbin/Sources/AWSRbin/Models.swift b/Sources/Services/AWSRbin/Sources/AWSRbin/Models.swift index 27919940cc5..5ce999efea5 100644 --- a/Sources/Services/AWSRbin/Sources/AWSRbin/Models.swift +++ b/Sources/Services/AWSRbin/Sources/AWSRbin/Models.swift @@ -160,6 +160,27 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. } } +extension RbinClientTypes { + + /// [Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule. + public struct ResourceTag: Swift.Sendable { + /// The tag key. + /// This member is required. + public var resourceTagKey: Swift.String? + /// The tag value. + public var resourceTagValue: Swift.String? + + public init( + resourceTagKey: Swift.String? = nil, + resourceTagValue: Swift.String? = nil + ) + { + self.resourceTagKey = resourceTagKey + self.resourceTagValue = resourceTagValue + } + } +} + extension RbinClientTypes { public enum UnlockDelayUnit: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -225,27 +246,6 @@ extension RbinClientTypes { } } -extension RbinClientTypes { - - /// Information about the resource tags used to identify resources that are retained by the retention rule. - public struct ResourceTag: Swift.Sendable { - /// The tag key. - /// This member is required. - public var resourceTagKey: Swift.String? - /// The tag value. - public var resourceTagValue: Swift.String? - - public init( - resourceTagKey: Swift.String? = nil, - resourceTagValue: Swift.String? = nil - ) - { - self.resourceTagKey = resourceTagKey - self.resourceTagValue = resourceTagValue - } - } -} - extension RbinClientTypes { public enum ResourceType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -348,9 +348,11 @@ extension RbinClientTypes { public struct CreateRuleInput: Swift.Sendable { /// The retention rule description. public var description: Swift.String? + /// [Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule. Resources that have any of these tags are not retained by the retention rule upon deletion. You can't specify exclusion tags for tag-level retention rules. + public var excludeResourceTags: [RbinClientTypes.ResourceTag]? /// Information about the retention rule lock configuration. public var lockConfiguration: RbinClientTypes.LockConfiguration? - /// Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged. + /// [Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged. public var resourceTags: [RbinClientTypes.ResourceTag]? /// The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To retain snapshots, specify EBS_SNAPSHOT. To retain EBS-backed AMIs, specify EC2_IMAGE. /// This member is required. @@ -363,6 +365,7 @@ public struct CreateRuleInput: Swift.Sendable { public init( description: Swift.String? = nil, + excludeResourceTags: [RbinClientTypes.ResourceTag]? = nil, lockConfiguration: RbinClientTypes.LockConfiguration? = nil, resourceTags: [RbinClientTypes.ResourceTag]? = nil, resourceType: RbinClientTypes.ResourceType? = nil, @@ -371,6 +374,7 @@ public struct CreateRuleInput: Swift.Sendable { ) { self.description = description + self.excludeResourceTags = excludeResourceTags self.lockConfiguration = lockConfiguration self.resourceTags = resourceTags self.resourceType = resourceType @@ -443,11 +447,13 @@ extension RbinClientTypes { public struct CreateRuleOutput: Swift.Sendable { /// The retention rule description. public var description: Swift.String? + /// [Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule. + public var excludeResourceTags: [RbinClientTypes.ResourceTag]? /// The unique ID of the retention rule. public var identifier: Swift.String? /// Information about the retention rule lock configuration. public var lockConfiguration: RbinClientTypes.LockConfiguration? - /// The lock state for the retention rule. + /// [Region-level retention rules only] The lock state for the retention rule. /// /// * locked - The retention rule is locked and can't be modified or deleted. /// @@ -457,7 +463,7 @@ public struct CreateRuleOutput: Swift.Sendable { /// /// * null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null. public var lockState: RbinClientTypes.LockState? - /// Information about the resource tags used to identify resources that are retained by the retention rule. + /// [Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule. public var resourceTags: [RbinClientTypes.ResourceTag]? /// The resource type retained by the retention rule. public var resourceType: RbinClientTypes.ResourceType? @@ -472,6 +478,7 @@ public struct CreateRuleOutput: Swift.Sendable { public init( description: Swift.String? = nil, + excludeResourceTags: [RbinClientTypes.ResourceTag]? = nil, identifier: Swift.String? = nil, lockConfiguration: RbinClientTypes.LockConfiguration? = nil, lockState: RbinClientTypes.LockState? = nil, @@ -484,6 +491,7 @@ public struct CreateRuleOutput: Swift.Sendable { ) { self.description = description + self.excludeResourceTags = excludeResourceTags self.identifier = identifier self.lockConfiguration = lockConfiguration self.lockState = lockState @@ -638,13 +646,15 @@ public struct GetRuleInput: Swift.Sendable { public struct GetRuleOutput: Swift.Sendable { /// The retention rule description. public var description: Swift.String? + /// [Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule. + public var excludeResourceTags: [RbinClientTypes.ResourceTag]? /// The unique ID of the retention rule. public var identifier: Swift.String? /// Information about the retention rule lock configuration. public var lockConfiguration: RbinClientTypes.LockConfiguration? /// The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period. public var lockEndTime: Foundation.Date? - /// The lock state for the retention rule. + /// [Region-level retention rules only] The lock state for the retention rule. /// /// * locked - The retention rule is locked and can't be modified or deleted. /// @@ -654,7 +664,7 @@ public struct GetRuleOutput: Swift.Sendable { /// /// * null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null. public var lockState: RbinClientTypes.LockState? - /// Information about the resource tags used to identify resources that are retained by the retention rule. + /// [Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule. public var resourceTags: [RbinClientTypes.ResourceTag]? /// The resource type retained by the retention rule. public var resourceType: RbinClientTypes.ResourceType? @@ -667,6 +677,7 @@ public struct GetRuleOutput: Swift.Sendable { public init( description: Swift.String? = nil, + excludeResourceTags: [RbinClientTypes.ResourceTag]? = nil, identifier: Swift.String? = nil, lockConfiguration: RbinClientTypes.LockConfiguration? = nil, lockEndTime: Foundation.Date? = nil, @@ -679,6 +690,7 @@ public struct GetRuleOutput: Swift.Sendable { ) { self.description = description + self.excludeResourceTags = excludeResourceTags self.identifier = identifier self.lockConfiguration = lockConfiguration self.lockEndTime = lockEndTime @@ -692,19 +704,22 @@ public struct GetRuleOutput: Swift.Sendable { } public struct ListRulesInput: Swift.Sendable { + /// [Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule. + public var excludeResourceTags: [RbinClientTypes.ResourceTag]? /// The lock state of the retention rules to list. Only retention rules with the specified lock state are returned. public var lockState: RbinClientTypes.LockState? /// The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned NextToken value. public var maxResults: Swift.Int? /// The token for the next page of results. public var nextToken: Swift.String? - /// Information about the resource tags used to identify resources that are retained by the retention rule. + /// [Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule. public var resourceTags: [RbinClientTypes.ResourceTag]? /// The resource type retained by the retention rule. Only retention rules that retain the specified resource type are listed. Currently, only Amazon EBS snapshots and EBS-backed AMIs are supported. To list retention rules that retain snapshots, specify EBS_SNAPSHOT. To list retention rules that retain EBS-backed AMIs, specify EC2_IMAGE. /// This member is required. public var resourceType: RbinClientTypes.ResourceType? public init( + excludeResourceTags: [RbinClientTypes.ResourceTag]? = nil, lockState: RbinClientTypes.LockState? = nil, maxResults: Swift.Int? = nil, nextToken: Swift.String? = nil, @@ -712,6 +727,7 @@ public struct ListRulesInput: Swift.Sendable { resourceType: RbinClientTypes.ResourceType? = nil ) { + self.excludeResourceTags = excludeResourceTags self.lockState = lockState self.maxResults = maxResults self.nextToken = nextToken @@ -728,7 +744,7 @@ extension RbinClientTypes { public var description: Swift.String? /// The unique ID of the retention rule. public var identifier: Swift.String? - /// The lock state for the retention rule. + /// [Region-level retention rules only] The lock state for the retention rule. /// /// * locked - The retention rule is locked and can't be modified or deleted. /// @@ -822,11 +838,13 @@ public struct LockRuleInput: Swift.Sendable { public struct LockRuleOutput: Swift.Sendable { /// The retention rule description. public var description: Swift.String? + /// [Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule. + public var excludeResourceTags: [RbinClientTypes.ResourceTag]? /// The unique ID of the retention rule. public var identifier: Swift.String? /// Information about the retention rule lock configuration. public var lockConfiguration: RbinClientTypes.LockConfiguration? - /// The lock state for the retention rule. + /// [Region-level retention rules only] The lock state for the retention rule. /// /// * locked - The retention rule is locked and can't be modified or deleted. /// @@ -836,7 +854,7 @@ public struct LockRuleOutput: Swift.Sendable { /// /// * null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null. public var lockState: RbinClientTypes.LockState? - /// Information about the resource tags used to identify resources that are retained by the retention rule. + /// [Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule. public var resourceTags: [RbinClientTypes.ResourceTag]? /// The resource type retained by the retention rule. public var resourceType: RbinClientTypes.ResourceType? @@ -849,6 +867,7 @@ public struct LockRuleOutput: Swift.Sendable { public init( description: Swift.String? = nil, + excludeResourceTags: [RbinClientTypes.ResourceTag]? = nil, identifier: Swift.String? = nil, lockConfiguration: RbinClientTypes.LockConfiguration? = nil, lockState: RbinClientTypes.LockState? = nil, @@ -860,6 +879,7 @@ public struct LockRuleOutput: Swift.Sendable { ) { self.description = description + self.excludeResourceTags = excludeResourceTags self.identifier = identifier self.lockConfiguration = lockConfiguration self.lockState = lockState @@ -910,13 +930,15 @@ public struct UnlockRuleInput: Swift.Sendable { public struct UnlockRuleOutput: Swift.Sendable { /// The retention rule description. public var description: Swift.String? + /// [Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule. + public var excludeResourceTags: [RbinClientTypes.ResourceTag]? /// The unique ID of the retention rule. public var identifier: Swift.String? /// Information about the retention rule lock configuration. public var lockConfiguration: RbinClientTypes.LockConfiguration? /// The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period. public var lockEndTime: Foundation.Date? - /// The lock state for the retention rule. + /// [Region-level retention rules only] The lock state for the retention rule. /// /// * locked - The retention rule is locked and can't be modified or deleted. /// @@ -926,7 +948,7 @@ public struct UnlockRuleOutput: Swift.Sendable { /// /// * null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null. public var lockState: RbinClientTypes.LockState? - /// Information about the resource tags used to identify resources that are retained by the retention rule. + /// [Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule. public var resourceTags: [RbinClientTypes.ResourceTag]? /// The resource type retained by the retention rule. public var resourceType: RbinClientTypes.ResourceType? @@ -939,6 +961,7 @@ public struct UnlockRuleOutput: Swift.Sendable { public init( description: Swift.String? = nil, + excludeResourceTags: [RbinClientTypes.ResourceTag]? = nil, identifier: Swift.String? = nil, lockConfiguration: RbinClientTypes.LockConfiguration? = nil, lockEndTime: Foundation.Date? = nil, @@ -951,6 +974,7 @@ public struct UnlockRuleOutput: Swift.Sendable { ) { self.description = description + self.excludeResourceTags = excludeResourceTags self.identifier = identifier self.lockConfiguration = lockConfiguration self.lockEndTime = lockEndTime @@ -989,10 +1013,12 @@ public struct UntagResourceOutput: Swift.Sendable { public struct UpdateRuleInput: Swift.Sendable { /// The retention rule description. public var description: Swift.String? + /// [Region-level retention rules only] Specifies the exclusion tags to use to identify resources that are to be excluded, or ignored, by a Region-level retention rule. Resources that have any of these tags are not retained by the retention rule upon deletion. You can't specify exclusion tags for tag-level retention rules. + public var excludeResourceTags: [RbinClientTypes.ResourceTag]? /// The unique ID of the retention rule. /// This member is required. public var identifier: Swift.String? - /// Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged. + /// [Tag-level retention rules only] Specifies the resource tags to use to identify resources that are to be retained by a tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that have one or more of the specified tag key and value pairs are retained. If a resource is deleted, but it does not have any of the specified tag key and value pairs, it is immediately deleted without being retained by the retention rule. You can add the same tag key and value pair to a maximum or five retention rules. To create a Region-level retention rule, omit this parameter. A Region-level retention rule does not have any resource tags specified. It retains all deleted resources of the specified resource type in the Region in which the rule is created, even if the resources are not tagged. public var resourceTags: [RbinClientTypes.ResourceTag]? /// This parameter is currently not supported. You can't update a retention rule's resource type after creation. public var resourceType: RbinClientTypes.ResourceType? @@ -1001,6 +1027,7 @@ public struct UpdateRuleInput: Swift.Sendable { public init( description: Swift.String? = nil, + excludeResourceTags: [RbinClientTypes.ResourceTag]? = nil, identifier: Swift.String? = nil, resourceTags: [RbinClientTypes.ResourceTag]? = nil, resourceType: RbinClientTypes.ResourceType? = nil, @@ -1008,6 +1035,7 @@ public struct UpdateRuleInput: Swift.Sendable { ) { self.description = description + self.excludeResourceTags = excludeResourceTags self.identifier = identifier self.resourceTags = resourceTags self.resourceType = resourceType @@ -1018,11 +1046,13 @@ public struct UpdateRuleInput: Swift.Sendable { public struct UpdateRuleOutput: Swift.Sendable { /// The retention rule description. public var description: Swift.String? + /// [Region-level retention rules only] Information about the exclusion tags used to identify resources that are to be excluded, or ignored, by the retention rule. + public var excludeResourceTags: [RbinClientTypes.ResourceTag]? /// The unique ID of the retention rule. public var identifier: Swift.String? /// The date and time at which the unlock delay is set to expire. Only returned for retention rules that have been unlocked and that are still within the unlock delay period. public var lockEndTime: Foundation.Date? - /// The lock state for the retention rule. + /// [Region-level retention rules only] The lock state for the retention rule. /// /// * locked - The retention rule is locked and can't be modified or deleted. /// @@ -1032,7 +1062,7 @@ public struct UpdateRuleOutput: Swift.Sendable { /// /// * null - The retention rule has never been locked. Once a retention rule has been locked, it can transition between the locked and unlocked states only; it can never transition back to null. public var lockState: RbinClientTypes.LockState? - /// Information about the resource tags used to identify resources that are retained by the retention rule. + /// [Tag-level retention rules only] Information about the resource tags used to identify resources that are retained by the retention rule. public var resourceTags: [RbinClientTypes.ResourceTag]? /// The resource type retained by the retention rule. public var resourceType: RbinClientTypes.ResourceType? @@ -1045,6 +1075,7 @@ public struct UpdateRuleOutput: Swift.Sendable { public init( description: Swift.String? = nil, + excludeResourceTags: [RbinClientTypes.ResourceTag]? = nil, identifier: Swift.String? = nil, lockEndTime: Foundation.Date? = nil, lockState: RbinClientTypes.LockState? = nil, @@ -1056,6 +1087,7 @@ public struct UpdateRuleOutput: Swift.Sendable { ) { self.description = description + self.excludeResourceTags = excludeResourceTags self.identifier = identifier self.lockEndTime = lockEndTime self.lockState = lockState @@ -1182,6 +1214,7 @@ extension CreateRuleInput { static func write(value: CreateRuleInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["Description"].write(value.description) + try writer["ExcludeResourceTags"].writeList(value.excludeResourceTags, memberWritingClosure: RbinClientTypes.ResourceTag.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["LockConfiguration"].write(value.lockConfiguration, with: RbinClientTypes.LockConfiguration.write(value:to:)) try writer["ResourceTags"].writeList(value.resourceTags, memberWritingClosure: RbinClientTypes.ResourceTag.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["ResourceType"].write(value.resourceType) @@ -1194,6 +1227,7 @@ extension ListRulesInput { static func write(value: ListRulesInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } + try writer["ExcludeResourceTags"].writeList(value.excludeResourceTags, memberWritingClosure: RbinClientTypes.ResourceTag.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["LockState"].write(value.lockState) try writer["MaxResults"].write(value.maxResults) try writer["NextToken"].write(value.nextToken) @@ -1223,6 +1257,7 @@ extension UpdateRuleInput { static func write(value: UpdateRuleInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["Description"].write(value.description) + try writer["ExcludeResourceTags"].writeList(value.excludeResourceTags, memberWritingClosure: RbinClientTypes.ResourceTag.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["ResourceTags"].writeList(value.resourceTags, memberWritingClosure: RbinClientTypes.ResourceTag.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["ResourceType"].write(value.resourceType) try writer["RetentionPeriod"].write(value.retentionPeriod, with: RbinClientTypes.RetentionPeriod.write(value:to:)) @@ -1237,6 +1272,7 @@ extension CreateRuleOutput { let reader = responseReader var value = CreateRuleOutput() value.description = try reader["Description"].readIfPresent() + value.excludeResourceTags = try reader["ExcludeResourceTags"].readListIfPresent(memberReadingClosure: RbinClientTypes.ResourceTag.read(from:), memberNodeInfo: "member", isFlattened: false) value.identifier = try reader["Identifier"].readIfPresent() value.lockConfiguration = try reader["LockConfiguration"].readIfPresent(with: RbinClientTypes.LockConfiguration.read(from:)) value.lockState = try reader["LockState"].readIfPresent() @@ -1265,6 +1301,7 @@ extension GetRuleOutput { let reader = responseReader var value = GetRuleOutput() value.description = try reader["Description"].readIfPresent() + value.excludeResourceTags = try reader["ExcludeResourceTags"].readListIfPresent(memberReadingClosure: RbinClientTypes.ResourceTag.read(from:), memberNodeInfo: "member", isFlattened: false) value.identifier = try reader["Identifier"].readIfPresent() value.lockConfiguration = try reader["LockConfiguration"].readIfPresent(with: RbinClientTypes.LockConfiguration.read(from:)) value.lockEndTime = try reader["LockEndTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) @@ -1311,6 +1348,7 @@ extension LockRuleOutput { let reader = responseReader var value = LockRuleOutput() value.description = try reader["Description"].readIfPresent() + value.excludeResourceTags = try reader["ExcludeResourceTags"].readListIfPresent(memberReadingClosure: RbinClientTypes.ResourceTag.read(from:), memberNodeInfo: "member", isFlattened: false) value.identifier = try reader["Identifier"].readIfPresent() value.lockConfiguration = try reader["LockConfiguration"].readIfPresent(with: RbinClientTypes.LockConfiguration.read(from:)) value.lockState = try reader["LockState"].readIfPresent() @@ -1338,6 +1376,7 @@ extension UnlockRuleOutput { let reader = responseReader var value = UnlockRuleOutput() value.description = try reader["Description"].readIfPresent() + value.excludeResourceTags = try reader["ExcludeResourceTags"].readListIfPresent(memberReadingClosure: RbinClientTypes.ResourceTag.read(from:), memberNodeInfo: "member", isFlattened: false) value.identifier = try reader["Identifier"].readIfPresent() value.lockConfiguration = try reader["LockConfiguration"].readIfPresent(with: RbinClientTypes.LockConfiguration.read(from:)) value.lockEndTime = try reader["LockEndTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) @@ -1366,6 +1405,7 @@ extension UpdateRuleOutput { let reader = responseReader var value = UpdateRuleOutput() value.description = try reader["Description"].readIfPresent() + value.excludeResourceTags = try reader["ExcludeResourceTags"].readListIfPresent(memberReadingClosure: RbinClientTypes.ResourceTag.read(from:), memberNodeInfo: "member", isFlattened: false) value.identifier = try reader["Identifier"].readIfPresent() value.lockEndTime = try reader["LockEndTime"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) value.lockState = try reader["LockState"].readIfPresent() diff --git a/Sources/Services/AWSRbin/Sources/AWSRbin/Paginators.swift b/Sources/Services/AWSRbin/Sources/AWSRbin/Paginators.swift index d7661c05bca..ff6faeccef7 100644 --- a/Sources/Services/AWSRbin/Sources/AWSRbin/Paginators.swift +++ b/Sources/Services/AWSRbin/Sources/AWSRbin/Paginators.swift @@ -27,6 +27,7 @@ extension RbinClient { extension ListRulesInput: ClientRuntime.PaginateToken { public func usingPaginationToken(_ token: Swift.String) -> ListRulesInput { return ListRulesInput( + excludeResourceTags: self.excludeResourceTags, lockState: self.lockState, maxResults: self.maxResults, nextToken: token, diff --git a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift index 7b11d538a18..e61f4c1a320 100644 --- a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift +++ b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RbinClient: ClientRuntime.Client { public static let clientName = "RbinClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RbinClient.RbinClientConfiguration let serviceName = "rbin" @@ -197,7 +197,14 @@ extension RbinClient { extension RbinClient { /// Performs the `CreateRule` operation on the `AmazonRecycleBin` service. /// - /// Creates a Recycle Bin retention rule. For more information, see [ Create Recycle Bin retention rules](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin-working-with-rules.html#recycle-bin-create-rule) in the Amazon Elastic Compute Cloud User Guide. + /// Creates a Recycle Bin retention rule. You can create two types of retention rules: + /// + /// * Tag-level retention rules - These retention rules use resource tags to identify the resources to protect. For each retention rule, you specify one or more tag key and value pairs. Resources (of the specified type) that have at least one of these tag key and value pairs are automatically retained in the Recycle Bin upon deletion. Use this type of retention rule to protect specific resources in your account based on their tags. + /// + /// * Region-level retention rules - These retention rules, by default, apply to all of the resources (of the specified type) in the Region, even if the resources are not tagged. However, you can specify exclusion tags to exclude resources that have specific tags. Use this type of retention rule to protect all resources of a specific type in a Region. + /// + /// + /// For more information, see [ Create Recycle Bin retention rules](https://docs.aws.amazon.com/ebs/latest/userguide/recycle-bin.html) in the Amazon EBS User Guide. /// /// - Parameter CreateRuleInput : [no documentation found] /// @@ -543,7 +550,7 @@ extension RbinClient { /// Performs the `LockRule` operation on the `AmazonRecycleBin` service. /// - /// Locks a retention rule. A locked retention rule can't be modified or deleted. + /// Locks a Region-level retention rule. A locked retention rule can't be modified or deleted. You can't lock tag-level retention rules, or Region-level retention rules that have exclusion tags. /// /// - Parameter LockRuleInput : [no documentation found] /// diff --git a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift index a1bdc99325b..d63f1af4907 100644 --- a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift +++ b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftClient: ClientRuntime.Client { public static let clientName = "RedshiftClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RedshiftClient.RedshiftClientConfiguration let serviceName = "Redshift" diff --git a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift index 06c41439909..3df65f70a75 100644 --- a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift +++ b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftDataClient: ClientRuntime.Client { public static let clientName = "RedshiftDataClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RedshiftDataClient.RedshiftDataClientConfiguration let serviceName = "Redshift Data" diff --git a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift index 4e7393b615f..65d3b1ed89a 100644 --- a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift +++ b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftServerlessClient: ClientRuntime.Client { public static let clientName = "RedshiftServerlessClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RedshiftServerlessClient.RedshiftServerlessClientConfiguration let serviceName = "Redshift Serverless" diff --git a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift index 2c9e3ce390c..4a8805c734f 100644 --- a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift +++ b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RekognitionClient: ClientRuntime.Client { public static let clientName = "RekognitionClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RekognitionClient.RekognitionClientConfiguration let serviceName = "Rekognition" diff --git a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift index 422f79a949f..827ec70e638 100644 --- a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift +++ b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RepostspaceClient: ClientRuntime.Client { public static let clientName = "RepostspaceClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RepostspaceClient.RepostspaceClientConfiguration let serviceName = "repostspace" diff --git a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift index 34927490499..9e4dbe83d80 100644 --- a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift +++ b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResiliencehubClient: ClientRuntime.Client { public static let clientName = "ResiliencehubClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ResiliencehubClient.ResiliencehubClientConfiguration let serviceName = "resiliencehub" diff --git a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift index 4fdb5e8aecd..9db6ba0801b 100644 --- a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift +++ b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceExplorer2Client: ClientRuntime.Client { public static let clientName = "ResourceExplorer2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ResourceExplorer2Client.ResourceExplorer2ClientConfiguration let serviceName = "Resource Explorer 2" diff --git a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift index 5e9798176d0..09934284d27 100644 --- a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift +++ b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceGroupsClient: ClientRuntime.Client { public static let clientName = "ResourceGroupsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ResourceGroupsClient.ResourceGroupsClientConfiguration let serviceName = "Resource Groups" diff --git a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift index 75de46547be..ec28b44d45b 100644 --- a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift +++ b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceGroupsTaggingAPIClient: ClientRuntime.Client { public static let clientName = "ResourceGroupsTaggingAPIClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ResourceGroupsTaggingAPIClient.ResourceGroupsTaggingAPIClientConfiguration let serviceName = "Resource Groups Tagging API" diff --git a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift index f82e7dac1d8..a8c1447ba96 100644 --- a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift +++ b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RoboMakerClient: ClientRuntime.Client { public static let clientName = "RoboMakerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RoboMakerClient.RoboMakerClientConfiguration let serviceName = "RoboMaker" diff --git a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift index f802cc05fe8..d495532f3bc 100644 --- a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift +++ b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RolesAnywhereClient: ClientRuntime.Client { public static let clientName = "RolesAnywhereClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: RolesAnywhereClient.RolesAnywhereClientConfiguration let serviceName = "RolesAnywhere" diff --git a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift index 1c6186cd90d..0b86c952972 100644 --- a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift +++ b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53Client: ClientRuntime.Client { public static let clientName = "Route53Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Route53Client.Route53ClientConfiguration let serviceName = "Route 53" diff --git a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift index 5718aed72b3..5e968ddfa51 100644 --- a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift +++ b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53DomainsClient: ClientRuntime.Client { public static let clientName = "Route53DomainsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Route53DomainsClient.Route53DomainsClientConfiguration let serviceName = "Route 53 Domains" diff --git a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift index 5a4b5b29cdc..a4844ba1dbe 100644 --- a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift +++ b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53ProfilesClient: ClientRuntime.Client { public static let clientName = "Route53ProfilesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Route53ProfilesClient.Route53ProfilesClientConfiguration let serviceName = "Route53Profiles" diff --git a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift index af26578d4e6..ab471f6d073 100644 --- a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift +++ b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryClusterClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryClusterClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryClusterClient.Route53RecoveryClusterClientConfiguration let serviceName = "Route53 Recovery Cluster" diff --git a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift index 349b9fe8b04..c0f409199e4 100644 --- a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift +++ b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryControlConfigClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryControlConfigClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryControlConfigClient.Route53RecoveryControlConfigClientConfiguration let serviceName = "Route53 Recovery Control Config" diff --git a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift index b22b3107e1c..e27521cc217 100644 --- a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift +++ b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryReadinessClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryReadinessClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryReadinessClient.Route53RecoveryReadinessClientConfiguration let serviceName = "Route53 Recovery Readiness" diff --git a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift index 390f7e6f2b4..9ea3f16562a 100644 --- a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift +++ b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53ResolverClient: ClientRuntime.Client { public static let clientName = "Route53ResolverClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: Route53ResolverClient.Route53ResolverClientConfiguration let serviceName = "Route53Resolver" diff --git a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift index 240ef21cab9..4717278d7fb 100644 --- a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift +++ b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift @@ -80,7 +80,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3Client: ClientRuntime.Client { public static let clientName = "S3Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: S3Client.S3ClientConfiguration let serviceName = "S3" diff --git a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift index 9e464757812..138130f91b5 100644 --- a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift +++ b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3ControlClient: ClientRuntime.Client { public static let clientName = "S3ControlClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: S3ControlClient.S3ControlClientConfiguration let serviceName = "S3 Control" diff --git a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift index d3e7e0f6838..72f8c47f228 100644 --- a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift +++ b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3OutpostsClient: ClientRuntime.Client { public static let clientName = "S3OutpostsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: S3OutpostsClient.S3OutpostsClientConfiguration let serviceName = "S3Outposts" diff --git a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift index 82471bf07ed..544c0e50a0d 100644 --- a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift +++ b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SESClient: ClientRuntime.Client { public static let clientName = "SESClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SESClient.SESClientConfiguration let serviceName = "SES" diff --git a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift index 788b9d32590..0c4d0d0b878 100644 --- a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift +++ b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SESv2Client: ClientRuntime.Client { public static let clientName = "SESv2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SESv2Client.SESv2ClientConfiguration let serviceName = "SESv2" diff --git a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift index b31306003c4..14ced8bb3b5 100644 --- a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift +++ b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SFNClient: ClientRuntime.Client { public static let clientName = "SFNClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SFNClient.SFNClientConfiguration let serviceName = "SFN" diff --git a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift index f6b7fb7e7bb..d3d28bec4ac 100644 --- a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift +++ b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SMSClient: ClientRuntime.Client { public static let clientName = "SMSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SMSClient.SMSClientConfiguration let serviceName = "SMS" diff --git a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift index 0e35a63722a..a522f745cd9 100644 --- a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift +++ b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SNSClient: ClientRuntime.Client { public static let clientName = "SNSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SNSClient.SNSClientConfiguration let serviceName = "SNS" diff --git a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift index d0b52f81859..623caa0e451 100644 --- a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift +++ b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SQSClient: ClientRuntime.Client { public static let clientName = "SQSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SQSClient.SQSClientConfiguration let serviceName = "SQS" diff --git a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift index 8a163b7a7e3..ee360be5d35 100644 --- a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift +++ b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMClient: ClientRuntime.Client { public static let clientName = "SSMClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SSMClient.SSMClientConfiguration let serviceName = "SSM" diff --git a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift index f0ffff3079e..61b810aa2d2 100644 --- a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift +++ b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMContactsClient: ClientRuntime.Client { public static let clientName = "SSMContactsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SSMContactsClient.SSMContactsClientConfiguration let serviceName = "SSM Contacts" diff --git a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift index c7cd94112d4..086af611c5a 100644 --- a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift +++ b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMIncidentsClient: ClientRuntime.Client { public static let clientName = "SSMIncidentsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SSMIncidentsClient.SSMIncidentsClientConfiguration let serviceName = "SSM Incidents" diff --git a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift index 0fcbef7abb6..774c3c8a9cf 100644 --- a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift +++ b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMQuickSetupClient: ClientRuntime.Client { public static let clientName = "SSMQuickSetupClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SSMQuickSetupClient.SSMQuickSetupClientConfiguration let serviceName = "SSM QuickSetup" diff --git a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift index c2079ad6ed5..73031ffc868 100644 --- a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift +++ b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift @@ -59,7 +59,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOClient: ClientRuntime.Client { public static let clientName = "SSOClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SSOClient.SSOClientConfiguration let serviceName = "SSO" diff --git a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift index 95d6137aaf6..518dad7f3e9 100644 --- a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift +++ b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOAdminClient: ClientRuntime.Client { public static let clientName = "SSOAdminClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SSOAdminClient.SSOAdminClientConfiguration let serviceName = "SSO Admin" diff --git a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift index 7de45584cd0..f08db4271d1 100644 --- a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift +++ b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOOIDCClient: ClientRuntime.Client { public static let clientName = "SSOOIDCClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SSOOIDCClient.SSOOIDCClientConfiguration let serviceName = "SSO OIDC" diff --git a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift index 7332a8f7892..020cd274991 100644 --- a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift +++ b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift @@ -67,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class STSClient: ClientRuntime.Client { public static let clientName = "STSClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: STSClient.STSClientConfiguration let serviceName = "STS" diff --git a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift index fada667be0e..e77cea1eb0c 100644 --- a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift +++ b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SWFClient: ClientRuntime.Client { public static let clientName = "SWFClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SWFClient.SWFClientConfiguration let serviceName = "SWF" diff --git a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift index 7dff308663c..6aad11873b4 100644 --- a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift +++ b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerClient: ClientRuntime.Client { public static let clientName = "SageMakerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SageMakerClient.SageMakerClientConfiguration let serviceName = "SageMaker" diff --git a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift index f0452493dc8..b3e30eca936 100644 --- a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerA2IRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerA2IRuntimeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SageMakerA2IRuntimeClient.SageMakerA2IRuntimeClientConfiguration let serviceName = "SageMaker A2I Runtime" diff --git a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift index d1b758b90dc..0e888439260 100644 --- a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerFeatureStoreRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerFeatureStoreRuntimeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SageMakerFeatureStoreRuntimeClient.SageMakerFeatureStoreRuntimeClientConfiguration let serviceName = "SageMaker FeatureStore Runtime" diff --git a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift index ec7dca9f64e..e3873a9a178 100644 --- a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift +++ b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift @@ -66,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerGeospatialClient: ClientRuntime.Client { public static let clientName = "SageMakerGeospatialClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SageMakerGeospatialClient.SageMakerGeospatialClientConfiguration let serviceName = "SageMaker Geospatial" diff --git a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift index e74bdaa6568..8fa37dd7b4b 100644 --- a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift +++ b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerMetricsClient: ClientRuntime.Client { public static let clientName = "SageMakerMetricsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SageMakerMetricsClient.SageMakerMetricsClientConfiguration let serviceName = "SageMaker Metrics" diff --git a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift index ac41b552919..70010de77f6 100644 --- a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerRuntimeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SageMakerRuntimeClient.SageMakerRuntimeClientConfiguration let serviceName = "SageMaker Runtime" diff --git a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift index 7b6574847b1..b1cb4d3a0aa 100644 --- a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift +++ b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SagemakerEdgeClient: ClientRuntime.Client { public static let clientName = "SagemakerEdgeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SagemakerEdgeClient.SagemakerEdgeClientConfiguration let serviceName = "Sagemaker Edge" diff --git a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift index 3c799293827..f80092f92c8 100644 --- a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift +++ b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SavingsplansClient: ClientRuntime.Client { public static let clientName = "SavingsplansClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SavingsplansClient.SavingsplansClientConfiguration let serviceName = "savingsplans" diff --git a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift index 5a88ed92df5..1263d979ace 100644 --- a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift +++ b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SchedulerClient: ClientRuntime.Client { public static let clientName = "SchedulerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SchedulerClient.SchedulerClientConfiguration let serviceName = "Scheduler" diff --git a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift index c8db2be590a..ea97e2e5ad1 100644 --- a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift +++ b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SchemasClient: ClientRuntime.Client { public static let clientName = "SchemasClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SchemasClient.SchemasClientConfiguration let serviceName = "schemas" diff --git a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift index bc72a8295e0..e25f7548e1e 100644 --- a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift +++ b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecretsManagerClient: ClientRuntime.Client { public static let clientName = "SecretsManagerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SecretsManagerClient.SecretsManagerClientConfiguration let serviceName = "Secrets Manager" diff --git a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift index 47425ce938d..c4c5579f072 100644 --- a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift +++ b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecurityHubClient: ClientRuntime.Client { public static let clientName = "SecurityHubClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SecurityHubClient.SecurityHubClientConfiguration let serviceName = "SecurityHub" diff --git a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift index 7d4a239bb6f..7f5c163b8e0 100644 --- a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift +++ b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecurityLakeClient: ClientRuntime.Client { public static let clientName = "SecurityLakeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SecurityLakeClient.SecurityLakeClientConfiguration let serviceName = "SecurityLake" diff --git a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift index 0eef7a386f3..52dac286139 100644 --- a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift +++ b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServerlessApplicationRepositoryClient: ClientRuntime.Client { public static let clientName = "ServerlessApplicationRepositoryClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ServerlessApplicationRepositoryClient.ServerlessApplicationRepositoryClientConfiguration let serviceName = "ServerlessApplicationRepository" diff --git a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift index 727c6aa8a3c..f17acfe5123 100644 --- a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift +++ b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceCatalogClient: ClientRuntime.Client { public static let clientName = "ServiceCatalogClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ServiceCatalogClient.ServiceCatalogClientConfiguration let serviceName = "Service Catalog" diff --git a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift index e1ec2e89133..b39447f1555 100644 --- a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift +++ b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceCatalogAppRegistryClient: ClientRuntime.Client { public static let clientName = "ServiceCatalogAppRegistryClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ServiceCatalogAppRegistryClient.ServiceCatalogAppRegistryClientConfiguration let serviceName = "Service Catalog AppRegistry" diff --git a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift index d5a6f021abc..16803cc9d37 100644 --- a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift +++ b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceDiscoveryClient: ClientRuntime.Client { public static let clientName = "ServiceDiscoveryClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ServiceDiscoveryClient.ServiceDiscoveryClientConfiguration let serviceName = "ServiceDiscovery" diff --git a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift index b51be51e779..561e14944e7 100644 --- a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift +++ b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceQuotasClient: ClientRuntime.Client { public static let clientName = "ServiceQuotasClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ServiceQuotasClient.ServiceQuotasClientConfiguration let serviceName = "Service Quotas" diff --git a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift index 6839305e190..3190219dd57 100644 --- a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift +++ b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ShieldClient: ClientRuntime.Client { public static let clientName = "ShieldClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: ShieldClient.ShieldClientConfiguration let serviceName = "Shield" diff --git a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift index 397e3b5815c..491ee16d141 100644 --- a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift +++ b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SignerClient: ClientRuntime.Client { public static let clientName = "SignerClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SignerClient.SignerClientConfiguration let serviceName = "signer" diff --git a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift index ac944c78195..b06942841bc 100644 --- a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift +++ b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SimSpaceWeaverClient: ClientRuntime.Client { public static let clientName = "SimSpaceWeaverClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SimSpaceWeaverClient.SimSpaceWeaverClientConfiguration let serviceName = "SimSpaceWeaver" diff --git a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift index 81e06b17eca..bf49f085226 100644 --- a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift +++ b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SnowDeviceManagementClient: ClientRuntime.Client { public static let clientName = "SnowDeviceManagementClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SnowDeviceManagementClient.SnowDeviceManagementClientConfiguration let serviceName = "Snow Device Management" diff --git a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift index 808a1415189..5785f80e829 100644 --- a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift +++ b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SnowballClient: ClientRuntime.Client { public static let clientName = "SnowballClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SnowballClient.SnowballClientConfiguration let serviceName = "Snowball" diff --git a/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift b/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift index 1401016c82d..b2506a8f7a5 100644 --- a/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift +++ b/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SocialMessagingClient: ClientRuntime.Client { public static let clientName = "SocialMessagingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SocialMessagingClient.SocialMessagingClientConfiguration let serviceName = "SocialMessaging" diff --git a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift index 6687996438b..a8c44f19bde 100644 --- a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift +++ b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SsmSapClient: ClientRuntime.Client { public static let clientName = "SsmSapClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SsmSapClient.SsmSapClientConfiguration let serviceName = "Ssm Sap" diff --git a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift index 351c9489e4f..8e963f45c9f 100644 --- a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift +++ b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class StorageGatewayClient: ClientRuntime.Client { public static let clientName = "StorageGatewayClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: StorageGatewayClient.StorageGatewayClientConfiguration let serviceName = "Storage Gateway" diff --git a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift index 866686617b8..af1d0a83c00 100644 --- a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift +++ b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupplyChainClient: ClientRuntime.Client { public static let clientName = "SupplyChainClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SupplyChainClient.SupplyChainClientConfiguration let serviceName = "SupplyChain" diff --git a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift index dbc6ef73f96..424333328c8 100644 --- a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift +++ b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupportClient: ClientRuntime.Client { public static let clientName = "SupportClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SupportClient.SupportClientConfiguration let serviceName = "Support" diff --git a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift index 58e400e818e..3b6e25a0885 100644 --- a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift +++ b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupportAppClient: ClientRuntime.Client { public static let clientName = "SupportAppClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SupportAppClient.SupportAppClientConfiguration let serviceName = "Support App" diff --git a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift index 5e4507607c3..4929ee13ded 100644 --- a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift +++ b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SyntheticsClient: ClientRuntime.Client { public static let clientName = "SyntheticsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: SyntheticsClient.SyntheticsClientConfiguration let serviceName = "synthetics" diff --git a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift index 8afa9748062..44a0d286ff5 100644 --- a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift +++ b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TaxSettingsClient: ClientRuntime.Client { public static let clientName = "TaxSettingsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TaxSettingsClient.TaxSettingsClientConfiguration let serviceName = "TaxSettings" diff --git a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift index 1772c67f92e..4cc45334a2f 100644 --- a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift +++ b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TextractClient: ClientRuntime.Client { public static let clientName = "TextractClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TextractClient.TextractClientConfiguration let serviceName = "Textract" diff --git a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift index b452b279114..5596bec5b04 100644 --- a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift +++ b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamInfluxDBClient: ClientRuntime.Client { public static let clientName = "TimestreamInfluxDBClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TimestreamInfluxDBClient.TimestreamInfluxDBClientConfiguration let serviceName = "Timestream InfluxDB" diff --git a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/Models.swift b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/Models.swift index 7a64106654a..4c433079177 100644 --- a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/Models.swift +++ b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/Models.swift @@ -42,7 +42,7 @@ public struct UpdateScheduledQueryOutput: Swift.Sendable { public init() { } } -/// You are not authorized to perform this action. +/// You do not have the necessary permissions to access the account settings. public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { @@ -66,7 +66,45 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim } } -/// The service was unable to fully process this request because of an internal server error. +extension TimestreamQueryClientTypes { + + /// Details on SNS that are required to send the notification. + public struct SnsConfiguration: Swift.Sendable { + /// SNS topic ARN that the scheduled query status notifications will be sent to. + /// This member is required. + public var topicArn: Swift.String? + + public init( + topicArn: Swift.String? = nil + ) + { + self.topicArn = topicArn + } + } +} + +extension TimestreamQueryClientTypes { + + /// Configuration settings for notifications related to account settings. + public struct AccountSettingsNotificationConfiguration: Swift.Sendable { + /// An Amazon Resource Name (ARN) that grants Timestream permission to publish notifications. This field is only visible if SNS Topic is provided when updating the account settings. + /// This member is required. + public var roleArn: Swift.String? + /// Details on SNS that are required to send the notification. + public var snsConfiguration: TimestreamQueryClientTypes.SnsConfiguration? + + public init( + roleArn: Swift.String? = nil, + snsConfiguration: TimestreamQueryClientTypes.SnsConfiguration? = nil + ) + { + self.roleArn = roleArn + self.snsConfiguration = snsConfiguration + } + } +} + +/// An internal server error occurred while processing the request. public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { @@ -90,7 +128,7 @@ public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRunt } } -/// The requested endpoint was not valid. +/// The requested endpoint is invalid. public struct InvalidEndpointException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { @@ -114,7 +152,7 @@ public struct InvalidEndpointException: ClientRuntime.ModeledError, AWSClientRun } } -/// The request was denied due to request throttling. +/// The request was throttled due to excessive requests. public struct ThrottlingException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { public struct Properties { @@ -243,6 +281,35 @@ extension TimestreamQueryClientTypes { } } +extension TimestreamQueryClientTypes { + + public enum ComputeMode: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case onDemand + case provisioned + case sdkUnknown(Swift.String) + + public static var allCases: [ComputeMode] { + return [ + .onDemand, + .provisioned + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .onDemand: return "ON_DEMAND" + case .provisioned: return "PROVISIONED" + case let .sdkUnknown(s): return s + } + } + } +} + /// Unable to poll results for a cancelled query. public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -362,28 +429,11 @@ extension TimestreamQueryClientTypes { } } -extension TimestreamQueryClientTypes { - - /// Details on SNS that are required to send the notification. - public struct SnsConfiguration: Swift.Sendable { - /// SNS topic ARN that the scheduled query status notifications will be sent to. - /// This member is required. - public var topicArn: Swift.String? - - public init( - topicArn: Swift.String? = nil - ) - { - self.topicArn = topicArn - } - } -} - extension TimestreamQueryClientTypes { /// Notification configuration for a scheduled query. A notification is sent by Timestream when a scheduled query is created, its state is updated or when it is deleted. public struct NotificationConfiguration: Swift.Sendable { - /// Details on SNS configuration. + /// Details about the Amazon Simple Notification Service (SNS) configuration. This field is visible only when SNS Topic is provided when updating the account settings. /// This member is required. public var snsConfiguration: TimestreamQueryClientTypes.SnsConfiguration? @@ -822,6 +872,106 @@ public struct DescribeAccountSettingsInput: Swift.Sendable { public init() { } } +extension TimestreamQueryClientTypes { + + public enum LastUpdateStatus: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case failed + case pending + case succeeded + case sdkUnknown(Swift.String) + + public static var allCases: [LastUpdateStatus] { + return [ + .failed, + .pending, + .succeeded + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .failed: return "FAILED" + case .pending: return "PENDING" + case .succeeded: return "SUCCEEDED" + case let .sdkUnknown(s): return s + } + } + } +} + +extension TimestreamQueryClientTypes { + + /// Configuration object that contains the most recent account settings update, visible only if settings have been updated previously. + public struct LastUpdate: Swift.Sendable { + /// The status of the last update. Can be either PENDING, FAILED, or SUCCEEDED. + public var status: TimestreamQueryClientTypes.LastUpdateStatus? + /// Error message describing the last account settings update status, visible only if an error occurred. + public var statusMessage: Swift.String? + /// The number of TimeStream Compute Units (TCUs) requested in the last account settings update. + public var targetQueryTCU: Swift.Int? + + public init( + status: TimestreamQueryClientTypes.LastUpdateStatus? = nil, + statusMessage: Swift.String? = nil, + targetQueryTCU: Swift.Int? = nil + ) + { + self.status = status + self.statusMessage = statusMessage + self.targetQueryTCU = targetQueryTCU + } + } +} + +extension TimestreamQueryClientTypes { + + /// The response to a request to update the provisioned capacity settings for querying data. + public struct ProvisionedCapacityResponse: Swift.Sendable { + /// The number of Timestream Compute Units (TCUs) provisioned in the account. This field is only visible when the compute mode is PROVISIONED. + public var activeQueryTCU: Swift.Int? + /// Information about the last update to the provisioned capacity settings. + public var lastUpdate: TimestreamQueryClientTypes.LastUpdate? + /// An object that contains settings for notifications that are sent whenever the provisioned capacity settings are modified. This field is only visible when the compute mode is PROVISIONED. + public var notificationConfiguration: TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration? + + public init( + activeQueryTCU: Swift.Int? = nil, + lastUpdate: TimestreamQueryClientTypes.LastUpdate? = nil, + notificationConfiguration: TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration? = nil + ) + { + self.activeQueryTCU = activeQueryTCU + self.lastUpdate = lastUpdate + self.notificationConfiguration = notificationConfiguration + } + } +} + +extension TimestreamQueryClientTypes { + + /// The response to a request to retrieve or update the compute capacity settings for querying data. + public struct QueryComputeResponse: Swift.Sendable { + /// The mode in which Timestream Compute Units (TCUs) are allocated and utilized within an account. Note that in the Asia Pacific (Mumbai) region, the API operation only recognizes the value PROVISIONED. + public var computeMode: TimestreamQueryClientTypes.ComputeMode? + /// Configuration object that contains settings for provisioned Timestream Compute Units (TCUs) in your account. + public var provisionedCapacity: TimestreamQueryClientTypes.ProvisionedCapacityResponse? + + public init( + computeMode: TimestreamQueryClientTypes.ComputeMode? = nil, + provisionedCapacity: TimestreamQueryClientTypes.ProvisionedCapacityResponse? = nil + ) + { + self.computeMode = computeMode + self.provisionedCapacity = provisionedCapacity + } + } +} + extension TimestreamQueryClientTypes { public enum QueryPricingModel: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { @@ -852,17 +1002,21 @@ extension TimestreamQueryClientTypes { } public struct DescribeAccountSettingsOutput: Swift.Sendable { - /// The maximum number of [Timestream compute units](https://docs.aws.amazon.com/timestream/latest/developerguide/tcu.html) (TCUs) the service will use at any point in time to serve your queries. + /// The maximum number of [Timestream compute units](https://docs.aws.amazon.com/timestream/latest/developerguide/tcu.html) (TCUs) the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. This configuration is applicable only for on-demand usage of (TCUs). public var maxQueryTCU: Swift.Int? - /// The pricing model for queries in your account. + /// An object that contains the usage settings for Timestream Compute Units (TCUs) in your account for the query workload. + public var queryCompute: TimestreamQueryClientTypes.QueryComputeResponse? + /// The pricing model for queries in your account. The QueryPricingModel parameter is used by several Timestream operations; however, the UpdateAccountSettings API operation doesn't recognize any values other than COMPUTE_UNITS. public var queryPricingModel: TimestreamQueryClientTypes.QueryPricingModel? public init( maxQueryTCU: Swift.Int? = nil, + queryCompute: TimestreamQueryClientTypes.QueryComputeResponse? = nil, queryPricingModel: TimestreamQueryClientTypes.QueryPricingModel? = nil ) { self.maxQueryTCU = maxQueryTCU + self.queryCompute = queryCompute self.queryPricingModel = queryPricingModel } } @@ -1581,6 +1735,27 @@ extension PrepareQueryInput: Swift.CustomDebugStringConvertible { "PrepareQueryInput(validateOnly: \(Swift.String(describing: validateOnly)), queryString: \"CONTENT_REDACTED\")"} } +extension TimestreamQueryClientTypes { + + /// A request to update the provisioned capacity settings for querying data. + public struct ProvisionedCapacityRequest: Swift.Sendable { + /// Configuration settings for notifications related to the provisioned capacity update. + public var notificationConfiguration: TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration? + /// The target compute capacity for querying data, specified in Timestream Compute Units (TCUs). + /// This member is required. + public var targetQueryTCU: Swift.Int? + + public init( + notificationConfiguration: TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration? = nil, + targetQueryTCU: Swift.Int? = nil + ) + { + self.notificationConfiguration = notificationConfiguration + self.targetQueryTCU = targetQueryTCU + } + } +} + /// Timestream was unable to run the query successfully. public struct QueryExecutionException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error { @@ -1799,6 +1974,26 @@ extension TimestreamQueryClientTypes { } } +extension TimestreamQueryClientTypes { + + /// A request to retrieve or update the compute capacity settings for querying data. + public struct QueryComputeRequest: Swift.Sendable { + /// The mode in which Timestream Compute Units (TCUs) are allocated and utilized within an account. Note that in the Asia Pacific (Mumbai) region, the API operation only recognizes the value PROVISIONED. + public var computeMode: TimestreamQueryClientTypes.ComputeMode? + /// Configuration object that contains settings for provisioned Timestream Compute Units (TCUs) in your account. + public var provisionedCapacity: TimestreamQueryClientTypes.ProvisionedCapacityRequest? + + public init( + computeMode: TimestreamQueryClientTypes.ComputeMode? = nil, + provisionedCapacity: TimestreamQueryClientTypes.ProvisionedCapacityRequest? = nil + ) + { + self.computeMode = computeMode + self.provisionedCapacity = provisionedCapacity + } + } +} + public struct TagResourceInput: Swift.Sendable { /// Identifies the Timestream resource to which tags should be added. This value is an Amazon Resource Name (ARN). /// This member is required. @@ -1846,17 +2041,21 @@ public struct UntagResourceOutput: Swift.Sendable { } public struct UpdateAccountSettingsInput: Swift.Sendable { - /// The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see [Default quotas](https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default). + /// The maximum number of compute units the service will use at any point in time to serve your queries. To run queries, you must set a minimum capacity of 4 TCU. You can set the maximum number of TCU in multiples of 4, for example, 4, 8, 16, 32, and so on. The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see Default quotas. This configuration is applicable only for on-demand usage of Timestream Compute Units (TCUs). The maximum value supported for MaxQueryTCU is 1000. To request an increase to this soft limit, contact Amazon Web Services Support. For information about the default quota for maxQueryTCU, see [Default quotas](https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html#limits.default). public var maxQueryTCU: Swift.Int? + /// Modifies the query compute settings configured in your account, including the query pricing model and provisioned Timestream Compute Units (TCUs) in your account. This API is idempotent, meaning that making the same request multiple times will have the same effect as making the request once. + public var queryCompute: TimestreamQueryClientTypes.QueryComputeRequest? /// The pricing model for queries in an account. The QueryPricingModel parameter is used by several Timestream operations; however, the UpdateAccountSettings API operation doesn't recognize any values other than COMPUTE_UNITS. public var queryPricingModel: TimestreamQueryClientTypes.QueryPricingModel? public init( maxQueryTCU: Swift.Int? = nil, + queryCompute: TimestreamQueryClientTypes.QueryComputeRequest? = nil, queryPricingModel: TimestreamQueryClientTypes.QueryPricingModel? = nil ) { self.maxQueryTCU = maxQueryTCU + self.queryCompute = queryCompute self.queryPricingModel = queryPricingModel } } @@ -1864,15 +2063,19 @@ public struct UpdateAccountSettingsInput: Swift.Sendable { public struct UpdateAccountSettingsOutput: Swift.Sendable { /// The configured maximum number of compute units the service will use at any point in time to serve your queries. public var maxQueryTCU: Swift.Int? + /// Confirms the updated account settings for querying data in your account. + public var queryCompute: TimestreamQueryClientTypes.QueryComputeResponse? /// The pricing model for an account. public var queryPricingModel: TimestreamQueryClientTypes.QueryPricingModel? public init( maxQueryTCU: Swift.Int? = nil, + queryCompute: TimestreamQueryClientTypes.QueryComputeResponse? = nil, queryPricingModel: TimestreamQueryClientTypes.QueryPricingModel? = nil ) { self.maxQueryTCU = maxQueryTCU + self.queryCompute = queryCompute self.queryPricingModel = queryPricingModel } } @@ -2368,6 +2571,7 @@ extension UpdateAccountSettingsInput { static func write(value: UpdateAccountSettingsInput?, to writer: SmithyJSON.Writer) throws { guard let value else { return } try writer["MaxQueryTCU"].write(value.maxQueryTCU) + try writer["QueryCompute"].write(value.queryCompute, with: TimestreamQueryClientTypes.QueryComputeRequest.write(value:to:)) try writer["QueryPricingModel"].write(value.queryPricingModel) } } @@ -2420,6 +2624,7 @@ extension DescribeAccountSettingsOutput { let reader = responseReader var value = DescribeAccountSettingsOutput() value.maxQueryTCU = try reader["MaxQueryTCU"].readIfPresent() + value.queryCompute = try reader["QueryCompute"].readIfPresent(with: TimestreamQueryClientTypes.QueryComputeResponse.read(from:)) value.queryPricingModel = try reader["QueryPricingModel"].readIfPresent() return value } @@ -2535,6 +2740,7 @@ extension UpdateAccountSettingsOutput { let reader = responseReader var value = UpdateAccountSettingsOutput() value.maxQueryTCU = try reader["MaxQueryTCU"].readIfPresent() + value.queryCompute = try reader["QueryCompute"].readIfPresent(with: TimestreamQueryClientTypes.QueryComputeResponse.read(from:)) value.queryPricingModel = try reader["QueryPricingModel"].readIfPresent() return value } @@ -2938,6 +3144,73 @@ extension QueryExecutionException { } } +extension TimestreamQueryClientTypes.QueryComputeResponse { + + static func read(from reader: SmithyJSON.Reader) throws -> TimestreamQueryClientTypes.QueryComputeResponse { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = TimestreamQueryClientTypes.QueryComputeResponse() + value.computeMode = try reader["ComputeMode"].readIfPresent() + value.provisionedCapacity = try reader["ProvisionedCapacity"].readIfPresent(with: TimestreamQueryClientTypes.ProvisionedCapacityResponse.read(from:)) + return value + } +} + +extension TimestreamQueryClientTypes.ProvisionedCapacityResponse { + + static func read(from reader: SmithyJSON.Reader) throws -> TimestreamQueryClientTypes.ProvisionedCapacityResponse { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = TimestreamQueryClientTypes.ProvisionedCapacityResponse() + value.activeQueryTCU = try reader["ActiveQueryTCU"].readIfPresent() + value.notificationConfiguration = try reader["NotificationConfiguration"].readIfPresent(with: TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration.read(from:)) + value.lastUpdate = try reader["LastUpdate"].readIfPresent(with: TimestreamQueryClientTypes.LastUpdate.read(from:)) + return value + } +} + +extension TimestreamQueryClientTypes.LastUpdate { + + static func read(from reader: SmithyJSON.Reader) throws -> TimestreamQueryClientTypes.LastUpdate { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = TimestreamQueryClientTypes.LastUpdate() + value.targetQueryTCU = try reader["TargetQueryTCU"].readIfPresent() + value.status = try reader["Status"].readIfPresent() + value.statusMessage = try reader["StatusMessage"].readIfPresent() + return value + } +} + +extension TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration { + + static func write(value: TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["RoleArn"].write(value.roleArn) + try writer["SnsConfiguration"].write(value.snsConfiguration, with: TimestreamQueryClientTypes.SnsConfiguration.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration() + value.snsConfiguration = try reader["SnsConfiguration"].readIfPresent(with: TimestreamQueryClientTypes.SnsConfiguration.read(from:)) + value.roleArn = try reader["RoleArn"].readIfPresent() ?? "" + return value + } +} + +extension TimestreamQueryClientTypes.SnsConfiguration { + + static func write(value: TimestreamQueryClientTypes.SnsConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["TopicArn"].write(value.topicArn) + } + + static func read(from reader: SmithyJSON.Reader) throws -> TimestreamQueryClientTypes.SnsConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = TimestreamQueryClientTypes.SnsConfiguration() + value.topicArn = try reader["TopicArn"].readIfPresent() ?? "" + return value + } +} + extension TimestreamQueryClientTypes.Endpoint { static func read(from reader: SmithyJSON.Reader) throws -> TimestreamQueryClientTypes.Endpoint { @@ -3249,21 +3522,6 @@ extension TimestreamQueryClientTypes.NotificationConfiguration { } } -extension TimestreamQueryClientTypes.SnsConfiguration { - - static func write(value: TimestreamQueryClientTypes.SnsConfiguration?, to writer: SmithyJSON.Writer) throws { - guard let value else { return } - try writer["TopicArn"].write(value.topicArn) - } - - static func read(from reader: SmithyJSON.Reader) throws -> TimestreamQueryClientTypes.SnsConfiguration { - guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } - var value = TimestreamQueryClientTypes.SnsConfiguration() - value.topicArn = try reader["TopicArn"].readIfPresent() ?? "" - return value - } -} - extension TimestreamQueryClientTypes.ScheduleConfiguration { static func write(value: TimestreamQueryClientTypes.ScheduleConfiguration?, to writer: SmithyJSON.Writer) throws { @@ -3464,4 +3722,22 @@ extension TimestreamQueryClientTypes.QueryInsights { } } +extension TimestreamQueryClientTypes.QueryComputeRequest { + + static func write(value: TimestreamQueryClientTypes.QueryComputeRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ComputeMode"].write(value.computeMode) + try writer["ProvisionedCapacity"].write(value.provisionedCapacity, with: TimestreamQueryClientTypes.ProvisionedCapacityRequest.write(value:to:)) + } +} + +extension TimestreamQueryClientTypes.ProvisionedCapacityRequest { + + static func write(value: TimestreamQueryClientTypes.ProvisionedCapacityRequest?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["NotificationConfiguration"].write(value.notificationConfiguration, with: TimestreamQueryClientTypes.AccountSettingsNotificationConfiguration.write(value:to:)) + try writer["TargetQueryTCU"].write(value.targetQueryTCU) + } +} + public enum TimestreamQueryClientTypes {} diff --git a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift index 644015c6392..dc8d7687059 100644 --- a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift +++ b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamQueryClient: ClientRuntime.Client { public static let clientName = "TimestreamQueryClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TimestreamQueryClient.TimestreamQueryClientConfiguration let serviceName = "Timestream Query" @@ -207,10 +207,10 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func cancelQuery(input: CancelQueryInput) async throws -> CancelQueryOutput { let context = Smithy.ContextBuilder() @@ -281,12 +281,12 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. /// - `ConflictException` : Unable to poll results for a cancelled query. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. /// - `ServiceQuotaExceededException` : You have exceeded the service quota. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func createScheduledQuery(input: CreateScheduledQueryInput) async throws -> CreateScheduledQueryOutput { let context = Smithy.ContextBuilder() @@ -358,11 +358,11 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. /// - `ResourceNotFoundException` : The requested resource could not be found. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func deleteScheduledQuery(input: DeleteScheduledQueryInput) async throws -> DeleteScheduledQueryOutput { let context = Smithy.ContextBuilder() @@ -433,10 +433,10 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. + /// - `ThrottlingException` : The request was throttled due to excessive requests. public func describeAccountSettings(input: DescribeAccountSettingsInput) async throws -> DescribeAccountSettingsOutput { let context = Smithy.ContextBuilder() .withMethod(value: .post) @@ -515,8 +515,8 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func describeEndpoints(input: DescribeEndpointsInput) async throws -> DescribeEndpointsOutput { let context = Smithy.ContextBuilder() @@ -587,11 +587,11 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. /// - `ResourceNotFoundException` : The requested resource could not be found. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func describeScheduledQuery(input: DescribeScheduledQueryInput) async throws -> DescribeScheduledQueryOutput { let context = Smithy.ContextBuilder() @@ -653,7 +653,7 @@ extension TimestreamQueryClient { /// Performs the `ExecuteScheduledQuery` operation on the `Timestream_20181101` service. /// - /// You can use this API to run a scheduled query manually. If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed as part of an Amazon SNS notification. QueryInsights helps with performance tuning of your query. + /// You can use this API to run a scheduled query manually. If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed as part of an Amazon SNS notification. QueryInsights helps with performance tuning of your query. For more information about QueryInsights, see [Using query insights to optimize queries in Amazon Timestream](https://docs.aws.amazon.com/timestream/latest/developerguide/using-query-insights.html). /// /// - Parameter ExecuteScheduledQueryInput : [no documentation found] /// @@ -662,11 +662,11 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. /// - `ResourceNotFoundException` : The requested resource could not be found. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func executeScheduledQuery(input: ExecuteScheduledQueryInput) async throws -> ExecuteScheduledQueryOutput { let context = Smithy.ContextBuilder() @@ -738,10 +738,10 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func listScheduledQueries(input: ListScheduledQueriesInput) async throws -> ListScheduledQueriesOutput { let context = Smithy.ContextBuilder() @@ -812,9 +812,9 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `InvalidEndpointException` : The requested endpoint was not valid. + /// - `InvalidEndpointException` : The requested endpoint is invalid. /// - `ResourceNotFoundException` : The requested resource could not be found. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func listTagsForResource(input: ListTagsForResourceInput) async throws -> ListTagsForResourceOutput { let context = Smithy.ContextBuilder() @@ -885,10 +885,10 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func prepareQuery(input: PrepareQueryInput) async throws -> PrepareQueryOutput { let context = Smithy.ContextBuilder() @@ -950,7 +950,7 @@ extension TimestreamQueryClient { /// Performs the `Query` operation on the `Timestream_20181101` service. /// - /// Query is a synchronous operation that enables you to run a query against your Amazon Timestream data. If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed. QueryInsights helps with performance tuning of your query. The maximum number of Query API requests you're allowed to make with QueryInsights enabled is 1 query per second (QPS). If you exceed this query rate, it might result in throttling. Query will time out after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. See the [code sample](https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.run-query.html) for details. Your query request will fail in the following cases: + /// Query is a synchronous operation that enables you to run a query against your Amazon Timestream data. If you enabled QueryInsights, this API also returns insights and metrics related to the query that you executed. QueryInsights helps with performance tuning of your query. For more information about QueryInsights, see [Using query insights to optimize queries in Amazon Timestream](https://docs.aws.amazon.com/timestream/latest/developerguide/using-query-insights.html). The maximum number of Query API requests you're allowed to make with QueryInsights enabled is 1 query per second (QPS). If you exceed this query rate, it might result in throttling. Query will time out after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. See the [code sample](https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.run-query.html) for details. Your query request will fail in the following cases: /// /// * If you submit a Query request with the same client token outside of the 5-minute idempotency window. /// @@ -967,12 +967,12 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. /// - `ConflictException` : Unable to poll results for a cancelled query. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. /// - `QueryExecutionException` : Timestream was unable to run the query successfully. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func query(input: QueryInput) async throws -> QueryOutput { let context = Smithy.ContextBuilder() @@ -1044,10 +1044,10 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `InvalidEndpointException` : The requested endpoint was not valid. + /// - `InvalidEndpointException` : The requested endpoint is invalid. /// - `ResourceNotFoundException` : The requested resource could not be found. /// - `ServiceQuotaExceededException` : You have exceeded the service quota. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func tagResource(input: TagResourceInput) async throws -> TagResourceOutput { let context = Smithy.ContextBuilder() @@ -1118,9 +1118,9 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `InvalidEndpointException` : The requested endpoint was not valid. + /// - `InvalidEndpointException` : The requested endpoint is invalid. /// - `ResourceNotFoundException` : The requested resource could not be found. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func untagResource(input: UntagResourceInput) async throws -> UntagResourceOutput { let context = Smithy.ContextBuilder() @@ -1191,10 +1191,10 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func updateAccountSettings(input: UpdateAccountSettingsInput) async throws -> UpdateAccountSettingsOutput { let context = Smithy.ContextBuilder() @@ -1265,11 +1265,11 @@ extension TimestreamQueryClient { /// - Throws: One of the exceptions listed below __Possible Exceptions__. /// /// __Possible Exceptions:__ - /// - `AccessDeniedException` : You are not authorized to perform this action. - /// - `InternalServerException` : The service was unable to fully process this request because of an internal server error. - /// - `InvalidEndpointException` : The requested endpoint was not valid. + /// - `AccessDeniedException` : You do not have the necessary permissions to access the account settings. + /// - `InternalServerException` : An internal server error occurred while processing the request. + /// - `InvalidEndpointException` : The requested endpoint is invalid. /// - `ResourceNotFoundException` : The requested resource could not be found. - /// - `ThrottlingException` : The request was denied due to request throttling. + /// - `ThrottlingException` : The request was throttled due to excessive requests. /// - `ValidationException` : Invalid or malformed request. public func updateScheduledQuery(input: UpdateScheduledQueryInput) async throws -> UpdateScheduledQueryOutput { let context = Smithy.ContextBuilder() diff --git a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift index c52b50e6833..cd053906e7e 100644 --- a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift +++ b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamWriteClient: ClientRuntime.Client { public static let clientName = "TimestreamWriteClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TimestreamWriteClient.TimestreamWriteClientConfiguration let serviceName = "Timestream Write" diff --git a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift index 44e52f9fec8..9d1e92554cb 100644 --- a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift +++ b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift @@ -68,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TnbClient: ClientRuntime.Client { public static let clientName = "TnbClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TnbClient.TnbClientConfiguration let serviceName = "tnb" diff --git a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift index e61dbd2883d..1941abeb556 100644 --- a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift +++ b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranscribeClient: ClientRuntime.Client { public static let clientName = "TranscribeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TranscribeClient.TranscribeClientConfiguration let serviceName = "Transcribe" diff --git a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift index a205e636600..1746f3103b5 100644 --- a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift +++ b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift @@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranscribeStreamingClient: ClientRuntime.Client { public static let clientName = "TranscribeStreamingClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TranscribeStreamingClient.TranscribeStreamingClientConfiguration let serviceName = "Transcribe Streaming" diff --git a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift index 405d73cc46c..e9e3a8c30b3 100644 --- a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift +++ b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TransferClient: ClientRuntime.Client { public static let clientName = "TransferClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TransferClient.TransferClientConfiguration let serviceName = "Transfer" diff --git a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift index d76b58a41fc..9398e1208ca 100644 --- a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift +++ b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranslateClient: ClientRuntime.Client { public static let clientName = "TranslateClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TranslateClient.TranslateClientConfiguration let serviceName = "Translate" diff --git a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift index 4ae03a5fcd1..74232258f92 100644 --- a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift +++ b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TrustedAdvisorClient: ClientRuntime.Client { public static let clientName = "TrustedAdvisorClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: TrustedAdvisorClient.TrustedAdvisorClientConfiguration let serviceName = "TrustedAdvisor" diff --git a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift index bad1ccdf5d8..2669ba41bd5 100644 --- a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift +++ b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VPCLatticeClient: ClientRuntime.Client { public static let clientName = "VPCLatticeClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: VPCLatticeClient.VPCLatticeClientConfiguration let serviceName = "VPC Lattice" diff --git a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift index 1268f9be649..e4abeb2b65a 100644 --- a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift +++ b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VerifiedPermissionsClient: ClientRuntime.Client { public static let clientName = "VerifiedPermissionsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: VerifiedPermissionsClient.VerifiedPermissionsClientConfiguration let serviceName = "VerifiedPermissions" diff --git a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift index a8285a87bf2..3a44a7c4e01 100644 --- a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift +++ b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VoiceIDClient: ClientRuntime.Client { public static let clientName = "VoiceIDClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: VoiceIDClient.VoiceIDClientConfiguration let serviceName = "Voice ID" diff --git a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift index 88e23c03dd2..35b2b80f7c0 100644 --- a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift +++ b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFClient: ClientRuntime.Client { public static let clientName = "WAFClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WAFClient.WAFClientConfiguration let serviceName = "WAF" diff --git a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift index 6200e72203e..ae820fdc2e7 100644 --- a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift +++ b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFRegionalClient: ClientRuntime.Client { public static let clientName = "WAFRegionalClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WAFRegionalClient.WAFRegionalClientConfiguration let serviceName = "WAF Regional" diff --git a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift index 6fc11ed4a19..dd0b280deec 100644 --- a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift +++ b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFV2Client: ClientRuntime.Client { public static let clientName = "WAFV2Client" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WAFV2Client.WAFV2ClientConfiguration let serviceName = "WAFV2" diff --git a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift index c2b3cfaf88c..081c4bee33e 100644 --- a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift +++ b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WellArchitectedClient: ClientRuntime.Client { public static let clientName = "WellArchitectedClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WellArchitectedClient.WellArchitectedClientConfiguration let serviceName = "WellArchitected" diff --git a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift index 4bba7c6b630..63714ef5369 100644 --- a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift +++ b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WisdomClient: ClientRuntime.Client { public static let clientName = "WisdomClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WisdomClient.WisdomClientConfiguration let serviceName = "Wisdom" diff --git a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift index b9dc7c79b3c..08c71666a73 100644 --- a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift +++ b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkDocsClient: ClientRuntime.Client { public static let clientName = "WorkDocsClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WorkDocsClient.WorkDocsClientConfiguration let serviceName = "WorkDocs" diff --git a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift index d63b7781bed..e9fea5d9499 100644 --- a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift +++ b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkMailClient: ClientRuntime.Client { public static let clientName = "WorkMailClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WorkMailClient.WorkMailClientConfiguration let serviceName = "WorkMail" diff --git a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift index 20ae2db0335..4223e4a7d4b 100644 --- a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift +++ b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkMailMessageFlowClient: ClientRuntime.Client { public static let clientName = "WorkMailMessageFlowClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WorkMailMessageFlowClient.WorkMailMessageFlowClientConfiguration let serviceName = "WorkMailMessageFlow" diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift index 53481567e37..13100f98faf 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift @@ -154,7 +154,7 @@ public struct ValidationException: ClientRuntime.ModeledError, AWSClientRuntime. } public struct AcceptAccountLinkInvitationInput: Swift.Sendable { - /// A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation. + /// A string of up to 64 ASCII characters that Amazon WorkSpaces uses to ensure idempotent creation. public var clientToken: Swift.String? /// The identifier of the account link. /// This member is required. @@ -1959,7 +1959,7 @@ public struct CopyWorkspaceImageOutput: Swift.Sendable { } public struct CreateAccountLinkInvitationInput: Swift.Sendable { - /// A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation. + /// A string of up to 64 ASCII characters that Amazon WorkSpaces uses to ensure idempotent creation. public var clientToken: Swift.String? /// The identifier of the target account. /// This member is required. @@ -2628,6 +2628,7 @@ extension WorkSpacesClientTypes { public enum OperatingSystemName: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case amazonLinux2 case rhel8 + case rocky8 case ubuntu1804 case ubuntu2004 case ubuntu2204 @@ -2644,6 +2645,7 @@ extension WorkSpacesClientTypes { return [ .amazonLinux2, .rhel8, + .rocky8, .ubuntu1804, .ubuntu2004, .ubuntu2204, @@ -2666,6 +2668,7 @@ extension WorkSpacesClientTypes { switch self { case .amazonLinux2: return "AMAZON_LINUX_2" case .rhel8: return "RHEL_8" + case .rocky8: return "ROCKY_8" case .ubuntu1804: return "UBUNTU_18_04" case .ubuntu2004: return "UBUNTU_20_04" case .ubuntu2204: return "UBUNTU_22_04" @@ -2755,7 +2758,7 @@ extension WorkSpacesClientTypes { /// /// * Only available for WorkSpaces created with PCoIP bundles. /// - /// * The Protocols property is case sensitive. Ensure you use PCOIP or WSP. + /// * The Protocols property is case sensitive. Ensure you use PCOIP or DCV (formerly WSP). /// /// * Unavailable for Windows 7 WorkSpaces and WorkSpaces using GPU-based bundles (Graphics, GraphicsPro, Graphics.g4dn, and GraphicsPro.g4dn). public var protocols: [WorkSpacesClientTypes.ModelProtocol]? @@ -3787,7 +3790,7 @@ extension WorkSpacesClientTypes { } public struct DeleteAccountLinkInvitationInput: Swift.Sendable { - /// A string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation. + /// A string of up to 64 ASCII characters that Amazon WorkSpaces uses to ensure idempotent creation. public var clientToken: Swift.String? /// The identifier of the account link. /// This member is required. @@ -6672,7 +6675,7 @@ public struct ImportWorkspaceImageInput: Swift.Sendable { /// /// * Although this parameter is an array, only one item is allowed at this time. /// - /// * During the image import process, non-GPU WSP WorkSpaces with Windows 11 support only Microsoft_Office_2019. GPU WSP WorkSpaces with Windows 11 do not support Office installation. + /// * During the image import process, non-GPU DCV (formerly WSP) WorkSpaces with Windows 11 support only Microsoft_Office_2019. GPU DCV (formerly WSP) WorkSpaces with Windows 11 do not support Office installation. public var applications: [WorkSpacesClientTypes.Application]? /// The identifier of the EC2 image. /// This member is required. @@ -6683,7 +6686,7 @@ public struct ImportWorkspaceImageInput: Swift.Sendable { /// The name of the WorkSpace image. /// This member is required. public var imageName: Swift.String? - /// The ingestion process to be used when importing the image, depending on which protocol you want to use for your BYOL Workspace image, either PCoIP, WorkSpaces Streaming Protocol (WSP), or bring your own protocol (BYOP). To use WSP, specify a value that ends in _WSP. To use PCoIP, specify a value that does not end in _WSP. To use BYOP, specify a value that ends in _BYOP. For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify BYOL_REGULAR, BYOL_REGULAR_WSP, or BYOL_REGULAR_BYOP, depending on the protocol. The BYOL_REGULAR_BYOP and BYOL_GRAPHICS_G4DN_BYOP values are only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use these values. For more information, see [Amazon WorkSpaces Core](http://aws.amazon.com/workspaces/core/). + /// The ingestion process to be used when importing the image, depending on which protocol you want to use for your BYOL Workspace image, either PCoIP, DCV, or bring your own protocol (BYOP). To use WSP, specify a value that ends in _DCV. To use PCoIP, specify a value that does not end in _DCV. To use BYOP, specify a value that ends in _BYOP. For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify BYOL_REGULAR, BYOL_REGULAR_DCV, or BYOL_REGULAR_BYOP, depending on the protocol. The BYOL_REGULAR_BYOP and BYOL_GRAPHICS_G4DN_BYOP values are only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use these values. For more information, see [Amazon WorkSpaces Core](http://aws.amazon.com/workspaces/core/). /// This member is required. public var ingestionProcess: WorkSpacesClientTypes.WorkspaceImageIngestionProcess? /// The tags. Each WorkSpaces resource can have a maximum of 50 tags. diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift index e7ab8899937..769da9434ce 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesClient: ClientRuntime.Client { public static let clientName = "WorkSpacesClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesClient.WorkSpacesClientConfiguration let serviceName = "WorkSpaces" @@ -1329,7 +1329,7 @@ extension WorkSpacesClient { /// /// * The MANUAL running mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see [Amazon WorkSpaces Core](http://aws.amazon.com/workspaces/core/). /// - /// * You don't need to specify the PCOIP protocol for Linux bundles because WSP is the default protocol for those bundles. + /// * You don't need to specify the PCOIP protocol for Linux bundles because DCV (formerly WSP) is the default protocol for those bundles. /// /// * User-decoupled WorkSpaces are only supported by Amazon WorkSpaces Core. /// diff --git a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift index 805445d05e7..ee8eda78399 100644 --- a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift +++ b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift @@ -64,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesThinClientClient: ClientRuntime.Client { public static let clientName = "WorkSpacesThinClientClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesThinClientClient.WorkSpacesThinClientClientConfiguration let serviceName = "WorkSpaces Thin Client" diff --git a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/Models.swift b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/Models.swift index 8b63c593239..af2b8f6a0da 100644 --- a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/Models.swift +++ b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/Models.swift @@ -304,6 +304,42 @@ public struct AssociateBrowserSettingsOutput: Swift.Sendable { } } +public struct AssociateDataProtectionSettingsInput: Swift.Sendable { + /// The ARN of the data protection settings. + /// This member is required. + public var dataProtectionSettingsArn: Swift.String? + /// The ARN of the web portal. + /// This member is required. + public var portalArn: Swift.String? + + public init( + dataProtectionSettingsArn: Swift.String? = nil, + portalArn: Swift.String? = nil + ) + { + self.dataProtectionSettingsArn = dataProtectionSettingsArn + self.portalArn = portalArn + } +} + +public struct AssociateDataProtectionSettingsOutput: Swift.Sendable { + /// The ARN of the data protection settings resource. + /// This member is required. + public var dataProtectionSettingsArn: Swift.String? + /// The ARN of the web portal. + /// This member is required. + public var portalArn: Swift.String? + + public init( + dataProtectionSettingsArn: Swift.String? = nil, + portalArn: Swift.String? = nil + ) + { + self.dataProtectionSettingsArn = dataProtectionSettingsArn + self.portalArn = portalArn + } +} + public struct AssociateIpAccessSettingsInput: Swift.Sendable { /// The ARN of the IP access settings. /// This member is required. @@ -797,6 +833,429 @@ public struct UpdateBrowserSettingsOutput: Swift.Sendable { } } +extension WorkSpacesWebClientTypes { + + /// The pattern configuration for redacting custom data types in session. + public struct CustomPattern: Swift.Sendable { + /// The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed. If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example, “/ab+c/gi” + public var keywordRegex: Swift.String? + /// The pattern description for the customer pattern. + public var patternDescription: Swift.String? + /// The pattern name for the custom pattern. + /// This member is required. + public var patternName: Swift.String? + /// The pattern regex for the customer pattern. The format must follow JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”. + /// This member is required. + public var patternRegex: Swift.String? + + public init( + keywordRegex: Swift.String? = nil, + patternDescription: Swift.String? = nil, + patternName: Swift.String? = nil, + patternRegex: Swift.String? = nil + ) + { + self.keywordRegex = keywordRegex + self.patternDescription = patternDescription + self.patternName = patternName + self.patternRegex = patternRegex + } + } +} + +extension WorkSpacesWebClientTypes.CustomPattern: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CustomPattern(keywordRegex: \"CONTENT_REDACTED\", patternDescription: \"CONTENT_REDACTED\", patternName: \"CONTENT_REDACTED\", patternRegex: \"CONTENT_REDACTED\")"} +} + +extension WorkSpacesWebClientTypes { + + public enum RedactionPlaceHolderType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case customText + case sdkUnknown(Swift.String) + + public static var allCases: [RedactionPlaceHolderType] { + return [ + .customText + ] + } + + public init?(rawValue: Swift.String) { + let value = Self.allCases.first(where: { $0.rawValue == rawValue }) + self = value ?? Self.sdkUnknown(rawValue) + } + + public var rawValue: Swift.String { + switch self { + case .customText: return "CustomText" + case let .sdkUnknown(s): return s + } + } + } +} + +extension WorkSpacesWebClientTypes { + + /// The redaction placeholder that will replace the redacted text in session. + public struct RedactionPlaceHolder: Swift.Sendable { + /// The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type. + public var redactionPlaceHolderText: Swift.String? + /// The redaction placeholder type that will replace the redacted text in session. + /// This member is required. + public var redactionPlaceHolderType: WorkSpacesWebClientTypes.RedactionPlaceHolderType? + + public init( + redactionPlaceHolderText: Swift.String? = nil, + redactionPlaceHolderType: WorkSpacesWebClientTypes.RedactionPlaceHolderType? = nil + ) + { + self.redactionPlaceHolderText = redactionPlaceHolderText + self.redactionPlaceHolderType = redactionPlaceHolderType + } + } +} + +extension WorkSpacesWebClientTypes.RedactionPlaceHolder: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "RedactionPlaceHolder(redactionPlaceHolderType: \(Swift.String(describing: redactionPlaceHolderType)), redactionPlaceHolderText: \"CONTENT_REDACTED\")"} +} + +extension WorkSpacesWebClientTypes { + + /// The set of patterns that determine the data types redacted in session. + public struct InlineRedactionPattern: Swift.Sendable { + /// The built-in pattern from the list of preconfigured patterns. Either a customPattern or builtInPatternId is required. + public var builtInPatternId: Swift.String? + /// The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This overrides the global confidence level. + public var confidenceLevel: Swift.Int? + /// >The configuration for a custom pattern. Either a customPattern or builtInPatternId is required. + public var customPattern: WorkSpacesWebClientTypes.CustomPattern? + /// The enforced URL configuration for the inline redaction pattern. This will override the global enforced URL configuration. + public var enforcedUrls: [Swift.String]? + /// The exempt URL configuration for the inline redaction pattern. This will override the global exempt URL configuration for the inline redaction pattern. + public var exemptUrls: [Swift.String]? + /// The redaction placeholder that will replace the redacted text in session for the inline redaction pattern. + /// This member is required. + public var redactionPlaceHolder: WorkSpacesWebClientTypes.RedactionPlaceHolder? + + public init( + builtInPatternId: Swift.String? = nil, + confidenceLevel: Swift.Int? = nil, + customPattern: WorkSpacesWebClientTypes.CustomPattern? = nil, + enforcedUrls: [Swift.String]? = nil, + exemptUrls: [Swift.String]? = nil, + redactionPlaceHolder: WorkSpacesWebClientTypes.RedactionPlaceHolder? = nil + ) + { + self.builtInPatternId = builtInPatternId + self.confidenceLevel = confidenceLevel + self.customPattern = customPattern + self.enforcedUrls = enforcedUrls + self.exemptUrls = exemptUrls + self.redactionPlaceHolder = redactionPlaceHolder + } + } +} + +extension WorkSpacesWebClientTypes.InlineRedactionPattern: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "InlineRedactionPattern(confidenceLevel: \(Swift.String(describing: confidenceLevel)), customPattern: \(Swift.String(describing: customPattern)), redactionPlaceHolder: \(Swift.String(describing: redactionPlaceHolder)), builtInPatternId: \"CONTENT_REDACTED\", enforcedUrls: \"CONTENT_REDACTED\", exemptUrls: \"CONTENT_REDACTED\")"} +} + +extension WorkSpacesWebClientTypes { + + /// The configuration for in-session inline redaction. + public struct InlineRedactionConfiguration: Swift.Sendable { + /// The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This is applied to patterns that do not have a pattern-level confidence level. Defaults to confidence level 2. + public var globalConfidenceLevel: Swift.Int? + /// The global enforced URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level enforced URL list. + public var globalEnforcedUrls: [Swift.String]? + /// The global exempt URL configuration for the inline redaction configuration. This is applied to patterns that do not have a pattern-level exempt URL list. + public var globalExemptUrls: [Swift.String]? + /// The inline redaction patterns to be enabled for the inline redaction configuration. + /// This member is required. + public var inlineRedactionPatterns: [WorkSpacesWebClientTypes.InlineRedactionPattern]? + + public init( + globalConfidenceLevel: Swift.Int? = nil, + globalEnforcedUrls: [Swift.String]? = nil, + globalExemptUrls: [Swift.String]? = nil, + inlineRedactionPatterns: [WorkSpacesWebClientTypes.InlineRedactionPattern]? = nil + ) + { + self.globalConfidenceLevel = globalConfidenceLevel + self.globalEnforcedUrls = globalEnforcedUrls + self.globalExemptUrls = globalExemptUrls + self.inlineRedactionPatterns = inlineRedactionPatterns + } + } +} + +extension WorkSpacesWebClientTypes.InlineRedactionConfiguration: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "InlineRedactionConfiguration(globalConfidenceLevel: \(Swift.String(describing: globalConfidenceLevel)), inlineRedactionPatterns: \(Swift.String(describing: inlineRedactionPatterns)), globalEnforcedUrls: \"CONTENT_REDACTED\", globalExemptUrls: \"CONTENT_REDACTED\")"} +} + +public struct CreateDataProtectionSettingsInput: Swift.Sendable { + /// Additional encryption context of the data protection settings. + public var additionalEncryptionContext: [Swift.String: Swift.String]? + /// A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request. If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK. + public var clientToken: Swift.String? + /// The custom managed key of the data protection settings. + public var customerManagedKey: Swift.String? + /// The description of the data protection settings. + public var description: Swift.String? + /// The display name of the data protection settings. + public var displayName: Swift.String? + /// The inline redaction configuration of the data protection settings that will be applied to all sessions. + public var inlineRedactionConfiguration: WorkSpacesWebClientTypes.InlineRedactionConfiguration? + /// The tags to add to the data protection settings resource. A tag is a key-value pair. + public var tags: [WorkSpacesWebClientTypes.Tag]? + + public init( + additionalEncryptionContext: [Swift.String: Swift.String]? = nil, + clientToken: Swift.String? = nil, + customerManagedKey: Swift.String? = nil, + description: Swift.String? = nil, + displayName: Swift.String? = nil, + inlineRedactionConfiguration: WorkSpacesWebClientTypes.InlineRedactionConfiguration? = nil, + tags: [WorkSpacesWebClientTypes.Tag]? = nil + ) + { + self.additionalEncryptionContext = additionalEncryptionContext + self.clientToken = clientToken + self.customerManagedKey = customerManagedKey + self.description = description + self.displayName = displayName + self.inlineRedactionConfiguration = inlineRedactionConfiguration + self.tags = tags + } +} + +extension CreateDataProtectionSettingsInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "CreateDataProtectionSettingsInput(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), clientToken: \(Swift.String(describing: clientToken)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), inlineRedactionConfiguration: \(Swift.String(describing: inlineRedactionConfiguration)), description: \"CONTENT_REDACTED\", displayName: \"CONTENT_REDACTED\", tags: \"CONTENT_REDACTED\")"} +} + +public struct CreateDataProtectionSettingsOutput: Swift.Sendable { + /// The ARN of the data protection settings resource. + /// This member is required. + public var dataProtectionSettingsArn: Swift.String? + + public init( + dataProtectionSettingsArn: Swift.String? = nil + ) + { + self.dataProtectionSettingsArn = dataProtectionSettingsArn + } +} + +public struct DeleteDataProtectionSettingsInput: Swift.Sendable { + /// The ARN of the data protection settings. + /// This member is required. + public var dataProtectionSettingsArn: Swift.String? + + public init( + dataProtectionSettingsArn: Swift.String? = nil + ) + { + self.dataProtectionSettingsArn = dataProtectionSettingsArn + } +} + +public struct DeleteDataProtectionSettingsOutput: Swift.Sendable { + + public init() { } +} + +public struct GetDataProtectionSettingsInput: Swift.Sendable { + /// The ARN of the data protection settings. + /// This member is required. + public var dataProtectionSettingsArn: Swift.String? + + public init( + dataProtectionSettingsArn: Swift.String? = nil + ) + { + self.dataProtectionSettingsArn = dataProtectionSettingsArn + } +} + +extension WorkSpacesWebClientTypes { + + /// The data protection settings resource that can be associated with a web portal. + public struct DataProtectionSettings: Swift.Sendable { + /// The additional encryption context of the data protection settings. + public var additionalEncryptionContext: [Swift.String: Swift.String]? + /// A list of web portal ARNs that this data protection settings resource is associated with. + public var associatedPortalArns: [Swift.String]? + /// The creation date timestamp of the data protection settings. + public var creationDate: Foundation.Date? + /// The customer managed key used to encrypt sensitive information in the data protection settings. + public var customerManagedKey: Swift.String? + /// The ARN of the data protection settings resource. + /// This member is required. + public var dataProtectionSettingsArn: Swift.String? + /// The description of the data protection settings. + public var description: Swift.String? + /// The display name of the data protection settings. + public var displayName: Swift.String? + /// The inline redaction configuration for the data protection settings. + public var inlineRedactionConfiguration: WorkSpacesWebClientTypes.InlineRedactionConfiguration? + + public init( + additionalEncryptionContext: [Swift.String: Swift.String]? = nil, + associatedPortalArns: [Swift.String]? = nil, + creationDate: Foundation.Date? = nil, + customerManagedKey: Swift.String? = nil, + dataProtectionSettingsArn: Swift.String? = nil, + description: Swift.String? = nil, + displayName: Swift.String? = nil, + inlineRedactionConfiguration: WorkSpacesWebClientTypes.InlineRedactionConfiguration? = nil + ) + { + self.additionalEncryptionContext = additionalEncryptionContext + self.associatedPortalArns = associatedPortalArns + self.creationDate = creationDate + self.customerManagedKey = customerManagedKey + self.dataProtectionSettingsArn = dataProtectionSettingsArn + self.description = description + self.displayName = displayName + self.inlineRedactionConfiguration = inlineRedactionConfiguration + } + } +} + +extension WorkSpacesWebClientTypes.DataProtectionSettings: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DataProtectionSettings(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), associatedPortalArns: \(Swift.String(describing: associatedPortalArns)), creationDate: \(Swift.String(describing: creationDate)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), dataProtectionSettingsArn: \(Swift.String(describing: dataProtectionSettingsArn)), inlineRedactionConfiguration: \(Swift.String(describing: inlineRedactionConfiguration)), description: \"CONTENT_REDACTED\", displayName: \"CONTENT_REDACTED\")"} +} + +public struct GetDataProtectionSettingsOutput: Swift.Sendable { + /// The data protection settings. + public var dataProtectionSettings: WorkSpacesWebClientTypes.DataProtectionSettings? + + public init( + dataProtectionSettings: WorkSpacesWebClientTypes.DataProtectionSettings? = nil + ) + { + self.dataProtectionSettings = dataProtectionSettings + } +} + +public struct ListDataProtectionSettingsInput: Swift.Sendable { + /// The maximum number of results to be included in the next page. + public var maxResults: Swift.Int? + /// The pagination token used to retrieve the next page of results for this operation. + public var nextToken: Swift.String? + + public init( + maxResults: Swift.Int? = nil, + nextToken: Swift.String? = nil + ) + { + self.maxResults = maxResults + self.nextToken = nextToken + } +} + +extension WorkSpacesWebClientTypes { + + /// The summary of the data protection settings. + public struct DataProtectionSettingsSummary: Swift.Sendable { + /// The creation date timestamp of the data protection settings. + public var creationDate: Foundation.Date? + /// The ARN of the data protection settings. + /// This member is required. + public var dataProtectionSettingsArn: Swift.String? + /// The description of the data protection settings. + public var description: Swift.String? + /// The display name of the data protection settings. + public var displayName: Swift.String? + + public init( + creationDate: Foundation.Date? = nil, + dataProtectionSettingsArn: Swift.String? = nil, + description: Swift.String? = nil, + displayName: Swift.String? = nil + ) + { + self.creationDate = creationDate + self.dataProtectionSettingsArn = dataProtectionSettingsArn + self.description = description + self.displayName = displayName + } + } +} + +extension WorkSpacesWebClientTypes.DataProtectionSettingsSummary: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "DataProtectionSettingsSummary(creationDate: \(Swift.String(describing: creationDate)), dataProtectionSettingsArn: \(Swift.String(describing: dataProtectionSettingsArn)), description: \"CONTENT_REDACTED\", displayName: \"CONTENT_REDACTED\")"} +} + +public struct ListDataProtectionSettingsOutput: Swift.Sendable { + /// The data protection settings. + public var dataProtectionSettings: [WorkSpacesWebClientTypes.DataProtectionSettingsSummary]? + /// The pagination token used to retrieve the next page of results for this operation. + public var nextToken: Swift.String? + + public init( + dataProtectionSettings: [WorkSpacesWebClientTypes.DataProtectionSettingsSummary]? = nil, + nextToken: Swift.String? = nil + ) + { + self.dataProtectionSettings = dataProtectionSettings + self.nextToken = nextToken + } +} + +public struct UpdateDataProtectionSettingsInput: Swift.Sendable { + /// A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request. If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK. + public var clientToken: Swift.String? + /// The ARN of the data protection settings. + /// This member is required. + public var dataProtectionSettingsArn: Swift.String? + /// The description of the data protection settings. + public var description: Swift.String? + /// The display name of the data protection settings. + public var displayName: Swift.String? + /// The inline redaction configuration of the data protection settings that will be applied to all sessions. + public var inlineRedactionConfiguration: WorkSpacesWebClientTypes.InlineRedactionConfiguration? + + public init( + clientToken: Swift.String? = nil, + dataProtectionSettingsArn: Swift.String? = nil, + description: Swift.String? = nil, + displayName: Swift.String? = nil, + inlineRedactionConfiguration: WorkSpacesWebClientTypes.InlineRedactionConfiguration? = nil + ) + { + self.clientToken = clientToken + self.dataProtectionSettingsArn = dataProtectionSettingsArn + self.description = description + self.displayName = displayName + self.inlineRedactionConfiguration = inlineRedactionConfiguration + } +} + +extension UpdateDataProtectionSettingsInput: Swift.CustomDebugStringConvertible { + public var debugDescription: Swift.String { + "UpdateDataProtectionSettingsInput(clientToken: \(Swift.String(describing: clientToken)), dataProtectionSettingsArn: \(Swift.String(describing: dataProtectionSettingsArn)), inlineRedactionConfiguration: \(Swift.String(describing: inlineRedactionConfiguration)), description: \"CONTENT_REDACTED\", displayName: \"CONTENT_REDACTED\")"} +} + +public struct UpdateDataProtectionSettingsOutput: Swift.Sendable { + /// The data protection settings. + /// This member is required. + public var dataProtectionSettings: WorkSpacesWebClientTypes.DataProtectionSettings? + + public init( + dataProtectionSettings: WorkSpacesWebClientTypes.DataProtectionSettings? = nil + ) + { + self.dataProtectionSettings = dataProtectionSettings + } +} + public struct ExpireSessionInput: Swift.Sendable { /// The ID of the web portal for the session. /// This member is required. @@ -2255,6 +2714,24 @@ public struct DisassociateBrowserSettingsOutput: Swift.Sendable { public init() { } } +public struct DisassociateDataProtectionSettingsInput: Swift.Sendable { + /// The ARN of the web portal. + /// This member is required. + public var portalArn: Swift.String? + + public init( + portalArn: Swift.String? = nil + ) + { + self.portalArn = portalArn + } +} + +public struct DisassociateDataProtectionSettingsOutput: Swift.Sendable { + + public init() { } +} + public struct DisassociateIpAccessSettingsInput: Swift.Sendable { /// The ARN of the web portal. /// This member is required. @@ -2432,6 +2909,8 @@ extension WorkSpacesWebClientTypes { public var creationDate: Foundation.Date? /// The customer managed key used to encrypt sensitive information in the portal. public var customerManagedKey: Swift.String? + /// The ARN of the data protection settings. + public var dataProtectionSettingsArn: Swift.String? /// The name of the web portal. public var displayName: Swift.String? /// The type and resources of the underlying instance. @@ -2467,6 +2946,7 @@ extension WorkSpacesWebClientTypes { browserType: WorkSpacesWebClientTypes.BrowserType? = nil, creationDate: Foundation.Date? = nil, customerManagedKey: Swift.String? = nil, + dataProtectionSettingsArn: Swift.String? = nil, displayName: Swift.String? = nil, instanceType: WorkSpacesWebClientTypes.InstanceType? = nil, ipAccessSettingsArn: Swift.String? = nil, @@ -2488,6 +2968,7 @@ extension WorkSpacesWebClientTypes { self.browserType = browserType self.creationDate = creationDate self.customerManagedKey = customerManagedKey + self.dataProtectionSettingsArn = dataProtectionSettingsArn self.displayName = displayName self.instanceType = instanceType self.ipAccessSettingsArn = ipAccessSettingsArn @@ -2507,7 +2988,7 @@ extension WorkSpacesWebClientTypes { extension WorkSpacesWebClientTypes.Portal: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "Portal(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), authenticationType: \(Swift.String(describing: authenticationType)), browserSettingsArn: \(Swift.String(describing: browserSettingsArn)), browserType: \(Swift.String(describing: browserType)), creationDate: \(Swift.String(describing: creationDate)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), instanceType: \(Swift.String(describing: instanceType)), ipAccessSettingsArn: \(Swift.String(describing: ipAccessSettingsArn)), maxConcurrentSessions: \(Swift.String(describing: maxConcurrentSessions)), networkSettingsArn: \(Swift.String(describing: networkSettingsArn)), portalArn: \(Swift.String(describing: portalArn)), portalEndpoint: \(Swift.String(describing: portalEndpoint)), portalStatus: \(Swift.String(describing: portalStatus)), rendererType: \(Swift.String(describing: rendererType)), statusReason: \(Swift.String(describing: statusReason)), trustStoreArn: \(Swift.String(describing: trustStoreArn)), userAccessLoggingSettingsArn: \(Swift.String(describing: userAccessLoggingSettingsArn)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), displayName: \"CONTENT_REDACTED\")"} + "Portal(additionalEncryptionContext: \(Swift.String(describing: additionalEncryptionContext)), authenticationType: \(Swift.String(describing: authenticationType)), browserSettingsArn: \(Swift.String(describing: browserSettingsArn)), browserType: \(Swift.String(describing: browserType)), creationDate: \(Swift.String(describing: creationDate)), customerManagedKey: \(Swift.String(describing: customerManagedKey)), dataProtectionSettingsArn: \(Swift.String(describing: dataProtectionSettingsArn)), instanceType: \(Swift.String(describing: instanceType)), ipAccessSettingsArn: \(Swift.String(describing: ipAccessSettingsArn)), maxConcurrentSessions: \(Swift.String(describing: maxConcurrentSessions)), networkSettingsArn: \(Swift.String(describing: networkSettingsArn)), portalArn: \(Swift.String(describing: portalArn)), portalEndpoint: \(Swift.String(describing: portalEndpoint)), portalStatus: \(Swift.String(describing: portalStatus)), rendererType: \(Swift.String(describing: rendererType)), statusReason: \(Swift.String(describing: statusReason)), trustStoreArn: \(Swift.String(describing: trustStoreArn)), userAccessLoggingSettingsArn: \(Swift.String(describing: userAccessLoggingSettingsArn)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), displayName: \"CONTENT_REDACTED\")"} } public struct GetPortalOutput: Swift.Sendable { @@ -2580,6 +3061,8 @@ extension WorkSpacesWebClientTypes { public var browserType: WorkSpacesWebClientTypes.BrowserType? /// The creation date of the web portal. public var creationDate: Foundation.Date? + /// The ARN of the data protection settings. + public var dataProtectionSettingsArn: Swift.String? /// The name of the web portal. public var displayName: Swift.String? /// The type and resources of the underlying instance. @@ -2611,6 +3094,7 @@ extension WorkSpacesWebClientTypes { browserSettingsArn: Swift.String? = nil, browserType: WorkSpacesWebClientTypes.BrowserType? = nil, creationDate: Foundation.Date? = nil, + dataProtectionSettingsArn: Swift.String? = nil, displayName: Swift.String? = nil, instanceType: WorkSpacesWebClientTypes.InstanceType? = nil, ipAccessSettingsArn: Swift.String? = nil, @@ -2629,6 +3113,7 @@ extension WorkSpacesWebClientTypes { self.browserSettingsArn = browserSettingsArn self.browserType = browserType self.creationDate = creationDate + self.dataProtectionSettingsArn = dataProtectionSettingsArn self.displayName = displayName self.instanceType = instanceType self.ipAccessSettingsArn = ipAccessSettingsArn @@ -2647,7 +3132,7 @@ extension WorkSpacesWebClientTypes { extension WorkSpacesWebClientTypes.PortalSummary: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "PortalSummary(authenticationType: \(Swift.String(describing: authenticationType)), browserSettingsArn: \(Swift.String(describing: browserSettingsArn)), browserType: \(Swift.String(describing: browserType)), creationDate: \(Swift.String(describing: creationDate)), instanceType: \(Swift.String(describing: instanceType)), ipAccessSettingsArn: \(Swift.String(describing: ipAccessSettingsArn)), maxConcurrentSessions: \(Swift.String(describing: maxConcurrentSessions)), networkSettingsArn: \(Swift.String(describing: networkSettingsArn)), portalArn: \(Swift.String(describing: portalArn)), portalEndpoint: \(Swift.String(describing: portalEndpoint)), portalStatus: \(Swift.String(describing: portalStatus)), rendererType: \(Swift.String(describing: rendererType)), trustStoreArn: \(Swift.String(describing: trustStoreArn)), userAccessLoggingSettingsArn: \(Swift.String(describing: userAccessLoggingSettingsArn)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), displayName: \"CONTENT_REDACTED\")"} + "PortalSummary(authenticationType: \(Swift.String(describing: authenticationType)), browserSettingsArn: \(Swift.String(describing: browserSettingsArn)), browserType: \(Swift.String(describing: browserType)), creationDate: \(Swift.String(describing: creationDate)), dataProtectionSettingsArn: \(Swift.String(describing: dataProtectionSettingsArn)), instanceType: \(Swift.String(describing: instanceType)), ipAccessSettingsArn: \(Swift.String(describing: ipAccessSettingsArn)), maxConcurrentSessions: \(Swift.String(describing: maxConcurrentSessions)), networkSettingsArn: \(Swift.String(describing: networkSettingsArn)), portalArn: \(Swift.String(describing: portalArn)), portalEndpoint: \(Swift.String(describing: portalEndpoint)), portalStatus: \(Swift.String(describing: portalStatus)), rendererType: \(Swift.String(describing: rendererType)), trustStoreArn: \(Swift.String(describing: trustStoreArn)), userAccessLoggingSettingsArn: \(Swift.String(describing: userAccessLoggingSettingsArn)), userSettingsArn: \(Swift.String(describing: userSettingsArn)), displayName: \"CONTENT_REDACTED\")"} } public struct ListPortalsOutput: Swift.Sendable { @@ -3795,6 +4280,30 @@ extension AssociateBrowserSettingsInput { } } +extension AssociateDataProtectionSettingsInput { + + static func urlPathProvider(_ value: AssociateDataProtectionSettingsInput) -> Swift.String? { + guard let portalArn = value.portalArn else { + return nil + } + return "/portals/\(portalArn.urlPercentEncoding(encodeForwardSlash: false))/dataProtectionSettings" + } +} + +extension AssociateDataProtectionSettingsInput { + + static func queryItemProvider(_ value: AssociateDataProtectionSettingsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + guard let dataProtectionSettingsArn = value.dataProtectionSettingsArn else { + let message = "Creating a URL Query Item failed. dataProtectionSettingsArn is required and must not be nil." + throw Smithy.ClientError.unknownError(message) + } + let dataProtectionSettingsArnQueryItem = Smithy.URIQueryItem(name: "dataProtectionSettingsArn".urlPercentEncoding(), value: Swift.String(dataProtectionSettingsArn).urlPercentEncoding()) + items.append(dataProtectionSettingsArnQueryItem) + return items + } +} + extension AssociateIpAccessSettingsInput { static func urlPathProvider(_ value: AssociateIpAccessSettingsInput) -> Swift.String? { @@ -3922,6 +4431,13 @@ extension CreateBrowserSettingsInput { } } +extension CreateDataProtectionSettingsInput { + + static func urlPathProvider(_ value: CreateDataProtectionSettingsInput) -> Swift.String? { + return "/dataProtectionSettings" + } +} + extension CreateIdentityProviderInput { static func urlPathProvider(_ value: CreateIdentityProviderInput) -> Swift.String? { @@ -3981,6 +4497,16 @@ extension DeleteBrowserSettingsInput { } } +extension DeleteDataProtectionSettingsInput { + + static func urlPathProvider(_ value: DeleteDataProtectionSettingsInput) -> Swift.String? { + guard let dataProtectionSettingsArn = value.dataProtectionSettingsArn else { + return nil + } + return "/dataProtectionSettings/\(dataProtectionSettingsArn.urlPercentEncoding(encodeForwardSlash: false))" + } +} + extension DeleteIdentityProviderInput { static func urlPathProvider(_ value: DeleteIdentityProviderInput) -> Swift.String? { @@ -4061,6 +4587,16 @@ extension DisassociateBrowserSettingsInput { } } +extension DisassociateDataProtectionSettingsInput { + + static func urlPathProvider(_ value: DisassociateDataProtectionSettingsInput) -> Swift.String? { + guard let portalArn = value.portalArn else { + return nil + } + return "/portals/\(portalArn.urlPercentEncoding(encodeForwardSlash: false))/dataProtectionSettings" + } +} + extension DisassociateIpAccessSettingsInput { static func urlPathProvider(_ value: DisassociateIpAccessSettingsInput) -> Swift.String? { @@ -4134,6 +4670,16 @@ extension GetBrowserSettingsInput { } } +extension GetDataProtectionSettingsInput { + + static func urlPathProvider(_ value: GetDataProtectionSettingsInput) -> Swift.String? { + guard let dataProtectionSettingsArn = value.dataProtectionSettingsArn else { + return nil + } + return "/dataProtectionSettings/\(dataProtectionSettingsArn.urlPercentEncoding(encodeForwardSlash: false))" + } +} + extension GetIdentityProviderInput { static func urlPathProvider(_ value: GetIdentityProviderInput) -> Swift.String? { @@ -4258,9 +4804,32 @@ extension ListBrowserSettingsInput { } } -extension ListBrowserSettingsInput { +extension ListBrowserSettingsInput { + + static func queryItemProvider(_ value: ListBrowserSettingsInput) throws -> [Smithy.URIQueryItem] { + var items = [Smithy.URIQueryItem]() + if let nextToken = value.nextToken { + let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) + items.append(nextTokenQueryItem) + } + if let maxResults = value.maxResults { + let maxResultsQueryItem = Smithy.URIQueryItem(name: "maxResults".urlPercentEncoding(), value: Swift.String(maxResults).urlPercentEncoding()) + items.append(maxResultsQueryItem) + } + return items + } +} + +extension ListDataProtectionSettingsInput { + + static func urlPathProvider(_ value: ListDataProtectionSettingsInput) -> Swift.String? { + return "/dataProtectionSettings" + } +} + +extension ListDataProtectionSettingsInput { - static func queryItemProvider(_ value: ListBrowserSettingsInput) throws -> [Smithy.URIQueryItem] { + static func queryItemProvider(_ value: ListDataProtectionSettingsInput) throws -> [Smithy.URIQueryItem] { var items = [Smithy.URIQueryItem]() if let nextToken = value.nextToken { let nextTokenQueryItem = Smithy.URIQueryItem(name: "nextToken".urlPercentEncoding(), value: Swift.String(nextToken).urlPercentEncoding()) @@ -4562,6 +5131,16 @@ extension UpdateBrowserSettingsInput { } } +extension UpdateDataProtectionSettingsInput { + + static func urlPathProvider(_ value: UpdateDataProtectionSettingsInput) -> Swift.String? { + guard let dataProtectionSettingsArn = value.dataProtectionSettingsArn else { + return nil + } + return "/dataProtectionSettings/\(dataProtectionSettingsArn.urlPercentEncoding(encodeForwardSlash: false))" + } +} + extension UpdateIdentityProviderInput { static func urlPathProvider(_ value: UpdateIdentityProviderInput) -> Swift.String? { @@ -4644,6 +5223,20 @@ extension CreateBrowserSettingsInput { } } +extension CreateDataProtectionSettingsInput { + + static func write(value: CreateDataProtectionSettingsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["additionalEncryptionContext"].writeMap(value.additionalEncryptionContext, valueWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + try writer["clientToken"].write(value.clientToken) + try writer["customerManagedKey"].write(value.customerManagedKey) + try writer["description"].write(value.description) + try writer["displayName"].write(value.displayName) + try writer["inlineRedactionConfiguration"].write(value.inlineRedactionConfiguration, with: WorkSpacesWebClientTypes.InlineRedactionConfiguration.write(value:to:)) + try writer["tags"].writeList(value.tags, memberWritingClosure: WorkSpacesWebClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension CreateIdentityProviderInput { static func write(value: CreateIdentityProviderInput?, to writer: SmithyJSON.Writer) throws { @@ -4756,6 +5349,17 @@ extension UpdateBrowserSettingsInput { } } +extension UpdateDataProtectionSettingsInput { + + static func write(value: UpdateDataProtectionSettingsInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["clientToken"].write(value.clientToken) + try writer["description"].write(value.description) + try writer["displayName"].write(value.displayName) + try writer["inlineRedactionConfiguration"].write(value.inlineRedactionConfiguration, with: WorkSpacesWebClientTypes.InlineRedactionConfiguration.write(value:to:)) + } +} + extension UpdateIdentityProviderInput { static func write(value: UpdateIdentityProviderInput?, to writer: SmithyJSON.Writer) throws { @@ -4849,6 +5453,19 @@ extension AssociateBrowserSettingsOutput { } } +extension AssociateDataProtectionSettingsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateDataProtectionSettingsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = AssociateDataProtectionSettingsOutput() + value.dataProtectionSettingsArn = try reader["dataProtectionSettingsArn"].readIfPresent() ?? "" + value.portalArn = try reader["portalArn"].readIfPresent() ?? "" + return value + } +} + extension AssociateIpAccessSettingsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> AssociateIpAccessSettingsOutput { @@ -4926,6 +5543,18 @@ extension CreateBrowserSettingsOutput { } } +extension CreateDataProtectionSettingsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateDataProtectionSettingsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = CreateDataProtectionSettingsOutput() + value.dataProtectionSettingsArn = try reader["dataProtectionSettingsArn"].readIfPresent() ?? "" + return value + } +} + extension CreateIdentityProviderOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> CreateIdentityProviderOutput { @@ -5018,6 +5647,13 @@ extension DeleteBrowserSettingsOutput { } } +extension DeleteDataProtectionSettingsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteDataProtectionSettingsOutput { + return DeleteDataProtectionSettingsOutput() + } +} + extension DeleteIdentityProviderOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DeleteIdentityProviderOutput { @@ -5074,6 +5710,13 @@ extension DisassociateBrowserSettingsOutput { } } +extension DisassociateDataProtectionSettingsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateDataProtectionSettingsOutput { + return DisassociateDataProtectionSettingsOutput() + } +} + extension DisassociateIpAccessSettingsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> DisassociateIpAccessSettingsOutput { @@ -5128,6 +5771,18 @@ extension GetBrowserSettingsOutput { } } +extension GetDataProtectionSettingsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetDataProtectionSettingsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = GetDataProtectionSettingsOutput() + value.dataProtectionSettings = try reader["dataProtectionSettings"].readIfPresent(with: WorkSpacesWebClientTypes.DataProtectionSettings.read(from:)) + return value + } +} + extension GetIdentityProviderOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> GetIdentityProviderOutput { @@ -5263,6 +5918,19 @@ extension ListBrowserSettingsOutput { } } +extension ListDataProtectionSettingsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListDataProtectionSettingsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = ListDataProtectionSettingsOutput() + value.dataProtectionSettings = try reader["dataProtectionSettings"].readListIfPresent(memberReadingClosure: WorkSpacesWebClientTypes.DataProtectionSettingsSummary.read(from:), memberNodeInfo: "member", isFlattened: false) + value.nextToken = try reader["nextToken"].readIfPresent() + return value + } +} + extension ListIdentityProvidersOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> ListIdentityProvidersOutput { @@ -5419,6 +6087,18 @@ extension UpdateBrowserSettingsOutput { } } +extension UpdateDataProtectionSettingsOutput { + + static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateDataProtectionSettingsOutput { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let reader = responseReader + var value = UpdateDataProtectionSettingsOutput() + value.dataProtectionSettings = try reader["dataProtectionSettings"].readIfPresent(with: WorkSpacesWebClientTypes.DataProtectionSettings.read(from:)) + return value + } +} + extension UpdateIdentityProviderOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateIdentityProviderOutput { @@ -5522,6 +6202,25 @@ enum AssociateBrowserSettingsOutputError { } } +enum AssociateDataProtectionSettingsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum AssociateIpAccessSettingsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -5637,6 +6336,26 @@ enum CreateBrowserSettingsOutputError { } } +enum CreateDataProtectionSettingsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ServiceQuotaExceededException": return try ServiceQuotaExceededException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum CreateIdentityProviderOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -5790,6 +6509,24 @@ enum DeleteBrowserSettingsOutputError { } } +enum DeleteDataProtectionSettingsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DeleteIdentityProviderOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -5935,6 +6672,25 @@ enum DisassociateBrowserSettingsOutputError { } } +enum DisassociateDataProtectionSettingsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "ConflictException": return try ConflictException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum DisassociateIpAccessSettingsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -6066,6 +6822,24 @@ enum GetBrowserSettingsOutputError { } } +enum GetDataProtectionSettingsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum GetIdentityProviderOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -6263,6 +7037,23 @@ enum ListBrowserSettingsOutputError { } } +enum ListDataProtectionSettingsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum ListIdentityProvidersOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -6491,6 +7282,24 @@ enum UpdateBrowserSettingsOutputError { } } +enum UpdateDataProtectionSettingsOutputError { + + static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { + let data = try await httpResponse.data() + let responseReader = try SmithyJSON.Reader.from(data: data) + let baseError = try AWSClientRuntime.RestJSONError(httpResponse: httpResponse, responseReader: responseReader, noErrorWrapping: false) + if let error = baseError.customError() { return error } + switch baseError.code { + case "AccessDeniedException": return try AccessDeniedException.makeError(baseError: baseError) + case "InternalServerException": return try InternalServerException.makeError(baseError: baseError) + case "ResourceNotFoundException": return try ResourceNotFoundException.makeError(baseError: baseError) + case "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) + case "ValidationException": return try ValidationException.makeError(baseError: baseError) + default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) + } + } +} + enum UpdateIdentityProviderOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -6759,6 +7568,107 @@ extension WorkSpacesWebClientTypes.BrowserSettings { } } +extension WorkSpacesWebClientTypes.DataProtectionSettings { + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesWebClientTypes.DataProtectionSettings { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesWebClientTypes.DataProtectionSettings() + value.dataProtectionSettingsArn = try reader["dataProtectionSettingsArn"].readIfPresent() ?? "" + value.inlineRedactionConfiguration = try reader["inlineRedactionConfiguration"].readIfPresent(with: WorkSpacesWebClientTypes.InlineRedactionConfiguration.read(from:)) + value.associatedPortalArns = try reader["associatedPortalArns"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.displayName = try reader["displayName"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.creationDate = try reader["creationDate"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + value.customerManagedKey = try reader["customerManagedKey"].readIfPresent() + value.additionalEncryptionContext = try reader["additionalEncryptionContext"].readMapIfPresent(valueReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), keyNodeInfo: "key", valueNodeInfo: "value", isFlattened: false) + return value + } +} + +extension WorkSpacesWebClientTypes.InlineRedactionConfiguration { + + static func write(value: WorkSpacesWebClientTypes.InlineRedactionConfiguration?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["globalConfidenceLevel"].write(value.globalConfidenceLevel) + try writer["globalEnforcedUrls"].writeList(value.globalEnforcedUrls, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["globalExemptUrls"].writeList(value.globalExemptUrls, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["inlineRedactionPatterns"].writeList(value.inlineRedactionPatterns, memberWritingClosure: WorkSpacesWebClientTypes.InlineRedactionPattern.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesWebClientTypes.InlineRedactionConfiguration { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesWebClientTypes.InlineRedactionConfiguration() + value.inlineRedactionPatterns = try reader["inlineRedactionPatterns"].readListIfPresent(memberReadingClosure: WorkSpacesWebClientTypes.InlineRedactionPattern.read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] + value.globalEnforcedUrls = try reader["globalEnforcedUrls"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.globalExemptUrls = try reader["globalExemptUrls"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.globalConfidenceLevel = try reader["globalConfidenceLevel"].readIfPresent() + return value + } +} + +extension WorkSpacesWebClientTypes.InlineRedactionPattern { + + static func write(value: WorkSpacesWebClientTypes.InlineRedactionPattern?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["builtInPatternId"].write(value.builtInPatternId) + try writer["confidenceLevel"].write(value.confidenceLevel) + try writer["customPattern"].write(value.customPattern, with: WorkSpacesWebClientTypes.CustomPattern.write(value:to:)) + try writer["enforcedUrls"].writeList(value.enforcedUrls, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["exemptUrls"].writeList(value.exemptUrls, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + try writer["redactionPlaceHolder"].write(value.redactionPlaceHolder, with: WorkSpacesWebClientTypes.RedactionPlaceHolder.write(value:to:)) + } + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesWebClientTypes.InlineRedactionPattern { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesWebClientTypes.InlineRedactionPattern() + value.builtInPatternId = try reader["builtInPatternId"].readIfPresent() + value.customPattern = try reader["customPattern"].readIfPresent(with: WorkSpacesWebClientTypes.CustomPattern.read(from:)) + value.redactionPlaceHolder = try reader["redactionPlaceHolder"].readIfPresent(with: WorkSpacesWebClientTypes.RedactionPlaceHolder.read(from:)) + value.enforcedUrls = try reader["enforcedUrls"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.exemptUrls = try reader["exemptUrls"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosures.readString(from:), memberNodeInfo: "member", isFlattened: false) + value.confidenceLevel = try reader["confidenceLevel"].readIfPresent() + return value + } +} + +extension WorkSpacesWebClientTypes.RedactionPlaceHolder { + + static func write(value: WorkSpacesWebClientTypes.RedactionPlaceHolder?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["redactionPlaceHolderText"].write(value.redactionPlaceHolderText) + try writer["redactionPlaceHolderType"].write(value.redactionPlaceHolderType) + } + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesWebClientTypes.RedactionPlaceHolder { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesWebClientTypes.RedactionPlaceHolder() + value.redactionPlaceHolderType = try reader["redactionPlaceHolderType"].readIfPresent() ?? .sdkUnknown("") + value.redactionPlaceHolderText = try reader["redactionPlaceHolderText"].readIfPresent() + return value + } +} + +extension WorkSpacesWebClientTypes.CustomPattern { + + static func write(value: WorkSpacesWebClientTypes.CustomPattern?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["keywordRegex"].write(value.keywordRegex) + try writer["patternDescription"].write(value.patternDescription) + try writer["patternName"].write(value.patternName) + try writer["patternRegex"].write(value.patternRegex) + } + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesWebClientTypes.CustomPattern { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesWebClientTypes.CustomPattern() + value.patternName = try reader["patternName"].readIfPresent() ?? "" + value.patternRegex = try reader["patternRegex"].readIfPresent() ?? "" + value.patternDescription = try reader["patternDescription"].readIfPresent() + value.keywordRegex = try reader["keywordRegex"].readIfPresent() + return value + } +} + extension WorkSpacesWebClientTypes.IdentityProvider { static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesWebClientTypes.IdentityProvider { @@ -6833,6 +7743,7 @@ extension WorkSpacesWebClientTypes.Portal { value.displayName = try reader["displayName"].readIfPresent() value.creationDate = try reader["creationDate"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) value.browserSettingsArn = try reader["browserSettingsArn"].readIfPresent() + value.dataProtectionSettingsArn = try reader["dataProtectionSettingsArn"].readIfPresent() value.userSettingsArn = try reader["userSettingsArn"].readIfPresent() value.networkSettingsArn = try reader["networkSettingsArn"].readIfPresent() value.trustStoreArn = try reader["trustStoreArn"].readIfPresent() @@ -6970,6 +7881,19 @@ extension WorkSpacesWebClientTypes.BrowserSettingsSummary { } } +extension WorkSpacesWebClientTypes.DataProtectionSettingsSummary { + + static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesWebClientTypes.DataProtectionSettingsSummary { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = WorkSpacesWebClientTypes.DataProtectionSettingsSummary() + value.dataProtectionSettingsArn = try reader["dataProtectionSettingsArn"].readIfPresent() ?? "" + value.displayName = try reader["displayName"].readIfPresent() + value.description = try reader["description"].readIfPresent() + value.creationDate = try reader["creationDate"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) + return value + } +} + extension WorkSpacesWebClientTypes.IdentityProviderSummary { static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesWebClientTypes.IdentityProviderSummary { @@ -7019,6 +7943,7 @@ extension WorkSpacesWebClientTypes.PortalSummary { value.displayName = try reader["displayName"].readIfPresent() value.creationDate = try reader["creationDate"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.epochSeconds) value.browserSettingsArn = try reader["browserSettingsArn"].readIfPresent() + value.dataProtectionSettingsArn = try reader["dataProtectionSettingsArn"].readIfPresent() value.userSettingsArn = try reader["userSettingsArn"].readIfPresent() value.networkSettingsArn = try reader["networkSettingsArn"].readIfPresent() value.trustStoreArn = try reader["trustStoreArn"].readIfPresent() diff --git a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift index db7f8904626..6a034f0cd9d 100644 --- a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift +++ b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift @@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesWebClient: ClientRuntime.Client { public static let clientName = "WorkSpacesWebClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesWebClient.WorkSpacesWebClientConfiguration let serviceName = "WorkSpaces Web" @@ -268,6 +268,78 @@ extension WorkSpacesWebClient { return try await op.execute(input: input) } + /// Performs the `AssociateDataProtectionSettings` operation on the `AWSErmineControlPlaneService` service. + /// + /// Associates a data protection settings resource with a web portal. + /// + /// - Parameter AssociateDataProtectionSettingsInput : [no documentation found] + /// + /// - Returns: `AssociateDataProtectionSettingsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. + /// - `InternalServerException` : There is an internal server error. + /// - `ResourceNotFoundException` : The resource cannot be found. + /// - `ThrottlingException` : There is a throttling error. + /// - `ValidationException` : There is a validation error. + public func associateDataProtectionSettings(input: AssociateDataProtectionSettingsInput) async throws -> AssociateDataProtectionSettingsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .put) + .withServiceName(value: serviceName) + .withOperation(value: "associateDataProtectionSettings") + .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: "workspaces-web") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(AssociateDataProtectionSettingsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(AssociateDataProtectionSettingsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(AssociateDataProtectionSettingsOutput.httpOutput(from:), AssociateDataProtectionSettingsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: WorkSpacesWebClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "WorkSpacesWeb") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "AssociateDataProtectionSettings") + 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 `AssociateIpAccessSettings` operation on the `AWSErmineControlPlaneService` service. /// /// Associates an IP access settings resource with a web portal. @@ -704,6 +776,82 @@ extension WorkSpacesWebClient { return try await op.execute(input: input) } + /// Performs the `CreateDataProtectionSettings` operation on the `AWSErmineControlPlaneService` service. + /// + /// Creates a data protection settings resource that can be associated with a web portal. + /// + /// - Parameter CreateDataProtectionSettingsInput : [no documentation found] + /// + /// - Returns: `CreateDataProtectionSettingsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. + /// - `InternalServerException` : There is an internal server error. + /// - `ResourceNotFoundException` : The resource cannot be found. + /// - `ServiceQuotaExceededException` : The service quota has been exceeded. + /// - `ThrottlingException` : There is a throttling error. + /// - `ValidationException` : There is a validation error. + public func createDataProtectionSettings(input: CreateDataProtectionSettingsInput) async throws -> CreateDataProtectionSettingsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .withServiceName(value: serviceName) + .withOperation(value: "createDataProtectionSettings") + .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: "workspaces-web") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + 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(keyPath: \.clientToken)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateDataProtectionSettingsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: CreateDataProtectionSettingsInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(CreateDataProtectionSettingsOutput.httpOutput(from:), CreateDataProtectionSettingsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: WorkSpacesWebClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "WorkSpacesWeb") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "CreateDataProtectionSettings") + 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 `CreateIdentityProvider` operation on the `AWSErmineControlPlaneService` service. /// /// Creates an identity provider resource that is then associated with a web portal. @@ -1301,6 +1449,76 @@ extension WorkSpacesWebClient { return try await op.execute(input: input) } + /// Performs the `DeleteDataProtectionSettings` operation on the `AWSErmineControlPlaneService` service. + /// + /// Deletes data protection settings. + /// + /// - Parameter DeleteDataProtectionSettingsInput : [no documentation found] + /// + /// - Returns: `DeleteDataProtectionSettingsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. + /// - `InternalServerException` : There is an internal server error. + /// - `ThrottlingException` : There is a throttling error. + /// - `ValidationException` : There is a validation error. + public func deleteDataProtectionSettings(input: DeleteDataProtectionSettingsInput) async throws -> DeleteDataProtectionSettingsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "deleteDataProtectionSettings") + .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: "workspaces-web") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteDataProtectionSettingsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DeleteDataProtectionSettingsOutput.httpOutput(from:), DeleteDataProtectionSettingsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: WorkSpacesWebClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "WorkSpacesWeb") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DeleteDataProtectionSettings") + 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 `DeleteIdentityProvider` operation on the `AWSErmineControlPlaneService` service. /// /// Deletes the identity provider. @@ -1862,6 +2080,77 @@ extension WorkSpacesWebClient { return try await op.execute(input: input) } + /// Performs the `DisassociateDataProtectionSettings` operation on the `AWSErmineControlPlaneService` service. + /// + /// Disassociates data protection settings from a web portal. + /// + /// - Parameter DisassociateDataProtectionSettingsInput : [no documentation found] + /// + /// - Returns: `DisassociateDataProtectionSettingsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : Access is denied. + /// - `ConflictException` : There is a conflict. + /// - `InternalServerException` : There is an internal server error. + /// - `ResourceNotFoundException` : The resource cannot be found. + /// - `ThrottlingException` : There is a throttling error. + /// - `ValidationException` : There is a validation error. + public func disassociateDataProtectionSettings(input: DisassociateDataProtectionSettingsInput) async throws -> DisassociateDataProtectionSettingsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .delete) + .withServiceName(value: serviceName) + .withOperation(value: "disassociateDataProtectionSettings") + .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: "workspaces-web") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(DisassociateDataProtectionSettingsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(DisassociateDataProtectionSettingsOutput.httpOutput(from:), DisassociateDataProtectionSettingsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: WorkSpacesWebClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "WorkSpacesWeb") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "DisassociateDataProtectionSettings") + 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 `DisassociateIpAccessSettings` operation on the `AWSErmineControlPlaneService` service. /// /// Disassociates IP access settings from a web portal. @@ -2357,6 +2646,76 @@ extension WorkSpacesWebClient { return try await op.execute(input: input) } + /// Performs the `GetDataProtectionSettings` operation on the `AWSErmineControlPlaneService` service. + /// + /// Gets the data protection settings. + /// + /// - Parameter GetDataProtectionSettingsInput : [no documentation found] + /// + /// - Returns: `GetDataProtectionSettingsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : Access is denied. + /// - `InternalServerException` : There is an internal server error. + /// - `ResourceNotFoundException` : The resource cannot be found. + /// - `ThrottlingException` : There is a throttling error. + /// - `ValidationException` : There is a validation error. + public func getDataProtectionSettings(input: GetDataProtectionSettingsInput) async throws -> GetDataProtectionSettingsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "getDataProtectionSettings") + .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: "workspaces-web") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(GetDataProtectionSettingsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(GetDataProtectionSettingsOutput.httpOutput(from:), GetDataProtectionSettingsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: WorkSpacesWebClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "WorkSpacesWeb") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "GetDataProtectionSettings") + 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 `GetIdentityProvider` operation on the `AWSErmineControlPlaneService` service. /// /// Gets the identity provider. @@ -3128,6 +3487,76 @@ extension WorkSpacesWebClient { return try await op.execute(input: input) } + /// Performs the `ListDataProtectionSettings` operation on the `AWSErmineControlPlaneService` service. + /// + /// Retrieves a list of data protection settings. + /// + /// - Parameter ListDataProtectionSettingsInput : [no documentation found] + /// + /// - Returns: `ListDataProtectionSettingsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : Access is denied. + /// - `InternalServerException` : There is an internal server error. + /// - `ThrottlingException` : There is a throttling error. + /// - `ValidationException` : There is a validation error. + public func listDataProtectionSettings(input: ListDataProtectionSettingsInput) async throws -> ListDataProtectionSettingsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .get) + .withServiceName(value: serviceName) + .withOperation(value: "listDataProtectionSettings") + .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: "workspaces-web") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListDataProtectionSettingsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.serialize(ClientRuntime.QueryItemMiddleware(ListDataProtectionSettingsInput.queryItemProvider(_:))) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListDataProtectionSettingsOutput.httpOutput(from:), ListDataProtectionSettingsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: WorkSpacesWebClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "WorkSpacesWeb") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListDataProtectionSettings") + 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 `ListIdentityProviders` operation on the `AWSErmineControlPlaneService` service. /// /// Retrieves a list of identity providers for a specific web portal. @@ -4050,6 +4479,80 @@ extension WorkSpacesWebClient { return try await op.execute(input: input) } + /// Performs the `UpdateDataProtectionSettings` operation on the `AWSErmineControlPlaneService` service. + /// + /// Updates data protection settings. + /// + /// - Parameter UpdateDataProtectionSettingsInput : [no documentation found] + /// + /// - Returns: `UpdateDataProtectionSettingsOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : Access is denied. + /// - `InternalServerException` : There is an internal server error. + /// - `ResourceNotFoundException` : The resource cannot be found. + /// - `ThrottlingException` : There is a throttling error. + /// - `ValidationException` : There is a validation error. + public func updateDataProtectionSettings(input: UpdateDataProtectionSettingsInput) async throws -> UpdateDataProtectionSettingsOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .patch) + .withServiceName(value: serviceName) + .withOperation(value: "updateDataProtectionSettings") + .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: "workspaces-web") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + 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(keyPath: \.clientToken)) + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UpdateDataProtectionSettingsInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/json")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UpdateDataProtectionSettingsInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UpdateDataProtectionSettingsOutput.httpOutput(from:), UpdateDataProtectionSettingsOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let endpointParams = EndpointParams(endpoint: config.endpoint, region: config.region, useDualStack: config.useDualStack ?? false, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: WorkSpacesWebClient.version, config: config)) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "WorkSpacesWeb") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UpdateDataProtectionSettings") + 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 `UpdateIdentityProvider` operation on the `AWSErmineControlPlaneService` service. /// /// Updates the identity provider. diff --git a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift index 8bb173f00fa..87d3b2b857b 100644 --- a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift +++ b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift @@ -63,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class XRayClient: ClientRuntime.Client { public static let clientName = "XRayClient" - public static let version = "1.0.44" + public static let version = "1.0.45" let client: ClientRuntime.SdkHttpClient let config: XRayClient.XRayClientConfiguration let serviceName = "XRay" diff --git a/packageDependencies.plist b/packageDependencies.plist index 4a15d3487b0..24b4a4f5793 100644 --- a/packageDependencies.plist +++ b/packageDependencies.plist @@ -9,6 +9,6 @@ clientRuntimeBranch main clientRuntimeVersion - 0.94.0 + 0.95.0