From f040881463aa7a5995e5484c1bda820c57e55f98 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Wed, 20 Nov 2024 19:04:41 +0000 Subject: [PATCH] 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": {