diff --git a/codegen/sdk-codegen/aws-models/billingconductor.json b/codegen/sdk-codegen/aws-models/billingconductor.json index 81f0d5c8889..73f988e7d7a 100644 --- a/codegen/sdk-codegen/aws-models/billingconductor.json +++ b/codegen/sdk-codegen/aws-models/billingconductor.json @@ -128,52 +128,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -181,291 +185,251 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "stringEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "stringEquals", + "fn": "getAttr", "argv": [ { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "name" - ] + "ref": "PartitionResult" }, - "aws" + "name" ] }, + "aws" + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseFIPS" - }, - false - ] + "ref": "UseFIPS" }, + false + ] + }, + { + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - false - ] + "ref": "UseDualStack" + }, + false + ] + } + ], + "endpoint": { + "url": "https://billingconductor.us-east-1.amazonaws.com", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingName": "billingconductor", + "signingRegion": "us-east-1" } - ], - "endpoint": { - "url": "https://billingconductor.us-east-1.amazonaws.com", - "properties": { - "authSchemes": [ - { - "name": "sigv4", - "signingName": "billingconductor", - "signingRegion": "us-east-1" - } - ] + ] + }, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" }, - "headers": {} - }, - "type": "endpoint" + true + ] }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://billingconductor-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://billingconductor-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://billingconductor.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://billingconductor.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -2307,6 +2271,12 @@ "smithy.api#documentation": "
The type of the custom line item that indicates whether the charge is a fee or credit.
", "smithy.api#required": {} } + }, + "LineItemFilters": { + "target": "com.amazonaws.billingconductor#LineItemFiltersList", + "traits": { + "smithy.api#documentation": "A representation of the line item filter.
" + } } }, "traits": { @@ -3048,6 +3018,81 @@ "smithy.api#httpError": 500 } }, + "com.amazonaws.billingconductor#LineItemFilter": { + "type": "structure", + "members": { + "Attribute": { + "target": "com.amazonaws.billingconductor#LineItemFilterAttributeName", + "traits": { + "smithy.api#documentation": "The attribute of the line item filter. This specifies what attribute that you can filter\n on.
", + "smithy.api#required": {} + } + }, + "MatchOption": { + "target": "com.amazonaws.billingconductor#MatchOption", + "traits": { + "smithy.api#documentation": "The match criteria of the line item filter. This parameter specifies whether not to include the resource value from the billing group total cost.
", + "smithy.api#required": {} + } + }, + "Values": { + "target": "com.amazonaws.billingconductor#LineItemFilterValuesList", + "traits": { + "smithy.api#documentation": "The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plan discounts.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "A representation of the line item filter for your custom line item. You can use line item filters to include or exclude specific resource values from the billing group's total cost. \n For example, if you create a custom line item and you want to filter out a value, such as\n Savings Plan discounts, you can update LineItemFilter
to exclude it.
\n The type of the custom line item that indicates whether the charge is a fee
or credit
.\n
A representation of the line item filter.
" + } } }, "traits": { @@ -4327,6 +4378,17 @@ "com.amazonaws.billingconductor#MarginPercentage": { "type": "string" }, + "com.amazonaws.billingconductor#MatchOption": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "NOT_EQUAL", + "name": "NOT_EQUAL" + } + ] + } + }, "com.amazonaws.billingconductor#MaxBillingGroupResults": { "type": "integer", "traits": { @@ -5371,6 +5433,12 @@ "traits": { "smithy.api#documentation": "\n An UpdateCustomLineItemPercentageChargeDetails
that describes the new charge details of a percentage custom line item.\n
A representation of the line item filter.
" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/cloud9.json b/codegen/sdk-codegen/aws-models/cloud9.json index f88172a1689..ab8066c2a65 100644 --- a/codegen/sdk-codegen/aws-models/cloud9.json +++ b/codegen/sdk-codegen/aws-models/cloud9.json @@ -1175,7 +1175,7 @@ "imageId": { "target": "com.amazonaws.cloud9#ImageId", "traits": { - "smithy.api#documentation": "The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.\n To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)\n path.
\nThe default Amazon Linux AMI is currently used if the parameter isn't explicitly assigned\n a value in the request. Because Amazon Linux AMI has ended standard support as of December 31,\n 2020, we recommend you choose Amazon Linux 2, which includes long term support through\n 2023.
\nFrom December 31, 2023, the parameter for Amazon Linux will no longer be available when\n you specify an AMI for your instance. Amazon Linux 2 will then become the default AMI, which\n is used to launch your instance if no parameter is explicitly defined.
\n\n AMI aliases \n
\n\n Amazon Linux (default):\n amazonlinux-1-x86_64
\n \n
Amazon Linux 2: amazonlinux-2-x86_64
\n
Ubuntu 18.04: ubuntu-18.04-x86_64
\n
\n SSM paths\n
\n\n Amazon Linux (default):\n resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64
\n \n
Amazon Linux 2:\n resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
\n
Ubuntu 18.04:\n resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
\n
The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance.\n To choose an AMI for the instance, you must specify a valid AMI alias or a valid Amazon EC2 Systems Manager (SSM)\n path.
\nThe default Amazon Linux AMI is currently used if the parameter isn't explicitly assigned\n a value in the request. Because Amazon Linux AMI has ended standard support as of December 31,\n 2020, we recommend you choose Amazon Linux 2, which includes long term support through\n 2023.
\nFrom December 31, 2023, the parameter for Amazon Linux will no longer be available when\n you specify an AMI for your instance. Amazon Linux 2 will then become the default AMI, which\n is used to launch your instance if no parameter is explicitly defined.
\n\n AMI aliases \n
\n\n Amazon Linux (default):\n amazonlinux-1-x86_64
\n \n
Amazon Linux 2: amazonlinux-2-x86_64
\n
Ubuntu 18.04: ubuntu-18.04-x86_64
\n
Ubuntu 22.04: ubuntu-22.04-x86_64
\n
\n SSM paths\n
\n\n Amazon Linux (default):\n resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64
\n \n
Amazon Linux 2:\n resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64
\n
Ubuntu 18.04:\n resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64
\n
Ubuntu 22.04:\n resolve:ssm:/aws/service/cloud9/amis/ubuntu-22.04-x86_64
\n
The applications that might be running on the instances in the Auto Scaling group\n as inferred by Compute Optimizer.
\nCompute Optimizer can infer if one of the following applications might be running on\n the instances:
\n\n AmazonEmr
- Infers that Amazon EMR might be running on\n the instances.
\n ApacheCassandra
- Infers that Apache Cassandra might be running\n on the instances.
\n ApacheHadoop
- Infers that Apache Hadoop might be running on the\n instances.
\n Memcached
- Infers that Memcached might be running on the\n instances.
\n NGINX
- Infers that NGINX might be running on the\n instances.
\n PostgreSql
- Infers that PostgreSQL might be running on the\n instances.
\n Redis
- Infers that Redis might be running on the\n instances.
\n Kafka
- Infers that Kafka might be running on the\n instance.
\n SQLServer
- Infers that SQLServer might be running on the\n instance.
\n Describes the GPU accelerator settings for the current instance type of the Auto Scaling group.\n
" + } } }, "traits": { @@ -274,6 +280,12 @@ "traits": { "smithy.api#documentation": "The level of effort required to migrate from the current instance type to the\n recommended instance type.
\nFor example, the migration effort is Low
if Amazon EMR is the\n inferred workload type and an Amazon Web Services Graviton instance type is recommended.\n The migration effort is Medium
if a workload type couldn't be inferred but\n an Amazon Web Services Graviton instance type is recommended. The migration effort is\n VeryLow
if both the current and recommended instance types are of the\n same CPU architecture.
\n Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.\n
" + } } }, "traits": { @@ -3200,6 +3212,42 @@ "traits": { "smithy.api#enumValue": "RecommendationOptionsMigrationEffort" } + }, + "CURRENT_INSTANCE_GPU_INFO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CurrentInstanceGpuInfo" + } + }, + "RECOMMENDATION_OPTIONS_INSTANCE_GPU_INFO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RecommendationOptionsInstanceGpuInfo" + } + }, + "UTILIZATION_METRICS_GPU_PERCENTAGE_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsGpuPercentageMaximum" + } + }, + "UTILIZATION_METRICS_GPU_MEMORY_PERCENTAGE_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsGpuMemoryPercentageMaximum" + } + }, + "RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" + } + }, + "RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_MEMORY_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" + } } } }, @@ -3708,6 +3756,48 @@ "traits": { "smithy.api#enumValue": "ExternalMetricStatusReason" } + }, + "CURRENT_INSTANCE_GPU_INFO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CurrentInstanceGpuInfo" + } + }, + "RECOMMENDATION_OPTIONS_INSTANCE_GPU_INFO": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RecommendationOptionsInstanceGpuInfo" + } + }, + "UTILIZATION_METRICS_GPU_PERCENTAGE_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsGpuPercentageMaximum" + } + }, + "UTILIZATION_METRICS_GPU_MEMORY_PERCENTAGE_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "UtilizationMetricsGpuMemoryPercentageMaximum" + } + }, + "RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_PERCENTAGE_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RecommendationOptionsProjectedUtilizationMetricsGpuPercentageMaximum" + } + }, + "RECOMMENDATION_OPTIONS_PROJECTED_UTILIZATION_METRICS_GPU_MEMORY_PERCENTAGE_MAXIMUM": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "RecommendationOptionsProjectedUtilizationMetricsGpuMemoryPercentageMaximum" + } + }, + "IDLE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Idle" + } } } }, @@ -4209,6 +4299,12 @@ "traits": { "smithy.api#enumValue": "Tags" } + }, + "CURRENT_CONFIGURATION_ROOT_VOLUME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CurrentConfigurationRootVolume" + } } } }, @@ -5758,6 +5854,60 @@ "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": { @@ -5890,6 +6040,23 @@ "target": "com.amazonaws.computeoptimizer#InstanceArn" } }, + "com.amazonaws.computeoptimizer#InstanceIdle": { + "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#InstanceName": { "type": "string" }, @@ -5998,6 +6165,18 @@ "traits": { "smithy.api#documentation": "\n An object that describes Compute Optimizer's integration status with your external metrics provider.\n
" } + }, + "currentInstanceGpuInfo": { + "target": "com.amazonaws.computeoptimizer#GpuInfo", + "traits": { + "smithy.api#documentation": "\n Describes the GPU accelerator settings for the current instance type.\n
" + } + }, + "idle": { + "target": "com.amazonaws.computeoptimizer#InstanceIdle", + "traits": { + "smithy.api#documentation": "\n Describes if an Amazon EC2 instance is idle.\n
" + } } }, "traits": { @@ -6102,6 +6281,30 @@ "traits": { "smithy.api#enumValue": "DiskThroughputUnderprovisioned" } + }, + "GPU_UNDER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GPUUnderprovisioned" + } + }, + "GPU_OVER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GPUOverprovisioned" + } + }, + "GPU_MEMORY_UNDER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GPUMemoryUnderprovisioned" + } + }, + "GPU_MEMORY_OVER_PROVISIONED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GPUMemoryOverprovisioned" + } } } }, @@ -6157,6 +6360,12 @@ "traits": { "smithy.api#documentation": "The level of effort required to migrate from the current instance type to the\n recommended instance type.
\nFor example, the migration effort is Low
if Amazon EMR is the\n inferred workload type and an Amazon Web Services Graviton instance type is recommended.\n The migration effort is Medium
if a workload type couldn't be inferred but\n an Amazon Web Services Graviton instance type is recommended. The migration effort is\n VeryLow
if both the current and recommended instance types are of the\n same CPU architecture.
\n Describes the GPU accelerator settings for the recommended instance type.\n
" + } } }, "traits": { @@ -7207,6 +7416,18 @@ "traits": { "smithy.api#enumValue": "NETWORK_PACKETS_OUT_PER_SECOND" } + }, + "GPU_PERCENTAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GPU_PERCENTAGE" + } + }, + "GPU_MEMORY_PERCENTAGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GPU_MEMORY_PERCENTAGE" + } } } }, @@ -7439,7 +7660,7 @@ "name": { "target": "com.amazonaws.computeoptimizer#MetricName", "traits": { - "smithy.api#documentation": "The name of the projected utilization metric.
\nThe following projected utilization metrics are returned:
\n\n Cpu
- The projected percentage of allocated EC2 compute units\n that would be in use on the recommendation option had you used that resource\n during the analyzed period. This metric identifies the processing power required\n to run an application on the recommendation option.
Depending on the instance type, tools in your operating system can show a\n lower percentage than CloudWatch when the instance is not allocated a full\n processor core.
\nUnits: Percent
\n\n Memory
- The percentage of memory that would be in use on the\n recommendation option had you used that resource during the analyzed period.\n This metric identifies the amount of memory required to run an application on\n the recommendation option.
Units: Percent
\nThe Memory
metric is returned only for resources that have\n the unified CloudWatch agent installed on them. For more information,\n see Enabling Memory\n Utilization with the CloudWatch Agent.
The name of the projected utilization metric.
\nThe following projected utilization metrics are returned:
\n\n Cpu
- The projected percentage of allocated EC2 compute units\n that would be in use on the recommendation option had you used that resource\n during the analyzed period. This metric identifies the processing power required\n to run an application on the recommendation option.
Depending on the instance type, tools in your operating system can show a\n lower percentage than CloudWatch when the instance is not allocated a full\n processor core.
\n\n Memory
- The percentage of memory that would be in use on the\n recommendation option had you used that resource during the analyzed period.\n This metric identifies the amount of memory required to run an application on\n the recommendation option.
Units: Percent
\nThe Memory
metric is only returned for resources with\n the unified CloudWatch agent installed on them. For more information,\n see Enabling Memory\n Utilization with the CloudWatch Agent.
\n GPU
- The projected percentage of allocated GPUs if you adjust your\n configurations to Compute Optimizer's recommendation option.
\n GPU_MEMORY
- The projected percentage of total GPU memory if you adjust your\n configurations to Compute Optimizer's recommendation option.
The GPU
and GPU_MEMORY
metrics are only returned for resources \n with the unified CloudWatch Agent installed on them. For more information, see \n Enabling NVIDIA GPU \n utilization with the CloudWatch Agent.
Describes a projected utilization metric of a recommendation option, such as an\n Amazon EC2 instance. This represents the projected utilization of a\n recommendation option had you used that resource during the analyzed period.
\nCompare the utilization metric data of your resource against its projected utilization\n metric data to determine the performance difference between your current resource and\n the recommended option.
\nThe Cpu
and Memory
metrics are the only projected\n utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, the\n Memory
metric is returned only for resources that have the unified\n CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent.
Describes a projected utilization metric of a recommendation option, such as an\n Amazon EC2 instance. This represents the projected utilization of a\n recommendation option had you used that resource during the analyzed period.
\nCompare the utilization metric data of your resource against its projected utilization\n metric data to determine the performance difference between your current resource and\n the recommended option.
\nThe Cpu
, Memory
, GPU
, and GPU_MEMORY
metrics \n are the only projected utilization metrics returned when you run the GetEC2RecommendationProjectedMetrics action. Additionally, these\n metrics are only returned for resources with the unified\n CloudWatch agent installed on them. For more information, see Enabling Memory Utilization with the CloudWatch Agent and\n Enabling NVIDIA GPU \n utilization with the CloudWatch Agent.
\n An array of objects that describes the estimated monthly saving amounts for the instances running on the specified \n inferredWorkloadTypes
. The array contains the top three savings opportunites for the instances running \n inferred workload types.\n
\n An array of objects that describes the estimated monthly saving amounts for the instances running on the specified \n inferredWorkloadTypes
. The array contains the top five savings opportunites for the instances that run \n inferred workload types.\n
The name of the utilization metric.
\nThe following utilization metrics are available:
\n\n Cpu
- The percentage of allocated EC2 compute units that are\n currently in use on the instance. This metric identifies the processing power\n required to run an application on the instance.
Depending on the instance type, tools in your operating system can show a\n lower percentage than CloudWatch when the instance is not allocated a full\n processor core.
\nUnits: Percent
\n\n Memory
- The percentage of memory that is currently in use on the\n instance. This metric identifies the amount of memory required to run an\n application on the instance.
Units: Percent
\nThe Memory
metric is returned only for resources that have\n the unified CloudWatch agent installed on them. For more information,\n see Enabling Memory\n Utilization with the CloudWatch Agent.
\n EBS_READ_OPS_PER_SECOND
- The completed read operations from all\n EBS volumes attached to the instance in a specified period of time.
Unit: Count
\n\n EBS_WRITE_OPS_PER_SECOND
- The completed write operations to all\n EBS volumes attached to the instance in a specified period of time.
Unit: Count
\n\n EBS_READ_BYTES_PER_SECOND
- The bytes read from all EBS volumes\n attached to the instance in a specified period of time.
Unit: Bytes
\n\n EBS_WRITE_BYTES_PER_SECOND
- The bytes written to all EBS volumes\n attached to the instance in a specified period of time.
Unit: Bytes
\n\n DISK_READ_OPS_PER_SECOND
- The completed read operations from all\n instance store volumes available to the instance in a specified period of\n time.
If there are no instance store volumes, either the value is 0
or\n the metric is not reported.
\n DISK_WRITE_OPS_PER_SECOND
- The completed write operations from\n all instance store volumes available to the instance in a specified period of\n time.
If there are no instance store volumes, either the value is 0
or\n the metric is not reported.
\n DISK_READ_BYTES_PER_SECOND
- The bytes read from all instance\n store volumes available to the instance. This metric is used to determine the\n volume of the data the application reads from the disk of the instance. This can\n be used to determine the speed of the application.
If there are no instance store volumes, either the value is 0
or\n the metric is not reported.
\n DISK_WRITE_BYTES_PER_SECOND
- The bytes written to all instance\n store volumes available to the instance. This metric is used to determine the\n volume of the data the application writes onto the disk of the instance. This\n can be used to determine the speed of the application.
If there are no instance store volumes, either the value is 0
or\n the metric is not reported.
\n NETWORK_IN_BYTES_PER_SECOND
- The number of bytes received by the\n instance on all network interfaces. This metric identifies the volume of\n incoming network traffic to a single instance.
\n NETWORK_OUT_BYTES_PER_SECOND
- The number of bytes sent out by\n the instance on all network interfaces. This metric identifies the volume of\n outgoing network traffic from a single instance.
\n NETWORK_PACKETS_IN_PER_SECOND
- The number of packets received by\n the instance on all network interfaces. This metric identifies the volume of\n incoming traffic in terms of the number of packets on a single instance.
\n NETWORK_PACKETS_OUT_PER_SECOND
- The number of packets sent out\n by the instance on all network interfaces. This metric identifies the volume of\n outgoing traffic in terms of the number of packets on a single instance.
The name of the utilization metric.
\nThe following utilization metrics are available:
\n\n Cpu
- The percentage of allocated EC2 compute units that are\n currently in use on the instance. This metric identifies the processing power\n required to run an application on the instance.
Depending on the instance type, tools in your operating system can show a\n lower percentage than CloudWatch when the instance is not allocated a full\n processor core.
\nUnits: Percent
\n\n Memory
- The percentage of memory that is currently in use on the\n instance. This metric identifies the amount of memory required to run an\n application on the instance.
Units: Percent
\nThe Memory
metric is returned only for resources that have\n the unified CloudWatch agent installed on them. For more information,\n see Enabling Memory\n Utilization with the CloudWatch Agent.
\n GPU
- The percentage of allocated GPUs that currently run on \n the instance.
\n GPU_MEMORY
- The percentage of total GPU memory that currently runs on \n the instance.
The GPU
and GPU_MEMORY
metrics are only returned for resources \n with the unified CloudWatch Agent installed on them. For more information, see \n Enabling NVIDIA GPU \n utilization with the CloudWatch Agent.
\n EBS_READ_OPS_PER_SECOND
- The completed read operations from all\n EBS volumes attached to the instance in a specified period of time.
Unit: Count
\n\n EBS_WRITE_OPS_PER_SECOND
- The completed write operations to all\n EBS volumes attached to the instance in a specified period of time.
Unit: Count
\n\n EBS_READ_BYTES_PER_SECOND
- The bytes read from all EBS volumes\n attached to the instance in a specified period of time.
Unit: Bytes
\n\n EBS_WRITE_BYTES_PER_SECOND
- The bytes written to all EBS volumes\n attached to the instance in a specified period of time.
Unit: Bytes
\n\n DISK_READ_OPS_PER_SECOND
- The completed read operations from all\n instance store volumes available to the instance in a specified period of\n time.
If there are no instance store volumes, either the value is 0
or\n the metric is not reported.
\n DISK_WRITE_OPS_PER_SECOND
- The completed write operations from\n all instance store volumes available to the instance in a specified period of\n time.
If there are no instance store volumes, either the value is 0
or\n the metric is not reported.
\n DISK_READ_BYTES_PER_SECOND
- The bytes read from all instance\n store volumes available to the instance. This metric is used to determine the\n volume of the data the application reads from the disk of the instance. This can\n be used to determine the speed of the application.
If there are no instance store volumes, either the value is 0
or\n the metric is not reported.
\n DISK_WRITE_BYTES_PER_SECOND
- The bytes written to all instance\n store volumes available to the instance. This metric is used to determine the\n volume of the data the application writes onto the disk of the instance. This\n can be used to determine the speed of the application.
If there are no instance store volumes, either the value is 0
or\n the metric is not reported.
\n NETWORK_IN_BYTES_PER_SECOND
- The number of bytes received by the\n instance on all network interfaces. This metric identifies the volume of\n incoming network traffic to a single instance.
\n NETWORK_OUT_BYTES_PER_SECOND
- The number of bytes sent out by\n the instance on all network interfaces. This metric identifies the volume of\n outgoing network traffic from a single instance.
\n NETWORK_PACKETS_IN_PER_SECOND
- The number of packets received by\n the instance on all network interfaces. This metric identifies the volume of\n incoming traffic in terms of the number of packets on a single instance.
\n NETWORK_PACKETS_OUT_PER_SECOND
- The number of packets sent out\n by the instance on all network interfaces. This metric identifies the volume of\n outgoing traffic in terms of the number of packets on a single instance.
Assigns one or more secondary private IP addresses to the specified network interface.
\nYou can specify one or more specific secondary IP addresses, or you can specify the number \n of secondary IP addresses to be automatically assigned within the subnet's CIDR block range. \n The number of secondary IP addresses that you can assign to an instance varies by instance type.\n For information about instance types, see Instance Types in the Amazon Elastic Compute Cloud User Guide. For more information about \n Elastic IP addresses, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.
\nWhen you move a secondary private IP address to another network interface, any Elastic IP address \n that is associated with the IP address is also moved.
\nRemapping an IP address is an asynchronous operation. When you move an IP address from one network\n interface to another, check network/interfaces/macs/mac/local-ipv4s
in the instance\n metadata to confirm that the remapping is complete.
You must specify either the IP addresses or the IP address count in the request.
\nYou can optionally use Prefix Delegation on the network interface. You must specify\n either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For\n information, see \n Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
" + "smithy.api#documentation": "Assigns one or more secondary private IP addresses to the specified network interface.
\nYou can specify one or more specific secondary IP addresses, or you can specify the number \n of secondary IP addresses to be automatically assigned within the subnet's CIDR block range. \n The number of secondary IP addresses that you can assign to an instance varies by instance type.\n For information about instance types, see Instance Types in the Amazon Elastic Compute Cloud User Guide. For more information about \n Elastic IP addresses, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.
\nWhen you move a secondary private IP address to another network interface, any Elastic IP address \n that is associated with the IP address is also moved.
\nRemapping an IP address is an asynchronous operation. When you move an IP address from one network\n interface to another, check network/interfaces/macs/mac/local-ipv4s
in the instance\n metadata to confirm that the remapping is complete.
You must specify either the IP addresses or the IP address count in the request.
\nYou can optionally use Prefix Delegation on the network interface. You must specify\n either the IPv4 Prefix Delegation prefixes, or the IPv4 Prefix Delegation count. For\n information, see \n Assigning prefixes to Amazon EC2 network interfaces in the Amazon Elastic Compute Cloud User Guide.
", + "smithy.api#examples": [ + { + "title": "To assign a specific secondary private IP address to an interface", + "documentation": "This example assigns the specified secondary private IP address to the specified network interface.", + "input": { + "NetworkInterfaceId": "eni-e5aa89a3", + "PrivateIpAddresses": [ + "10.0.0.82" + ] + } + } + ] } }, "com.amazonaws.ec2#AssignPrivateIpAddressesRequest": { @@ -6557,7 +6569,20 @@ "target": "com.amazonaws.ec2#AssociateRouteTableResult" }, "traits": { - "smithy.api#documentation": "Associates a subnet in your VPC or an internet gateway or virtual private gateway\n attached to your VPC with a route table in your VPC. This association causes traffic\n from the subnet or gateway to be routed according to the routes in the route table. The\n action returns an association ID, which you need in order to disassociate the route\n table later. A route table can be associated with multiple subnets.
\nFor more information, see Route tables in the\n Amazon VPC User Guide.
" + "smithy.api#documentation": "Associates a subnet in your VPC or an internet gateway or virtual private gateway\n attached to your VPC with a route table in your VPC. This association causes traffic\n from the subnet or gateway to be routed according to the routes in the route table. The\n action returns an association ID, which you need in order to disassociate the route\n table later. A route table can be associated with multiple subnets.
\nFor more information, see Route tables in the\n Amazon VPC User Guide.
", + "smithy.api#examples": [ + { + "title": "To associate a route table with a subnet", + "documentation": "This example associates the specified route table with the specified subnet.", + "input": { + "SubnetId": "subnet-9d4a7b6", + "RouteTableId": "rtb-22574640" + }, + "output": { + "AssociationId": "rtbassoc-781d0d1a" + } + } + ] } }, "com.amazonaws.ec2#AssociateRouteTableRequest": { @@ -7387,7 +7412,17 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Attaches an internet gateway or a virtual private gateway to a VPC, enabling connectivity \n\t\t between the internet and the VPC. For more information, see Internet gateways in the \n\t\t Amazon VPC User Guide.
" + "smithy.api#documentation": "Attaches an internet gateway or a virtual private gateway to a VPC, enabling connectivity \n\t\t between the internet and the VPC. For more information, see Internet gateways in the \n\t\t Amazon VPC User Guide.
", + "smithy.api#examples": [ + { + "title": "To attach an Internet gateway to a VPC", + "documentation": "This example attaches the specified Internet gateway to the specified VPC.", + "input": { + "InternetGatewayId": "igw-c0a643a9", + "VpcId": "vpc-a01106c2" + } + } + ] } }, "com.amazonaws.ec2#AttachInternetGatewayRequest": { @@ -7437,7 +7472,21 @@ "target": "com.amazonaws.ec2#AttachNetworkInterfaceResult" }, "traits": { - "smithy.api#documentation": "Attaches a network interface to an instance.
" + "smithy.api#documentation": "Attaches a network interface to an instance.
", + "smithy.api#examples": [ + { + "title": "To attach a network interface to an instance", + "documentation": "This example attaches the specified network interface to the specified instance.", + "input": { + "NetworkInterfaceId": "eni-e5aa89a3", + "InstanceId": "i-1234567890abcdef0", + "DeviceIndex": 1 + }, + "output": { + "AttachmentId": "eni-attach-66c4350a" + } + } + ] } }, "com.amazonaws.ec2#AttachNetworkInterfaceRequest": { @@ -8012,7 +8061,29 @@ "target": "com.amazonaws.ec2#AuthorizeSecurityGroupEgressResult" }, "traits": { - "smithy.api#documentation": "Adds the specified outbound (egress) rules to a security group for use with a VPC.
\nAn outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR\n address ranges, or to the instances that are associated with the specified source\n security groups. When specifying an outbound rule for your security group in a VPC, the\n IpPermissions
must include a destination for the traffic.
You specify a protocol for each rule (for example, TCP). \n For the TCP and UDP protocols, you must also specify the destination port or port range. \n For the ICMP protocol, you must also specify the ICMP type and code. \n You can use -1 for the type or code to mean all types or all codes.
\nRule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.
\nFor information about VPC security group quotas, see Amazon VPC quotas.
" + "smithy.api#documentation": "Adds the specified outbound (egress) rules to a security group for use with a VPC.
\nAn outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR\n address ranges, or to the instances that are associated with the specified source\n security groups. When specifying an outbound rule for your security group in a VPC, the\n IpPermissions
must include a destination for the traffic.
You specify a protocol for each rule (for example, TCP). \n For the TCP and UDP protocols, you must also specify the destination port or port range. \n For the ICMP protocol, you must also specify the ICMP type and code. \n You can use -1 for the type or code to mean all types or all codes.
\nRule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.
\nFor information about VPC security group quotas, see Amazon VPC quotas.
", + "smithy.api#examples": [ + { + "title": "To add a rule that allows outbound traffic to a specific address range", + "documentation": "This example adds a rule that grants access to the specified address ranges on TCP port 80.", + "input": { + "GroupId": "sg-1a2b3c4d", + "IpPermissions": [ + { + "IpProtocol": "tcp", + "FromPort": 80, + "ToPort": 80, + "IpRanges": [ + { + "CidrIp": "10.0.0.0/16" + } + ] + } + ] + }, + "output": {} + } + ] } }, "com.amazonaws.ec2#AuthorizeSecurityGroupEgressRequest": { @@ -9707,7 +9778,28 @@ "target": "com.amazonaws.ec2#CancelSpotFleetRequestsResponse" }, "traits": { - "smithy.api#documentation": "Cancels the specified Spot Fleet requests.
\nAfter you cancel a Spot Fleet request, the Spot Fleet launches no new instances.
\nYou must also specify whether a canceled Spot Fleet request should terminate its instances. If you\n choose to terminate the instances, the Spot Fleet request enters the\n cancelled_terminating
state. Otherwise, the Spot Fleet request enters\n the cancelled_running
state and the instances continue to run until they\n are interrupted or you terminate them manually.
Cancels the specified Spot Fleet requests.
\nAfter you cancel a Spot Fleet request, the Spot Fleet launches no new instances.
\nYou must also specify whether a canceled Spot Fleet request should terminate its instances. If you\n choose to terminate the instances, the Spot Fleet request enters the\n cancelled_terminating
state. Otherwise, the Spot Fleet request enters\n the cancelled_running
state and the instances continue to run until they\n are interrupted or you terminate them manually.
Cancels one or more Spot Instance requests.
\nCanceling a Spot Instance request does not terminate running Spot Instances\n associated with the request.
\nCancels one or more Spot Instance requests.
\nCanceling a Spot Instance request does not terminate running Spot Instances\n associated with the request.
\nCreates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.
\nFor more information, see Network ACLs in the\n\t\t\t\tAmazon VPC User Guide.
" + "smithy.api#documentation": "Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.
\nFor more information, see Network ACLs in the\n\t\t\t\tAmazon VPC User Guide.
", + "smithy.api#examples": [ + { + "title": "To create a network ACL", + "documentation": "This example creates a network ACL for the specified VPC.", + "input": { + "VpcId": "vpc-a01106c2" + }, + "output": { + "NetworkAcl": { + "Associations": [], + "NetworkAclId": "acl-5fb85d36", + "VpcId": "vpc-a01106c2", + "Tags": [], + "Entries": [ + { + "CidrBlock": "0.0.0.0/0", + "RuleNumber": 32767, + "Protocol": "-1", + "Egress": true, + "RuleAction": "deny" + }, + { + "CidrBlock": "0.0.0.0/0", + "RuleNumber": 32767, + "Protocol": "-1", + "Egress": false, + "RuleAction": "deny" + } + ], + "IsDefault": false + } + } + } + ] } }, "com.amazonaws.ec2#CreateNetworkAclEntry": { @@ -16491,7 +16636,25 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules \n\t\t and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated \n\t\t with the ACL, we process the entries in the ACL according to the rule numbers, in ascending order. Each network ACL has a set of \n\t\t ingress rules and a separate set of egress rules.
\nWe recommend that you leave room between the rule numbers (for example, 100, 110, 120, ...), and not number them one right after the \n\t\t other (for example, 101, 102, 103, ...). This makes it easier to add a rule between existing ones without having to renumber the rules.
\nAfter you add an entry, you can't modify it; you must either replace it, or create an entry and delete the old one.
\nFor more information about network ACLs, see Network ACLs \n in the Amazon VPC User Guide.
" + "smithy.api#documentation": "Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules \n\t\t and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated \n\t\t with the ACL, we process the entries in the ACL according to the rule numbers, in ascending order. Each network ACL has a set of \n\t\t ingress rules and a separate set of egress rules.
\nWe recommend that you leave room between the rule numbers (for example, 100, 110, 120, ...), and not number them one right after the \n\t\t other (for example, 101, 102, 103, ...). This makes it easier to add a rule between existing ones without having to renumber the rules.
\nAfter you add an entry, you can't modify it; you must either replace it, or create an entry and delete the old one.
\nFor more information about network ACLs, see Network ACLs \n in the Amazon VPC User Guide.
", + "smithy.api#examples": [ + { + "title": "To create a network ACL entry", + "documentation": "This example creates an entry for the specified network ACL. The rule allows ingress traffic from anywhere (0.0.0.0/0) on UDP port 53 (DNS) into any associated subnet.", + "input": { + "NetworkAclId": "acl-5fb85d36", + "RuleNumber": 100, + "Protocol": "17", + "RuleAction": "allow", + "Egress": false, + "CidrBlock": "0.0.0.0/0", + "PortRange": { + "From": 53, + "To": 53 + } + } + } + ] } }, "com.amazonaws.ec2#CreateNetworkAclEntryRequest": { @@ -17489,7 +17652,18 @@ "target": "com.amazonaws.ec2#CreateRouteResult" }, "traits": { - "smithy.api#documentation": "Creates a route in a route table within a VPC.
\nYou must specify either a destination CIDR block or a prefix list ID. You must also specify \n exactly one of the resources from the parameter list.
\nWhen determining how to route traffic, we use the route with the most specific match.\n For example, traffic is destined for the IPv4 address 192.0.2.3
, and the\n route table includes the following two IPv4 routes:
\n 192.0.2.0/24
(goes to some target A)
\n 192.0.2.0/28
(goes to some target B)
Both routes apply to the traffic destined for 192.0.2.3
. However, the second route\n\t\t\t\tin the list covers a smaller number of IP addresses and is therefore more specific,\n\t\t\t\tso we use that route to determine where to target the traffic.
For more information about route tables, see Route tables in the\n Amazon VPC User Guide.
" + "smithy.api#documentation": "Creates a route in a route table within a VPC.
\nYou must specify either a destination CIDR block or a prefix list ID. You must also specify \n exactly one of the resources from the parameter list.
\nWhen determining how to route traffic, we use the route with the most specific match.\n For example, traffic is destined for the IPv4 address 192.0.2.3
, and the\n route table includes the following two IPv4 routes:
\n 192.0.2.0/24
(goes to some target A)
\n 192.0.2.0/28
(goes to some target B)
Both routes apply to the traffic destined for 192.0.2.3
. However, the second route\n\t\t\t\tin the list covers a smaller number of IP addresses and is therefore more specific,\n\t\t\t\tso we use that route to determine where to target the traffic.
For more information about route tables, see Route tables in the\n Amazon VPC User Guide.
", + "smithy.api#examples": [ + { + "title": "To create a route", + "documentation": "This example creates a route for the specified route table. The route matches all traffic (0.0.0.0/0) and routes it to the specified Internet gateway.", + "input": { + "RouteTableId": "rtb-22574640", + "DestinationCidrBlock": "0.0.0.0/0", + "GatewayId": "igw-c0a643a9" + } + } + ] } }, "com.amazonaws.ec2#CreateRouteRequest": { @@ -17647,7 +17821,32 @@ "target": "com.amazonaws.ec2#CreateRouteTableResult" }, "traits": { - "smithy.api#documentation": "Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.
\nFor more information, see Route tables in the\n\t\t\t\tAmazon VPC User Guide.
" + "smithy.api#documentation": "Creates a route table for the specified VPC. After you create a route table, you can add routes and associate the table with a subnet.
\nFor more information, see Route tables in the\n\t\t\t\tAmazon VPC User Guide.
", + "smithy.api#examples": [ + { + "title": "To create a route table", + "documentation": "This example creates a route table for the specified VPC.", + "input": { + "VpcId": "vpc-a01106c2" + }, + "output": { + "RouteTable": { + "Associations": [], + "RouteTableId": "rtb-22574640", + "VpcId": "vpc-a01106c2", + "PropagatingVgws": [], + "Tags": [], + "Routes": [ + { + "GatewayId": "local", + "DestinationCidrBlock": "10.0.0.0/16", + "State": "active" + } + ] + } + } + } + ] } }, "com.amazonaws.ec2#CreateRouteTableRequest": { @@ -17962,7 +18161,25 @@ "target": "com.amazonaws.ec2#CreateSpotDatafeedSubscriptionResult" }, "traits": { - "smithy.api#documentation": "Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs.\n You can create one data feed per Amazon Web Services account. For more information, see\n Spot Instance data feed \n in the Amazon EC2 User Guide for Linux Instances.
" + "smithy.api#documentation": "Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs.\n You can create one data feed per Amazon Web Services account. For more information, see\n Spot Instance data feed \n in the Amazon EC2 User Guide for Linux Instances.
", + "smithy.api#examples": [ + { + "title": "To create a Spot Instance datafeed", + "documentation": "This example creates a Spot Instance data feed for your AWS account.", + "input": { + "Bucket": "my-s3-bucket", + "Prefix": "spotdata" + }, + "output": { + "SpotDatafeedSubscription": { + "OwnerId": "123456789012", + "Prefix": "spotdata", + "Bucket": "my-s3-bucket", + "State": "Active" + } + } + } + ] } }, "com.amazonaws.ec2#CreateSpotDatafeedSubscriptionRequest": { @@ -18295,7 +18512,24 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Adds or overwrites only the specified tags for the specified Amazon EC2 resource or\n resources. When you specify an existing tag key, the value is overwritten with\n the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and\n optional value. Tag keys must be unique per resource.
\nFor more information about tags, see Tag your Amazon EC2 resources in the\n Amazon Elastic Compute Cloud User Guide. For more information about\n creating IAM policies that control users' access to resources based on tags, see Supported\n resource-level permissions for Amazon EC2 API actions in the Amazon\n Elastic Compute Cloud User Guide.
" + "smithy.api#documentation": "Adds or overwrites only the specified tags for the specified Amazon EC2 resource or\n resources. When you specify an existing tag key, the value is overwritten with\n the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and\n optional value. Tag keys must be unique per resource.
\nFor more information about tags, see Tag your Amazon EC2 resources in the\n Amazon Elastic Compute Cloud User Guide. For more information about\n creating IAM policies that control users' access to resources based on tags, see Supported\n resource-level permissions for Amazon EC2 API actions in the Amazon\n Elastic Compute Cloud User Guide.
", + "smithy.api#examples": [ + { + "title": "To add a tag to a resource", + "documentation": "This example adds the tag Stack=production to the specified image, or overwrites an existing tag for the AMI where the tag key is Stack.", + "input": { + "Resources": [ + "ami-78a54011" + ], + "Tags": [ + { + "Key": "Stack", + "Value": "production" + } + ] + } + } + ] } }, "com.amazonaws.ec2#CreateTagsRequest": { @@ -22310,7 +22544,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deletes the specified internet gateway. You must detach the internet gateway from the\n\t\t\tVPC before you can delete it.
" + "smithy.api#documentation": "Deletes the specified internet gateway. You must detach the internet gateway from the\n\t\t\tVPC before you can delete it.
", + "smithy.api#examples": [ + { + "title": "To delete an Internet gateway", + "documentation": "This example deletes the specified Internet gateway.", + "input": { + "InternetGatewayId": "igw-c0a643a9" + } + } + ] } }, "com.amazonaws.ec2#DeleteInternetGatewayRequest": { @@ -23244,7 +23487,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.
" + "smithy.api#documentation": "Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.
", + "smithy.api#examples": [ + { + "title": "To delete a network ACL", + "documentation": "This example deletes the specified network ACL.", + "input": { + "NetworkAclId": "acl-5fb85d36" + } + } + ] } }, "com.amazonaws.ec2#DeleteNetworkAclEntry": { @@ -23256,7 +23508,18 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deletes the specified ingress or egress entry (rule) from the specified network ACL.
" + "smithy.api#documentation": "Deletes the specified ingress or egress entry (rule) from the specified network ACL.
", + "smithy.api#examples": [ + { + "title": "To delete a network ACL entry", + "documentation": "This example deletes ingress rule number 100 from the specified network ACL.", + "input": { + "NetworkAclId": "acl-5fb85d36", + "RuleNumber": 100, + "Egress": true + } + } + ] } }, "com.amazonaws.ec2#DeleteNetworkAclEntryRequest": { @@ -23554,7 +23817,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deletes the specified network interface. You must detach the network interface before you can delete it.
" + "smithy.api#documentation": "Deletes the specified network interface. You must detach the network interface before you can delete it.
", + "smithy.api#examples": [ + { + "title": "To delete a network interface", + "documentation": "This example deletes the specified network interface.", + "input": { + "NetworkInterfaceId": "eni-e5aa89a3" + } + } + ] } }, "com.amazonaws.ec2#DeleteNetworkInterfacePermission": { @@ -23659,7 +23931,17 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deletes the specified placement group. You must terminate all instances in the\n placement group before you can delete the placement group. For more information, see\n Placement groups in the Amazon EC2 User Guide.
" + "smithy.api#documentation": "Deletes the specified placement group. You must terminate all instances in the\n placement group before you can delete the placement group. For more information, see\n Placement groups in the Amazon EC2 User Guide.
", + "smithy.api#examples": [ + { + "title": "To delete a placement group", + "documentation": "This example deletes the specified placement group.\n", + "input": { + "GroupName": "my-cluster" + }, + "output": {} + } + ] } }, "com.amazonaws.ec2#DeletePlacementGroupRequest": { @@ -23876,7 +24158,17 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deletes the specified route from the specified route table.
" + "smithy.api#documentation": "Deletes the specified route from the specified route table.
", + "smithy.api#examples": [ + { + "title": "To delete a route", + "documentation": "This example deletes the specified route from the specified route table.", + "input": { + "RouteTableId": "rtb-22574640", + "DestinationCidrBlock": "0.0.0.0/0" + } + } + ] } }, "com.amazonaws.ec2#DeleteRouteRequest": { @@ -23938,7 +24230,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.
" + "smithy.api#documentation": "Deletes the specified route table. You must disassociate the route table from any subnets before you can delete it. You can't delete the main route table.
", + "smithy.api#examples": [ + { + "title": "To delete a route table", + "documentation": "This example deletes the specified route table.", + "input": { + "RouteTableId": "rtb-22574640" + } + } + ] } }, "com.amazonaws.ec2#DeleteRouteTableRequest": { @@ -24214,7 +24515,24 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Deletes the specified set of tags from the specified set of resources.
\nTo list the current tags, use DescribeTags. For more information about\n tags, see Tag\n your Amazon EC2 resources in the Amazon Elastic Compute Cloud User\n Guide.
" + "smithy.api#documentation": "Deletes the specified set of tags from the specified set of resources.
\nTo list the current tags, use DescribeTags. For more information about\n tags, see Tag\n your Amazon EC2 resources in the Amazon Elastic Compute Cloud User\n Guide.
", + "smithy.api#examples": [ + { + "title": "To delete a tag from a resource", + "documentation": "This example deletes the tag Stack=test from the specified image.", + "input": { + "Resources": [ + "ami-78a54011" + ], + "Tags": [ + { + "Key": "Stack", + "Value": "test" + } + ] + } + } + ] } }, "com.amazonaws.ec2#DeleteTagsRequest": { @@ -30568,7 +30886,23 @@ "target": "com.amazonaws.ec2#InstanceAttribute" }, "traits": { - "smithy.api#documentation": "Describes the specified attribute of the specified instance. You can specify only one\n attribute at a time. Valid attribute values are: instanceType
|\n kernel
| ramdisk
| userData
|\n disableApiTermination
| instanceInitiatedShutdownBehavior
\n | rootDeviceName
| blockDeviceMapping
|\n productCodes
| sourceDestCheck
| groupSet
|\n ebsOptimized
| sriovNetSupport
\n
Describes the specified attribute of the specified instance. You can specify only one\n attribute at a time. Valid attribute values are: instanceType
|\n kernel
| ramdisk
| userData
|\n disableApiTermination
| instanceInitiatedShutdownBehavior
\n | rootDeviceName
| blockDeviceMapping
|\n productCodes
| sourceDestCheck
| groupSet
|\n ebsOptimized
| sriovNetSupport
\n
Describes a network interface attribute. You can specify only one attribute at a time.
" + "smithy.api#documentation": "Describes a network interface attribute. You can specify only one attribute at a time.
", + "smithy.api#examples": [ + { + "title": "To describe the attachment attribute of a network interface", + "documentation": "This example describes the attachment attribute of the specified network interface.", + "input": { + "NetworkInterfaceId": "eni-686ea200", + "Attribute": "attachment" + }, + "output": { + "NetworkInterfaceId": "eni-686ea200", + "Attachment": { + "Status": "attached", + "DeviceIndex": 0, + "AttachTime": "2015-05-21T20:02:20.000Z", + "InstanceId": "i-1234567890abcdef0", + "DeleteOnTermination": true, + "AttachmentId": "eni-attach-43348162", + "InstanceOwnerId": "123456789012" + } + } + } + ] } }, "com.amazonaws.ec2#DescribeNetworkInterfaceAttributeRequest": { @@ -36417,7 +36773,26 @@ "target": "com.amazonaws.ec2#DescribeSpotFleetInstancesResponse" }, "traits": { - "smithy.api#documentation": "Describes the running instances for the specified Spot Fleet.
" + "smithy.api#documentation": "Describes the running instances for the specified Spot Fleet.
", + "smithy.api#examples": [ + { + "title": "To describe the Spot Instances associated with a Spot fleet", + "documentation": "This example lists the Spot Instances associated with the specified Spot fleet.", + "input": { + "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE" + }, + "output": { + "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", + "ActiveInstances": [ + { + "InstanceId": "i-1234567890abcdef0", + "InstanceType": "m3.medium", + "SpotInstanceRequestId": "sir-08b93456" + } + ] + } + } + ] } }, "com.amazonaws.ec2#DescribeSpotFleetInstancesMaxResults": { @@ -36519,7 +36894,54 @@ "target": "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryResponse" }, "traits": { - "smithy.api#documentation": "Describes the events for the specified Spot Fleet request during the specified\n time.
\nSpot Fleet events are delayed by up to 30 seconds before they can be described. This\n ensures that you can query by the last evaluated time and not miss a recorded event.\n Spot Fleet events are available for 48 hours.
\nFor more information, see Monitor fleet events using Amazon\n EventBridge in the Amazon EC2 User Guide.
" + "smithy.api#documentation": "Describes the events for the specified Spot Fleet request during the specified\n time.
\nSpot Fleet events are delayed by up to 30 seconds before they can be described. This\n ensures that you can query by the last evaluated time and not miss a recorded event.\n Spot Fleet events are available for 48 hours.
\nFor more information, see Monitor fleet events using Amazon\n EventBridge in the Amazon EC2 User Guide.
", + "smithy.api#examples": [ + { + "title": "To describe Spot fleet history", + "documentation": "This example returns the history for the specified Spot fleet starting at the specified time.", + "input": { + "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", + "StartTime": "2015-05-26T00:00:00Z" + }, + "output": { + "HistoryRecords": [ + { + "Timestamp": "2015-05-26T23:17:20.697Z", + "EventInformation": { + "EventSubType": "submitted" + }, + "EventType": "fleetRequestChange" + }, + { + "Timestamp": "2015-05-26T23:17:20.873Z", + "EventInformation": { + "EventSubType": "active" + }, + "EventType": "fleetRequestChange" + }, + { + "Timestamp": "2015-05-26T23:21:21.712Z", + "EventInformation": { + "InstanceId": "i-1234567890abcdef0", + "EventSubType": "launched" + }, + "EventType": "instanceChange" + }, + { + "Timestamp": "2015-05-26T23:21:21.816Z", + "EventInformation": { + "InstanceId": "i-1234567890abcdef1", + "EventSubType": "launched" + }, + "EventType": "instanceChange" + } + ], + "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", + "StartTime": "2015-05-26T00:00:00Z", + "NextToken": "CpHNsscimcV5oH7bSbub03CI2Qms5+ypNpNm+53MNlR0YcXAkp0xFlfKf91yVxSExmbtma3awYxMFzNA663ZskT0AHtJ6TCb2Z8bQC2EnZgyELbymtWPfpZ1ZbauVg+P+TfGlWxWWB/Vr5dk5d4LfdgA/DRAHUrYgxzrEXAMPLE=" + } + } + ] } }, "com.amazonaws.ec2#DescribeSpotFleetRequestHistoryMaxResults": { @@ -41279,7 +41701,17 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Detaches an internet gateway from a VPC, disabling connectivity between the internet\n\t\t\tand the VPC. The VPC must not contain any running instances with Elastic IP addresses or\n\t\t\tpublic IPv4 addresses.
" + "smithy.api#documentation": "Detaches an internet gateway from a VPC, disabling connectivity between the internet\n\t\t\tand the VPC. The VPC must not contain any running instances with Elastic IP addresses or\n\t\t\tpublic IPv4 addresses.
", + "smithy.api#examples": [ + { + "title": "To detach an Internet gateway from a VPC", + "documentation": "This example detaches the specified Internet gateway from the specified VPC.", + "input": { + "InternetGatewayId": "igw-c0a643a9", + "VpcId": "vpc-a01106c2" + } + } + ] } }, "com.amazonaws.ec2#DetachInternetGatewayRequest": { @@ -41329,7 +41761,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Detaches a network interface from an instance.
" + "smithy.api#documentation": "Detaches a network interface from an instance.
", + "smithy.api#examples": [ + { + "title": "To detach a network interface from an instance", + "documentation": "This example detaches the specified network interface from its attached instance.", + "input": { + "AttachmentId": "eni-attach-66c4350a" + } + } + ] } }, "com.amazonaws.ec2#DetachNetworkInterfaceRequest": { @@ -43128,7 +43569,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Disassociates a subnet or gateway from a route table.
\nAfter you perform this action, the subnet no longer uses the routes in the route table.\n\t\t\t\tInstead, it uses the routes in the VPC's main route table. For more information\n\t\t\t\tabout route tables, see Route\n\t\t\t\ttables in the Amazon VPC User Guide.
" + "smithy.api#documentation": "Disassociates a subnet or gateway from a route table.
\nAfter you perform this action, the subnet no longer uses the routes in the route table.\n\t\t\t\tInstead, it uses the routes in the VPC's main route table. For more information\n\t\t\t\tabout route tables, see Route\n\t\t\t\ttables in the Amazon VPC User Guide.
", + "smithy.api#examples": [ + { + "title": "To disassociate a route table", + "documentation": "This example disassociates the specified route table from its associated subnet.", + "input": { + "AssociationId": "rtbassoc-781d0d1a" + } + } + ] } }, "com.amazonaws.ec2#DisassociateRouteTableRequest": { @@ -45877,7 +46327,16 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Enables I/O operations for a volume that had I/O operations disabled because the data on\n the volume was potentially inconsistent.
" + "smithy.api#documentation": "Enables I/O operations for a volume that had I/O operations disabled because the data on\n the volume was potentially inconsistent.
", + "smithy.api#examples": [ + { + "title": "To enable I/O for a volume", + "documentation": "This example enables I/O on volume ``vol-1234567890abcdef0``.", + "input": { + "VolumeId": "vol-1234567890abcdef0" + } + } + ] } }, "com.amazonaws.ec2#EnableVolumeIORequest": { @@ -63680,6 +64139,150 @@ "traits": { "smithy.api#enumValue": "hpc7a.96xlarge" } + }, + "c7gd_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7gd.medium" + } + }, + "c7gd_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7gd.large" + } + }, + "c7gd_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7gd.xlarge" + } + }, + "c7gd_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7gd.2xlarge" + } + }, + "c7gd_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7gd.4xlarge" + } + }, + "c7gd_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7gd.8xlarge" + } + }, + "c7gd_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7gd.12xlarge" + } + }, + "c7gd_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "c7gd.16xlarge" + } + }, + "m7gd_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7gd.medium" + } + }, + "m7gd_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7gd.large" + } + }, + "m7gd_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7gd.xlarge" + } + }, + "m7gd_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7gd.2xlarge" + } + }, + "m7gd_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7gd.4xlarge" + } + }, + "m7gd_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7gd.8xlarge" + } + }, + "m7gd_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7gd.12xlarge" + } + }, + "m7gd_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "m7gd.16xlarge" + } + }, + "r7gd_medium": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7gd.medium" + } + }, + "r7gd_large": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7gd.large" + } + }, + "r7gd_xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7gd.xlarge" + } + }, + "r7gd_2xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7gd.2xlarge" + } + }, + "r7gd_4xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7gd.4xlarge" + } + }, + "r7gd_8xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7gd.8xlarge" + } + }, + "r7gd_12xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7gd.12xlarge" + } + }, + "r7gd_16xlarge": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "r7gd.16xlarge" + } } } }, @@ -71862,7 +72465,20 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Modifies the specified attribute of the specified instance. You can specify only one\n attribute at a time.
\n\n Note: Using this action to change the security groups\n associated with an elastic network interface (ENI) attached to an instance can\n result in an error if the instance has more than one ENI. To change the security groups\n associated with an ENI attached to an instance that has multiple ENIs, we recommend that\n you use the ModifyNetworkInterfaceAttribute action.
\nTo modify some attributes, the instance must be stopped. For more information, see\n Modify a stopped instance in the\n Amazon EC2 User Guide.
" + "smithy.api#documentation": "Modifies the specified attribute of the specified instance. You can specify only one\n attribute at a time.
\n\n Note: Using this action to change the security groups\n associated with an elastic network interface (ENI) attached to an instance can\n result in an error if the instance has more than one ENI. To change the security groups\n associated with an ENI attached to an instance that has multiple ENIs, we recommend that\n you use the ModifyNetworkInterfaceAttribute action.
\nTo modify some attributes, the instance must be stopped. For more information, see\n Modify a stopped instance in the\n Amazon EC2 User Guide.
", + "smithy.api#examples": [ + { + "title": "To modify the instance type", + "documentation": "This example modifies the instance type of the specified stopped instance.", + "input": { + "InstanceId": "i-1234567890abcdef0", + "InstanceType": { + "Value": "m5.large" + } + }, + "output": {} + } + ] } }, "com.amazonaws.ec2#ModifyInstanceAttributeRequest": { @@ -73199,7 +73815,20 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Modifies the specified network interface attribute. You can specify only one\n attribute at a time. You can use this action to attach and detach security groups from\n an existing EC2 instance.
" + "smithy.api#documentation": "Modifies the specified network interface attribute. You can specify only one\n attribute at a time. You can use this action to attach and detach security groups from\n an existing EC2 instance.
", + "smithy.api#examples": [ + { + "title": "To modify the attachment attribute of a network interface", + "documentation": "This example modifies the attachment attribute of the specified network interface.", + "input": { + "NetworkInterfaceId": "eni-686ea200", + "Attachment": { + "AttachmentId": "eni-attach-43348162", + "DeleteOnTermination": false + } + } + } + ] } }, "com.amazonaws.ec2#ModifyNetworkInterfaceAttributeRequest": { @@ -73639,7 +74268,20 @@ "target": "com.amazonaws.ec2#ModifySpotFleetRequestResponse" }, "traits": { - "smithy.api#documentation": "Modifies the specified Spot Fleet request.
\nYou can only modify a Spot Fleet request of type maintain
.
While the Spot Fleet request is being modified, it is in the modifying
\n state.
To scale up your Spot Fleet, increase its target capacity. The Spot Fleet launches the\n additional Spot Instances according to the allocation strategy for the Spot Fleet\n request. If the allocation strategy is lowestPrice
, the Spot Fleet launches\n instances using the Spot Instance pool with the lowest price. If the allocation strategy\n is diversified
, the Spot Fleet distributes the instances across the Spot\n Instance pools. If the allocation strategy is capacityOptimized
, Spot Fleet\n launches instances from Spot Instance pools with optimal capacity for the number of instances\n that are launching.
To scale down your Spot Fleet, decrease its target capacity. First, the Spot Fleet\n cancels any open requests that exceed the new target capacity. You can request that the\n Spot Fleet terminate Spot Instances until the size of the fleet no longer exceeds the\n new target capacity. If the allocation strategy is lowestPrice
, the Spot\n Fleet terminates the instances with the highest price per unit. If the allocation\n strategy is capacityOptimized
, the Spot Fleet terminates the instances in\n the Spot Instance pools that have the least available Spot Instance capacity. If the allocation\n strategy is diversified
, the Spot Fleet terminates instances across the\n Spot Instance pools. Alternatively, you can request that the Spot Fleet keep the fleet\n at its current size, but not replace any Spot Instances that are interrupted or that you\n terminate manually.
If you are finished with your Spot Fleet for now, but will use it again later, you can\n set the target capacity to 0.
" + "smithy.api#documentation": "Modifies the specified Spot Fleet request.
\nYou can only modify a Spot Fleet request of type maintain
.
While the Spot Fleet request is being modified, it is in the modifying
\n state.
To scale up your Spot Fleet, increase its target capacity. The Spot Fleet launches the\n additional Spot Instances according to the allocation strategy for the Spot Fleet\n request. If the allocation strategy is lowestPrice
, the Spot Fleet launches\n instances using the Spot Instance pool with the lowest price. If the allocation strategy\n is diversified
, the Spot Fleet distributes the instances across the Spot\n Instance pools. If the allocation strategy is capacityOptimized
, Spot Fleet\n launches instances from Spot Instance pools with optimal capacity for the number of instances\n that are launching.
To scale down your Spot Fleet, decrease its target capacity. First, the Spot Fleet\n cancels any open requests that exceed the new target capacity. You can request that the\n Spot Fleet terminate Spot Instances until the size of the fleet no longer exceeds the\n new target capacity. If the allocation strategy is lowestPrice
, the Spot\n Fleet terminates the instances with the highest price per unit. If the allocation\n strategy is capacityOptimized
, the Spot Fleet terminates the instances in\n the Spot Instance pools that have the least available Spot Instance capacity. If the allocation\n strategy is diversified
, the Spot Fleet terminates instances across the\n Spot Instance pools. Alternatively, you can request that the Spot Fleet keep the fleet\n at its current size, but not replace any Spot Instances that are interrupted or that you\n terminate manually.
If you are finished with your Spot Fleet for now, but will use it again later, you can\n set the target capacity to 0.
", + "smithy.api#examples": [ + { + "title": "To increase the target capacity of a Spot fleet request", + "documentation": "This example increases the target capacity of the specified Spot fleet request.", + "input": { + "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", + "TargetCapacity": 20 + }, + "output": { + "Return": true + } + } + ] } }, "com.amazonaws.ec2#ModifySpotFleetRequestRequest": { @@ -76386,7 +77028,19 @@ "target": "com.amazonaws.ec2#MoveAddressToVpcResult" }, "traits": { - "smithy.api#documentation": "This action is deprecated.
\nMoves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The\n Elastic IP address must be allocated to your account for more than 24 hours, and it must not\n be associated with an instance. After the Elastic IP address is moved, it is no longer\n available for use in the EC2-Classic platform, unless you move it back using the\n RestoreAddressToClassic request. You cannot move an Elastic IP address that was\n originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.
" + "smithy.api#documentation": "This action is deprecated.
\nMoves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform. The\n Elastic IP address must be allocated to your account for more than 24 hours, and it must not\n be associated with an instance. After the Elastic IP address is moved, it is no longer\n available for use in the EC2-Classic platform, unless you move it back using the\n RestoreAddressToClassic request. You cannot move an Elastic IP address that was\n originally allocated for use in the EC2-VPC platform to the EC2-Classic platform.
", + "smithy.api#examples": [ + { + "title": "To move an address to EC2-VPC", + "documentation": "This example moves the specified Elastic IP address to the EC2-VPC platform.", + "input": { + "PublicIp": "54.123.4.56" + }, + "output": { + "Status": "MoveInProgress" + } + } + ] } }, "com.amazonaws.ec2#MoveAddressToVpcRequest": { @@ -83494,7 +84148,20 @@ "target": "com.amazonaws.ec2#ReplaceNetworkAclAssociationResult" }, "traits": { - "smithy.api#documentation": "Changes which network ACL a subnet is associated with. By default when you create a\n\t\t\tsubnet, it's automatically associated with the default network ACL. For more\n\t\t\tinformation, see Network ACLs in the Amazon VPC User Guide.
\nThis is an idempotent operation.
" + "smithy.api#documentation": "Changes which network ACL a subnet is associated with. By default when you create a\n\t\t\tsubnet, it's automatically associated with the default network ACL. For more\n\t\t\tinformation, see Network ACLs in the Amazon VPC User Guide.
\nThis is an idempotent operation.
", + "smithy.api#examples": [ + { + "title": "To replace the network ACL associated with a subnet", + "documentation": "This example associates the specified network ACL with the subnet for the specified network ACL association.", + "input": { + "AssociationId": "aclassoc-e5b95c8c", + "NetworkAclId": "acl-5fb85d36" + }, + "output": { + "NewAssociationId": "aclassoc-3999875b" + } + } + ] } }, "com.amazonaws.ec2#ReplaceNetworkAclAssociationRequest": { @@ -83560,7 +84227,25 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Replaces an entry (rule) in a network ACL. For more information, see Network ACLs in the\n\t\t\t\tAmazon VPC User Guide.
" + "smithy.api#documentation": "Replaces an entry (rule) in a network ACL. For more information, see Network ACLs in the\n\t\t\t\tAmazon VPC User Guide.
", + "smithy.api#examples": [ + { + "title": "To replace a network ACL entry", + "documentation": "This example replaces an entry for the specified network ACL. The new rule 100 allows ingress traffic from 203.0.113.12/24 on UDP port 53 (DNS) into any associated subnet.", + "input": { + "NetworkAclId": "acl-5fb85d36", + "RuleNumber": 100, + "Protocol": "17", + "RuleAction": "allow", + "Egress": false, + "CidrBlock": "203.0.113.12/24", + "PortRange": { + "From": 53, + "To": 53 + } + } + } + ] } }, "com.amazonaws.ec2#ReplaceNetworkAclEntryRequest": { @@ -83817,7 +84502,18 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "Replaces an existing route within a route table in a VPC.
\nYou must specify either a destination CIDR block or a prefix list ID. You must also specify \n exactly one of the resources from the parameter list, or reset the local route to its default \n target.
\nFor more information, see Route tables in the\n Amazon VPC User Guide.
" + "smithy.api#documentation": "Replaces an existing route within a route table in a VPC.
\nYou must specify either a destination CIDR block or a prefix list ID. You must also specify \n exactly one of the resources from the parameter list, or reset the local route to its default \n target.
\nFor more information, see Route tables in the\n Amazon VPC User Guide.
", + "smithy.api#examples": [ + { + "title": "To replace a route", + "documentation": "This example replaces the specified route in the specified table table. The new route matches the specified CIDR and sends the traffic to the specified virtual private gateway.", + "input": { + "RouteTableId": "rtb-22574640", + "DestinationCidrBlock": "10.0.0.0/16", + "GatewayId": "vgw-9a4cacf3" + } + } + ] } }, "com.amazonaws.ec2#ReplaceRouteRequest": { @@ -83965,7 +84661,20 @@ "target": "com.amazonaws.ec2#ReplaceRouteTableAssociationResult" }, "traits": { - "smithy.api#documentation": "Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC. After the operation\n completes, the subnet or gateway uses the routes in the new route table. For more\n information about route tables, see Route\n tables in the Amazon VPC User Guide.
\nYou can also use this operation to change which table is the main route table in the VPC. Specify the main route table's association ID and the route table ID of the new main route table.
" + "smithy.api#documentation": "Changes the route table associated with a given subnet, internet gateway, or virtual private gateway in a VPC. After the operation\n completes, the subnet or gateway uses the routes in the new route table. For more\n information about route tables, see Route\n tables in the Amazon VPC User Guide.
\nYou can also use this operation to change which table is the main route table in the VPC. Specify the main route table's association ID and the route table ID of the new main route table.
", + "smithy.api#examples": [ + { + "title": "To replace the route table associated with a subnet", + "documentation": "This example associates the specified route table with the subnet for the specified route table association.", + "input": { + "AssociationId": "rtbassoc-781d0d1a", + "RouteTableId": "rtb-22574640" + }, + "output": { + "NewAssociationId": "rtbassoc-3a1f0f58" + } + } + ] } }, "com.amazonaws.ec2#ReplaceRouteTableAssociationRequest": { @@ -84651,7 +85360,39 @@ "target": "com.amazonaws.ec2#RequestSpotFleetResponse" }, "traits": { - "smithy.api#documentation": "Creates a Spot Fleet request.
\nThe Spot Fleet request specifies the total target capacity and the On-Demand target\n capacity. Amazon EC2 calculates the difference between the total capacity and On-Demand\n capacity, and launches the difference as Spot capacity.
\nYou can submit a single request that includes multiple launch specifications that vary\n by instance type, AMI, Availability Zone, or subnet.
\nBy default, the Spot Fleet requests Spot Instances in the Spot Instance pool where the\n price per unit is the lowest. Each launch specification can include its own instance\n weighting that reflects the value of the instance type to your application\n workload.
\nAlternatively, you can specify that the Spot Fleet distribute the target capacity\n across the Spot pools included in its launch specifications. By ensuring that the Spot\n Instances in your Spot Fleet are in different Spot pools, you can improve the\n availability of your fleet.
\nYou can specify tags for the Spot Fleet request and instances launched by the fleet.\n You cannot tag other resource types in a Spot Fleet request because only the\n spot-fleet-request
and instance
resource types are\n supported.
For more information, see Spot Fleet requests\n in the Amazon EC2 User Guide.
\nWe strongly discourage using the RequestSpotFleet API because it is a legacy\n API with no planned investment. For options for requesting Spot Instances, see\n Which\n is the best Spot request method to use? in the\n Amazon EC2 User Guide.
\nCreates a Spot Fleet request.
\nThe Spot Fleet request specifies the total target capacity and the On-Demand target\n capacity. Amazon EC2 calculates the difference between the total capacity and On-Demand\n capacity, and launches the difference as Spot capacity.
\nYou can submit a single request that includes multiple launch specifications that vary\n by instance type, AMI, Availability Zone, or subnet.
\nBy default, the Spot Fleet requests Spot Instances in the Spot Instance pool where the\n price per unit is the lowest. Each launch specification can include its own instance\n weighting that reflects the value of the instance type to your application\n workload.
\nAlternatively, you can specify that the Spot Fleet distribute the target capacity\n across the Spot pools included in its launch specifications. By ensuring that the Spot\n Instances in your Spot Fleet are in different Spot pools, you can improve the\n availability of your fleet.
\nYou can specify tags for the Spot Fleet request and instances launched by the fleet.\n You cannot tag other resource types in a Spot Fleet request because only the\n spot-fleet-request
and instance
resource types are\n supported.
For more information, see Spot Fleet requests\n in the Amazon EC2 User Guide.
\nWe strongly discourage using the RequestSpotFleet API because it is a legacy\n API with no planned investment. For options for requesting Spot Instances, see\n Which\n is the best Spot request method to use? in the\n Amazon EC2 User Guide.
\nResets an attribute of an instance to its default value. To reset the\n kernel
or ramdisk
, the instance must be in a stopped\n state. To reset the sourceDestCheck
, the instance can be either running or\n stopped.
The sourceDestCheck
attribute controls whether source/destination\n checking is enabled. The default value is true
, which means checking is\n enabled. This value must be false
for a NAT instance to perform NAT. For\n more information, see NAT Instances in the\n Amazon VPC User Guide.
Resets an attribute of an instance to its default value. To reset the\n kernel
or ramdisk
, the instance must be in a stopped\n state. To reset the sourceDestCheck
, the instance can be either running or\n stopped.
The sourceDestCheck
attribute controls whether source/destination\n checking is enabled. The default value is true
, which means checking is\n enabled. This value must be false
for a NAT instance to perform NAT. For\n more information, see NAT Instances in the\n Amazon VPC User Guide.
Unassigns one or more secondary private IP addresses, or IPv4 Prefix Delegation prefixes from a \n \tnetwork interface.
" + "smithy.api#documentation": "Unassigns one or more secondary private IP addresses, or IPv4 Prefix Delegation prefixes from a \n \tnetwork interface.
", + "smithy.api#examples": [ + { + "title": "To unassign a secondary private IP address from a network interface", + "documentation": "This example unassigns the specified private IP address from the specified network interface.", + "input": { + "NetworkInterfaceId": "eni-e5aa89a3", + "PrivateIpAddresses": [ + "10.0.0.82" + ] + } + } + ] } }, "com.amazonaws.ec2#UnassignPrivateIpAddressesRequest": { diff --git a/codegen/sdk-codegen/aws-models/ecs.json b/codegen/sdk-codegen/aws-models/ecs.json index 0aec870ef2f..e575905c962 100644 --- a/codegen/sdk-codegen/aws-models/ecs.json +++ b/codegen/sdk-codegen/aws-models/ecs.json @@ -8391,7 +8391,7 @@ "value": { "target": "com.amazonaws.ecs#String", "traits": { - "smithy.api#documentation": "The account setting value for the specified principal ARN. Accepted values are\n\t\t\t\tenabled
, disabled
, on
, and\n\t\t\toff
.
When you specify fargateTaskRetirementWaitPeriod
for the\n\t\t\t\tname
, the following are the valid values:
\n 0
- immediately retire the tasks and patch Fargate
There is no advanced notification. Your tasks are retired immediately, and\n\t\t\t\t\tFargate is patched without any notification.
\n\n 7
-wait 7 calendar days to retire the tasks and patch Fargate\n\t\t\t\t
\n 14
- wait 14 calendar days to retire the tasks and patch\n\t\t\t\t\tFargate
The account setting value for the specified principal ARN. Accepted values are\n\t\t\t\tenabled
, disabled
, on
, and\n\t\t\toff
.
When you specify fargateTaskRetirementWaitPeriod
for the\n\t\t\t\tname
, the following are the valid values:
\n 0
- Amazon Web Services sends the notification, and immediately retires the affected tasks.
\n 7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the tasks.
\n 14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the tasks.
The account setting value for the specified principal ARN. Accepted values are\n\t\t\t\tenabled
, disabled
, on
, and\n\t\t\toff
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the\n\t\t\tfollowing are the valid values:
\n 0
- immediately retire the tasks and patch Fargate
There is no advanced notification. Your tasks are retired immediately, and Fargate\n\t\t\t\t\tis patched without any notification.
\n\n 7
-wait 7 calendar days to retire the tasks and patch Fargate
\n 14
- wait 14 calendar days to retire the tasks and patch Fargate
The account setting value for the specified principal ARN. Accepted values are\n\t\t\t\tenabled
, disabled
, on
, and\n\t\t\toff
.
When you specify fargateTaskRetirementWaitPeriod
for the name
, the\n\t\t\tfollowing are the valid values:
\n 0
- Amazon Web Services sends the notification, and immediately retires the affected tasks.
\n 7
- Amazon Web Services sends the notification, and waits 7 calendar days to retire the tasks.
\n 14
- Amazon Web Services sends the notification, and waits 14 calendar days to retire the tasks.
Specifies whether an Aurora DB cluster has in-cluster write forwarding enabled, not enabled, requested, or is in the process \n of enabling it.
" } + }, + "AwsBackupRecoveryPointArn": { + "target": "com.amazonaws.rds#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
" + } } }, "traits": { @@ -7051,6 +7057,12 @@ "traits": { "smithy.api#documentation": "The IOPS (I/O operations per second) value for the automated backup.
\nThis setting is only for non-Aurora Multi-AZ DB clusters.
" } + }, + "AwsBackupRecoveryPointArn": { + "target": "com.amazonaws.rds#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
" + } } }, "traits": { @@ -8941,6 +8953,12 @@ "traits": { "smithy.api#documentation": "Specifies the storage throughput for the automated backup.
" } + }, + "AwsBackupRecoveryPointArn": { + "target": "com.amazonaws.rds#String", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
" + } } }, "traits": { @@ -19294,6 +19312,12 @@ "traits": { "smithy.api#documentation": "Specifies whether read replicas can forward write operations to the writer DB instance in the DB cluster. By\n default, write operations aren't allowed on reader DB instances.
\nValid for: Aurora DB clusters only
" } + }, + "AwsBackupRecoveryPointArn": { + "target": "com.amazonaws.rds#AwsBackupRecoveryPointArn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the recovery point in Amazon Web Services Backup.
" + } } }, "traits": { @@ -23947,6 +23971,9 @@ { "target": "com.amazonaws.rds#DBSnapshotNotFoundFault" }, + { + "target": "com.amazonaws.rds#DBSubnetGroupDoesNotCoverEnoughAZs" + }, { "target": "com.amazonaws.rds#DBSubnetGroupNotFoundFault" }, diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index bc1720a6c9b..8e5b1a7f653 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -7127,7 +7127,7 @@ } ], "traits": { - "smithy.api#documentation": "Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the\n resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify.
\nIf\n you choose to host your model using Amazon SageMaker hosting services, you can use the resulting\n model artifacts as part of the model. You can also use the artifacts with\n Amazon Web Services\n IoT Greengrass. In that case, deploy them as an ML\n resource.
\nIn the request body, you provide the following:
\nA name for the compilation job
\nInformation about the input model artifacts
\nThe output location for the compiled model and the device (target) that the\n model runs on
\nThe Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker assumes to perform\n the model compilation job.
\nYou can also provide a Tag
to track the model compilation job's resource\n use and costs. The response body contains the\n CompilationJobArn
\n for the compiled job.
To stop a model compilation job, use StopCompilationJob. To get\n information about a particular model compilation job, use DescribeCompilationJob. To get information about multiple model\n compilation jobs, use ListCompilationJobs.
" + "smithy.api#documentation": "Starts a model compilation job. After the model has been compiled, Amazon SageMaker saves the\n resulting model artifacts to an Amazon Simple Storage Service (Amazon S3) bucket that you specify.
\nIf\n you choose to host your model using Amazon SageMaker hosting services, you can use the resulting\n model artifacts as part of the model. You can also use the artifacts with\n Amazon Web Services IoT Greengrass. In that case, deploy them as an ML\n resource.
\nIn the request body, you provide the following:
\nA name for the compilation job
\nInformation about the input model artifacts
\nThe output location for the compiled model and the device (target) that the\n model runs on
\nThe Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker assumes to perform\n the model compilation job.
\nYou can also provide a Tag
to track the model compilation job's resource\n use and costs. The response body contains the\n CompilationJobArn
\n for the compiled job.
To stop a model compilation job, use StopCompilationJob. To get information about a particular model compilation\n job, use DescribeCompilationJob. To get information about multiple model compilation\n jobs, use ListCompilationJobs.
" } }, "com.amazonaws.sagemaker#CreateCompilationJobRequest": { @@ -7136,7 +7136,7 @@ "CompilationJobName": { "target": "com.amazonaws.sagemaker#EntityName", "traits": { - "smithy.api#documentation": "A name for the model compilation job. The name must be unique within the Amazon Web Services Region\n and within your Amazon Web Services account.
", + "smithy.api#documentation": "A name for the model compilation job. The name must be unique within the Amazon Web Services Region and within your Amazon Web Services account.
", "smithy.api#required": {} } }, @@ -7169,7 +7169,7 @@ "VpcConfig": { "target": "com.amazonaws.sagemaker#NeoVpcConfig", "traits": { - "smithy.api#documentation": "A VpcConfig object that specifies the VPC that you want your\n compilation job to connect to. Control access to your models by\n configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon\n Virtual Private Cloud.
" + "smithy.api#documentation": "A VpcConfig object that specifies the VPC that you want your compilation job\n to connect to. Control access to your models by configuring the VPC. For more\n information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.
" } }, "StoppingCondition": { @@ -7182,7 +7182,7 @@ "Tags": { "target": "com.amazonaws.sagemaker#TagList", "traits": { - "smithy.api#documentation": "An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in\n different ways, for example, by purpose, owner, or environment. For more information,\n see Tagging Amazon Web Services\n Resources.
" + "smithy.api#documentation": "An array of key-value pairs. You can use tags to categorize your Amazon Web Services\n resources in different ways, for example, by purpose, owner, or environment. For more\n information, see Tagging Amazon Web Services Resources.
" } } }, @@ -7595,7 +7595,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates an edge deployment plan, consisting of multiple stages. Each stage may have a different deployment configuration and devices.
" + "smithy.api#documentation": "Creates an edge deployment plan, consisting of multiple stages. Each stage may have a\n different deployment configuration and devices.
" } }, "com.amazonaws.sagemaker#CreateEdgeDeploymentPlanRequest": { @@ -7625,7 +7625,7 @@ "Stages": { "target": "com.amazonaws.sagemaker#DeploymentStages", "traits": { - "smithy.api#documentation": "List of stages of the edge deployment plan. The number of stages is limited to 10 per deployment.
" + "smithy.api#documentation": "List of stages of the edge deployment plan. The number of stages is limited to 10 per\n deployment.
" } }, "Tags": { @@ -12333,7 +12333,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an edge deployment plan if (and only if) all the stages in the plan are inactive or there are no stages in the plan.
" + "smithy.api#documentation": "Deletes an edge deployment plan if (and only if) all the stages in the plan are\n inactive or there are no stages in the plan.
" } }, "com.amazonaws.sagemaker#DeleteEdgeDeploymentPlanRequest": { @@ -12365,7 +12365,7 @@ } ], "traits": { - "smithy.api#documentation": "Delete a stage in an edge deployment plan if (and only if) the stage is inactive.
" + "smithy.api#documentation": "Delete a stage in an edge deployment plan if (and only if) the stage is\n inactive.
" } }, "com.amazonaws.sagemaker#DeleteEdgeDeploymentStageRequest": { @@ -13813,6 +13813,20 @@ "smithy.api#input": {} } }, + "com.amazonaws.sagemaker#DerivedInformation": { + "type": "structure", + "members": { + "DerivedDataInputConfig": { + "target": "com.amazonaws.sagemaker#DataInputConfig", + "traits": { + "smithy.api#documentation": "The data input configuration that SageMaker Neo automatically derived for the model.\n When SageMaker Neo derives this information, you don't need to specify the data input\n configuration when you create a compilation job.
" + } + } + }, + "traits": { + "smithy.api#documentation": "Information that SageMaker Neo automatically derived about the model.
" + } + }, "com.amazonaws.sagemaker#DescribeAction": { "type": "operation", "input": { @@ -14772,7 +14786,7 @@ } ], "traits": { - "smithy.api#documentation": "Returns information about a model compilation job.
\nTo create a model compilation job, use CreateCompilationJob. To get\n information about multiple model compilation jobs, use ListCompilationJobs.
" + "smithy.api#documentation": "Returns information about a model compilation job.
\nTo create a model compilation job, use CreateCompilationJob. To get information about multiple model compilation\n jobs, use ListCompilationJobs.
" } }, "com.amazonaws.sagemaker#DescribeCompilationJobRequest": { @@ -14817,7 +14831,7 @@ "CompilationStartTime": { "target": "com.amazonaws.sagemaker#Timestamp", "traits": { - "smithy.api#documentation": "The time when the model compilation job started the CompilationJob
\n instances.
You are billed for the time between this timestamp and the timestamp in the CompilationEndTime
field. In Amazon CloudWatch Logs,\n the start time might be later than this time. That's because it takes time to download\n the compilation job, which depends on the size of the compilation job container.
The time when the model compilation job started the CompilationJob
\n instances.
You are billed for the time between this timestamp and the timestamp in the\n CompilationEndTime
field. In Amazon CloudWatch Logs, the start time might be later\n than this time. That's because it takes time to download the compilation job, which\n depends on the size of the compilation job container.
The inference image to use when compiling a model. \n Specify an image only if the target device is a cloud instance.
" + "smithy.api#documentation": "The inference image to use when compiling a model. Specify an image only if the target\n device is a cloud instance.
" } }, "ModelPackageVersionArn": { @@ -14876,7 +14890,7 @@ "ModelDigests": { "target": "com.amazonaws.sagemaker#ModelDigests", "traits": { - "smithy.api#documentation": "Provides a BLAKE2 hash value that identifies the compiled model artifacts in Amazon S3.
" + "smithy.api#documentation": "Provides a BLAKE2 hash value that identifies the compiled model artifacts in\n Amazon S3.
" } }, "RoleArn": { @@ -14903,7 +14917,13 @@ "VpcConfig": { "target": "com.amazonaws.sagemaker#NeoVpcConfig", "traits": { - "smithy.api#documentation": "A VpcConfig object that specifies the VPC that you want your\n compilation job to connect to. Control access to your models by\n configuring the VPC. For more information, see Protect Compilation Jobs by Using an Amazon\n Virtual Private Cloud.
" + "smithy.api#documentation": "A VpcConfig object that specifies the VPC that you want your compilation job\n to connect to. Control access to your models by configuring the VPC. For more\n information, see Protect Compilation Jobs by Using an Amazon Virtual Private Cloud.
" + } + }, + "DerivedInformation": { + "target": "com.amazonaws.sagemaker#DerivedInformation", + "traits": { + "smithy.api#documentation": "Information that SageMaker Neo automatically derived about the model.
" } } }, @@ -15535,7 +15555,7 @@ "NextToken": { "target": "com.amazonaws.sagemaker#NextToken", "traits": { - "smithy.api#documentation": "If the edge deployment plan has enough stages to require tokening, then this is the response from the last list of stages returned.
" + "smithy.api#documentation": "If the edge deployment plan has enough stages to require tokening, then this is the\n response from the last list of stages returned.
" } }, "MaxResults": { @@ -22161,7 +22181,7 @@ "FailureHandlingPolicy": { "target": "com.amazonaws.sagemaker#FailureHandlingPolicy", "traits": { - "smithy.api#documentation": "Toggle that determines whether to rollback to previous configuration if the current deployment fails.\n By default this is turned on. You may turn this off if you want to investigate the errors yourself.
", + "smithy.api#documentation": "Toggle that determines whether to rollback to previous configuration if the current\n deployment fails. By default this is turned on. You may turn this off if you want to\n investigate the errors yourself.
", "smithy.api#required": {} } } @@ -22301,7 +22321,7 @@ "target": "com.amazonaws.sagemaker#Integer", "traits": { "smithy.api#default": 0, - "smithy.api#documentation": "The number of edge devices yet to pick up the deployment in current stage, or in progress.
", + "smithy.api#documentation": "The number of edge devices yet to pick up the deployment in current stage, or in\n progress.
", "smithy.api#required": {} } }, @@ -28500,8 +28520,7 @@ "DataInputConfig": { "target": "com.amazonaws.sagemaker#DataInputConfig", "traits": { - "smithy.api#documentation": "Specifies the name and shape of the expected data inputs for your trained model with a\n JSON dictionary form. The data inputs are Framework
\n specific.
\n TensorFlow
: You must specify the name and shape (NHWC format) of\n the expected data inputs using a dictionary format for your trained model. The\n dictionary formats required for the console and CLI are different.
Examples for one input:
\nIf using the console,\n {\"input\":[1,1024,1024,3]}
\n
If using the CLI,\n {\\\"input\\\":[1,1024,1024,3]}
\n
Examples for two inputs:
\nIf using the console, {\"data1\": [1,28,28,1],\n \"data2\":[1,28,28,1]}
\n
If using the CLI, {\\\"data1\\\": [1,28,28,1],\n \\\"data2\\\":[1,28,28,1]}
\n
\n KERAS
: You must specify the name and shape (NCHW format) of\n expected data inputs using a dictionary format for your trained model. Note that\n while Keras model artifacts should be uploaded in NHWC (channel-last) format,\n DataInputConfig
should be specified in NCHW (channel-first)\n format. The dictionary formats required for the console and CLI are\n different.
Examples for one input:
\nIf using the console,\n {\"input_1\":[1,3,224,224]}
\n
If using the CLI,\n {\\\"input_1\\\":[1,3,224,224]}
\n
Examples for two inputs:
\nIf using the console, {\"input_1\": [1,3,224,224],\n \"input_2\":[1,3,224,224]}
\n
If using the CLI, {\\\"input_1\\\": [1,3,224,224],\n \\\"input_2\\\":[1,3,224,224]}
\n
\n MXNET/ONNX/DARKNET
: You must specify the name and shape (NCHW format) of\n the expected data inputs in order using a dictionary format for your trained\n model. The dictionary formats required for the console and CLI are\n different.
Examples for one input:
\nIf using the console,\n {\"data\":[1,3,1024,1024]}
\n
If using the CLI,\n {\\\"data\\\":[1,3,1024,1024]}
\n
Examples for two inputs:
\nIf using the console, {\"var1\": [1,1,28,28],\n \"var2\":[1,1,28,28]}
\n
If using the CLI, {\\\"var1\\\": [1,1,28,28],\n \\\"var2\\\":[1,1,28,28]}
\n
\n PyTorch
: You can either specify the name and shape (NCHW format)\n of expected data inputs in order using a dictionary format for your trained\n model or you can specify the shape only using a list format. The dictionary\n formats required for the console and CLI are different. The list formats for the\n console and CLI are the same.
Examples for one input in dictionary format:
\nIf using the console,\n {\"input0\":[1,3,224,224]}
\n
If using the CLI,\n {\\\"input0\\\":[1,3,224,224]}
\n
Example for one input in list format:\n [[1,3,224,224]]
\n
Examples for two inputs in dictionary format:
\nIf using the console, {\"input0\":[1,3,224,224],\n \"input1\":[1,3,224,224]}
\n
If using the CLI, {\\\"input0\\\":[1,3,224,224],\n \\\"input1\\\":[1,3,224,224]}
\n
Example for two inputs in list format: [[1,3,224,224],\n [1,3,224,224]]
\n
\n XGBOOST
: input data name and shape are not needed.
\n DataInputConfig
supports the following parameters for CoreML
\n TargetDevice
(ML Model format):
\n shape
: Input shape, for example {\"input_1\": {\"shape\": [1,224,224,3]}}
.\n In addition to static input shapes, CoreML converter supports Flexible input shapes:
Range Dimension. You can use the Range Dimension feature if you know the input shape\n will be within some specific interval in that dimension,\n for example: {\"input_1\": {\"shape\": [\"1..10\", 224, 224, 3]}}
\n
Enumerated shapes. Sometimes, the models are trained to work only on a select\n set of inputs. You can enumerate all supported input shapes,\n for example: {\"input_1\": {\"shape\": [[1, 224, 224, 3], [1, 160, 160, 3]]}}
\n
\n default_shape
: Default input shape. You can set a default shape during\n conversion for both Range Dimension and Enumerated Shapes. For example\n {\"input_1\": {\"shape\": [\"1..10\", 224, 224, 3], \"default_shape\": [1, 224, 224, 3]}}
\n
\n type
: Input type. Allowed values: Image
and Tensor
.\n By default, the converter generates an ML Model with inputs of type Tensor (MultiArray).\n User can set input type to be Image. Image input type requires additional input parameters\n such as bias
and scale
.
\n bias
: If the input type is an Image, you need to provide the bias vector.
\n scale
: If the input type is an Image, you need to provide a scale factor.
CoreML ClassifierConfig
parameters can be specified using OutputConfig\n CompilerOptions
. CoreML converter supports Tensorflow and PyTorch models.\n CoreML conversion examples:
Tensor type input:
\n\n \"DataInputConfig\": {\"input_1\": {\"shape\": [[1,224,224,3], [1,160,160,3]], \"default_shape\":\n [1,224,224,3]}}
\n
Tensor type input without input name (PyTorch):
\n\n \"DataInputConfig\": [{\"shape\": [[1,3,224,224], [1,3,160,160]], \"default_shape\":\n [1,3,224,224]}]
\n
Image type input:
\n\n \"DataInputConfig\": {\"input_1\": {\"shape\": [[1,224,224,3], [1,160,160,3]], \"default_shape\":\n [1,224,224,3], \"type\": \"Image\", \"bias\": [-1,-1,-1], \"scale\": 0.007843137255}}
\n
\n \"CompilerOptions\": {\"class_labels\": \"imagenet_labels_1000.txt\"}
\n
Image type input without input name (PyTorch):
\n\n \"DataInputConfig\": [{\"shape\": [[1,3,224,224], [1,3,160,160]], \"default_shape\":\n [1,3,224,224], \"type\": \"Image\", \"bias\": [-1,-1,-1], \"scale\": 0.007843137255}]
\n
\n \"CompilerOptions\": {\"class_labels\": \"imagenet_labels_1000.txt\"}
\n
Depending on the model format, DataInputConfig
requires the following parameters for \n ml_eia2
\n OutputConfig:TargetDevice.
For TensorFlow models saved in the SavedModel format, specify the input names \n from signature_def_key
and the input model shapes for DataInputConfig
. \n Specify the signature_def_key
in \n \n OutputConfig:CompilerOptions
\n if \n the model does not use TensorFlow's default signature def key. For example:
\n \"DataInputConfig\": {\"inputs\": [1, 224, 224, 3]}
\n
\n \"CompilerOptions\": {\"signature_def_key\": \"serving_custom\"}
\n
For TensorFlow models saved as a frozen graph, specify the input tensor names and shapes \n in DataInputConfig
and the output tensor names for output_names
in \n \n OutputConfig:CompilerOptions
\n .\n For example:
\n \"DataInputConfig\": {\"input_tensor:0\": [1, 224, 224, 3]}
\n
\n \"CompilerOptions\": {\"output_names\": [\"output_tensor:0\"]}
\n
Specifies the name and shape of the expected data inputs for your trained model with a\n JSON dictionary form. The data inputs are Framework
specific.
\n TensorFlow
: You must specify the name and shape (NHWC format) of\n the expected data inputs using a dictionary format for your trained model. The\n dictionary formats required for the console and CLI are different.
Examples for one input:
\nIf using the console,\n {\"input\":[1,1024,1024,3]}
\n
If using the CLI,\n {\\\"input\\\":[1,1024,1024,3]}
\n
Examples for two inputs:
\nIf using the console, {\"data1\": [1,28,28,1],\n \"data2\":[1,28,28,1]}
\n
If using the CLI, {\\\"data1\\\": [1,28,28,1],\n \\\"data2\\\":[1,28,28,1]}
\n
\n KERAS
: You must specify the name and shape (NCHW format) of\n expected data inputs using a dictionary format for your trained model. Note that\n while Keras model artifacts should be uploaded in NHWC (channel-last) format,\n DataInputConfig
should be specified in NCHW (channel-first)\n format. The dictionary formats required for the console and CLI are\n different.
Examples for one input:
\nIf using the console,\n {\"input_1\":[1,3,224,224]}
\n
If using the CLI,\n {\\\"input_1\\\":[1,3,224,224]}
\n
Examples for two inputs:
\nIf using the console, {\"input_1\": [1,3,224,224],\n \"input_2\":[1,3,224,224]}
\n
If using the CLI, {\\\"input_1\\\": [1,3,224,224],\n \\\"input_2\\\":[1,3,224,224]}
\n
\n MXNET/ONNX/DARKNET
: You must specify the name and shape (NCHW\n format) of the expected data inputs in order using a dictionary format for your\n trained model. The dictionary formats required for the console and CLI are\n different.
Examples for one input:
\nIf using the console,\n {\"data\":[1,3,1024,1024]}
\n
If using the CLI,\n {\\\"data\\\":[1,3,1024,1024]}
\n
Examples for two inputs:
\nIf using the console, {\"var1\": [1,1,28,28],\n \"var2\":[1,1,28,28]}
\n
If using the CLI, {\\\"var1\\\": [1,1,28,28],\n \\\"var2\\\":[1,1,28,28]}
\n
\n PyTorch
: You can either specify the name and shape (NCHW format)\n of expected data inputs in order using a dictionary format for your trained\n model or you can specify the shape only using a list format. The dictionary\n formats required for the console and CLI are different. The list formats for the\n console and CLI are the same.
Examples for one input in dictionary format:
\nIf using the console,\n {\"input0\":[1,3,224,224]}
\n
If using the CLI,\n {\\\"input0\\\":[1,3,224,224]}
\n
Example for one input in list format:\n [[1,3,224,224]]
\n
Examples for two inputs in dictionary format:
\nIf using the console, {\"input0\":[1,3,224,224],\n \"input1\":[1,3,224,224]}
\n
If using the CLI, {\\\"input0\\\":[1,3,224,224],\n \\\"input1\\\":[1,3,224,224]}
\n
Example for two inputs in list format: [[1,3,224,224],\n [1,3,224,224]]
\n
\n XGBOOST
: input data name and shape are not needed.
\n DataInputConfig
supports the following parameters for CoreML
\n TargetDevice
(ML Model format):
\n shape
: Input shape, for example {\"input_1\": {\"shape\":\n [1,224,224,3]}}
. In addition to static input shapes, CoreML converter\n supports Flexible input shapes:
Range Dimension. You can use the Range Dimension feature if you know\n the input shape will be within some specific interval in that dimension,\n for example: {\"input_1\": {\"shape\": [\"1..10\", 224, 224,\n 3]}}
\n
Enumerated shapes. Sometimes, the models are trained to work only on a\n select set of inputs. You can enumerate all supported input shapes, for\n example: {\"input_1\": {\"shape\": [[1, 224, 224, 3], [1, 160, 160,\n 3]]}}
\n
\n default_shape
: Default input shape. You can set a default shape\n during conversion for both Range Dimension and Enumerated Shapes. For example\n {\"input_1\": {\"shape\": [\"1..10\", 224, 224, 3], \"default_shape\": [1,\n 224, 224, 3]}}
\n
\n type
: Input type. Allowed values: Image
and\n Tensor
. By default, the converter generates an ML Model with\n inputs of type Tensor (MultiArray). User can set input type to be Image. Image\n input type requires additional input parameters such as bias
and\n scale
.
\n bias
: If the input type is an Image, you need to provide the bias\n vector.
\n scale
: If the input type is an Image, you need to provide a scale\n factor.
CoreML ClassifierConfig
parameters can be specified using OutputConfig\n CompilerOptions
. CoreML converter supports Tensorflow and PyTorch models.\n CoreML conversion examples:
Tensor type input:
\n\n \"DataInputConfig\": {\"input_1\": {\"shape\": [[1,224,224,3],\n [1,160,160,3]], \"default_shape\": [1,224,224,3]}}
\n
Tensor type input without input name (PyTorch):
\n\n \"DataInputConfig\": [{\"shape\": [[1,3,224,224], [1,3,160,160]],\n \"default_shape\": [1,3,224,224]}]
\n
Image type input:
\n\n \"DataInputConfig\": {\"input_1\": {\"shape\": [[1,224,224,3],\n [1,160,160,3]], \"default_shape\": [1,224,224,3], \"type\": \"Image\",\n \"bias\": [-1,-1,-1], \"scale\": 0.007843137255}}
\n
\n \"CompilerOptions\": {\"class_labels\":\n \"imagenet_labels_1000.txt\"}
\n
Image type input without input name (PyTorch):
\n\n \"DataInputConfig\": [{\"shape\": [[1,3,224,224], [1,3,160,160]],\n \"default_shape\": [1,3,224,224], \"type\": \"Image\", \"bias\": [-1,-1,-1],\n \"scale\": 0.007843137255}]
\n
\n \"CompilerOptions\": {\"class_labels\":\n \"imagenet_labels_1000.txt\"}
\n
Depending on the model format, DataInputConfig
requires the following\n parameters for ml_eia2
\n OutputConfig:TargetDevice.
For TensorFlow models saved in the SavedModel format, specify the input names\n from signature_def_key
and the input model shapes for\n DataInputConfig
. Specify the signature_def_key
in\n \n OutputConfig:CompilerOptions
\n if the model does not\n use TensorFlow's default signature def key. For example:
\n \"DataInputConfig\": {\"inputs\": [1, 224, 224, 3]}
\n
\n \"CompilerOptions\": {\"signature_def_key\":\n \"serving_custom\"}
\n
For TensorFlow models saved as a frozen graph, specify the input tensor names\n and shapes in DataInputConfig
and the output tensor names for\n output_names
in \n OutputConfig:CompilerOptions
\n . For\n example:
\n \"DataInputConfig\": {\"input_tensor:0\": [1, 224, 224,\n 3]}
\n
\n \"CompilerOptions\": {\"output_names\":\n [\"output_tensor:0\"]}
\n
Specifies the framework version to use. This API field is only supported for the MXNet,\n\t PyTorch, TensorFlow and TensorFlow Lite frameworks.
\nFor information about framework versions supported for cloud targets and edge devices, see \n Cloud Supported Instance Types and Frameworks and \n Edge Supported Frameworks.
" + "smithy.api#documentation": "Specifies the framework version to use. This API field is only supported for the\n MXNet, PyTorch, TensorFlow and TensorFlow Lite frameworks.
\nFor information about framework versions supported for cloud targets and edge devices,\n see Cloud\n Supported Instance Types and Frameworks and Edge Supported\n Frameworks.
" } } }, @@ -31152,7 +31171,7 @@ "target": "com.amazonaws.sagemaker#ListCompilationJobsResponse" }, "traits": { - "smithy.api#documentation": "Lists model compilation jobs that satisfy various filters.
\nTo create a model compilation job, use CreateCompilationJob. To get\n information about a particular model compilation job you have created, use DescribeCompilationJob.
", + "smithy.api#documentation": "Lists model compilation jobs that satisfy various filters.
\nTo create a model compilation job, use CreateCompilationJob. To get information about a particular model\n compilation job you have created, use DescribeCompilationJob.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -31209,7 +31228,7 @@ "StatusEquals": { "target": "com.amazonaws.sagemaker#CompilationJobStatus", "traits": { - "smithy.api#documentation": "A filter that retrieves model compilation jobs with a specific CompilationJobStatus
status.
A filter that retrieves model compilation jobs with a specific\n CompilationJobStatus
status.
An array of CompilationJobSummary objects, each describing a model\n compilation job.
", + "smithy.api#documentation": "An array of CompilationJobSummary objects, each describing a model compilation job.\n
", "smithy.api#required": {} } }, @@ -31752,7 +31771,7 @@ "NextToken": { "target": "com.amazonaws.sagemaker#NextToken", "traits": { - "smithy.api#documentation": "The response from the last list when returning a list large enough to need tokening.
" + "smithy.api#documentation": "The response from the last list when returning a list large enough to need\n tokening.
" } }, "MaxResults": { @@ -31801,7 +31820,7 @@ "SortBy": { "target": "com.amazonaws.sagemaker#ListEdgeDeploymentPlansSortBy", "traits": { - "smithy.api#documentation": "The column by which to sort the edge deployment plans. Can be one of NAME
, DEVICEFLEETNAME
, CREATIONTIME
, LASTMODIFIEDTIME
.
The column by which to sort the edge deployment plans. Can be one of\n NAME
, DEVICEFLEETNAME
, CREATIONTIME
,\n LASTMODIFIEDTIME
.
Lists devices allocated to the stage, containing detailed device information and deployment status.
", + "smithy.api#documentation": "Lists devices allocated to the stage, containing detailed device information and\n deployment status.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", @@ -36141,7 +36160,7 @@ "NextToken": { "target": "com.amazonaws.sagemaker#NextToken", "traits": { - "smithy.api#documentation": "The response from the last list when returning a list large enough to neeed tokening.
" + "smithy.api#documentation": "The response from the last list when returning a list large enough to neeed\n tokening.
" } }, "MaxResults": { @@ -38960,7 +38979,7 @@ "Percentile": { "target": "com.amazonaws.sagemaker#String64", "traits": { - "smithy.api#documentation": "The model latency percentile threshold. For custom load tests, specify the value as P95
.
The model latency percentile threshold. Acceptable values are P95
and P99
.\n For custom load tests, specify the value as P95
.
The VPC security group IDs. IDs have the form of sg-xxxxxxxx
. \n Specify the security groups for the VPC that is specified in the Subnets
field.
The VPC security group IDs. IDs have the form of sg-xxxxxxxx
. Specify the\n security groups for the VPC that is specified in the Subnets
field.
The ID of the subnets in the VPC that you want to connect the \n compilation job to for accessing the model in Amazon S3.
", + "smithy.api#documentation": "The ID of the subnets in the VPC that you want to connect the compilation job to for\n accessing the model in Amazon S3.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "The VpcConfig configuration object that specifies the VPC that you \n want the compilation jobs to connect to. For more information on \n controlling access to your Amazon S3 buckets used for compilation job, see \n Give Amazon SageMaker Compilation Jobs Access to Resources in Your Amazon VPC.
" + "smithy.api#documentation": "The VpcConfig configuration object that specifies the VPC that you want the\n compilation jobs to connect to. For more information on controlling access to your Amazon S3\n buckets used for compilation job, see Give Amazon SageMaker Compilation Jobs Access to\n Resources in Your Amazon VPC.
" } }, "com.amazonaws.sagemaker#NeoVpcSecurityGroupId": { @@ -42461,7 +42480,7 @@ "TargetDevice": { "target": "com.amazonaws.sagemaker#TargetDevice", "traits": { - "smithy.api#documentation": "Identifies the target device or the machine learning instance that you want to run\n your model on after the compilation has completed. Alternatively, you can specify OS,\n architecture, and accelerator using TargetPlatform fields. It can be\n used instead of TargetPlatform
.
Currently ml_trn1
is available only in US East (N. Virginia) Region,\n and ml_inf2
is available only in US East (Ohio) Region.
Identifies the target device or the machine learning instance that you want to run\n your model on after the compilation has completed. Alternatively, you can specify OS,\n architecture, and accelerator using TargetPlatform\n fields. It can be used instead of TargetPlatform
.
Currently ml_trn1
is available only in US East (N. Virginia) Region,\n and ml_inf2
is available only in US East (Ohio) Region.
Specifies additional parameters for compiler options in JSON format. The compiler\n options are TargetPlatform
specific. It is required for NVIDIA accelerators\n and highly recommended for CPU compilations. For any other cases, it is optional to\n specify CompilerOptions.
\n
\n DTYPE
: Specifies the data type for the input. When compiling for\n ml_*
(except for ml_inf
) instances using PyTorch\n framework, provide the data type (dtype) of the model's input.\n \"float32\"
is used if \"DTYPE\"
is not specified.\n Options for data type are:
float32: Use either \"float\"
or \"float32\"
.
int64: Use either \"int64\"
or \"long\"
.
For example, {\"dtype\" : \"float32\"}
.
\n CPU
: Compilation for CPU supports the following compiler\n options.
\n mcpu
: CPU micro-architecture. For example, {'mcpu':\n 'skylake-avx512'}
\n
\n mattr
: CPU flags. For example, {'mattr': ['+neon',\n '+vfpv4']}
\n
\n ARM
: Details of ARM CPU compilations.
\n NEON
: NEON is an implementation of the Advanced SIMD\n extension used in ARMv7 processors.
For example, add {'mattr': ['+neon']}
to the compiler\n options if compiling for ARM 32-bit platform with the NEON\n support.
\n NVIDIA
: Compilation for NVIDIA GPU supports the following\n compiler options.
\n gpu_code
: Specifies the targeted architecture.
\n trt-ver
: Specifies the TensorRT versions in x.y.z.\n format.
\n cuda-ver
: Specifies the CUDA version in x.y\n format.
For example, {'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver':\n '10.1'}
\n
\n ANDROID
: Compilation for the Android OS supports the following\n compiler options:
\n ANDROID_PLATFORM
: Specifies the Android API levels.\n Available levels range from 21 to 29. For example,\n {'ANDROID_PLATFORM': 28}
.
\n mattr
: Add {'mattr': ['+neon']}
to compiler\n options if compiling for ARM 32-bit platform with NEON support.
\n INFERENTIA
: Compilation for target ml_inf1 uses compiler options\n passed in as a JSON string. For example,\n \"CompilerOptions\": \"\\\"--verbose 1 --num-neuroncores 2 -O2\\\"\"
.\n
For information about supported compiler options, see\n \n Neuron Compiler CLI Reference Guide.\n
\n\n CoreML
: Compilation for the CoreML OutputConfig\n TargetDevice
supports the following compiler options:
\n class_labels
: Specifies the classification labels file\n name inside input tar.gz file. For example,\n {\"class_labels\": \"imagenet_labels_1000.txt\"}
.\n Labels inside the txt file should be separated by newlines.
\n EIA
: Compilation for the Elastic Inference Accelerator supports the following \n compiler options:
\n precision_mode
: Specifies the precision of compiled artifacts. Supported values\n are \"FP16\"
and \"FP32\"
. Default is\n \"FP32\"
.
\n signature_def_key
: Specifies the signature to use for models in SavedModel\n format. Defaults is TensorFlow's default signature def key.
\n output_names
: Specifies a list of output tensor names for \n models in FrozenGraph format. Set at most one API field, either: signature_def_key
or output_names
.
For example: \n {\"precision_mode\": \"FP32\", \"output_names\": [\"output:0\"]}
\n
Specifies additional parameters for compiler options in JSON format. The compiler\n options are TargetPlatform
specific. It is required for NVIDIA accelerators\n and highly recommended for CPU compilations. For any other cases, it is optional to\n specify CompilerOptions.
\n
\n DTYPE
: Specifies the data type for the input. When compiling for\n ml_*
(except for ml_inf
) instances using PyTorch\n framework, provide the data type (dtype) of the model's input.\n \"float32\"
is used if \"DTYPE\"
is not specified.\n Options for data type are:
float32: Use either \"float\"
or\n \"float32\"
.
int64: Use either \"int64\"
or \"long\"
.
For example, {\"dtype\" : \"float32\"}
.
\n CPU
: Compilation for CPU supports the following compiler\n options.
\n mcpu
: CPU micro-architecture. For example, {'mcpu':\n 'skylake-avx512'}
\n
\n mattr
: CPU flags. For example, {'mattr': ['+neon',\n '+vfpv4']}
\n
\n ARM
: Details of ARM CPU compilations.
\n NEON
: NEON is an implementation of the Advanced SIMD\n extension used in ARMv7 processors.
For example, add {'mattr': ['+neon']}
to the compiler\n options if compiling for ARM 32-bit platform with the NEON\n support.
\n NVIDIA
: Compilation for NVIDIA GPU supports the following\n compiler options.
\n gpu_code
: Specifies the targeted architecture.
\n trt-ver
: Specifies the TensorRT versions in x.y.z.\n format.
\n cuda-ver
: Specifies the CUDA version in x.y\n format.
For example, {'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver':\n '10.1'}
\n
\n ANDROID
: Compilation for the Android OS supports the following\n compiler options:
\n ANDROID_PLATFORM
: Specifies the Android API levels.\n Available levels range from 21 to 29. For example,\n {'ANDROID_PLATFORM': 28}
.
\n mattr
: Add {'mattr': ['+neon']}
to compiler\n options if compiling for ARM 32-bit platform with NEON support.
\n INFERENTIA
: Compilation for target ml_inf1 uses compiler options\n passed in as a JSON string. For example, \"CompilerOptions\": \"\\\"--verbose 1\n --num-neuroncores 2 -O2\\\"\"
.
For information about supported compiler options, see Neuron Compiler CLI Reference Guide.
\n\n CoreML
: Compilation for the CoreML OutputConfig\n TargetDevice
supports the following compiler options:
\n class_labels
: Specifies the classification labels file\n name inside input tar.gz file. For example, {\"class_labels\":\n \"imagenet_labels_1000.txt\"}
. Labels inside the txt file\n should be separated by newlines.
\n EIA
: Compilation for the Elastic Inference Accelerator supports\n the following compiler options:
\n precision_mode
: Specifies the precision of compiled\n artifacts. Supported values are \"FP16\"
and\n \"FP32\"
. Default is \"FP32\"
.
\n signature_def_key
: Specifies the signature to use for\n models in SavedModel format. Defaults is TensorFlow's default signature\n def key.
\n output_names
: Specifies a list of output tensor names for\n models in FrozenGraph format. Set at most one API field, either:\n signature_def_key
or output_names
.
For example: {\"precision_mode\": \"FP32\", \"output_names\":\n [\"output:0\"]}
\n
The Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker uses to encrypt your output models with Amazon S3 server-side encryption\n after compilation job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your role's account.\n For more information, see\n KMS-Managed Encryption\n Keys in the Amazon Simple Storage Service Developer Guide.\n
\nThe KmsKeyId can be any of the following formats:
\nKey ID: 1234abcd-12ab-34cd-56ef-1234567890ab
\n
Key ARN:\n arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
\n
Alias name: alias/ExampleAlias
\n
Alias name ARN:\n arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
\n
The Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker\n uses to encrypt your output models with Amazon S3 server-side encryption after compilation\n job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your\n role's account. For more information, see KMS-Managed Encryption\n Keys in the Amazon Simple Storage Service Developer\n Guide.\n
\nThe KmsKeyId can be any of the following formats:
\nKey ID: 1234abcd-12ab-34cd-56ef-1234567890ab
\n
Key ARN:\n arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
\n
Alias name: alias/ExampleAlias
\n
Alias name ARN:\n arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
\n
Stops a model compilation job.
\nTo stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This gracefully shuts the\n job down. If the job hasn't stopped, it sends the SIGKILL signal.
\nWhen it receives a StopCompilationJob
request, Amazon SageMaker changes the CompilationJobStatus
of the job to\n Stopping
. After Amazon SageMaker stops the job, it sets the CompilationJobStatus
to Stopped
.\n
Stops a model compilation job.
\nTo stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This gracefully shuts the\n job down. If the job hasn't stopped, it sends the SIGKILL signal.
\nWhen it receives a StopCompilationJob
request, Amazon SageMaker changes the\n CompilationJobStatus
of the job to Stopping
. After Amazon\n SageMaker stops the job, it sets the CompilationJobStatus
to\n Stopped
.
Specifies a target platform OS.
\n\n LINUX
: Linux-based operating systems.
\n ANDROID
: Android operating systems. Android API level can be\n specified using the ANDROID_PLATFORM
compiler option. For example,\n \"CompilerOptions\": {'ANDROID_PLATFORM': 28}
\n
Specifies a target platform OS.
\n\n LINUX
: Linux-based operating systems.
\n ANDROID
: Android operating systems. Android API level can be\n specified using the ANDROID_PLATFORM
compiler option. For example,\n \"CompilerOptions\": {'ANDROID_PLATFORM': 28}
\n
Specifies a target platform accelerator (optional).
\n\n NVIDIA
: Nvidia graphics processing unit. It also requires\n gpu-code
, trt-ver
, cuda-ver
compiler\n options
\n MALI
: ARM Mali graphics processor
\n INTEL_GRAPHICS
: Integrated Intel graphics
Specifies a target platform accelerator (optional).
\n\n NVIDIA
: Nvidia graphics processing unit. It also requires\n gpu-code
, trt-ver
, cuda-ver
compiler\n options
\n MALI
: ARM Mali graphics processor
\n INTEL_GRAPHICS
: Integrated Intel graphics
Associates a VPC with a service network. When you associate a VPC with the service network,\n it enables all the resources within that VPC to be clients and communicate with other services in\n the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide.
\nYou can't use this operation if there is a disassociation in progress. If the association\n fails, retry by deleting the association and recreating it.
\nAs a result of this operation, the association gets created in the service network account\n and the VPC owner account.
\nIf you add a security group to the service network and VPC association, the association must\n continue to always have at least one security group. You can add or edit security groups at any\n time. However, to remove all security groups, you must first delete the association and recreate\n it without security groups.
", + "smithy.api#documentation": "Associates a VPC with a service network. When you associate a VPC with the service network,\n it enables all the resources within that VPC to be clients and communicate with other services in\n the service network. For more information, see Manage VPC associations in the Amazon VPC Lattice User Guide.
\nYou can't use this operation if there is a disassociation in progress. If the association\n fails, retry by deleting the association and recreating it.
\nAs a result of this operation, the association gets created in the service network account\n and the VPC owner account.
\nOnce a security group is added to the VPC association it cannot be removed. You can add or\n update the security groups being used for the VPC association once a security group is attached.\n To remove all security groups you must reassociate the VPC.
", "smithy.api#http": { "code": 200, "uri": "/servicenetworkvpcassociations", @@ -1402,7 +1404,7 @@ } ], "traits": { - "smithy.api#documentation": "Deletes the specified auth policy. If an auth is set to AWS_IAM
\n and the auth policy is deleted, all requests will be denied by default. If you are trying to\n remove the auth policy completely, you must set the auth_type to NONE
. If auth is\n enabled on the resource, but no auth policy is set, all requests will be denied.
Deletes the specified auth policy. If an auth is set to Amazon Web Services_IAM
\n and the auth policy is deleted, all requests will be denied by default. If you are trying to\n remove the auth policy completely, you must set the auth_type to NONE
. If auth is\n enabled on the resource, but no auth policy is set, all requests will be denied.
The state of the auth policy. The auth policy is only active when the auth type is set to\n AWS_IAM
. If you provide a policy, then authentication and\n authorization decisions are made based on this policy and the client's IAM policy. If the auth\n type is NONE
, then any auth policy you provide will remain inactive. For more\n information, see Create a service\n network in the Amazon VPC Lattice User Guide.
The state of the auth policy. The auth policy is only active when the auth type is set to\n Amazon Web Services_IAM
. If you provide a policy, then authentication and\n authorization decisions are made based on this policy and the client's IAM policy. If the auth\n type is NONE
, then any auth policy you provide will remain inactive. For more\n information, see Create a service\n network in the Amazon VPC Lattice User Guide.
Retrieves information about the resource policy. The resource policy is an IAM policy\n created on behalf of the resource owner when they share a resource.
", + "smithy.api#documentation": "Retrieves information about the resource policy. The resource policy is an IAM policy\n created by AWS RAM on behalf of the resource owner when they share a resource.
", "smithy.api#http": { "code": 200, "method": "GET", @@ -2444,7 +2446,7 @@ "resourceArn": { "target": "com.amazonaws.vpclattice#ResourceArn", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service network or service.
", + "smithy.api#documentation": "An IAM policy.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -2457,7 +2459,7 @@ "policy": { "target": "com.amazonaws.vpclattice#PolicyString", "traits": { - "smithy.api#documentation": "An IAM policy.
" + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service network or service.
" } } } @@ -3094,6 +3096,9 @@ "target": "com.amazonaws.vpclattice#GetTargetGroupResponse" }, "errors": [ + { + "target": "com.amazonaws.vpclattice#AccessDeniedException" + }, { "target": "com.amazonaws.vpclattice#InternalServerException" }, @@ -3528,6 +3533,23 @@ ] } }, + "com.amazonaws.vpclattice#LambdaEventStructureVersion": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "name": "V1", + "value": "V1", + "documentation": "This is the default lambda event structure version" + }, + { + "name": "V2", + "value": "V2", + "documentation": "Indicates use of lambda event structure version 2" + } + ] + } + }, "com.amazonaws.vpclattice#ListAccessLogSubscriptions": { "type": "operation", "input": { @@ -3537,6 +3559,9 @@ "target": "com.amazonaws.vpclattice#ListAccessLogSubscriptionsResponse" }, "errors": [ + { + "target": "com.amazonaws.vpclattice#AccessDeniedException" + }, { "target": "com.amazonaws.vpclattice#InternalServerException" }, @@ -4124,6 +4149,9 @@ "target": "com.amazonaws.vpclattice#ListTagsForResourceResponse" }, "errors": [ + { + "target": "com.amazonaws.vpclattice#AccessDeniedException" + }, { "target": "com.amazonaws.vpclattice#InternalServerException" }, @@ -4955,55 +4983,55 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://vpc-lattice-fips.us-gov-east-1.api.aws" + "url": "https://vpc-lattice-fips.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://vpc-lattice-fips.us-gov-east-1.amazonaws.com" + "url": "https://vpc-lattice-fips.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": true + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://vpc-lattice.us-gov-east-1.api.aws" + "url": "https://vpc-lattice.us-east-1.api.aws" } }, "params": { - "UseDualStack": true, - "Region": "us-gov-east-1", - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://vpc-lattice.us-gov-east-1.amazonaws.com" + "url": "https://vpc-lattice.us-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-gov-east-1", - "UseFIPS": false + "Region": "us-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -5014,9 +5042,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -5027,9 +5055,9 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-north-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -5040,9 +5068,9 @@ } }, "params": { - "UseDualStack": true, "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -5053,109 +5081,109 @@ } }, "params": { - "UseDualStack": false, "Region": "cn-north-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://vpc-lattice-fips.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://vpc-lattice-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://vpc-lattice-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": true + "Region": "us-gov-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://vpc-lattice.us-gov-east-1.api.aws" + } }, "params": { - "UseDualStack": true, - "Region": "us-iso-east-1", - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://vpc-lattice.us-iso-east-1.c2s.ic.gov" + "url": "https://vpc-lattice.us-gov-east-1.amazonaws.com" } }, "params": { - "UseDualStack": false, - "Region": "us-iso-east-1", - "UseFIPS": false + "Region": "us-gov-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://vpc-lattice-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://vpc-lattice-fips.us-east-1.amazonaws.com" + "url": "https://vpc-lattice-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": true + "Region": "us-iso-east-1", + "UseFIPS": true, + "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://vpc-lattice.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, - "Region": "us-east-1", - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://vpc-lattice.us-east-1.amazonaws.com" + "url": "https://vpc-lattice.us-iso-east-1.c2s.ic.gov" } }, "params": { - "UseDualStack": false, - "Region": "us-east-1", - "UseFIPS": false + "Region": "us-iso-east-1", + "UseFIPS": false, + "UseDualStack": false } }, { @@ -5164,9 +5192,9 @@ "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "UseDualStack": true, "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": true } }, { @@ -5177,9 +5205,9 @@ } }, "params": { - "UseDualStack": false, "Region": "us-isob-east-1", - "UseFIPS": true + "UseFIPS": true, + "UseDualStack": false } }, { @@ -5188,9 +5216,9 @@ "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "UseDualStack": true, "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": true } }, { @@ -5201,22 +5229,35 @@ } }, "params": { - "UseDualStack": false, "Region": "us-isob-east-1", - "UseFIPS": false + "UseFIPS": false, + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" } }, "params": { - "UseDualStack": false, "Region": "us-east-1", "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -5226,9 +5267,9 @@ "error": "Invalid Configuration: FIPS and custom endpoint are not supported" }, "params": { - "UseDualStack": false, "Region": "us-east-1", "UseFIPS": true, + "UseDualStack": false, "Endpoint": "https://example.com" } }, @@ -5238,11 +5279,17 @@ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" }, "params": { - "UseDualStack": true, "Region": "us-east-1", "UseFIPS": false, + "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" @@ -5364,7 +5411,7 @@ } ], "traits": { - "smithy.api#documentation": "Creates or updates the auth policy. The policy string in JSON must not contain newlines or\n blank lines.
", + "smithy.api#documentation": "Creates or updates the auth policy.
", "smithy.api#http": { "code": 200, "method": "PUT", @@ -5386,7 +5433,7 @@ "policy": { "target": "com.amazonaws.vpclattice#AuthPolicyString", "traits": { - "smithy.api#documentation": "The auth policy. The policy string in JSON must not contain newlines or blank lines.
", + "smithy.api#documentation": "The auth policy.
", "smithy.api#required": {} } } @@ -5398,13 +5445,13 @@ "policy": { "target": "com.amazonaws.vpclattice#AuthPolicyString", "traits": { - "smithy.api#documentation": "The auth policy. The policy string in JSON must not contain newlines or blank lines.
" + "smithy.api#documentation": "The auth policy.
" } }, "state": { "target": "com.amazonaws.vpclattice#AuthPolicyState", "traits": { - "smithy.api#documentation": "The state of the auth policy. The auth policy is only active when the auth type is set to\n AWS_IAM
. If you provide a policy, then authentication and\n authorization decisions are made based on this policy and the client's IAM policy. If the Auth\n type is NONE
, then, any auth policy you provide will remain inactive. For more\n information, see Create a service\n network in the Amazon VPC Lattice User Guide.
The state of the auth policy. The auth policy is only active when the auth type is set to\n Amazon Web Services_IAM
. If you provide a policy, then authentication and\n authorization decisions are made based on this policy and the client's IAM policy. If the Auth\n type is NONE
, then, any auth policy you provide will remain inactive. For more\n information, see Create a service\n network in the Amazon VPC Lattice User Guide.
An IAM policy. The policy string in JSON must not contain newlines or\n blank lines.
", + "smithy.api#documentation": "An IAM policy.
", "smithy.api#required": {} } } @@ -6050,7 +6097,7 @@ "min": 32, "max": 32 }, - "smithy.api#pattern": "^servicenetwork-[0-9a-z]{17}$" + "smithy.api#pattern": "^sn-[0-9a-z]{17}$" } }, "com.amazonaws.vpclattice#ServiceNetworkIdentifier": { @@ -6076,7 +6123,7 @@ "min": 3, "max": 63 }, - "smithy.api#pattern": "^(?!servicenetwork-)(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" + "smithy.api#pattern": "^(?![-])(?!.*[-]$)(?!.*[-]{2})[a-z0-9-]+$" } }, "com.amazonaws.vpclattice#ServiceNetworkServiceAssociation": { @@ -6813,15 +6860,13 @@ "port": { "target": "com.amazonaws.vpclattice#Port", "traits": { - "smithy.api#documentation": "The port on which the targets are listening. For HTTP, the default is 80
. For\n HTTPS, the default is 443
\n
The port on which the targets are listening. For HTTP, the default is 80
. For\n HTTPS, the default is 443
\n
The protocol to use for routing traffic to the targets. Default is the protocol of a target\n group.
", - "smithy.api#required": {} + "smithy.api#documentation": "The protocol to use for routing traffic to the targets. Default is the protocol of a target\n group.
" } }, "protocolVersion": { @@ -6839,8 +6884,7 @@ "vpcIdentifier": { "target": "com.amazonaws.vpclattice#VpcId", "traits": { - "smithy.api#documentation": "The ID of the VPC.
", - "smithy.api#required": {} + "smithy.api#documentation": "The ID of the VPC.
" } }, "healthCheck": { @@ -6848,6 +6892,12 @@ "traits": { "smithy.api#documentation": "The health check configuration.
" } + }, + "lambdaEventStructureVersion": { + "target": "com.amazonaws.vpclattice#LambdaEventStructureVersion", + "traits": { + "smithy.api#documentation": "Lambda event structure version" + } } }, "traits": { @@ -7035,6 +7085,12 @@ "traits": { "smithy.api#documentation": "The list of Amazon Resource Names (ARNs) of the service.
" } + }, + "lambdaEventStructureVersion": { + "target": "com.amazonaws.vpclattice#LambdaEventStructureVersion", + "traits": { + "smithy.api#documentation": "Lambda event structure version" + } } }, "traits": { @@ -7220,6 +7276,9 @@ "target": "com.amazonaws.vpclattice#UntagResourceResponse" }, "errors": [ + { + "target": "com.amazonaws.vpclattice#AccessDeniedException" + }, { "target": "com.amazonaws.vpclattice#InternalServerException" }, @@ -7766,7 +7825,7 @@ } ], "traits": { - "smithy.api#documentation": "Updates the service network and VPC association. If you add a security group to the service\n network and VPC association, the association must continue to always have at least one security\n group. You can add or edit security groups at any time. However, to remove all security groups,\n you must first delete the association and recreate it without security groups.
", + "smithy.api#documentation": "Updates the service network and VPC association. Once you add a security group, it cannot be\n removed.
", "smithy.api#http": { "code": 200, "uri": "/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}", @@ -7789,7 +7848,7 @@ "securityGroupIds": { "target": "com.amazonaws.vpclattice#SecurityGroupList", "traits": { - "smithy.api#documentation": "The IDs of the security groups.
", + "smithy.api#documentation": "The IDs of the security groups. Once you add a security group, it cannot be removed.
", "smithy.api#length": { "min": 1, "max": 5 @@ -7909,6 +7968,9 @@ "target": "com.amazonaws.vpclattice#UpdateTargetGroupResponse" }, "errors": [ + { + "target": "com.amazonaws.vpclattice#AccessDeniedException" + }, { "target": "com.amazonaws.vpclattice#ConflictException" },