diff --git a/.changelog/a2b14391725940d89a14ef93946ec384.json b/.changelog/a2b14391725940d89a14ef93946ec384.json new file mode 100644 index 00000000000..2d8b92af2cb --- /dev/null +++ b/.changelog/a2b14391725940d89a14ef93946ec384.json @@ -0,0 +1,8 @@ +{ + "id": "a2b14391-7259-40d8-9a14-ef93946ec384", + "type": "feature", + "description": "This release adds support for blocked paths to Amazon VPC Reachability Analyzer.", + "modules": [ + "service/ec2" + ] +} \ No newline at end of file diff --git a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go index 48e5196d191..4a29d4cb3ea 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go +++ b/service/ec2/api_op_DescribeNetworkInsightsAnalyses.go @@ -45,10 +45,10 @@ type DescribeNetworkInsightsAnalysesInput struct { // The filters. The following are the possible values: // - // * PathFound - A Boolean + // * path-found - A Boolean // value that indicates whether a feasible path is found. // - // * Status - The status of + // * status - The status of // the analysis (running | succeeded | failed). Filters []types.Filter diff --git a/service/ec2/api_op_DescribeNetworkInsightsPaths.go b/service/ec2/api_op_DescribeNetworkInsightsPaths.go index 2c9f053421f..15659844405 100644 --- a/service/ec2/api_op_DescribeNetworkInsightsPaths.go +++ b/service/ec2/api_op_DescribeNetworkInsightsPaths.go @@ -38,17 +38,15 @@ type DescribeNetworkInsightsPathsInput struct { // The filters. The following are the possible values: // - // * Destination - The ID of + // * destination - The ID of // the resource. // - // * DestinationPort - The destination port. + // * destination-port - The destination port. // - // * Name - The path - // name. + // * protocol - The + // protocol. // - // * Protocol - The protocol. - // - // * Source - The ID of the resource. + // * source - The ID of the resource. Filters []types.Filter // The maximum number of results to return with a single call. To retrieve the diff --git a/service/ec2/api_op_DescribeSubnets.go b/service/ec2/api_op_DescribeSubnets.go index b3a6605cb4f..01efebaa0fc 100644 --- a/service/ec2/api_op_DescribeSubnets.go +++ b/service/ec2/api_op_DescribeSubnets.go @@ -59,16 +59,28 @@ type DescribeSubnetsInput struct { // the subnet's CIDR block for information to be returned for the subnet. You can // also use cidr or cidrBlock as the filter names. // - // * default-for-az - Indicates - // whether this is the default subnet for the Availability Zone (true | false). You - // can also use defaultForAz as the filter name. + // * customer-owned-ipv4-pool - + // The customer-owned IPv4 address pool associated with the subnet. // // * - // ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR block associated with - // the subnet. + // default-for-az - Indicates whether this is the default subnet for the + // Availability Zone (true | false). You can also use defaultForAz as the filter + // name. // - // * ipv6-cidr-block-association.association-id - An association ID - // for an IPv6 CIDR block associated with the subnet. + // * enable-dns64 - Indicates whether DNS queries made to the + // Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 + // addresses for IPv4-only destinations. + // + // * enable-lni-at-device-index - Indicates + // the device position for local network interfaces in this subnet. For example, 1 + // indicates local network interfaces in this subnet are the secondary network + // interface (eth1). + // + // * ipv6-cidr-block-association.ipv6-cidr-block - An IPv6 CIDR + // block associated with the subnet. + // + // * ipv6-cidr-block-association.association-id + // - An association ID for an IPv6 CIDR block associated with the subnet. // // * // ipv6-cidr-block-association.state - The state of an IPv6 CIDR block associated @@ -77,11 +89,34 @@ type DescribeSubnetsInput struct { // * ipv6-native - Indicates whether this is an IPv6 only subnet // (true | false). // - // * outpost-arn - The Amazon Resource Name (ARN) of the - // Outpost. + // * map-customer-owned-ip-on-launch - Indicates whether a network + // interface created in this subnet (including a network interface created by + // RunInstances) receives a customer-owned IPv4 address. // - // * owner-id - The ID of the Amazon Web Services account that owns the - // subnet. + // * map-public-ip-on-launch + // - Indicates whether instances launched in this subnet receive a public IPv4 + // address. + // + // * outpost-arn - The Amazon Resource Name (ARN) of the Outpost. + // + // * + // owner-id - The ID of the Amazon Web Services account that owns the subnet. + // + // * + // private-dns-name-options-on-launch.hostname-type - The type of hostname to + // assign to instances in the subnet at launch. For IPv4-only and dual-stack (IPv4 + // and IPv6) subnets, an instance DNS name can be based on the instance IPv4 + // address (ip-name) or the instance ID (resource-name). For IPv6 only subnets, an + // instance DNS name must be based on the instance ID (resource-name). + // + // * + // private-dns-name-options-on-launch.enable-resource-name-dns-a-record - Indicates + // whether to respond to DNS queries for instance hostnames with DNS A records. + // + // * + // private-dns-name-options-on-launch.enable-resource-name-dns-aaaa-record - + // Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA + // records. // // * state - The state of the subnet (pending | available). // diff --git a/service/ec2/deserializers.go b/service/ec2/deserializers.go index 8d8dfb27e19..c17f5142b05 100644 --- a/service/ec2/deserializers.go +++ b/service/ec2/deserializers.go @@ -50715,6 +50715,19 @@ func awsEc2query_deserializeDocumentAnalysisRouteTableRoute(v **types.AnalysisRo sv.Origin = ptr.String(xtv) } + case strings.EqualFold("state", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.State = ptr.String(xtv) + } + case strings.EqualFold("transitGatewayId", t.Name.Local): val, err := decoder.Value() if err != nil { @@ -64286,6 +64299,32 @@ func awsEc2query_deserializeDocumentExplanation(v **types.Explanation, decoder s return err } + case strings.EqualFold("componentAccount", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ComponentAccount = ptr.String(xtv) + } + + case strings.EqualFold("componentRegion", t.Name.Local): + val, err := decoder.Value() + if err != nil { + return err + } + if val == nil { + break + } + { + xtv := string(val) + sv.ComponentRegion = ptr.String(xtv) + } + case strings.EqualFold("customerGateway", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) if err := awsEc2query_deserializeDocumentAnalysisComponent(&sv.CustomerGateway, nodeDecoder); err != nil { @@ -91690,6 +91729,18 @@ func awsEc2query_deserializeDocumentPathComponent(v **types.PathComponent, decod return err } + case strings.EqualFold("elasticLoadBalancerListener", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentAnalysisComponent(&sv.ElasticLoadBalancerListener, nodeDecoder); err != nil { + return err + } + + case strings.EqualFold("explanationSet", t.Name.Local): + nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) + if err := awsEc2query_deserializeDocumentExplanationList(&sv.Explanations, nodeDecoder); err != nil { + return err + } + case strings.EqualFold("inboundHeader", t.Name.Local): nodeDecoder := smithyxml.WrapNodeDecoder(decoder.Decoder, t) if err := awsEc2query_deserializeDocumentAnalysisPacketHeader(&sv.InboundHeader, nodeDecoder); err != nil { diff --git a/service/ec2/types/types.go b/service/ec2/types/types.go index 58c81b0d824..ad154ced727 100644 --- a/service/ec2/types/types.go +++ b/service/ec2/types/types.go @@ -444,6 +444,13 @@ type AnalysisRouteTableRoute struct { // EnableVgwRoutePropagation - The route was propagated by route propagation. Origin *string + // The state. The following are the possible values: + // + // * active + // + // * blackhole + State *string + // The ID of a transit gateway. TransitGatewayId *string @@ -3279,6 +3286,12 @@ type Explanation struct { // The component. Component *AnalysisComponent + // The Amazon Web Services account for the component. + ComponentAccount *string + + // The Region for the component. + ComponentRegion *string + // The customer gateway. CustomerGateway *AnalysisComponent @@ -9922,6 +9935,12 @@ type PathComponent struct { // The destination VPC. DestinationVpc *AnalysisComponent + // The load balancer listener. + ElasticLoadBalancerListener *AnalysisComponent + + // The explanation codes. + Explanations []Explanation + // The inbound header. InboundHeader *AnalysisPacketHeader diff --git a/service/rbin/internal/endpoints/endpoints.go b/service/rbin/internal/endpoints/endpoints.go index fb3329a34a9..d19985fb1cf 100644 --- a/service/rbin/internal/endpoints/endpoints.go +++ b/service/rbin/internal/endpoints/endpoints.go @@ -312,6 +312,14 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsCn, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "cn-north-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "cn-northwest-1", + }: endpoints.Endpoint{}, + }, }, { ID: "aws-iso", @@ -389,5 +397,43 @@ var defaultPartitions = endpoints.Partitions{ }, RegionRegex: partitionRegexp.AwsUsGov, IsRegionalized: true, + Endpoints: endpoints.Endpoints{ + endpoints.EndpointKey{ + Region: "fips-us-gov-east-1", + }: endpoints.Endpoint{ + Hostname: "rbin-fips.us-gov-east-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-gov-east-1", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "fips-us-gov-west-1", + }: endpoints.Endpoint{ + Hostname: "rbin-fips.us-gov-west-1.amazonaws.com", + CredentialScope: endpoints.CredentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: aws.TrueTernary, + }, + endpoints.EndpointKey{ + Region: "us-gov-east-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-gov-east-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "rbin-fips.us-gov-east-1.amazonaws.com", + }, + endpoints.EndpointKey{ + Region: "us-gov-west-1", + }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "us-gov-west-1", + Variant: endpoints.FIPSVariant, + }: { + Hostname: "rbin-fips.us-gov-west-1.amazonaws.com", + }, + }, }, }