diff --git a/apis/artifact/2018-05-10/endpoint-rule-set-1.json b/apis/artifact/2018-05-10/endpoint-rule-set-1.json index 49efffd7577..5da6f43cf50 100644 --- a/apis/artifact/2018-05-10/endpoint-rule-set-1.json +++ b/apis/artifact/2018-05-10/endpoint-rule-set-1.json @@ -1,12 +1,6 @@ { "version": "1.0", "parameters": { - "Region": { - "builtIn": "AWS::Region", - "required": false, - "documentation": "The AWS region used to dispatch the request.", - "type": "String" - }, "UseDualStack": { "builtIn": "AWS::UseDualStack", "required": true, @@ -26,6 +20,12 @@ "required": false, "documentation": "Override the endpoint used to send this request", "type": "String" + }, + "Region": { + "builtIn": "AWS::Region", + "required": false, + "documentation": "The AWS region used to dispatch the request.", + "type": "String" } }, "rules": [ @@ -177,18 +177,19 @@ "rules": [ { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://artifact-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -211,6 +212,15 @@ }, true ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + false + ] } ], "rules": [ @@ -235,18 +245,19 @@ "rules": [ { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://artifact-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://artifact-fips.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -261,6 +272,15 @@ }, { "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + false + ] + }, { "fn": "booleanEquals", "argv": [ @@ -293,18 +313,19 @@ "rules": [ { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://artifact.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dualStackDnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" @@ -319,18 +340,19 @@ }, { "conditions": [], - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://artifact.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } - ], - "type": "tree" + "endpoint": { + "url": "https://artifact.{PartitionResult#implicitGlobalRegion}.{PartitionResult#dnsSuffix}", + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "{PartitionResult#implicitGlobalRegion}" + } + ] + }, + "headers": {} + }, + "type": "endpoint" } ], "type": "tree" diff --git a/apis/artifact/2018-05-10/endpoint-tests-1.json b/apis/artifact/2018-05-10/endpoint-tests-1.json index d78df5725d4..2f1b1dbb31e 100644 --- a/apis/artifact/2018-05-10/endpoint-tests-1.json +++ b/apis/artifact/2018-05-10/endpoint-tests-1.json @@ -1,9 +1,50 @@ { "testCases": [ + { + "documentation": "For custom endpoint with region not set and fips disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": false + } + }, + { + "documentation": "For custom endpoint with fips enabled", + "expect": { + "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": true + } + }, + { + "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "expect": { + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + }, + "params": { + "Endpoint": "https://example.com", + "UseFIPS": false, + "UseDualStack": true + } + }, { "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://artifact-fips.us-east-1.api.aws" } }, @@ -17,6 +58,14 @@ "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://artifact-fips.us-east-1.amazonaws.com" } }, @@ -30,6 +79,14 @@ "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://artifact.us-east-1.api.aws" } }, @@ -43,6 +100,14 @@ "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-east-1" + } + ] + }, "url": "https://artifact.us-east-1.amazonaws.com" } }, @@ -53,105 +118,169 @@ } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://artifact-fips.cn-north-1.api.amazonwebservices.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://artifact-fips.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://artifact-fips.cn-north-1.amazonaws.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://artifact-fips.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://artifact.cn-north-1.api.amazonwebservices.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://artifact.cn-northwest-1.api.amazonwebservices.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://artifact.cn-north-1.amazonaws.com.cn" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "cn-northwest-1" + } + ] + }, + "url": "https://artifact.cn-northwest-1.amazonaws.com.cn" } }, "params": { - "Region": "cn-north-1", + "Region": "cn-northwest-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://artifact-fips.us-gov-east-1.api.aws" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://artifact-fips.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://artifact-fips.us-gov-east-1.amazonaws.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://artifact-fips.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://artifact.us-gov-east-1.api.aws" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://artifact.us-gov-west-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://artifact.us-gov-east-1.amazonaws.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-gov-west-1" + } + ] + }, + "url": "https://artifact.us-gov-west-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-gov-west-1", "UseFIPS": false, "UseDualStack": false } @@ -171,6 +300,14 @@ "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, "url": "https://artifact-fips.us-iso-east-1.c2s.ic.gov" } }, @@ -195,6 +332,14 @@ "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-iso-east-1" + } + ] + }, "url": "https://artifact.us-iso-east-1.c2s.ic.gov" } }, @@ -219,6 +364,14 @@ "documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, "url": "https://artifact-fips.us-isob-east-1.sc2s.sgov.gov" } }, @@ -243,6 +396,14 @@ "documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isob-east-1" + } + ] + }, "url": "https://artifact.us-isob-east-1.sc2s.sgov.gov" } }, @@ -253,54 +414,131 @@ } }, { - "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled", + "expect": { + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + }, + "params": { + "Region": "eu-isoe-west-1", + "UseFIPS": true, + "UseDualStack": true + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://example.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://artifact-fips.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { - "Region": "us-east-1", + "Region": "eu-isoe-west-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "eu-isoe-west-1", "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": true } }, { - "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://example.com" + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "eu-isoe-west-1" + } + ] + }, + "url": "https://artifact.eu-isoe-west-1.cloud.adc-e.uk" } }, "params": { + "Region": "eu-isoe-west-1", "UseFIPS": false, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": false } }, { - "documentation": "For custom endpoint with fips enabled and dualstack disabled", + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "Invalid Configuration: FIPS and custom endpoint are not supported" + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", + "Region": "us-isof-south-1", "UseFIPS": true, - "UseDualStack": false, - "Endpoint": "https://example.com" + "UseDualStack": true } }, { - "documentation": "For custom endpoint with fips disabled and dualstack enabled", + "documentation": "For region us-isof-south-1 with FIPS enabled and DualStack disabled", "expect": { - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported" + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://artifact-fips.us-isof-south-1.csp.hci.ic.gov" + } }, "params": { - "Region": "us-east-1", + "Region": "us-isof-south-1", + "UseFIPS": true, + "UseDualStack": false + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled", + "expect": { + "error": "DualStack is enabled but this partition does not support DualStack" + }, + "params": { + "Region": "us-isof-south-1", "UseFIPS": false, - "UseDualStack": true, - "Endpoint": "https://example.com" + "UseDualStack": true + } + }, + { + "documentation": "For region us-isof-south-1 with FIPS disabled and DualStack disabled", + "expect": { + "endpoint": { + "properties": { + "authSchemes": [ + { + "name": "sigv4", + "signingRegion": "us-isof-south-1" + } + ] + }, + "url": "https://artifact.us-isof-south-1.csp.hci.ic.gov" + } + }, + "params": { + "Region": "us-isof-south-1", + "UseFIPS": false, + "UseDualStack": false } }, { diff --git a/apis/bedrock/2023-04-20/api-2.json b/apis/bedrock/2023-04-20/api-2.json index 75400c01f27..bd3e3b6b1d9 100644 --- a/apis/bedrock/2023-04-20/api-2.json +++ b/apis/bedrock/2023-04-20/api-2.json @@ -1734,7 +1734,8 @@ "required":["modelIdentifier"], "members":{ "modelIdentifier":{"shape":"EvaluationModelIdentifier"}, - "inferenceParams":{"shape":"EvaluationModelInferenceParams"} + "inferenceParams":{"shape":"EvaluationModelInferenceParams"}, + "performanceConfig":{"shape":"PerformanceConfiguration"} } }, "EvaluationConfig":{ @@ -4507,6 +4508,19 @@ "min":1, "pattern":"\\S*" }, + "PerformanceConfigLatency":{ + "type":"string", + "enum":[ + "standard", + "optimized" + ] + }, + "PerformanceConfiguration":{ + "type":"structure", + "members":{ + "latency":{"shape":"PerformanceConfigLatency"} + } + }, "PositiveInteger":{ "type":"integer", "box":true, diff --git a/apis/bedrock/2023-04-20/docs-2.json b/apis/bedrock/2023-04-20/docs-2.json index 9322aeac109..2a8b445cbe3 100644 --- a/apis/bedrock/2023-04-20/docs-2.json +++ b/apis/bedrock/2023-04-20/docs-2.json @@ -2422,6 +2422,18 @@ "ListProvisionedModelThroughputsResponse$nextToken": "
If there are more results than the number you specified in the maxResults
field, this value is returned. To see the next batch of results, include this value in the nextToken
field in another list request.
Specifies whether to use the latency-optimized or standard version of a model or inference profile.
" + } + }, + "PerformanceConfiguration": { + "base": "Contains performance settings for a model.
", + "refs": { + "EvaluationBedrockModel$performanceConfig": "Specifies performance settings for the model or inference profile.
" + } + }, "PositiveInteger": { "base": null, "refs": { diff --git a/apis/ec2/2016-11-15/api-2.json b/apis/ec2/2016-11-15/api-2.json index 40a91d05e4d..5b1bcca4de3 100644 --- a/apis/ec2/2016-11-15/api-2.json +++ b/apis/ec2/2016-11-15/api-2.json @@ -10340,6 +10340,10 @@ "ClientLoginBannerOptions":{ "shape":"ClientLoginBannerResponseOptions", "locationName":"clientLoginBannerOptions" + }, + "DisconnectOnSessionTimeout":{ + "shape":"Boolean", + "locationName":"disconnectOnSessionTimeout" } } }, @@ -11227,7 +11231,8 @@ "SelfServicePortal":{"shape":"SelfServicePortal"}, "ClientConnectOptions":{"shape":"ClientConnectOptions"}, "SessionTimeoutHours":{"shape":"Integer"}, - "ClientLoginBannerOptions":{"shape":"ClientLoginBannerOptions"} + "ClientLoginBannerOptions":{"shape":"ClientLoginBannerOptions"}, + "DisconnectOnSessionTimeout":{"shape":"Boolean"} } }, "CreateClientVpnEndpointResult":{ @@ -34806,7 +34811,8 @@ "SelfServicePortal":{"shape":"SelfServicePortal"}, "ClientConnectOptions":{"shape":"ClientConnectOptions"}, "SessionTimeoutHours":{"shape":"Integer"}, - "ClientLoginBannerOptions":{"shape":"ClientLoginBannerOptions"} + "ClientLoginBannerOptions":{"shape":"ClientLoginBannerOptions"}, + "DisconnectOnSessionTimeout":{"shape":"Boolean"} } }, "ModifyClientVpnEndpointResult":{ diff --git a/apis/ec2/2016-11-15/docs-2.json b/apis/ec2/2016-11-15/docs-2.json index 7028cb19979..bcdc8a6410a 100644 --- a/apis/ec2/2016-11-15/docs-2.json +++ b/apis/ec2/2016-11-15/docs-2.json @@ -47,7 +47,7 @@ "AuthorizeSecurityGroupIngress": "Adds the specified inbound (ingress) rules to a security group.
An inbound rule permits instances to receive traffic from the specified IPv4 or IPv6 address range, the IP address ranges that are specified by a prefix list, or the instances that are associated with a destination security group. For more information, see Security group rules.
You must specify exactly one of the following sources: an IPv4 or IPv6 address range, a prefix list, or a security group. You must specify a protocol for each rule (for example, TCP). If the protocol is TCP or UDP, you must also specify a port or port range. If the protocol is ICMP or ICMPv6, you must also specify the ICMP/ICMPv6 type and code.
Rule changes are propagated to instances associated with the security group as quickly as possible. However, a small delay might occur.
For examples of rules that you can add to security groups for specific access scenarios, see Security group rules for different use cases in the Amazon EC2 User Guide.
For more information about security group quotas, see Amazon VPC quotas in the Amazon VPC User Guide.
", "BundleInstance": "Bundles an Amazon instance store-backed Windows instance.
During bundling, only the root device volume (C:\\) is bundled. Data on other instance store volumes is not preserved.
This action is not applicable for Linux/Unix instances or Windows instances that are backed by Amazon EBS.
Cancels a bundling operation for an instance store-backed Windows instance.
", - "CancelCapacityReservation": "Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to cancelled
.
You can cancel a Capacity Reservation that is in the following states:
assessing
active
and there is no commitment duration or the commitment duration has elapsed. You can't cancel a future-dated Capacity Reservation during the commitment duration.
If a future-dated Capacity Reservation enters the delayed
state, the commitment duration is waived, and you can cancel it as soon as it enters the active
state.
Instances running in the reserved capacity continue running until you stop them. Stopped instances that target the Capacity Reservation can no longer launch. Modify these instances to either target a different Capacity Reservation, launch On-Demand Instance capacity, or run in any open Capacity Reservation that has matching attributes and sufficient capacity.
", + "CancelCapacityReservation": "Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to cancelled
.
You can cancel a Capacity Reservation that is in the following states:
assessing
active
and there is no commitment duration or the commitment duration has elapsed. You can't cancel a future-dated Capacity Reservation during the commitment duration.
You can't modify or cancel a Capacity Block. For more information, see Capacity Blocks for ML.
If a future-dated Capacity Reservation enters the delayed
state, the commitment duration is waived, and you can cancel it as soon as it enters the active
state.
Instances running in the reserved capacity continue running until you stop them. Stopped instances that target the Capacity Reservation can no longer launch. Modify these instances to either target a different Capacity Reservation, launch On-Demand Instance capacity, or run in any open Capacity Reservation that has matching attributes and sufficient capacity.
", "CancelCapacityReservationFleets": "Cancels one or more Capacity Reservation Fleets. When you cancel a Capacity Reservation Fleet, the following happens:
The Capacity Reservation Fleet's status changes to cancelled
.
The individual Capacity Reservations in the Fleet are cancelled. Instances running in the Capacity Reservations at the time of cancelling the Fleet continue to run in shared capacity.
The Fleet stops creating new Capacity Reservations.
Cancels an active conversion task. The task can be the import of an instance or volume. The action removes all artifacts of the conversion, including a partially uploaded volume or instance. If the conversion is complete or is in the process of transferring the final disk image, the command fails and returns an exception.
", "CancelDeclarativePoliciesReport": "Cancels the generation of an account status report.
You can only cancel a report while it has the running
status. Reports with other statuses (complete
, cancelled
, or error
) can't be canceled.
For more information, see Generating the account status report for declarative policies in the Amazon Web Services Organizations User Guide.
", @@ -60,7 +60,7 @@ "ConfirmProductInstance": "Determines whether a product code is associated with an instance. This action can only be used by the owner of the product code. It is useful when a product code owner must verify whether another user's instance is eligible for support.
", "CopyFpgaImage": "Copies the specified Amazon FPGA Image (AFI) to the current Region.
", "CopyImage": "Initiates an AMI copy operation. You can copy an AMI from one Region to another, or from a Region to an Outpost. You can't copy an AMI from an Outpost to a Region, from one Outpost to another, or within the same Outpost. To copy an AMI to another partition, see CreateStoreImageTask.
When you copy an AMI from one Region to another, the destination Region is the current Region.
When you copy an AMI from a Region to an Outpost, specify the ARN of the Outpost as the destination. Backing snapshots copied to an Outpost are encrypted by default using the default encryption key for the Region or the key that you specify. Outposts do not support unencrypted snapshots.
For information about the prerequisites when copying an AMI, see Copy an AMI in the Amazon EC2 User Guide.
", - "CopySnapshot": "Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy a snapshot within the same Region, from one Region to another, or from a Region to an Outpost. You can't copy a snapshot from an Outpost to a Region, from one Outpost to another, or within the same Outpost.
You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs).
When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted. Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for the snapshot copy operation. By default, encrypted snapshot copies use the default KMS key; however, you can specify a different KMS key. To copy an encrypted snapshot that has been shared from another account, you must have permissions for the KMS key used to encrypt the snapshot.
Snapshots copied to an Outpost are encrypted by default using the default encryption key for the Region, or a different key that you specify in the request using KmsKeyId. Outposts do not support unencrypted snapshots. For more information, Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
Snapshots created by copying another snapshot have an arbitrary volume ID that should not be used for any purpose.
For more information, see Copy an Amazon EBS snapshot in the Amazon EBS User Guide.
", + "CopySnapshot": "Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3. You can copy a snapshot within the same Region, from one Region to another, or from a Region to an Outpost. You can't copy a snapshot from an Outpost to a Region, from one Outpost to another, or within the same Outpost.
You can use the snapshot to create EBS volumes or Amazon Machine Images (AMIs).
When copying snapshots to a Region, copies of encrypted EBS snapshots remain encrypted. Copies of unencrypted snapshots remain unencrypted, unless you enable encryption for the snapshot copy operation. By default, encrypted snapshot copies use the default KMS key; however, you can specify a different KMS key. To copy an encrypted snapshot that has been shared from another account, you must have permissions for the KMS key used to encrypt the snapshot.
Snapshots copied to an Outpost are encrypted by default using the default encryption key for the Region, or a different key that you specify in the request using KmsKeyId. Outposts do not support unencrypted snapshots. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
Snapshots created by copying another snapshot have an arbitrary volume ID that should not be used for any purpose.
For more information, see Copy an Amazon EBS snapshot in the Amazon EBS User Guide.
", "CreateCapacityReservation": "Creates a new Capacity Reservation with the specified attributes. Capacity Reservations enable you to reserve capacity for your Amazon EC2 instances in a specific Availability Zone for any duration.
You can create a Capacity Reservation at any time, and you can choose when it starts. You can create a Capacity Reservation for immediate use or you can request a Capacity Reservation for a future date.
For more information, see Reserve compute capacity with On-Demand Capacity Reservations in the Amazon EC2 User Guide.
Your request to create a Capacity Reservation could fail if:
Amazon EC2 does not have sufficient capacity. In this case, try again at a later time, try in a different Availability Zone, or request a smaller Capacity Reservation. If your workload is flexible across instance types and sizes, try with different instance attributes.
The requested quantity exceeds your On-Demand Instance quota. In this case, increase your On-Demand Instance quota for the requested instance type and try again. For more information, see Amazon EC2 Service Quotas in the Amazon EC2 User Guide.
Create a new Capacity Reservation by splitting the capacity of the source Capacity Reservation. The new Capacity Reservation will have the same attributes as the source Capacity Reservation except for tags. The source Capacity Reservation must be active
and owned by your Amazon Web Services account.
Creates a Capacity Reservation Fleet. For more information, see Create a Capacity Reservation Fleet in the Amazon EC2 User Guide.
", @@ -110,8 +110,8 @@ "CreateRoute": "Creates a route in a route table within a VPC.
You must specify either a destination CIDR block or a prefix list ID. You must also specify exactly one of the resources from the parameter list.
When determining how to route traffic, we use the route with the most specific match. For example, traffic is destined for the IPv4 address 192.0.2.3
, and the route table includes the following two IPv4 routes:
192.0.2.0/24
(goes to some target A)
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 in the list covers a smaller number of IP addresses and is therefore more specific, so we use that route to determine where to target the traffic.
For more information about route tables, see Route tables in the Amazon VPC User Guide.
", "CreateRouteTable": "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.
For more information, see Route tables in the Amazon VPC User Guide.
", "CreateSecurityGroup": "Creates a security group.
A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. For more information, see Amazon EC2 security groups in the Amazon EC2 User Guide and Security groups for your VPC in the Amazon VPC User Guide.
When you create a security group, you specify a friendly name of your choice. You can't have two security groups for the same VPC with the same name.
You have a default security group for use in your VPC. If you don't specify a security group when you launch an instance, the instance is launched into the appropriate default security group. A default security group includes a default rule that grants instances unrestricted network access to each other.
You can add or remove rules from your security groups using AuthorizeSecurityGroupIngress, AuthorizeSecurityGroupEgress, RevokeSecurityGroupIngress, and RevokeSecurityGroupEgress.
For more information about VPC security group limits, see Amazon VPC Limits.
", - "CreateSnapshot": "Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance.
The location of the source EBS volume determines where you can create the snapshot.
If the source volume is in a Region, you must create the snapshot in the same Region as the volume.
If the source volume is in a Local Zone, you can create the snapshot in the same Local Zone or in parent Amazon Web Services Region.
If the source volume is on an Outpost, you can create the snapshot on the same Outpost or in its parent Amazon Web Services Region.
When a snapshot is created, any Amazon Web Services Marketplace product codes that are associated with the source volume are propagated to the snapshot.
You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your Amazon EBS volume at the time the snapshot command is issued; this might exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the volume long enough to take a snapshot, your snapshot should be complete. However, if you cannot pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You may remount and use your volume while the snapshot status is pending
.
When you create a snapshot for an EBS volume that serves as a root device, we recommend that you stop the instance before taking the snapshot.
Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected. For more information, Amazon EBS encryption in the Amazon EBS User Guide.
", - "CreateSnapshots": "Creates crash-consistent snapshots of multiple EBS volumes attached to an Amazon EC2 instance. Volumes are chosen by specifying an instance. Each volume attached to the specified instance will produce one snapshot that is crash-consistent across the instance. You can include all of the volumes currently attached to the instance, or you can exclude the root volume or specific data (non-root) volumes from the multi-volume snapshot set.
The location of the source instance determines where you can create the snapshots.
If the source instance is in a Region, you must create the snapshots in the same Region as the instance.
If the source instance is in a Local Zone, you can create the snapshots in the same Local Zone or in parent Amazon Web Services Region.
If the source instance is on an Outpost, you can create the snapshots on the same Outpost or in its parent Amazon Web Services Region.
Creates a snapshot of an EBS volume and stores it in Amazon S3. You can use snapshots for backups, to make copies of EBS volumes, and to save data before shutting down an instance.
The location of the source EBS volume determines where you can create the snapshot.
If the source volume is in a Region, you must create the snapshot in the same Region as the volume.
If the source volume is in a Local Zone, you can create the snapshot in the same Local Zone or in its parent Amazon Web Services Region.
If the source volume is on an Outpost, you can create the snapshot on the same Outpost or in its parent Amazon Web Services Region.
When a snapshot is created, any Amazon Web Services Marketplace product codes that are associated with the source volume are propagated to the snapshot.
You can take a snapshot of an attached volume that is in use. However, snapshots only capture data that has been written to your Amazon EBS volume at the time the snapshot command is issued; this might exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the volume long enough to take a snapshot, your snapshot should be complete. However, if you cannot pause all file writes to the volume, you should unmount the volume from within the instance, issue the snapshot command, and then remount the volume to ensure a consistent and complete snapshot. You may remount and use your volume while the snapshot status is pending
.
When you create a snapshot for an EBS volume that serves as a root device, we recommend that you stop the instance before taking the snapshot.
Snapshots that are taken from encrypted volumes are automatically encrypted. Volumes that are created from encrypted snapshots are also automatically encrypted. Your encrypted volumes and any associated snapshots always remain protected. For more information, see Amazon EBS encryption in the Amazon EBS User Guide.
", + "CreateSnapshots": "Creates crash-consistent snapshots of multiple EBS volumes attached to an Amazon EC2 instance. Volumes are chosen by specifying an instance. Each volume attached to the specified instance will produce one snapshot that is crash-consistent across the instance. You can include all of the volumes currently attached to the instance, or you can exclude the root volume or specific data (non-root) volumes from the multi-volume snapshot set.
The location of the source instance determines where you can create the snapshots.
If the source instance is in a Region, you must create the snapshots in the same Region as the instance.
If the source instance is in a Local Zone, you can create the snapshots in the same Local Zone or in its parent Amazon Web Services Region.
If the source instance is on an Outpost, you can create the snapshots on the same Outpost or in its parent Amazon Web Services Region.
Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per Amazon Web Services account. For more information, see Spot Instance data feed in the Amazon EC2 User Guide.
", "CreateStoreImageTask": "Stores an AMI as a single object in an Amazon S3 bucket.
To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide.
For more information, see Store and restore an AMI using Amazon S3 in the Amazon EC2 User Guide.
", "CreateSubnet": "Creates a subnet in the specified VPC. For an IPv4 only subnet, specify an IPv4 CIDR block. If the VPC has an IPv6 CIDR block, you can create an IPv6 only subnet or a dual stack subnet instead. For an IPv6 only subnet, specify an IPv6 CIDR block. For a dual stack subnet, specify both an IPv4 CIDR block and an IPv6 CIDR block.
A subnet CIDR block must not overlap the CIDR block of an existing subnet in the VPC. After you create a subnet, you can't change its CIDR block.
The allowed size for an IPv4 subnet is between a /28 netmask (16 IP addresses) and a /16 netmask (65,536 IP addresses). Amazon Web Services reserves both the first four and the last IPv4 address in each subnet's CIDR block. They're not available for your use.
If you've associated an IPv6 CIDR block with your VPC, you can associate an IPv6 CIDR block with a subnet when you create it.
If you add more than one subnet to a VPC, they're set up in a star topology with a logical router in the middle.
When you stop an instance in a subnet, it retains its private IPv4 address. It's therefore possible to have a subnet with no running instances (they're all stopped), but no remaining IP addresses available.
For more information, see Subnets in the Amazon VPC User Guide.
", @@ -188,7 +188,7 @@ "DeleteRoute": "Deletes the specified route from the specified route table.
", "DeleteRouteTable": "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.
", "DeleteSecurityGroup": "Deletes a security group.
If you attempt to delete a security group that is associated with an instance or network interface, is referenced by another security group in the same VPC, or has a VPC association, the operation fails with DependencyViolation
.
Deletes the specified snapshot.
When you make periodic snapshots of a volume, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the volume.
You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI. You must first de-register the AMI before you can delete the snapshot.
For more information, see Delete an Amazon EBS snapshot in the Amazon EBS User Guide.
", + "DeleteSnapshot": "Deletes the specified snapshot.
When you make periodic snapshots of a volume, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the volume.
You cannot delete a snapshot of the root device of an EBS volume used by a registered AMI. You must first deregister the AMI before you can delete the snapshot.
For more information, see Delete an Amazon EBS snapshot in the Amazon EBS User Guide.
", "DeleteSpotDatafeedSubscription": "Deletes the data feed for Spot Instances.
", "DeleteSubnet": "Deletes the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.
", "DeleteSubnetCidrReservation": "Deletes a subnet CIDR reservation.
", @@ -241,7 +241,7 @@ "DescribeByoipCidrs": "Describes the IP address ranges that were specified in calls to ProvisionByoipCidr.
To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.
", "DescribeCapacityBlockExtensionHistory": "Describes the events for the specified Capacity Block extension during the specified time.
", "DescribeCapacityBlockExtensionOfferings": "Describes Capacity Block extension offerings available for purchase in the Amazon Web Services Region that you're currently using.
", - "DescribeCapacityBlockOfferings": "Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a specific instance type for a period of time.
", + "DescribeCapacityBlockOfferings": "Describes Capacity Block offerings available for purchase in the Amazon Web Services Region that you're currently using. With Capacity Blocks, you purchase a specific instance type for a period of time.
To search for an available Capacity Block offering, you specify a reservation duration and instance count. You must select one of the following options.
For reservation durations 1-day increments up 14 days and 7-day increments up to 182 days total
For instance count 1, 2, 4, 8, 16, 32, or 64 instances
Describes a request to assign the billing of the unused capacity of a Capacity Reservation. For more information, see Billing assignment for shared Amazon EC2 Capacity Reservations.
", "DescribeCapacityReservationFleets": "Describes one or more Capacity Reservation Fleets.
", "DescribeCapacityReservations": "Describes one or more of your Capacity Reservations. The results describe only the Capacity Reservations in the Amazon Web Services Region that you're currently using.
", @@ -286,7 +286,7 @@ "DescribeInstanceEventWindows": "Describes the specified event windows or all event windows.
If you specify event window IDs, the output includes information for only the specified event windows. If you specify filters, the output includes information for only those event windows that meet the filter criteria. If you do not specify event windows IDs or filters, the output includes information for all event windows, which can affect performance. We recommend that you use pagination to ensure that the operation returns quickly and successfully.
For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.
", "DescribeInstanceImageMetadata": "Describes the AMI that was used to launch an instance, even if the AMI is deprecated, deregistered, made private (no longer public or shared with your account), or not allowed.
If you specify instance IDs, the output includes information for only the specified instances. If you specify filters, the output includes information for only those instances that meet the filter criteria. If you do not specify instance IDs or filters, the output includes information for all instances, which can affect performance.
If you specify an instance ID that is not valid, an instance that doesn't exist, or an instance that you do not own, an error (InvalidInstanceID.NotFound
) is returned.
Recently terminated instances might appear in the returned results. This interval is usually less than one hour.
In the rare case where an Availability Zone is experiencing a service disruption and you specify instance IDs that are in the affected Availability Zone, or do not specify any instance IDs at all, the call fails. If you specify only instance IDs that are in an unaffected Availability Zone, the call works normally.
The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.
Describes the status of the specified instances or all of your instances. By default, only running instances are described, unless you specifically indicate to return the status of all instances.
Instance status includes the following components:
Status checks - Amazon EC2 performs status checks on running EC2 instances to identify hardware and software issues. For more information, see Status checks for your instances and Troubleshoot instances with failed status checks in the Amazon EC2 User Guide.
Scheduled events - Amazon EC2 can schedule events (such as reboot, stop, or terminate) for your instances related to hardware issues, software updates, or system maintenance. For more information, see Scheduled events for your instances in the Amazon EC2 User Guide.
Instance state - You can manage your instances from the moment you launch them through their termination. For more information, see Instance lifecycle in the Amazon EC2 User Guide.
The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.
Describes a tree-based hierarchy that represents the physical host placement of your EC2 instances within an Availability Zone or Local Zone. You can use this information to determine the relative proximity of your EC2 instances within the Amazon Web Services network to support your tightly coupled workloads.
Limitations
Supported zones
Availability Zone
Local Zone
Supported instance types
hpc6a.48xlarge
| hpc6id.32xlarge
| hpc7a.12xlarge
| hpc7a.24xlarge
| hpc7a.48xlarge
| hpc7a.96xlarge
| hpc7g.4xlarge
| hpc7g.8xlarge
| hpc7g.16xlarge
p3dn.24xlarge
| p4d.24xlarge
| p4de.24xlarge
| p5.48xlarge
| p5e.48xlarge
| p5en.48xlarge
trn1.2xlarge
| trn1.32xlarge
| trn1n.32xlarge
For more information, see Amazon EC2 instance topology in the Amazon EC2 User Guide.
", + "DescribeInstanceTopology": "Describes a tree-based hierarchy that represents the physical host placement of your EC2 instances within an Availability Zone or Local Zone. You can use this information to determine the relative proximity of your EC2 instances within the Amazon Web Services network to support your tightly coupled workloads.
Limitations
Supported zones
Availability Zone
Local Zone
Supported instance types
hpc6a.48xlarge
| hpc6id.32xlarge
| hpc7a.12xlarge
| hpc7a.24xlarge
| hpc7a.48xlarge
| hpc7a.96xlarge
| hpc7g.4xlarge
| hpc7g.8xlarge
| hpc7g.16xlarge
p3dn.24xlarge
| p4d.24xlarge
| p4de.24xlarge
| p5.48xlarge
| p5e.48xlarge
| p5en.48xlarge
trn1.2xlarge
| trn1.32xlarge
| trn1n.32xlarge
| trn2.48xlarge
| trn2u.48xlarge
For more information, see Amazon EC2 instance topology in the Amazon EC2 User Guide.
", "DescribeInstanceTypeOfferings": "Lists the instance types that are offered for the specified location. If no location is specified, the default is to list the instance types that are offered in the current Region.
", "DescribeInstanceTypes": "Describes the specified instance types. By default, all instance types for the current Region are described. Alternatively, you can filter the results.
", "DescribeInstances": "Describes the specified instances or all instances.
If you specify instance IDs, the output includes information for only the specified instances. If you specify filters, the output includes information for only those instances that meet the filter criteria. If you do not specify instance IDs or filters, the output includes information for all instances, which can affect performance. We recommend that you use pagination to ensure that the operation returns quickly and successfully.
If you specify an instance ID that is not valid, an error is returned. If you specify an instance that you do not own, it is not included in the output.
Recently terminated instances might appear in the returned results. This interval is usually less than one hour.
If you describe instances in the rare case where an Availability Zone is experiencing a service disruption and you specify instance IDs that are in the affected zone, or do not specify any instance IDs at all, the call fails. If you describe instances and specify only instance IDs that are in an unaffected zone, the call works normally.
We strongly recommend using only paginated requests. Unpaginated requests are susceptible to throttling and timeouts.
The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.
Enable or disable a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
Valid values: true | false
Default value: false
Current state of text banner feature.
Valid values: true | false
Indicates whether split-tunnel is enabled in the Client VPN endpoint.
For information about split-tunnel VPN endpoints, see Split-Tunnel Client VPN endpoint in the Client VPN Administrator Guide.
", + "ClientVpnEndpoint$DisconnectOnSessionTimeout": "Indicates whether the client VPN session is disconnected after the maximum sessionTimeoutHours
is reached. If true
, users are prompted to reconnect client VPN. If false
, client VPN attempts to reconnect automatically. The default value is false
.
Status of VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
Enable or disable VPN tunnel logging feature. Default value is False
.
Valid values: True
| False
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Indicates whether split-tunnel is enabled on the Client VPN endpoint.
By default, split-tunnel on a VPN endpoint is disabled.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
", "CreateClientVpnEndpointRequest$DryRun": "Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Indicates whether the client VPN session is disconnected after the maximum timeout specified in SessionTimeoutHours
is reached. If true
, users are prompted to reconnect client VPN. If false
, client VPN attempts to reconnect automatically. The default value is false
.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Returns true
if the request succeeds; otherwise, it returns an error.
Indicates whether the VPN is split-tunnel.
For information about split-tunnel VPN endpoints, see Split-tunnel Client VPN endpoint in the Client VPN Administrator Guide.
", "ModifyClientVpnEndpointRequest$DryRun": "Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Indicates whether the client VPN session is disconnected after the maximum timeout specified in sessionTimeoutHours
is reached. If true
, users are prompted to reconnect client VPN. If false
, client VPN attempts to reconnect automatically. The default value is false
.
Returns true
if the request succeeds; otherwise, it returns an error.
Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
The filters. The following are the possible values:
path-found - A Boolean value that indicates whether a feasible path is found.
status - The status of the analysis (running | succeeded | failed).
The filters. The following are the possible values:
destination - The ID of the resource.
filter-at-source.source-address - The source IPv4 address at the source.
filter-at-source.source-port-range - The source port range at the source.
filter-at-source.destination-address - The destination IPv4 address at the source.
filter-at-source.destination-port-range - The destination port range at the source.
filter-at-destination.source-address - The source IPv4 address at the destination.
filter-at-destination.source-port-range - The source port range at the destination.
filter-at-destination.destination-address - The destination IPv4 address at the destination.
filter-at-destination.destination-port-range - The destination port range at the destination.
protocol - The protocol.
source - The ID of the resource.
One or more filters.
network-interface-permission.network-interface-permission-id
- The ID of the permission.
network-interface-permission.network-interface-id
- The ID of the network interface.
network-interface-permission.aws-account-id
- The Amazon Web Services account ID.
network-interface-permission.aws-service
- The Amazon Web Services service.
network-interface-permission.permission
- The type of permission (INSTANCE-ATTACH
| EIP-ASSOCIATE
).
One or more filters.
association.allocation-id
- The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.
association.association-id
- The association ID returned when the network interface was associated with an IPv4 address.
addresses.association.owner-id
- The owner ID of the addresses associated with the network interface.
addresses.association.public-ip
- The association ID returned when the network interface was associated with the Elastic IP address (IPv4).
addresses.primary
- Whether the private IPv4 address is the primary IP address associated with the network interface.
addresses.private-ip-address
- The private IPv4 addresses associated with the network interface.
association.ip-owner-id
- The owner of the Elastic IP address (IPv4) associated with the network interface.
association.public-ip
- The address of the Elastic IP address (IPv4) bound to the network interface.
association.public-dns-name
- The public DNS name for the network interface (IPv4).
attachment.attach-time
- The time that the network interface was attached to an instance.
attachment.attachment-id
- The ID of the interface attachment.
attachment.delete-on-termination
- Indicates whether the attachment is deleted when an instance is terminated.
attachment.device-index
- The device index to which the network interface is attached.
attachment.instance-id
- The ID of the instance to which the network interface is attached.
attachment.instance-owner-id
- The owner ID of the instance to which the network interface is attached.
attachment.status
- The status of the attachment (attaching
| attached
| detaching
| detached
).
availability-zone
- The Availability Zone of the network interface.
description
- The description of the network interface.
group-id
- The ID of a security group associated with the network interface.
ipv6-addresses.ipv6-address
- An IPv6 address associated with the network interface.
interface-type
- The type of network interface (api_gateway_managed
| aws_codestar_connections_managed
| branch
| ec2_instance_connect_endpoint
| efa
| efa-only
| efs
| gateway_load_balancer
| gateway_load_balancer_endpoint
| global_accelerator_managed
| interface
| iot_rules_managed
| lambda
| load_balancer
| nat_gateway
| network_load_balancer
| quicksight
| transit_gateway
| trunk
| vpc_endpoint
).
mac-address
- The MAC address of the network interface.
network-interface-id
- The ID of the network interface.
owner-id
- The Amazon Web Services account ID of the network interface owner.
private-dns-name
- The private DNS name of the network interface (IPv4).
private-ip-address
- The private IPv4 address or addresses of the network interface.
requester-id
- The alias or Amazon Web Services account ID of the principal or service that created the network interface.
requester-managed
- Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
source-dest-check
- Indicates whether the network interface performs source/destination checking. A value of true
means checking is enabled, and false
means checking is disabled. The value must be false
for the network interface to perform network address translation (NAT) in your VPC.
status
- The status of the network interface. If the network interface is not attached to an instance, the status is available
; if a network interface is attached to an instance the status is in-use
.
subnet-id
- The ID of the subnet for the network interface.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
vpc-id
- The ID of the VPC for the network interface.
One or more filters.
association.allocation-id
- The allocation ID returned when you allocated the Elastic IP address (IPv4) for your network interface.
association.association-id
- The association ID returned when the network interface was associated with an IPv4 address.
addresses.association.owner-id
- The owner ID of the addresses associated with the network interface.
addresses.association.public-ip
- The association ID returned when the network interface was associated with the Elastic IP address (IPv4).
addresses.primary
- Whether the private IPv4 address is the primary IP address associated with the network interface.
addresses.private-ip-address
- The private IPv4 addresses associated with the network interface.
association.ip-owner-id
- The owner of the Elastic IP address (IPv4) associated with the network interface.
association.public-ip
- The address of the Elastic IP address (IPv4) bound to the network interface.
association.public-dns-name
- The public DNS name for the network interface (IPv4).
attachment.attach-time
- The time that the network interface was attached to an instance.
attachment.attachment-id
- The ID of the interface attachment.
attachment.delete-on-termination
- Indicates whether the attachment is deleted when an instance is terminated.
attachment.device-index
- The device index to which the network interface is attached.
attachment.instance-id
- The ID of the instance to which the network interface is attached.
attachment.instance-owner-id
- The owner ID of the instance to which the network interface is attached.
attachment.status
- The status of the attachment (attaching
| attached
| detaching
| detached
).
availability-zone
- The Availability Zone of the network interface.
description
- The description of the network interface.
group-id
- The ID of a security group associated with the network interface.
ipv6-addresses.ipv6-address
- An IPv6 address associated with the network interface.
interface-type
- The type of network interface (api_gateway_managed
| aws_codestar_connections_managed
| branch
| ec2_instance_connect_endpoint
| efa
| efa-only
| efs
| gateway_load_balancer
| gateway_load_balancer_endpoint
| global_accelerator_managed
| interface
| iot_rules_managed
| lambda
| load_balancer
| nat_gateway
| network_load_balancer
| quicksight
| transit_gateway
| trunk
| vpc_endpoint
).
mac-address
- The MAC address of the network interface.
network-interface-id
- The ID of the network interface.
operator.managed
- A Boolean that indicates whether this is a managed network interface.
operator.principal
- The principal that manages the network interface. Only valid for managed network interfaces, where managed
is true
.
owner-id
- The Amazon Web Services account ID of the network interface owner.
private-dns-name
- The private DNS name of the network interface (IPv4).
private-ip-address
- The private IPv4 address or addresses of the network interface.
requester-id
- The alias or Amazon Web Services account ID of the principal or service that created the network interface.
requester-managed
- Indicates whether the network interface is being managed by an Amazon Web Services service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).
source-dest-check
- Indicates whether the network interface performs source/destination checking. A value of true
means checking is enabled, and false
means checking is disabled. The value must be false
for the network interface to perform network address translation (NAT) in your VPC.
status
- The status of the network interface. If the network interface is not attached to an instance, the status is available
; if a network interface is attached to an instance the status is in-use
.
subnet-id
- The ID of the subnet for the network interface.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
vpc-id
- The ID of the VPC for the network interface.
The filters.
group-name
- The name of the placement group.
group-arn
- The Amazon Resource Name (ARN) of the placement group.
spread-level
- The spread level for the placement group (host
| rack
).
state
- The state of the placement group (pending
| available
| deleting
| deleted
).
strategy
- The strategy of the placement group (cluster
| spread
| partition
).
tag:<key>
- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources that have a tag with a specific key, regardless of the tag value.
One or more filters.
prefix-list-id
: The ID of a prefix list.
prefix-list-name
: The name of a prefix list.
One or more filters.
tag
:<key> - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the value TeamA
, specify tag:Owner
for the filter name and TeamA
for the filter value.
tag-key
- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
The index of the network card.
", "InstanceNetworkInterfaceSpecification$DeviceIndex": "The position of the network interface in the attachment order. A primary network interface has a device index of 0.
If you specify a network interface when launching an instance, you must specify the device index.
", "InstanceNetworkInterfaceSpecification$Ipv6AddressCount": "A number of IPv6 addresses to assign to the network interface. Amazon EC2 chooses the IPv6 addresses from the range of the subnet. You cannot specify this option and the option to assign specific IPv6 addresses in the same request. You can specify this option if you've specified a minimum number of instances to launch.
", - "InstanceNetworkInterfaceSpecification$SecondaryPrivateIpAddressCount": "The number of secondary private IPv4 addresses. You can't specify this option and specify more than one private IP address using the private IP addresses option. You cannot specify this option if you're launching more than one instance in a RunInstances request.
", + "InstanceNetworkInterfaceSpecification$SecondaryPrivateIpAddressCount": "The number of secondary private IPv4 addresses. You can’t specify this parameter and also specify a secondary private IP address using the PrivateIpAddress
parameter.
The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
If you are using RequestSpotInstances to create Spot Instances, omit this parameter because you can’t specify the network card index when using this API. To specify the network card index, use RunInstances.
", "InstanceNetworkInterfaceSpecification$Ipv4PrefixCount": "The number of IPv4 delegated prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv4Prefix
option.
The number of IPv6 delegated prefixes to be automatically assigned to the network interface. You cannot use this option if you use the Ipv6Prefix
option.
The device name (for example, /dev/sdh
or xvdh
).
The device name (for example, /dev/sdh
or xvdh
).
The virtual device name.
", - "InstanceBlockDeviceMappingSpecification$NoDevice": "suppress the specified device included in the block device mapping.
", + "InstanceBlockDeviceMappingSpecification$NoDevice": "Suppresses the specified device included in the block device mapping.
", "InstanceCapacity$InstanceType": "The instance type supported by the Dedicated Host.
", "InstanceCreditSpecification$InstanceId": "The ID of the instance.
", "InstanceCreditSpecification$CpuCredits": "The credit option for CPU usage of the instance.
Valid values: standard
| unlimited
Deletes a custom plugin.
", "DeleteWorkerConfiguration": "Deletes the specified worker configuration.
", "DescribeConnector": "Returns summary information about the connector.
", + "DescribeConnectorOperation": "Returns information about the specified connector's operations.
", "DescribeCustomPlugin": "A summary description of the custom plugin.
", "DescribeWorkerConfiguration": "Returns information about a worker configuration.
", + "ListConnectorOperations": "Lists information about a connector's operation(s).
", "ListConnectors": "Returns a list of all the connectors in this account and Region. The list is limited to connectors whose name starts with the specified prefix. The response also includes a description of each of the listed connectors.
", "ListCustomPlugins": "Returns a list of all of the custom plugins in this account and Region.
", "ListTagsForResource": "Lists all the tags attached to the specified resource.
", @@ -65,7 +67,8 @@ "base": "A description of the connector's capacity.
", "refs": { "ConnectorSummary$capacity": "The connector's compute capacity settings.
", - "DescribeConnectorResponse$capacity": "Information about the capacity of the connector, whether it is auto scaled or provisioned.
" + "DescribeConnectorResponse$capacity": "Information about the capacity of the connector, whether it is auto scaled or provisioned.
", + "WorkerSetting$capacity": null } }, "CapacityUpdate": { @@ -91,6 +94,59 @@ "refs": { } }, + "ConnectorConfiguration": { + "base": null, + "refs": { + "CreateConnectorRequest$connectorConfiguration": "A map of keys to values that represent the configuration for the connector.
", + "DescribeConnectorOperationResponse$originConnectorConfiguration": "The origin connector configuration.
", + "DescribeConnectorOperationResponse$targetConnectorConfiguration": "The target connector configuration.
", + "DescribeConnectorResponse$connectorConfiguration": "A map of keys to values that represent the configuration for the connector.
" + } + }, + "ConnectorConfigurationUpdate": { + "base": null, + "refs": { + "UpdateConnectorRequest$connectorConfiguration": "A map of keys to values that represent the configuration for the connector.
" + } + }, + "ConnectorOperationState": { + "base": null, + "refs": { + "ConnectorOperationSummary$connectorOperationState": "The state of the connector operation.
", + "DescribeConnectorOperationResponse$connectorOperationState": "The state of the connector operation.
" + } + }, + "ConnectorOperationStep": { + "base": "Details of a step that is involved in a connector's operation.
", + "refs": { + "__listOfConnectorOperationStep$member": null + } + }, + "ConnectorOperationStepState": { + "base": null, + "refs": { + "ConnectorOperationStep$stepState": "The step state of the operation.
" + } + }, + "ConnectorOperationStepType": { + "base": null, + "refs": { + "ConnectorOperationStep$stepType": "The step type of the operation.
" + } + }, + "ConnectorOperationSummary": { + "base": "Summary of a connector operation.
", + "refs": { + "__listOfConnectorOperationSummary$member": null + } + }, + "ConnectorOperationType": { + "base": null, + "refs": { + "ConnectorOperationSummary$connectorOperationType": "The type of connector operation performed.
", + "DescribeConnectorOperationResponse$connectorOperationType": "The type of connector operation performed.
" + } + }, "ConnectorState": { "base": null, "refs": { @@ -226,6 +282,16 @@ "refs": { } }, + "DescribeConnectorOperationRequest": { + "base": null, + "refs": { + } + }, + "DescribeConnectorOperationResponse": { + "base": null, + "refs": { + } + }, "DescribeConnectorRequest": { "base": null, "refs": { @@ -331,6 +397,16 @@ "KafkaClusterEncryptionInTransitDescription$encryptionType": "The type of encryption in transit to the Apache Kafka cluster.
" } }, + "ListConnectorOperationsRequest": { + "base": null, + "refs": { + } + }, + "ListConnectorOperationsResponse": { + "base": null, + "refs": { + } + }, "ListConnectorsRequest": { "base": null, "refs": { @@ -387,6 +463,7 @@ "MaxResults": { "base": null, "refs": { + "ListConnectorOperationsRequest$maxResults": "Maximum number of connector operations to fetch in one get request.
", "ListConnectorsRequest$maxResults": "The maximum number of connectors to list in one response.
", "ListCustomPluginsRequest$maxResults": "The maximum number of custom plugins to list in one response.
", "ListWorkerConfigurationsRequest$maxResults": "The maximum number of worker configurations to list in one response.
" @@ -495,6 +572,7 @@ "StateDescription": { "base": "Details about the state of a resource.
", "refs": { + "DescribeConnectorOperationResponse$errorInfo": null, "DescribeConnectorResponse$stateDescription": "Details about the state of a connector.
", "DescribeCustomPluginResponse$stateDescription": "Details about the state of a custom plugin.
" } @@ -633,6 +711,13 @@ "LogDeliveryDescription$workerLogDelivery": "The workers can send worker logs to different destination types. This configuration specifies the details of these destinations.
" } }, + "WorkerSetting": { + "base": "Details about worker setting of a connector
", + "refs": { + "DescribeConnectorOperationResponse$originWorkerSetting": "The origin worker setting.
", + "DescribeConnectorOperationResponse$targetWorkerSetting": "The target worker setting.
" + } + }, "__boolean": { "base": null, "refs": { @@ -647,26 +732,21 @@ "__integer": { "base": null, "refs": { + "AutoScaling$maxWorkerCount": "The maximum number of workers allocated to the connector.
", + "AutoScaling$minWorkerCount": "The minimum number of workers allocated to the connector.
", "AutoScalingDescription$maxWorkerCount": "The maximum number of workers allocated to the connector.
", "AutoScalingDescription$mcuCount": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
", "AutoScalingDescription$minWorkerCount": "The minimum number of workers allocated to the connector.
", + "AutoScalingUpdate$maxWorkerCount": "The target maximum number of workers allocated to the connector.
", + "AutoScalingUpdate$minWorkerCount": "The target minimum number of workers allocated to the connector.
", + "ProvisionedCapacity$workerCount": "The number of workers that are allocated to the connector.
", "ProvisionedCapacityDescription$mcuCount": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
", "ProvisionedCapacityDescription$workerCount": "The number of workers that are allocated to the connector.
", + "ProvisionedCapacityUpdate$workerCount": "The number of workers that are allocated to the connector.
", "ScaleInPolicyDescription$cpuUtilizationPercentage": "Specifies the CPU utilization percentage threshold at which you want connector scale in to be triggered.
", "ScaleOutPolicyDescription$cpuUtilizationPercentage": "The CPU utilization percentage threshold at which you want connector scale out to be triggered.
" } }, - "__integerMin1Max10": { - "base": null, - "refs": { - "AutoScaling$maxWorkerCount": "The maximum number of workers allocated to the connector.
", - "AutoScaling$minWorkerCount": "The minimum number of workers allocated to the connector.
", - "AutoScalingUpdate$maxWorkerCount": "The target maximum number of workers allocated to the connector.
", - "AutoScalingUpdate$minWorkerCount": "The target minimum number of workers allocated to the connector.
", - "ProvisionedCapacity$workerCount": "The number of workers that are allocated to the connector.
", - "ProvisionedCapacityUpdate$workerCount": "The number of workers that are allocated to the connector.
" - } - }, "__integerMin1Max100": { "base": null, "refs": { @@ -685,6 +765,18 @@ "ProvisionedCapacityUpdate$mcuCount": "The number of microcontroller units (MCUs) allocated to each connector worker. The valid values are 1,2,4,8.
" } }, + "__listOfConnectorOperationStep": { + "base": null, + "refs": { + "DescribeConnectorOperationResponse$operationSteps": "The array of operation steps taken.
" + } + }, + "__listOfConnectorOperationSummary": { + "base": null, + "refs": { + "ListConnectorOperationsResponse$connectorOperations": "An array of connector operation descriptions.
" + } + }, "__listOfConnectorSummary": { "base": null, "refs": { @@ -751,13 +843,6 @@ "WorkerConfigurationRevisionDescription$propertiesFileContent": "Base64 encoded contents of the connect-distributed.properties file.
" } }, - "__sensitive__mapOf__string": { - "base": null, - "refs": { - "CreateConnectorRequest$connectorConfiguration": "A map of keys to values that represent the configuration for the connector.
", - "DescribeConnectorResponse$connectorConfiguration": "A map of keys to values that represent the configuration for the connector.
" - } - }, "__string": { "base": null, "refs": { @@ -767,6 +852,11 @@ "CloudWatchLogsLogDelivery$logGroup": "The name of the CloudWatch log group that is the destination for log delivery.
", "CloudWatchLogsLogDeliveryDescription$logGroup": "The name of the CloudWatch log group that is the destination for log delivery.
", "ConflictException$message": null, + "ConnectorConfiguration$key": null, + "ConnectorConfiguration$value": null, + "ConnectorConfigurationUpdate$key": null, + "ConnectorConfigurationUpdate$value": null, + "ConnectorOperationSummary$connectorOperationArn": "The Amazon Resource Name (ARN) of the connector operation.
", "ConnectorSummary$connectorArn": "The Amazon Resource Name (ARN) of the connector.
", "ConnectorSummary$connectorDescription": "The description of the connector.
", "ConnectorSummary$connectorName": "The name of the connector.
", @@ -795,6 +885,9 @@ "DeleteCustomPluginResponse$customPluginArn": "The Amazon Resource Name (ARN) of the custom plugin that you requested to delete.
", "DeleteWorkerConfigurationRequest$workerConfigurationArn": "The Amazon Resource Name (ARN) of the worker configuration that you want to delete.
", "DeleteWorkerConfigurationResponse$workerConfigurationArn": "The Amazon Resource Name (ARN) of the worker configuration that you requested to delete.
", + "DescribeConnectorOperationRequest$connectorOperationArn": "ARN of the connector operation to be described.
", + "DescribeConnectorOperationResponse$connectorArn": "The Amazon Resource Name (ARN) of the connector.
", + "DescribeConnectorOperationResponse$connectorOperationArn": "The Amazon Resource Name (ARN) of the connector operation.
", "DescribeConnectorRequest$connectorArn": "The Amazon Resource Name (ARN) of the connector that you want to describe.
", "DescribeConnectorResponse$connectorArn": "The Amazon Resource Name (ARN) of the connector.
", "DescribeConnectorResponse$connectorDescription": "A summary description of the connector.
", @@ -814,15 +907,18 @@ "FirehoseLogDeliveryDescription$deliveryStream": "The name of the Kinesis Data Firehose delivery stream that is the destination for log delivery.
", "ForbiddenException$message": null, "InternalServerErrorException$message": null, + "ListConnectorOperationsRequest$connectorArn": "The Amazon Resource Name (ARN) of the connector for which to list operations.
", + "ListConnectorOperationsRequest$nextToken": "If the response is truncated, it includes a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.
", + "ListConnectorOperationsResponse$nextToken": "If the response is truncated, it includes a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.
", "ListConnectorsRequest$connectorNamePrefix": "The name prefix that you want to use to search for and list connectors.
", "ListConnectorsRequest$nextToken": "If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.
", "ListConnectorsResponse$nextToken": "If the response of a ListConnectors operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where it left off.
", - "ListCustomPluginsRequest$namePrefix": "Lists custom plugin names that start with the specified text string.
", "ListCustomPluginsRequest$nextToken": "If the response of a ListCustomPlugins operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.
", + "ListCustomPluginsRequest$namePrefix": "Lists custom plugin names that start with the specified text string.
", "ListCustomPluginsResponse$nextToken": "If the response of a ListCustomPlugins operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.
", "ListTagsForResourceRequest$resourceArn": "The Amazon Resource Name (ARN) of the resource for which you want to list all attached tags.
", - "ListWorkerConfigurationsRequest$namePrefix": "Lists worker configuration names that start with the specified text string.
", "ListWorkerConfigurationsRequest$nextToken": "If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.
", + "ListWorkerConfigurationsRequest$namePrefix": "Lists worker configuration names that start with the specified text string.
", "ListWorkerConfigurationsResponse$nextToken": "If the response of a ListWorkerConfigurations operation is truncated, it will include a NextToken. Send this NextToken in a subsequent request to continue listing from where the previous operation left off.
", "NotFoundException$message": null, "S3Location$bucketArn": "The Amazon Resource Name (ARN) of an S3 bucket.
", @@ -845,6 +941,7 @@ "UpdateConnectorRequest$connectorArn": "The Amazon Resource Name (ARN) of the connector that you want to update.
", "UpdateConnectorRequest$currentVersion": "The current version of the connector that you want to update.
", "UpdateConnectorResponse$connectorArn": "The Amazon Resource Name (ARN) of the connector.
", + "UpdateConnectorResponse$connectorOperationArn": "The Amazon Resource Name (ARN) of the connector operation.
", "WorkerConfiguration$workerConfigurationArn": "The Amazon Resource Name (ARN) of the worker configuration.
", "WorkerConfigurationDescription$workerConfigurationArn": "The Amazon Resource Name (ARN) of the worker configuration.
", "WorkerConfigurationRevisionDescription$description": "The description of the worker configuration revision.
", @@ -852,9 +949,7 @@ "WorkerConfigurationSummary$description": "The description of a worker configuration.
", "WorkerConfigurationSummary$name": "The name of the worker configuration.
", "WorkerConfigurationSummary$workerConfigurationArn": "The Amazon Resource Name (ARN) of the worker configuration.
", - "__listOf__string$member": null, - "__sensitive__mapOf__string$key": null, - "__sensitive__mapOf__string$value": null + "__listOf__string$member": null } }, "__stringMax1024": { @@ -876,10 +971,14 @@ "__timestampIso8601": { "base": null, "refs": { + "ConnectorOperationSummary$creationTime": "The time when operation was created.
", + "ConnectorOperationSummary$endTime": "The time when operation ended.
", "ConnectorSummary$creationTime": "The time that the connector was created.
", "CreateWorkerConfigurationResponse$creationTime": "The time that the worker configuration was created.
", "CustomPluginRevisionSummary$creationTime": "The time that the custom plugin was created.
", "CustomPluginSummary$creationTime": "The time that the custom plugin was created.
", + "DescribeConnectorOperationResponse$creationTime": "The time when the operation was created.
", + "DescribeConnectorOperationResponse$endTime": "The time when the operation ended.
", "DescribeConnectorResponse$creationTime": "The time the connector was created.
", "DescribeCustomPluginResponse$creationTime": "The time that the custom plugin was created.
", "DescribeWorkerConfigurationResponse$creationTime": "The time that the worker configuration was created.
", diff --git a/apis/kafkaconnect/2021-09-14/paginators-1.json b/apis/kafkaconnect/2021-09-14/paginators-1.json index 489a00d61f3..5ed44f4a6cf 100644 --- a/apis/kafkaconnect/2021-09-14/paginators-1.json +++ b/apis/kafkaconnect/2021-09-14/paginators-1.json @@ -1,5 +1,11 @@ { "pagination": { + "ListConnectorOperations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "connectorOperations" + }, "ListConnectors": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/apis/kafkaconnect/2021-09-14/waiters-2.json b/apis/kafkaconnect/2021-09-14/waiters-2.json new file mode 100644 index 00000000000..13f60ee66be --- /dev/null +++ b/apis/kafkaconnect/2021-09-14/waiters-2.json @@ -0,0 +1,5 @@ +{ + "version": 2, + "waiters": { + } +} diff --git a/apis/transcribe/2017-10-26/api-2.json b/apis/transcribe/2017-10-26/api-2.json index c507fed6092..01a86d99078 100644 --- a/apis/transcribe/2017-10-26/api-2.json +++ b/apis/transcribe/2017-10-26/api-2.json @@ -704,7 +704,8 @@ "DataAccessRoleArn":{"shape":"DataAccessRoleArn"}, "IdentifiedLanguageScore":{"shape":"IdentifiedLanguageScore"}, "Settings":{"shape":"CallAnalyticsJobSettings"}, - "ChannelDefinitions":{"shape":"ChannelDefinitions"} + "ChannelDefinitions":{"shape":"ChannelDefinitions"}, + "Tags":{"shape":"TagList"} } }, "CallAnalyticsJobDetails":{ @@ -790,6 +791,7 @@ "Rules":{"shape":"RuleList"}, "CreateTime":{"shape":"DateTime"}, "LastUpdateTime":{"shape":"DateTime"}, + "Tags":{"shape":"TagList"}, "InputType":{"shape":"InputType"} } }, @@ -843,6 +845,7 @@ "members":{ "CategoryName":{"shape":"CategoryName"}, "Rules":{"shape":"RuleList"}, + "Tags":{"shape":"TagList"}, "InputType":{"shape":"InputType"} } }, @@ -1952,6 +1955,7 @@ "OutputEncryptionKMSKeyId":{"shape":"KMSKeyId"}, "DataAccessRoleArn":{"shape":"DataAccessRoleArn"}, "Settings":{"shape":"CallAnalyticsJobSettings"}, + "Tags":{"shape":"TagList"}, "ChannelDefinitions":{"shape":"ChannelDefinitions"} } }, diff --git a/apis/transcribe/2017-10-26/docs-2.json b/apis/transcribe/2017-10-26/docs-2.json index 106783579f1..d97efea5de6 100644 --- a/apis/transcribe/2017-10-26/docs-2.json +++ b/apis/transcribe/2017-10-26/docs-2.json @@ -1268,6 +1268,9 @@ "TagList": { "base": null, "refs": { + "CallAnalyticsJob$Tags": "The tags, each in the form of a key:value pair, assigned to the specified call analytics job.
", + "CategoryProperties$Tags": "The tags, each in the form of a key:value pair, assigned to the specified call analytics category.
", + "CreateCallAnalyticsCategoryRequest$Tags": "Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics category at the time you start this new job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
", "CreateLanguageModelRequest$Tags": "Adds one or more custom tags, each in the form of a key:value pair, to a new custom language model at the time you create this new model.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
", "CreateMedicalVocabularyRequest$Tags": "Adds one or more custom tags, each in the form of a key:value pair, to a new custom medical vocabulary at the time you create this new custom vocabulary.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
", "CreateVocabularyFilterRequest$Tags": "Adds one or more custom tags, each in the form of a key:value pair, to a new custom vocabulary filter at the time you create this new vocabulary filter.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
", @@ -1275,6 +1278,7 @@ "ListTagsForResourceResponse$Tags": "Lists all tags associated with the given transcription job, vocabulary, model, or resource.
", "MedicalScribeJob$Tags": "Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
", "MedicalTranscriptionJob$Tags": "The tags, each in the form of a key:value pair, assigned to the specified medical transcription job.
", + "StartCallAnalyticsJobRequest$Tags": "Adds one or more custom tags, each in the form of a key:value pair, to a new call analytics job at the time you start this new job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
", "StartMedicalScribeJobRequest$Tags": "Adds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
", "StartMedicalTranscriptionJobRequest$Tags": "Adds one or more custom tags, each in the form of a key:value pair, to a new medical transcription job at the time you start this new job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
", "StartTranscriptionJobRequest$Tags": "Adds one or more custom tags, each in the form of a key:value pair, to a new transcription job at the time you start this new job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
", diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 25a54f128e7..c6cf0b856d1 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.1036.0 (2025-01-13) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.1035.0 (2025-01-10) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index fd18f6ff598..6be29c4224a 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.1035.0 +1.1036.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index 878216a86da..e34bdc9f808 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -11245,6 +11245,7 @@ "ap-southeast-2" : { }, "ap-southeast-3" : { }, "ap-southeast-4" : { }, + "ap-southeast-5" : { }, "ca-central-1" : { }, "ca-west-1" : { }, "eu-central-1" : { }, @@ -21622,96 +21623,192 @@ "variants" : [ { "hostname" : "snowball-fips.af-south-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.af-south-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.af-south-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "ap-east-1" : { "variants" : [ { "hostname" : "snowball-fips.ap-east-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.ap-east-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.ap-east-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "ap-northeast-1" : { "variants" : [ { "hostname" : "snowball-fips.ap-northeast-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.ap-northeast-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.ap-northeast-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "ap-northeast-2" : { "variants" : [ { "hostname" : "snowball-fips.ap-northeast-2.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.ap-northeast-2.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.ap-northeast-2.api.aws", + "tags" : [ "dualstack" ] } ] }, "ap-northeast-3" : { "variants" : [ { "hostname" : "snowball-fips.ap-northeast-3.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.ap-northeast-3.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.ap-northeast-3.api.aws", + "tags" : [ "dualstack" ] } ] }, "ap-south-1" : { "variants" : [ { "hostname" : "snowball-fips.ap-south-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.ap-south-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.ap-south-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "ap-southeast-1" : { "variants" : [ { "hostname" : "snowball-fips.ap-southeast-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.ap-southeast-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.ap-southeast-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "ap-southeast-2" : { "variants" : [ { "hostname" : "snowball-fips.ap-southeast-2.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.ap-southeast-2.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.ap-southeast-2.api.aws", + "tags" : [ "dualstack" ] } ] }, "ap-southeast-3" : { "variants" : [ { "hostname" : "snowball-fips.ap-southeast-3.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.ap-southeast-3.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.ap-southeast-3.api.aws", + "tags" : [ "dualstack" ] } ] }, "ca-central-1" : { "variants" : [ { "hostname" : "snowball-fips.ca-central-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.ca-central-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.ca-central-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "eu-central-1" : { "variants" : [ { "hostname" : "snowball-fips.eu-central-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.eu-central-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.eu-central-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "eu-north-1" : { "variants" : [ { "hostname" : "snowball-fips.eu-north-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.eu-north-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.eu-north-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "eu-south-1" : { "variants" : [ { "hostname" : "snowball-fips.eu-south-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.eu-south-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.eu-south-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "eu-west-1" : { "variants" : [ { "hostname" : "snowball-fips.eu-west-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.eu-west-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.eu-west-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "eu-west-2" : { "variants" : [ { "hostname" : "snowball-fips.eu-west-2.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.eu-west-2.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.eu-west-2.api.aws", + "tags" : [ "dualstack" ] } ] }, "eu-west-3" : { "variants" : [ { "hostname" : "snowball-fips.eu-west-3.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.eu-west-3.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.eu-west-3.api.aws", + "tags" : [ "dualstack" ] } ] }, "fips-af-south-1" : { @@ -21879,42 +21976,84 @@ "variants" : [ { "hostname" : "snowball-fips.il-central-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.il-central-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.il-central-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "me-central-1" : { "variants" : [ { "hostname" : "snowball-fips.me-central-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.me-central-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.me-central-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "sa-east-1" : { "variants" : [ { "hostname" : "snowball-fips.sa-east-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.sa-east-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.sa-east-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-east-1" : { "variants" : [ { "hostname" : "snowball-fips.us-east-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.us-east-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.us-east-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-east-2" : { "variants" : [ { "hostname" : "snowball-fips.us-east-2.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.us-east-2.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.us-east-2.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-west-1" : { "variants" : [ { "hostname" : "snowball-fips.us-west-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.us-west-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.us-west-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-west-2" : { "variants" : [ { "hostname" : "snowball-fips.us-west-2.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "snowball-fips.us-west-2.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "snowball.us-west-2.api.aws", + "tags" : [ "dualstack" ] } ] } } diff --git a/gems/aws-sdk-artifact/CHANGELOG.md b/gems/aws-sdk-artifact/CHANGELOG.md index 385184c7cb6..477b4ef0625 100644 --- a/gems/aws-sdk-artifact/CHANGELOG.md +++ b/gems/aws-sdk-artifact/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.16.0 (2025-01-13) +------------------ + +* Feature - Support resolving regional API calls to partition's leader region endpoint. + 1.15.0 (2024-12-11) ------------------ diff --git a/gems/aws-sdk-artifact/VERSION b/gems/aws-sdk-artifact/VERSION index 141f2e805be..15b989e398f 100644 --- a/gems/aws-sdk-artifact/VERSION +++ b/gems/aws-sdk-artifact/VERSION @@ -1 +1 @@ -1.15.0 +1.16.0 diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb index 57777b836ad..76366bdc4b9 100644 --- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb @@ -55,7 +55,7 @@ module Plugins autoload :EndpointProvider, 'aws-sdk-artifact/endpoint_provider' autoload :Endpoints, 'aws-sdk-artifact/endpoints' - GEM_VERSION = '1.15.0' + GEM_VERSION = '1.16.0' end diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb index 2fd3de04c3c..896c258db0c 100644 --- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb @@ -892,7 +892,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-artifact' - context[:gem_version] = '1.15.0' + context[:gem_version] = '1.16.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoint_parameters.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoint_parameters.rb index cef686708d3..003be9116bb 100644 --- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoint_parameters.rb +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoint_parameters.rb @@ -10,11 +10,6 @@ module Aws::Artifact # Endpoint parameters used to influence endpoints per request. # - # @!attribute region - # The AWS region used to dispatch the request. - # - # @return [String] - # # @!attribute use_dual_stack # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error. # @@ -30,39 +25,44 @@ module Aws::Artifact # # @return [String] # + # @!attribute region + # The AWS region used to dispatch the request. + # + # @return [String] + # EndpointParameters = Struct.new( - :region, :use_dual_stack, :use_fips, :endpoint, + :region, ) do include Aws::Structure # @api private class << self PARAM_MAP = { - 'Region' => :region, 'UseDualStack' => :use_dual_stack, 'UseFIPS' => :use_fips, 'Endpoint' => :endpoint, + 'Region' => :region, }.freeze end def initialize(options = {}) - self[:region] = options[:region] self[:use_dual_stack] = options[:use_dual_stack] self[:use_dual_stack] = false if self[:use_dual_stack].nil? self[:use_fips] = options[:use_fips] self[:use_fips] = false if self[:use_fips].nil? self[:endpoint] = options[:endpoint] + self[:region] = options[:region] end def self.create(config, options={}) new({ - region: config.region, use_dual_stack: config.use_dualstack_endpoint, use_fips: config.use_fips_endpoint, endpoint: (config.endpoint.to_s unless config.regional_endpoint), + region: config.region, }.merge(options)) end end diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoint_provider.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoint_provider.rb index 6e2c5070748..42dfda3023f 100644 --- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoint_provider.rb +++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoint_provider.rb @@ -10,10 +10,10 @@ module Aws::Artifact class EndpointProvider def resolve_endpoint(parameters) - region = parameters.region use_dual_stack = parameters.use_dual_stack use_fips = parameters.use_fips endpoint = parameters.endpoint + region = parameters.region if Aws::Endpoints::Matchers.set?(endpoint) if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported" @@ -27,23 +27,23 @@ def resolve_endpoint(parameters) if (partition_result = Aws::Endpoints::Matchers.aws_partition(region)) if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack")) - return Aws::Endpoints::Endpoint.new(url: "https://artifact-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}) + return Aws::Endpoints::Endpoint.new(url: "https://artifact-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]}) end raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both" end - if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) + if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false) if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true) - return Aws::Endpoints::Endpoint.new(url: "https://artifact-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) + return Aws::Endpoints::Endpoint.new(url: "https://artifact-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]}) end raise ArgumentError, "FIPS is enabled but this partition does not support FIPS" end - if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) + if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true) if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack")) - return Aws::Endpoints::Endpoint.new(url: "https://artifact.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {}) + return Aws::Endpoints::Endpoint.new(url: "https://artifact.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]}) end raise ArgumentError, "DualStack is enabled but this partition does not support DualStack" end - return Aws::Endpoints::Endpoint.new(url: "https://artifact.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {}) + return Aws::Endpoints::Endpoint.new(url: "https://artifact.#{partition_result['implicitGlobalRegion']}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]}) end end raise ArgumentError, "Invalid Configuration: Missing Region" diff --git a/gems/aws-sdk-artifact/spec/endpoint_provider_spec.rb b/gems/aws-sdk-artifact/spec/endpoint_provider_spec.rb index c597c5b7466..b67f2fb4148 100644 --- a/gems/aws-sdk-artifact/spec/endpoint_provider_spec.rb +++ b/gems/aws-sdk-artifact/spec/endpoint_provider_spec.rb @@ -14,9 +14,49 @@ module Aws::Artifact describe EndpointProvider do subject { Aws::Artifact::EndpointProvider.new } + context "For custom endpoint with region not set and fips disabled" do + let(:expected) do + {"endpoint"=>{"url"=>"https://example.com"}} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:endpoint=>"https://example.com", :use_fips=>false}) + endpoint = subject.resolve_endpoint(params) + expect(endpoint.url).to eq(expected['endpoint']['url']) + expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) + expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) + end + end + + context "For custom endpoint with fips enabled" do + let(:expected) do + {"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:endpoint=>"https://example.com", :use_fips=>true}) + expect do + subject.resolve_endpoint(params) + end.to raise_error(ArgumentError, expected['error']) + end + end + + context "For custom endpoint with fips disabled and dualstack enabled" do + let(:expected) do + {"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:endpoint=>"https://example.com", :use_fips=>false, :use_dual_stack=>true}) + expect do + subject.resolve_endpoint(params) + end.to raise_error(ArgumentError, expected['error']) + end + end + context "For region us-east-1 with FIPS enabled and DualStack enabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact-fips.us-east-1.api.aws"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1"}]}, "url"=>"https://artifact-fips.us-east-1.api.aws"}} end it 'produces the expected output from the EndpointProvider' do @@ -30,7 +70,7 @@ module Aws::Artifact context "For region us-east-1 with FIPS enabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact-fips.us-east-1.amazonaws.com"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1"}]}, "url"=>"https://artifact-fips.us-east-1.amazonaws.com"}} end it 'produces the expected output from the EndpointProvider' do @@ -44,7 +84,7 @@ module Aws::Artifact context "For region us-east-1 with FIPS disabled and DualStack enabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact.us-east-1.api.aws"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1"}]}, "url"=>"https://artifact.us-east-1.api.aws"}} end it 'produces the expected output from the EndpointProvider' do @@ -58,7 +98,7 @@ module Aws::Artifact context "For region us-east-1 with FIPS disabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact.us-east-1.amazonaws.com"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1"}]}, "url"=>"https://artifact.us-east-1.amazonaws.com"}} end it 'produces the expected output from the EndpointProvider' do @@ -70,13 +110,13 @@ module Aws::Artifact end end - context "For region cn-north-1 with FIPS enabled and DualStack enabled" do + context "For region cn-northwest-1 with FIPS enabled and DualStack enabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact-fips.cn-north-1.api.amazonwebservices.com.cn"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://artifact-fips.cn-northwest-1.api.amazonwebservices.com.cn"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>true, :use_dual_stack=>true}) + params = EndpointParameters.new(**{:region=>"cn-northwest-1", :use_fips=>true, :use_dual_stack=>true}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -84,13 +124,13 @@ module Aws::Artifact end end - context "For region cn-north-1 with FIPS enabled and DualStack disabled" do + context "For region cn-northwest-1 with FIPS enabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact-fips.cn-north-1.amazonaws.com.cn"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://artifact-fips.cn-northwest-1.amazonaws.com.cn"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>true, :use_dual_stack=>false}) + params = EndpointParameters.new(**{:region=>"cn-northwest-1", :use_fips=>true, :use_dual_stack=>false}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -98,13 +138,13 @@ module Aws::Artifact end end - context "For region cn-north-1 with FIPS disabled and DualStack enabled" do + context "For region cn-northwest-1 with FIPS disabled and DualStack enabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact.cn-north-1.api.amazonwebservices.com.cn"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://artifact.cn-northwest-1.api.amazonwebservices.com.cn"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>false, :use_dual_stack=>true}) + params = EndpointParameters.new(**{:region=>"cn-northwest-1", :use_fips=>false, :use_dual_stack=>true}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -112,13 +152,13 @@ module Aws::Artifact end end - context "For region cn-north-1 with FIPS disabled and DualStack disabled" do + context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact.cn-north-1.amazonaws.com.cn"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://artifact.cn-northwest-1.amazonaws.com.cn"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"cn-north-1", :use_fips=>false, :use_dual_stack=>false}) + params = EndpointParameters.new(**{:region=>"cn-northwest-1", :use_fips=>false, :use_dual_stack=>false}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -126,13 +166,13 @@ module Aws::Artifact end end - context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do + context "For region us-gov-west-1 with FIPS enabled and DualStack enabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact-fips.us-gov-east-1.api.aws"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://artifact-fips.us-gov-west-1.api.aws"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>true, :use_dual_stack=>true}) + params = EndpointParameters.new(**{:region=>"us-gov-west-1", :use_fips=>true, :use_dual_stack=>true}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -140,13 +180,13 @@ module Aws::Artifact end end - context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do + context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact-fips.us-gov-east-1.amazonaws.com"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://artifact-fips.us-gov-west-1.amazonaws.com"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>true, :use_dual_stack=>false}) + params = EndpointParameters.new(**{:region=>"us-gov-west-1", :use_fips=>true, :use_dual_stack=>false}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -154,13 +194,13 @@ module Aws::Artifact end end - context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do + context "For region us-gov-west-1 with FIPS disabled and DualStack enabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact.us-gov-east-1.api.aws"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://artifact.us-gov-west-1.api.aws"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>false, :use_dual_stack=>true}) + params = EndpointParameters.new(**{:region=>"us-gov-west-1", :use_fips=>false, :use_dual_stack=>true}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -168,13 +208,13 @@ module Aws::Artifact end end - context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do + context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact.us-gov-east-1.amazonaws.com"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://artifact.us-gov-west-1.amazonaws.com"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-gov-east-1", :use_fips=>false, :use_dual_stack=>false}) + params = EndpointParameters.new(**{:region=>"us-gov-west-1", :use_fips=>false, :use_dual_stack=>false}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -197,7 +237,7 @@ module Aws::Artifact context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact-fips.us-iso-east-1.c2s.ic.gov"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://artifact-fips.us-iso-east-1.c2s.ic.gov"}} end it 'produces the expected output from the EndpointProvider' do @@ -224,7 +264,7 @@ module Aws::Artifact context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact.us-iso-east-1.c2s.ic.gov"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://artifact.us-iso-east-1.c2s.ic.gov"}} end it 'produces the expected output from the EndpointProvider' do @@ -251,7 +291,7 @@ module Aws::Artifact context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact-fips.us-isob-east-1.sc2s.sgov.gov"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://artifact-fips.us-isob-east-1.sc2s.sgov.gov"}} end it 'produces the expected output from the EndpointProvider' do @@ -278,7 +318,7 @@ module Aws::Artifact context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://artifact.us-isob-east-1.sc2s.sgov.gov"}} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://artifact.us-isob-east-1.sc2s.sgov.gov"}} end it 'produces the expected output from the EndpointProvider' do @@ -290,13 +330,26 @@ module Aws::Artifact end end - context "For custom endpoint with region set and fips disabled and dualstack disabled" do + context "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://example.com"}} + {"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:region=>"eu-isoe-west-1", :use_fips=>true, :use_dual_stack=>true}) + expect do + subject.resolve_endpoint(params) + end.to raise_error(ArgumentError, expected['error']) + end + end + + context "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled" do + let(:expected) do + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"eu-isoe-west-1"}]}, "url"=>"https://artifact-fips.eu-isoe-west-1.cloud.adc-e.uk"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>false, :endpoint=>"https://example.com"}) + params = EndpointParameters.new(**{:region=>"eu-isoe-west-1", :use_fips=>true, :use_dual_stack=>false}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -304,13 +357,26 @@ module Aws::Artifact end end - context "For custom endpoint with region not set and fips disabled and dualstack disabled" do + context "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled" do let(:expected) do - {"endpoint"=>{"url"=>"https://example.com"}} + {"error"=>"DualStack is enabled but this partition does not support DualStack"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:region=>"eu-isoe-west-1", :use_fips=>false, :use_dual_stack=>true}) + expect do + subject.resolve_endpoint(params) + end.to raise_error(ArgumentError, expected['error']) + end + end + + context "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled" do + let(:expected) do + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"eu-isoe-west-1"}]}, "url"=>"https://artifact.eu-isoe-west-1.cloud.adc-e.uk"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:use_fips=>false, :use_dual_stack=>false, :endpoint=>"https://example.com"}) + params = EndpointParameters.new(**{:region=>"eu-isoe-west-1", :use_fips=>false, :use_dual_stack=>false}) endpoint = subject.resolve_endpoint(params) expect(endpoint.url).to eq(expected['endpoint']['url']) expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) @@ -318,32 +384,60 @@ module Aws::Artifact end end - context "For custom endpoint with fips enabled and dualstack disabled" do + context "For region us-isof-south-1 with FIPS enabled and DualStack enabled" do let(:expected) do - {"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"} + {"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>true, :use_dual_stack=>false, :endpoint=>"https://example.com"}) + params = EndpointParameters.new(**{:region=>"us-isof-south-1", :use_fips=>true, :use_dual_stack=>true}) expect do subject.resolve_endpoint(params) end.to raise_error(ArgumentError, expected['error']) end end - context "For custom endpoint with fips disabled and dualstack enabled" do + context "For region us-isof-south-1 with FIPS enabled and DualStack disabled" do let(:expected) do - {"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"} + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isof-south-1"}]}, "url"=>"https://artifact-fips.us-isof-south-1.csp.hci.ic.gov"}} end it 'produces the expected output from the EndpointProvider' do - params = EndpointParameters.new(**{:region=>"us-east-1", :use_fips=>false, :use_dual_stack=>true, :endpoint=>"https://example.com"}) + params = EndpointParameters.new(**{:region=>"us-isof-south-1", :use_fips=>true, :use_dual_stack=>false}) + endpoint = subject.resolve_endpoint(params) + expect(endpoint.url).to eq(expected['endpoint']['url']) + expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) + expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) + end + end + + context "For region us-isof-south-1 with FIPS disabled and DualStack enabled" do + let(:expected) do + {"error"=>"DualStack is enabled but this partition does not support DualStack"} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:region=>"us-isof-south-1", :use_fips=>false, :use_dual_stack=>true}) expect do subject.resolve_endpoint(params) end.to raise_error(ArgumentError, expected['error']) end end + context "For region us-isof-south-1 with FIPS disabled and DualStack disabled" do + let(:expected) do + {"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isof-south-1"}]}, "url"=>"https://artifact.us-isof-south-1.csp.hci.ic.gov"}} + end + + it 'produces the expected output from the EndpointProvider' do + params = EndpointParameters.new(**{:region=>"us-isof-south-1", :use_fips=>false, :use_dual_stack=>false}) + endpoint = subject.resolve_endpoint(params) + expect(endpoint.url).to eq(expected['endpoint']['url']) + expect(endpoint.headers).to eq(expected['endpoint']['headers'] || {}) + expect(endpoint.properties).to eq(expected['endpoint']['properties'] || {}) + end + end + context "Missing region" do let(:expected) do {"error"=>"Invalid Configuration: Missing Region"} diff --git a/gems/aws-sdk-bedrock/CHANGELOG.md b/gems/aws-sdk-bedrock/CHANGELOG.md index 0a54ba04ff8..6bfe732cd14 100644 --- a/gems/aws-sdk-bedrock/CHANGELOG.md +++ b/gems/aws-sdk-bedrock/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.33.0 (2025-01-13) +------------------ + +* Feature - With this release, Bedrock Evaluation will now support latency-optimized inference for foundation models. + 1.32.0 (2024-12-04) ------------------ diff --git a/gems/aws-sdk-bedrock/VERSION b/gems/aws-sdk-bedrock/VERSION index 359c41089a4..7aa332e4163 100644 --- a/gems/aws-sdk-bedrock/VERSION +++ b/gems/aws-sdk-bedrock/VERSION @@ -1 +1 @@ -1.32.0 +1.33.0 diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock.rb index 25a9a8e3045..2c1580ee20d 100644 --- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock.rb +++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock.rb @@ -55,7 +55,7 @@ module Plugins autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider' autoload :Endpoints, 'aws-sdk-bedrock/endpoints' - GEM_VERSION = '1.32.0' + GEM_VERSION = '1.33.0' end diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client.rb index 8da8a206458..7c642bd01a1 100644 --- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client.rb +++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client.rb @@ -622,6 +622,9 @@ def batch_delete_evaluation_job(params = {}, options = {}) # bedrock_model: { # model_identifier: "EvaluationModelIdentifier", # required # inference_params: "EvaluationModelInferenceParams", + # performance_config: { + # latency: "standard", # accepts standard, optimized + # }, # }, # }, # ], @@ -2221,6 +2224,7 @@ def get_custom_model(params = {}, options = {}) # resp.inference_config.models #=> Array # resp.inference_config.models[0].bedrock_model.model_identifier #=> String # resp.inference_config.models[0].bedrock_model.inference_params #=> String + # resp.inference_config.models[0].bedrock_model.performance_config.latency #=> String, one of "standard", "optimized" # resp.inference_config.rag_configs #=> Array # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_id #=> String # resp.inference_config.rag_configs[0].knowledge_base_config.retrieve_config.knowledge_base_retrieval_configuration.vector_search_configuration.number_of_results #=> Integer @@ -4633,7 +4637,7 @@ def build_request(operation_name, params = {}) tracer: tracer ) context[:gem_name] = 'aws-sdk-bedrock' - context[:gem_version] = '1.32.0' + context[:gem_version] = '1.33.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client_api.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client_api.rb index 68780ab587b..309202a361c 100644 --- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client_api.rb +++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client_api.rb @@ -370,6 +370,8 @@ module ClientApi OrchestrationConfiguration = Shapes::StructureShape.new(name: 'OrchestrationConfiguration') OutputDataConfig = Shapes::StructureShape.new(name: 'OutputDataConfig') PaginationToken = Shapes::StringShape.new(name: 'PaginationToken') + PerformanceConfigLatency = Shapes::StringShape.new(name: 'PerformanceConfigLatency') + PerformanceConfiguration = Shapes::StructureShape.new(name: 'PerformanceConfiguration') PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger') PromptRouterArn = Shapes::StringShape.new(name: 'PromptRouterArn') PromptRouterDescription = Shapes::StringShape.new(name: 'PromptRouterDescription') @@ -731,6 +733,7 @@ module ClientApi EvaluationBedrockModel.add_member(:model_identifier, Shapes::ShapeRef.new(shape: EvaluationModelIdentifier, required: true, location_name: "modelIdentifier")) EvaluationBedrockModel.add_member(:inference_params, Shapes::ShapeRef.new(shape: EvaluationModelInferenceParams, location_name: "inferenceParams")) + EvaluationBedrockModel.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig")) EvaluationBedrockModel.struct_class = Types::EvaluationBedrockModel EvaluationConfig.add_member(:automated, Shapes::ShapeRef.new(shape: AutomatedEvaluationConfig, location_name: "automated")) @@ -1626,6 +1629,9 @@ module ClientApi OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri")) OutputDataConfig.struct_class = Types::OutputDataConfig + PerformanceConfiguration.add_member(:latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location_name: "latency")) + PerformanceConfiguration.struct_class = Types::PerformanceConfiguration + PromptRouterSummaries.member = Shapes::ShapeRef.new(shape: PromptRouterSummary) PromptRouterSummary.add_member(:prompt_router_name, Shapes::ShapeRef.new(shape: PromptRouterName, required: true, location_name: "promptRouterName")) diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb index 98382dd2559..5b5f5c84f46 100644 --- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb +++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb @@ -1303,11 +1303,16 @@ class Unknown < EndpointConfig; end # change how the model behaves during inference. # @return [String] # + # @!attribute [rw] performance_config + # Specifies performance settings for the model or inference profile. + # @return [Types::PerformanceConfiguration] + # # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/EvaluationBedrockModel AWS API Documentation # class EvaluationBedrockModel < Struct.new( :model_identifier, - :inference_params) + :inference_params, + :performance_config) SENSITIVE = [:inference_params] include Aws::Structure end @@ -5978,6 +5983,21 @@ class OutputDataConfig < Struct.new( include Aws::Structure end + # Contains performance settings for a model. + # + # @!attribute [rw] latency + # Specifies whether to use the latency-optimized or standard version + # of a model or inference profile. + # @return [String] + # + # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/PerformanceConfiguration AWS API Documentation + # + class PerformanceConfiguration < Struct.new( + :latency) + SENSITIVE = [] + include Aws::Structure + end + # Details about a prompt router. # # @!attribute [rw] prompt_router_name diff --git a/gems/aws-sdk-bedrock/sig/client.rbs b/gems/aws-sdk-bedrock/sig/client.rbs index 73ec2d45ac4..eb9724f271b 100644 --- a/gems/aws-sdk-bedrock/sig/client.rbs +++ b/gems/aws-sdk-bedrock/sig/client.rbs @@ -157,7 +157,10 @@ module Aws { bedrock_model: { model_identifier: ::String, - inference_params: ::String? + inference_params: ::String?, + performance_config: { + latency: ("standard" | "optimized")? + }? }? }, ]?, diff --git a/gems/aws-sdk-bedrock/sig/types.rbs b/gems/aws-sdk-bedrock/sig/types.rbs index 42d45097192..8c13775c4c0 100644 --- a/gems/aws-sdk-bedrock/sig/types.rbs +++ b/gems/aws-sdk-bedrock/sig/types.rbs @@ -346,6 +346,7 @@ module Aws::Bedrock class EvaluationBedrockModel attr_accessor model_identifier: ::String attr_accessor inference_params: ::String + attr_accessor performance_config: Types::PerformanceConfiguration SENSITIVE: [:inference_params] end @@ -1448,6 +1449,11 @@ module Aws::Bedrock SENSITIVE: [] end + class PerformanceConfiguration + attr_accessor latency: ("standard" | "optimized") + SENSITIVE: [] + end + class PromptRouterSummary attr_accessor prompt_router_name: ::String attr_accessor routing_criteria: Types::RoutingCriteria diff --git a/gems/aws-sdk-ec2/CHANGELOG.md b/gems/aws-sdk-ec2/CHANGELOG.md index 5f68c26a297..8ec1b16c6d5 100644 --- a/gems/aws-sdk-ec2/CHANGELOG.md +++ b/gems/aws-sdk-ec2/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.499.0 (2025-01-13) +------------------ + +* Feature - Add support for DisconnectOnSessionTimeout flag in CreateClientVpnEndpoint and ModifyClientVpnEndpoint requests and DescribeClientVpnEndpoints responses + 1.498.0 (2024-12-16) ------------------ diff --git a/gems/aws-sdk-ec2/VERSION b/gems/aws-sdk-ec2/VERSION index a54f0c9fdff..1c31ddf8a09 100644 --- a/gems/aws-sdk-ec2/VERSION +++ b/gems/aws-sdk-ec2/VERSION @@ -1 +1 @@ -1.498.0 +1.499.0 diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb index b036abe8cc9..7633264533d 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb @@ -78,7 +78,7 @@ module Plugins autoload :VpcPeeringConnection, 'aws-sdk-ec2/vpc_peering_connection' autoload :VpcAddress, 'aws-sdk-ec2/vpc_address' - GEM_VERSION = '1.498.0' + GEM_VERSION = '1.499.0' end diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb index d1b661d832b..136bce9744b 100644 --- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb +++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb @@ -4084,6 +4084,11 @@ def cancel_bundle_task(params = {}, options = {}) # duration has elapsed. You can't cancel a future-dated Capacity # Reservation during the commitment duration. # + #