From f26fab506c1f1410d882cd7fcd7fccef07ed836c Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Thu, 10 Dec 2020 11:32:17 -0800 Subject: [PATCH] Release v1.36.6 (2020-12-10) (#3688) Release v1.36.6 (2020-12-10) === ### Service Client Updates * `service/ec2`: Updates service API, documentation, and paginators * TGW connect simplifies connectivity of SD-WAN appliances; IGMP support for TGW multicast; VPC Reachability Analyzer for VPC resources connectivity analysis. * `service/kendra`: Updates service API and documentation * Amazon Kendra now supports adding synonyms to an index through the new Thesaurus resource. * `service/networkmanager`: Updates service API, documentation, and paginators --- CHANGELOG.md | 10 + aws/version.go | 2 +- models/apis/ec2/2016-11-15/api-2.json | 1443 ++++- models/apis/ec2/2016-11-15/docs-2.json | 700 ++- models/apis/ec2/2016-11-15/paginators-1.json | 24 + models/apis/kendra/2019-02-03/api-2.json | 235 +- models/apis/kendra/2019-02-03/docs-2.json | 139 +- .../apis/networkmanager/2019-07-05/api-2.json | 384 +- .../networkmanager/2019-07-05/docs-2.json | 175 +- .../2019-07-05/paginators-1.json | 12 + service/ec2/api.go | 4699 ++++++++++++++++- service/ec2/ec2iface/interface.go | 68 + service/kendra/api.go | 1315 ++++- service/kendra/kendraiface/interface.go | 20 + service/networkmanager/api.go | 2018 ++++++- service/networkmanager/doc.go | 3 + .../networkmanageriface/interface.go | 34 + 17 files changed, 11051 insertions(+), 230 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 958288fea3c..5ccb332ade5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +Release v1.36.6 (2020-12-10) +=== + +### Service Client Updates +* `service/ec2`: Updates service API, documentation, and paginators + * TGW connect simplifies connectivity of SD-WAN appliances; IGMP support for TGW multicast; VPC Reachability Analyzer for VPC resources connectivity analysis. +* `service/kendra`: Updates service API and documentation + * Amazon Kendra now supports adding synonyms to an index through the new Thesaurus resource. +* `service/networkmanager`: Updates service API, documentation, and paginators + Release v1.36.5 (2020-12-09) === diff --git a/aws/version.go b/aws/version.go index b18b40cab04..d844bd427ae 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.36.5" +const SDKVersion = "1.36.6" diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index 86598200db5..a7c45e3df92 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -21,6 +21,15 @@ "input":{"shape":"AcceptReservedInstancesExchangeQuoteRequest"}, "output":{"shape":"AcceptReservedInstancesExchangeQuoteResult"} }, + "AcceptTransitGatewayMulticastDomainAssociations":{ + "name":"AcceptTransitGatewayMulticastDomainAssociations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"AcceptTransitGatewayMulticastDomainAssociationsRequest"}, + "output":{"shape":"AcceptTransitGatewayMulticastDomainAssociationsResult"} + }, "AcceptTransitGatewayPeeringAttachment":{ "name":"AcceptTransitGatewayPeeringAttachment", "http":{ @@ -599,6 +608,15 @@ }, "input":{"shape":"CreateNetworkAclEntryRequest"} }, + "CreateNetworkInsightsPath":{ + "name":"CreateNetworkInsightsPath", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateNetworkInsightsPathRequest"}, + "output":{"shape":"CreateNetworkInsightsPathResult"} + }, "CreateNetworkInterface":{ "name":"CreateNetworkInterface", "http":{ @@ -751,6 +769,24 @@ "input":{"shape":"CreateTransitGatewayRequest"}, "output":{"shape":"CreateTransitGatewayResult"} }, + "CreateTransitGatewayConnect":{ + "name":"CreateTransitGatewayConnect", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateTransitGatewayConnectRequest"}, + "output":{"shape":"CreateTransitGatewayConnectResult"} + }, + "CreateTransitGatewayConnectPeer":{ + "name":"CreateTransitGatewayConnectPeer", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateTransitGatewayConnectPeerRequest"}, + "output":{"shape":"CreateTransitGatewayConnectPeerResult"} + }, "CreateTransitGatewayMulticastDomain":{ "name":"CreateTransitGatewayMulticastDomain", "http":{ @@ -1050,6 +1086,24 @@ }, "input":{"shape":"DeleteNetworkAclEntryRequest"} }, + "DeleteNetworkInsightsAnalysis":{ + "name":"DeleteNetworkInsightsAnalysis", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteNetworkInsightsAnalysisRequest"}, + "output":{"shape":"DeleteNetworkInsightsAnalysisResult"} + }, + "DeleteNetworkInsightsPath":{ + "name":"DeleteNetworkInsightsPath", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteNetworkInsightsPathRequest"}, + "output":{"shape":"DeleteNetworkInsightsPathResult"} + }, "DeleteNetworkInterface":{ "name":"DeleteNetworkInterface", "http":{ @@ -1185,6 +1239,24 @@ "input":{"shape":"DeleteTransitGatewayRequest"}, "output":{"shape":"DeleteTransitGatewayResult"} }, + "DeleteTransitGatewayConnect":{ + "name":"DeleteTransitGatewayConnect", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteTransitGatewayConnectRequest"}, + "output":{"shape":"DeleteTransitGatewayConnectResult"} + }, + "DeleteTransitGatewayConnectPeer":{ + "name":"DeleteTransitGatewayConnectPeer", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteTransitGatewayConnectPeerRequest"}, + "output":{"shape":"DeleteTransitGatewayConnectPeerResult"} + }, "DeleteTransitGatewayMulticastDomain":{ "name":"DeleteTransitGatewayMulticastDomain", "http":{ @@ -1908,6 +1980,24 @@ "input":{"shape":"DescribeNetworkAclsRequest"}, "output":{"shape":"DescribeNetworkAclsResult"} }, + "DescribeNetworkInsightsAnalyses":{ + "name":"DescribeNetworkInsightsAnalyses", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeNetworkInsightsAnalysesRequest"}, + "output":{"shape":"DescribeNetworkInsightsAnalysesResult"} + }, + "DescribeNetworkInsightsPaths":{ + "name":"DescribeNetworkInsightsPaths", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeNetworkInsightsPathsRequest"}, + "output":{"shape":"DescribeNetworkInsightsPathsResult"} + }, "DescribeNetworkInterfaceAttribute":{ "name":"DescribeNetworkInterfaceAttribute", "http":{ @@ -2196,6 +2286,24 @@ "input":{"shape":"DescribeTransitGatewayAttachmentsRequest"}, "output":{"shape":"DescribeTransitGatewayAttachmentsResult"} }, + "DescribeTransitGatewayConnectPeers":{ + "name":"DescribeTransitGatewayConnectPeers", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeTransitGatewayConnectPeersRequest"}, + "output":{"shape":"DescribeTransitGatewayConnectPeersResult"} + }, + "DescribeTransitGatewayConnects":{ + "name":"DescribeTransitGatewayConnects", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeTransitGatewayConnectsRequest"}, + "output":{"shape":"DescribeTransitGatewayConnectsResult"} + }, "DescribeTransitGatewayMulticastDomains":{ "name":"DescribeTransitGatewayMulticastDomains", "http":{ @@ -3384,6 +3492,15 @@ "input":{"shape":"RegisterTransitGatewayMulticastGroupSourcesRequest"}, "output":{"shape":"RegisterTransitGatewayMulticastGroupSourcesResult"} }, + "RejectTransitGatewayMulticastDomainAssociations":{ + "name":"RejectTransitGatewayMulticastDomainAssociations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RejectTransitGatewayMulticastDomainAssociationsRequest"}, + "output":{"shape":"RejectTransitGatewayMulticastDomainAssociationsResult"} + }, "RejectTransitGatewayPeeringAttachment":{ "name":"RejectTransitGatewayPeeringAttachment", "http":{ @@ -3672,6 +3789,15 @@ "input":{"shape":"StartInstancesRequest"}, "output":{"shape":"StartInstancesResult"} }, + "StartNetworkInsightsAnalysis":{ + "name":"StartNetworkInsightsAnalysis", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"StartNetworkInsightsAnalysisRequest"}, + "output":{"shape":"StartNetworkInsightsAnalysisResult"} + }, "StartVpcEndpointServicePrivateDnsVerification":{ "name":"StartVpcEndpointServicePrivateDnsVerification", "http":{ @@ -3787,6 +3913,24 @@ } } }, + "AcceptTransitGatewayMulticastDomainAssociationsRequest":{ + "type":"structure", + "members":{ + "TransitGatewayMulticastDomainId":{"shape":"TransitGatewayMulticastDomainId"}, + "TransitGatewayAttachmentId":{"shape":"TransitGatewayAttachmentId"}, + "SubnetIds":{"shape":"ValueStringList"}, + "DryRun":{"shape":"Boolean"} + } + }, + "AcceptTransitGatewayMulticastDomainAssociationsResult":{ + "type":"structure", + "members":{ + "Associations":{ + "shape":"TransitGatewayMulticastDomainAssociations", + "locationName":"associations" + } + } + }, "AcceptTransitGatewayPeeringAttachmentRequest":{ "type":"structure", "required":["TransitGatewayAttachmentId"], @@ -4209,6 +4353,216 @@ "off" ] }, + "AlternatePathHint":{ + "type":"structure", + "members":{ + "ComponentId":{ + "shape":"String", + "locationName":"componentId" + }, + "ComponentArn":{ + "shape":"String", + "locationName":"componentArn" + } + } + }, + "AlternatePathHintList":{ + "type":"list", + "member":{ + "shape":"AlternatePathHint", + "locationName":"item" + } + }, + "AnalysisAclRule":{ + "type":"structure", + "members":{ + "Cidr":{ + "shape":"String", + "locationName":"cidr" + }, + "Egress":{ + "shape":"Boolean", + "locationName":"egress" + }, + "PortRange":{ + "shape":"PortRange", + "locationName":"portRange" + }, + "Protocol":{ + "shape":"String", + "locationName":"protocol" + }, + "RuleAction":{ + "shape":"String", + "locationName":"ruleAction" + }, + "RuleNumber":{ + "shape":"Integer", + "locationName":"ruleNumber" + } + } + }, + "AnalysisComponent":{ + "type":"structure", + "members":{ + "Id":{ + "shape":"String", + "locationName":"id" + }, + "Arn":{ + "shape":"String", + "locationName":"arn" + } + } + }, + "AnalysisComponentList":{ + "type":"list", + "member":{ + "shape":"AnalysisComponent", + "locationName":"item" + } + }, + "AnalysisLoadBalancerListener":{ + "type":"structure", + "members":{ + "LoadBalancerPort":{ + "shape":"Port", + "locationName":"loadBalancerPort" + }, + "InstancePort":{ + "shape":"Port", + "locationName":"instancePort" + } + } + }, + "AnalysisLoadBalancerTarget":{ + "type":"structure", + "members":{ + "Address":{ + "shape":"IpAddress", + "locationName":"address" + }, + "AvailabilityZone":{ + "shape":"String", + "locationName":"availabilityZone" + }, + "Instance":{ + "shape":"AnalysisComponent", + "locationName":"instance" + }, + "Port":{ + "shape":"Port", + "locationName":"port" + } + } + }, + "AnalysisPacketHeader":{ + "type":"structure", + "members":{ + "DestinationAddresses":{ + "shape":"IpAddressList", + "locationName":"destinationAddressSet" + }, + "DestinationPortRanges":{ + "shape":"PortRangeList", + "locationName":"destinationPortRangeSet" + }, + "Protocol":{ + "shape":"String", + "locationName":"protocol" + }, + "SourceAddresses":{ + "shape":"IpAddressList", + "locationName":"sourceAddressSet" + }, + "SourcePortRanges":{ + "shape":"PortRangeList", + "locationName":"sourcePortRangeSet" + } + } + }, + "AnalysisRouteTableRoute":{ + "type":"structure", + "members":{ + "DestinationCidr":{ + "shape":"String", + "locationName":"destinationCidr" + }, + "DestinationPrefixListId":{ + "shape":"String", + "locationName":"destinationPrefixListId" + }, + "EgressOnlyInternetGatewayId":{ + "shape":"String", + "locationName":"egressOnlyInternetGatewayId" + }, + "GatewayId":{ + "shape":"String", + "locationName":"gatewayId" + }, + "InstanceId":{ + "shape":"String", + "locationName":"instanceId" + }, + "NatGatewayId":{ + "shape":"String", + "locationName":"natGatewayId" + }, + "NetworkInterfaceId":{ + "shape":"String", + "locationName":"networkInterfaceId" + }, + "Origin":{ + "shape":"String", + "locationName":"origin" + }, + "TransitGatewayId":{ + "shape":"String", + "locationName":"transitGatewayId" + }, + "VpcPeeringConnectionId":{ + "shape":"String", + "locationName":"vpcPeeringConnectionId" + } + } + }, + "AnalysisSecurityGroupRule":{ + "type":"structure", + "members":{ + "Cidr":{ + "shape":"String", + "locationName":"cidr" + }, + "Direction":{ + "shape":"String", + "locationName":"direction" + }, + "SecurityGroupId":{ + "shape":"String", + "locationName":"securityGroupId" + }, + "PortRange":{ + "shape":"PortRange", + "locationName":"portRange" + }, + "PrefixListId":{ + "shape":"String", + "locationName":"prefixListId" + }, + "Protocol":{ + "shape":"String", + "locationName":"protocol" + } + } + }, + "AnalysisStatus":{ + "type":"string", + "enum":[ + "running", + "succeeded", + "failed" + ] + }, "ApplianceModeSupportValue":{ "type":"string", "enum":[ @@ -4265,6 +4619,13 @@ "arm64" ] }, + "ArnList":{ + "type":"list", + "member":{ + "shape":"ResourceArn", + "locationName":"item" + } + }, "AssignIpv6AddressesRequest":{ "type":"structure", "required":["NetworkInterfaceId"], @@ -4536,7 +4897,7 @@ "members":{ "TransitGatewayMulticastDomainId":{"shape":"TransitGatewayMulticastDomainId"}, "TransitGatewayAttachmentId":{"shape":"TransitGatewayAttachmentId"}, - "SubnetIds":{"shape":"ValueStringList"}, + "SubnetIds":{"shape":"TransitGatewaySubnetIdList"}, "DryRun":{"shape":"Boolean"} } }, @@ -4975,6 +5336,13 @@ } } }, + "AutoAcceptSharedAssociationsValue":{ + "type":"string", + "enum":[ + "enable", + "disable" + ] + }, "AutoAcceptSharedAttachmentsValue":{ "type":"string", "enum":[ @@ -5122,6 +5490,13 @@ "modifying" ] }, + "BgpStatus":{ + "type":"string", + "enum":[ + "up", + "down" + ] + }, "BillingProductList":{ "type":"list", "member":{ @@ -7562,6 +7937,41 @@ } } }, + "CreateNetworkInsightsPathRequest":{ + "type":"structure", + "required":[ + "Source", + "Destination", + "Protocol", + "ClientToken" + ], + "members":{ + "SourceIp":{"shape":"IpAddress"}, + "DestinationIp":{"shape":"IpAddress"}, + "Source":{"shape":"String"}, + "Destination":{"shape":"String"}, + "Protocol":{"shape":"Protocol"}, + "DestinationPort":{"shape":"Port"}, + "TagSpecifications":{ + "shape":"TagSpecificationList", + "locationName":"TagSpecification" + }, + "DryRun":{"shape":"Boolean"}, + "ClientToken":{ + "shape":"String", + "idempotencyToken":true + } + } + }, + "CreateNetworkInsightsPathResult":{ + "type":"structure", + "members":{ + "NetworkInsightsPath":{ + "shape":"NetworkInsightsPath", + "locationName":"networkInsightsPath" + } + } + }, "CreateNetworkInterfacePermissionRequest":{ "type":"structure", "required":[ @@ -8089,11 +8499,73 @@ } } }, + "CreateTransitGatewayConnectPeerRequest":{ + "type":"structure", + "required":[ + "TransitGatewayAttachmentId", + "PeerAddress", + "InsideCidrBlocks" + ], + "members":{ + "TransitGatewayAttachmentId":{"shape":"TransitGatewayAttachmentId"}, + "TransitGatewayAddress":{"shape":"String"}, + "PeerAddress":{"shape":"String"}, + "BgpOptions":{"shape":"TransitGatewayConnectRequestBgpOptions"}, + "InsideCidrBlocks":{"shape":"InsideCidrBlocksStringList"}, + "TagSpecifications":{ + "shape":"TagSpecificationList", + "locationName":"TagSpecification" + }, + "DryRun":{"shape":"Boolean"} + } + }, + "CreateTransitGatewayConnectPeerResult":{ + "type":"structure", + "members":{ + "TransitGatewayConnectPeer":{ + "shape":"TransitGatewayConnectPeer", + "locationName":"transitGatewayConnectPeer" + } + } + }, + "CreateTransitGatewayConnectRequest":{ + "type":"structure", + "required":[ + "TransportTransitGatewayAttachmentId", + "Options" + ], + "members":{ + "TransportTransitGatewayAttachmentId":{"shape":"TransitGatewayAttachmentId"}, + "Options":{"shape":"CreateTransitGatewayConnectRequestOptions"}, + "TagSpecifications":{ + "shape":"TagSpecificationList", + "locationName":"TagSpecification" + }, + "DryRun":{"shape":"Boolean"} + } + }, + "CreateTransitGatewayConnectRequestOptions":{ + "type":"structure", + "required":["Protocol"], + "members":{ + "Protocol":{"shape":"ProtocolValue"} + } + }, + "CreateTransitGatewayConnectResult":{ + "type":"structure", + "members":{ + "TransitGatewayConnect":{ + "shape":"TransitGatewayConnect", + "locationName":"transitGatewayConnect" + } + } + }, "CreateTransitGatewayMulticastDomainRequest":{ "type":"structure", "required":["TransitGatewayId"], "members":{ "TransitGatewayId":{"shape":"TransitGatewayId"}, + "Options":{"shape":"CreateTransitGatewayMulticastDomainRequestOptions"}, "TagSpecifications":{ "shape":"TagSpecificationList", "locationName":"TagSpecification" @@ -8101,6 +8573,14 @@ "DryRun":{"shape":"Boolean"} } }, + "CreateTransitGatewayMulticastDomainRequestOptions":{ + "type":"structure", + "members":{ + "Igmpv2Support":{"shape":"Igmpv2SupportValue"}, + "StaticSourcesSupport":{"shape":"StaticSourcesSupportValue"}, + "AutoAcceptSharedAssociations":{"shape":"AutoAcceptSharedAssociationsValue"} + } + }, "CreateTransitGatewayMulticastDomainResult":{ "type":"structure", "members":{ @@ -9133,6 +9613,40 @@ } } }, + "DeleteNetworkInsightsAnalysisRequest":{ + "type":"structure", + "required":["NetworkInsightsAnalysisId"], + "members":{ + "DryRun":{"shape":"Boolean"}, + "NetworkInsightsAnalysisId":{"shape":"NetworkInsightsAnalysisId"} + } + }, + "DeleteNetworkInsightsAnalysisResult":{ + "type":"structure", + "members":{ + "NetworkInsightsAnalysisId":{ + "shape":"NetworkInsightsAnalysisId", + "locationName":"networkInsightsAnalysisId" + } + } + }, + "DeleteNetworkInsightsPathRequest":{ + "type":"structure", + "required":["NetworkInsightsPathId"], + "members":{ + "DryRun":{"shape":"Boolean"}, + "NetworkInsightsPathId":{"shape":"NetworkInsightsPathId"} + } + }, + "DeleteNetworkInsightsPathResult":{ + "type":"structure", + "members":{ + "NetworkInsightsPathId":{ + "shape":"NetworkInsightsPathId", + "locationName":"networkInsightsPathId" + } + } + }, "DeleteNetworkInterfacePermissionRequest":{ "type":"structure", "required":["NetworkInterfacePermissionId"], @@ -9398,6 +9912,40 @@ } } }, + "DeleteTransitGatewayConnectPeerRequest":{ + "type":"structure", + "required":["TransitGatewayConnectPeerId"], + "members":{ + "TransitGatewayConnectPeerId":{"shape":"TransitGatewayConnectPeerId"}, + "DryRun":{"shape":"Boolean"} + } + }, + "DeleteTransitGatewayConnectPeerResult":{ + "type":"structure", + "members":{ + "TransitGatewayConnectPeer":{ + "shape":"TransitGatewayConnectPeer", + "locationName":"transitGatewayConnectPeer" + } + } + }, + "DeleteTransitGatewayConnectRequest":{ + "type":"structure", + "required":["TransitGatewayAttachmentId"], + "members":{ + "TransitGatewayAttachmentId":{"shape":"TransitGatewayAttachmentId"}, + "DryRun":{"shape":"Boolean"} + } + }, + "DeleteTransitGatewayConnectResult":{ + "type":"structure", + "members":{ + "TransitGatewayConnect":{ + "shape":"TransitGatewayConnect", + "locationName":"transitGatewayConnect" + } + } + }, "DeleteTransitGatewayMulticastDomainRequest":{ "type":"structure", "required":["TransitGatewayMulticastDomainId"], @@ -11644,12 +12192,81 @@ "NextToken":{"shape":"String"} } }, - "DescribeNatGatewaysResult":{ + "DescribeNatGatewaysResult":{ + "type":"structure", + "members":{ + "NatGateways":{ + "shape":"NatGatewayList", + "locationName":"natGatewaySet" + }, + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + } + } + }, + "DescribeNetworkAclsMaxResults":{ + "type":"integer", + "max":1000, + "min":5 + }, + "DescribeNetworkAclsRequest":{ + "type":"structure", + "members":{ + "Filters":{ + "shape":"FilterList", + "locationName":"Filter" + }, + "DryRun":{ + "shape":"Boolean", + "locationName":"dryRun" + }, + "NetworkAclIds":{ + "shape":"NetworkAclIdStringList", + "locationName":"NetworkAclId" + }, + "NextToken":{"shape":"String"}, + "MaxResults":{"shape":"DescribeNetworkAclsMaxResults"} + } + }, + "DescribeNetworkAclsResult":{ + "type":"structure", + "members":{ + "NetworkAcls":{ + "shape":"NetworkAclList", + "locationName":"networkAclSet" + }, + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + } + } + }, + "DescribeNetworkInsightsAnalysesRequest":{ + "type":"structure", + "members":{ + "NetworkInsightsAnalysisIds":{ + "shape":"NetworkInsightsAnalysisIdList", + "locationName":"NetworkInsightsAnalysisId" + }, + "NetworkInsightsPathId":{"shape":"NetworkInsightsPathId"}, + "AnalysisStartTime":{"shape":"MillisecondDateTime"}, + "AnalysisEndTime":{"shape":"MillisecondDateTime"}, + "Filters":{ + "shape":"FilterList", + "locationName":"Filter" + }, + "MaxResults":{"shape":"NetworkInsightsMaxResults"}, + "DryRun":{"shape":"Boolean"}, + "NextToken":{"shape":"NextToken"} + } + }, + "DescribeNetworkInsightsAnalysesResult":{ "type":"structure", "members":{ - "NatGateways":{ - "shape":"NatGatewayList", - "locationName":"natGatewaySet" + "NetworkInsightsAnalyses":{ + "shape":"NetworkInsightsAnalysisList", + "locationName":"networkInsightsAnalysisSet" }, "NextToken":{ "shape":"String", @@ -11657,36 +12274,28 @@ } } }, - "DescribeNetworkAclsMaxResults":{ - "type":"integer", - "max":1000, - "min":5 - }, - "DescribeNetworkAclsRequest":{ + "DescribeNetworkInsightsPathsRequest":{ "type":"structure", "members":{ + "NetworkInsightsPathIds":{ + "shape":"NetworkInsightsPathIdList", + "locationName":"NetworkInsightsPathId" + }, "Filters":{ "shape":"FilterList", "locationName":"Filter" }, - "DryRun":{ - "shape":"Boolean", - "locationName":"dryRun" - }, - "NetworkAclIds":{ - "shape":"NetworkAclIdStringList", - "locationName":"NetworkAclId" - }, - "NextToken":{"shape":"String"}, - "MaxResults":{"shape":"DescribeNetworkAclsMaxResults"} + "MaxResults":{"shape":"NetworkInsightsMaxResults"}, + "DryRun":{"shape":"Boolean"}, + "NextToken":{"shape":"NextToken"} } }, - "DescribeNetworkAclsResult":{ + "DescribeNetworkInsightsPathsResult":{ "type":"structure", "members":{ - "NetworkAcls":{ - "shape":"NetworkAclList", - "locationName":"networkAclSet" + "NetworkInsightsPaths":{ + "shape":"NetworkInsightsPathList", + "locationName":"networkInsightsPathSet" }, "NextToken":{ "shape":"String", @@ -12789,6 +13398,58 @@ } } }, + "DescribeTransitGatewayConnectPeersRequest":{ + "type":"structure", + "members":{ + "TransitGatewayConnectPeerIds":{"shape":"TransitGatewayConnectPeerIdStringList"}, + "Filters":{ + "shape":"FilterList", + "locationName":"Filter" + }, + "MaxResults":{"shape":"TransitGatewayMaxResults"}, + "NextToken":{"shape":"String"}, + "DryRun":{"shape":"Boolean"} + } + }, + "DescribeTransitGatewayConnectPeersResult":{ + "type":"structure", + "members":{ + "TransitGatewayConnectPeers":{ + "shape":"TransitGatewayConnectPeerList", + "locationName":"transitGatewayConnectPeerSet" + }, + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + } + } + }, + "DescribeTransitGatewayConnectsRequest":{ + "type":"structure", + "members":{ + "TransitGatewayAttachmentIds":{"shape":"TransitGatewayAttachmentIdStringList"}, + "Filters":{ + "shape":"FilterList", + "locationName":"Filter" + }, + "MaxResults":{"shape":"TransitGatewayMaxResults"}, + "NextToken":{"shape":"String"}, + "DryRun":{"shape":"Boolean"} + } + }, + "DescribeTransitGatewayConnectsResult":{ + "type":"structure", + "members":{ + "TransitGatewayConnects":{ + "shape":"TransitGatewayConnectList", + "locationName":"transitGatewayConnectSet" + }, + "NextToken":{ + "shape":"String", + "locationName":"nextToken" + } + } + }, "DescribeTransitGatewayMulticastDomainsRequest":{ "type":"structure", "members":{ @@ -13960,7 +14621,7 @@ "members":{ "TransitGatewayMulticastDomainId":{"shape":"TransitGatewayMulticastDomainId"}, "TransitGatewayAttachmentId":{"shape":"TransitGatewayAttachmentId"}, - "SubnetIds":{"shape":"ValueStringList"}, + "SubnetIds":{"shape":"TransitGatewaySubnetIdList"}, "DryRun":{"shape":"Boolean"} } }, @@ -14877,6 +15538,198 @@ "locationName":"ExecutableBy" } }, + "Explanation":{ + "type":"structure", + "members":{ + "Acl":{ + "shape":"AnalysisComponent", + "locationName":"acl" + }, + "AclRule":{ + "shape":"AnalysisAclRule", + "locationName":"aclRule" + }, + "Address":{ + "shape":"IpAddress", + "locationName":"address" + }, + "Addresses":{ + "shape":"IpAddressList", + "locationName":"addressSet" + }, + "AttachedTo":{ + "shape":"AnalysisComponent", + "locationName":"attachedTo" + }, + "AvailabilityZones":{ + "shape":"ValueStringList", + "locationName":"availabilityZoneSet" + }, + "Cidrs":{ + "shape":"ValueStringList", + "locationName":"cidrSet" + }, + "Component":{ + "shape":"AnalysisComponent", + "locationName":"component" + }, + "CustomerGateway":{ + "shape":"AnalysisComponent", + "locationName":"customerGateway" + }, + "Destination":{ + "shape":"AnalysisComponent", + "locationName":"destination" + }, + "DestinationVpc":{ + "shape":"AnalysisComponent", + "locationName":"destinationVpc" + }, + "Direction":{ + "shape":"String", + "locationName":"direction" + }, + "ExplanationCode":{ + "shape":"String", + "locationName":"explanationCode" + }, + "IngressRouteTable":{ + "shape":"AnalysisComponent", + "locationName":"ingressRouteTable" + }, + "InternetGateway":{ + "shape":"AnalysisComponent", + "locationName":"internetGateway" + }, + "LoadBalancerArn":{ + "shape":"ResourceArn", + "locationName":"loadBalancerArn" + }, + "ClassicLoadBalancerListener":{ + "shape":"AnalysisLoadBalancerListener", + "locationName":"classicLoadBalancerListener" + }, + "LoadBalancerListenerPort":{ + "shape":"Port", + "locationName":"loadBalancerListenerPort" + }, + "LoadBalancerTarget":{ + "shape":"AnalysisLoadBalancerTarget", + "locationName":"loadBalancerTarget" + }, + "LoadBalancerTargetGroup":{ + "shape":"AnalysisComponent", + "locationName":"loadBalancerTargetGroup" + }, + "LoadBalancerTargetGroups":{ + "shape":"AnalysisComponentList", + "locationName":"loadBalancerTargetGroupSet" + }, + "LoadBalancerTargetPort":{ + "shape":"Port", + "locationName":"loadBalancerTargetPort" + }, + "ElasticLoadBalancerListener":{ + "shape":"AnalysisComponent", + "locationName":"elasticLoadBalancerListener" + }, + "MissingComponent":{ + "shape":"String", + "locationName":"missingComponent" + }, + "NatGateway":{ + "shape":"AnalysisComponent", + "locationName":"natGateway" + }, + "NetworkInterface":{ + "shape":"AnalysisComponent", + "locationName":"networkInterface" + }, + "PacketField":{ + "shape":"String", + "locationName":"packetField" + }, + "VpcPeeringConnection":{ + "shape":"AnalysisComponent", + "locationName":"vpcPeeringConnection" + }, + "Port":{ + "shape":"Port", + "locationName":"port" + }, + "PortRanges":{ + "shape":"PortRangeList", + "locationName":"portRangeSet" + }, + "PrefixList":{ + "shape":"AnalysisComponent", + "locationName":"prefixList" + }, + "Protocols":{ + "shape":"StringList", + "locationName":"protocolSet" + }, + "RouteTableRoute":{ + "shape":"AnalysisRouteTableRoute", + "locationName":"routeTableRoute" + }, + "RouteTable":{ + "shape":"AnalysisComponent", + "locationName":"routeTable" + }, + "SecurityGroup":{ + "shape":"AnalysisComponent", + "locationName":"securityGroup" + }, + "SecurityGroupRule":{ + "shape":"AnalysisSecurityGroupRule", + "locationName":"securityGroupRule" + }, + "SecurityGroups":{ + "shape":"AnalysisComponentList", + "locationName":"securityGroupSet" + }, + "SourceVpc":{ + "shape":"AnalysisComponent", + "locationName":"sourceVpc" + }, + "State":{ + "shape":"String", + "locationName":"state" + }, + "Subnet":{ + "shape":"AnalysisComponent", + "locationName":"subnet" + }, + "SubnetRouteTable":{ + "shape":"AnalysisComponent", + "locationName":"subnetRouteTable" + }, + "Vpc":{ + "shape":"AnalysisComponent", + "locationName":"vpc" + }, + "VpcEndpoint":{ + "shape":"AnalysisComponent", + "locationName":"vpcEndpoint" + }, + "VpnConnection":{ + "shape":"AnalysisComponent", + "locationName":"vpnConnection" + }, + "VpnGateway":{ + "shape":"AnalysisComponent", + "locationName":"vpnGateway" + } + } + }, + "ExplanationList":{ + "type":"list", + "member":{ + "shape":"Explanation", + "locationName":"item" + } + }, "ExportClientVpnClientCertificateRevocationListRequest":{ "type":"structure", "required":["ClientVpnEndpointId"], @@ -16988,6 +17841,13 @@ "locationName":"item" } }, + "Igmpv2SupportValue":{ + "type":"string", + "enum":[ + "enable", + "disable" + ] + }, "Image":{ "type":"structure", "members":{ @@ -17783,6 +18643,13 @@ }, "InferenceDeviceManufacturerName":{"type":"string"}, "InferenceDeviceName":{"type":"string"}, + "InsideCidrBlocksStringList":{ + "type":"list", + "member":{ + "shape":"String", + "locationName":"item" + } + }, "Instance":{ "type":"structure", "members":{ @@ -19412,6 +20279,19 @@ "locationName":"item" } }, + "IpAddress":{ + "type":"string", + "max":15, + "min":0, + "pattern":"^([0-9]{1,3}.){3}[0-9]{1,3}$" + }, + "IpAddressList":{ + "type":"list", + "member":{ + "shape":"IpAddress", + "locationName":"item" + } + }, "IpPermission":{ "type":"structure", "members":{ @@ -21800,6 +22680,8 @@ "ModifyTransitGatewayOptions":{ "type":"structure", "members":{ + "AddTransitGatewayCidrBlocks":{"shape":"TransitGatewayCidrBlockStringList"}, + "RemoveTransitGatewayCidrBlocks":{"shape":"TransitGatewayCidrBlockStringList"}, "VpnEcmpSupport":{"shape":"VpnEcmpSupportValue"}, "DnsSupport":{"shape":"DnsSupportValue"}, "AutoAcceptSharedAttachments":{"shape":"AutoAcceptSharedAttachmentsValue"}, @@ -22606,6 +23488,143 @@ } } }, + "NetworkInsightsAnalysis":{ + "type":"structure", + "members":{ + "NetworkInsightsAnalysisId":{ + "shape":"NetworkInsightsAnalysisId", + "locationName":"networkInsightsAnalysisId" + }, + "NetworkInsightsAnalysisArn":{ + "shape":"ResourceArn", + "locationName":"networkInsightsAnalysisArn" + }, + "NetworkInsightsPathId":{ + "shape":"NetworkInsightsPathId", + "locationName":"networkInsightsPathId" + }, + "FilterInArns":{ + "shape":"ArnList", + "locationName":"filterInArnSet" + }, + "StartDate":{ + "shape":"MillisecondDateTime", + "locationName":"startDate" + }, + "Status":{ + "shape":"AnalysisStatus", + "locationName":"status" + }, + "StatusMessage":{ + "shape":"String", + "locationName":"statusMessage" + }, + "NetworkPathFound":{ + "shape":"Boolean", + "locationName":"networkPathFound" + }, + "ForwardPathComponents":{ + "shape":"PathComponentList", + "locationName":"forwardPathComponentSet" + }, + "ReturnPathComponents":{ + "shape":"PathComponentList", + "locationName":"returnPathComponentSet" + }, + "Explanations":{ + "shape":"ExplanationList", + "locationName":"explanationSet" + }, + "AlternatePathHints":{ + "shape":"AlternatePathHintList", + "locationName":"alternatePathHintSet" + }, + "Tags":{ + "shape":"TagList", + "locationName":"tagSet" + } + } + }, + "NetworkInsightsAnalysisId":{"type":"string"}, + "NetworkInsightsAnalysisIdList":{ + "type":"list", + "member":{ + "shape":"NetworkInsightsAnalysisId", + "locationName":"item" + } + }, + "NetworkInsightsAnalysisList":{ + "type":"list", + "member":{ + "shape":"NetworkInsightsAnalysis", + "locationName":"item" + } + }, + "NetworkInsightsMaxResults":{ + "type":"integer", + "max":100, + "min":1 + }, + "NetworkInsightsPath":{ + "type":"structure", + "members":{ + "NetworkInsightsPathId":{ + "shape":"NetworkInsightsPathId", + "locationName":"networkInsightsPathId" + }, + "NetworkInsightsPathArn":{ + "shape":"ResourceArn", + "locationName":"networkInsightsPathArn" + }, + "CreatedDate":{ + "shape":"MillisecondDateTime", + "locationName":"createdDate" + }, + "Source":{ + "shape":"String", + "locationName":"source" + }, + "Destination":{ + "shape":"String", + "locationName":"destination" + }, + "SourceIp":{ + "shape":"IpAddress", + "locationName":"sourceIp" + }, + "DestinationIp":{ + "shape":"IpAddress", + "locationName":"destinationIp" + }, + "Protocol":{ + "shape":"Protocol", + "locationName":"protocol" + }, + "DestinationPort":{ + "shape":"Integer", + "locationName":"destinationPort" + }, + "Tags":{ + "shape":"TagList", + "locationName":"tagSet" + } + } + }, + "NetworkInsightsPathId":{"type":"string"}, + "NetworkInsightsPathIdList":{ + "type":"list", + "member":{ + "shape":"NetworkInsightsPathId", + "locationName":"item" + } + }, + "NetworkInsightsPathList":{ + "type":"list", + "member":{ + "shape":"NetworkInsightsPath", + "locationName":"item" + } + }, "NetworkInterface":{ "type":"structure", "members":{ @@ -23048,6 +24067,62 @@ "locationName":"Owner" } }, + "PathComponent":{ + "type":"structure", + "members":{ + "SequenceNumber":{ + "shape":"Integer", + "locationName":"sequenceNumber" + }, + "AclRule":{ + "shape":"AnalysisAclRule", + "locationName":"aclRule" + }, + "Component":{ + "shape":"AnalysisComponent", + "locationName":"component" + }, + "DestinationVpc":{ + "shape":"AnalysisComponent", + "locationName":"destinationVpc" + }, + "OutboundHeader":{ + "shape":"AnalysisPacketHeader", + "locationName":"outboundHeader" + }, + "InboundHeader":{ + "shape":"AnalysisPacketHeader", + "locationName":"inboundHeader" + }, + "RouteTableRoute":{ + "shape":"AnalysisRouteTableRoute", + "locationName":"routeTableRoute" + }, + "SecurityGroupRule":{ + "shape":"AnalysisSecurityGroupRule", + "locationName":"securityGroupRule" + }, + "SourceVpc":{ + "shape":"AnalysisComponent", + "locationName":"sourceVpc" + }, + "Subnet":{ + "shape":"AnalysisComponent", + "locationName":"subnet" + }, + "Vpc":{ + "shape":"AnalysisComponent", + "locationName":"vpc" + } + } + }, + "PathComponentList":{ + "type":"list", + "member":{ + "shape":"PathComponent", + "locationName":"item" + } + }, "PaymentOption":{ "type":"string", "enum":[ @@ -23459,6 +24534,11 @@ "max":10, "min":1 }, + "Port":{ + "type":"integer", + "max":65535, + "min":1 + }, "PortRange":{ "type":"structure", "members":{ @@ -23472,6 +24552,13 @@ } } }, + "PortRangeList":{ + "type":"list", + "member":{ + "shape":"PortRange", + "locationName":"item" + } + }, "PrefixList":{ "type":"structure", "members":{ @@ -23835,6 +24922,17 @@ "locationName":"item" } }, + "Protocol":{ + "type":"string", + "enum":[ + "tcp", + "udp" + ] + }, + "ProtocolValue":{ + "type":"string", + "enum":["gre"] + }, "ProvisionByoipCidrRequest":{ "type":"structure", "required":["Cidr"], @@ -24345,6 +25443,24 @@ } } }, + "RejectTransitGatewayMulticastDomainAssociationsRequest":{ + "type":"structure", + "members":{ + "TransitGatewayMulticastDomainId":{"shape":"TransitGatewayMulticastDomainId"}, + "TransitGatewayAttachmentId":{"shape":"TransitGatewayAttachmentId"}, + "SubnetIds":{"shape":"ValueStringList"}, + "DryRun":{"shape":"Boolean"} + } + }, + "RejectTransitGatewayMulticastDomainAssociationsResult":{ + "type":"structure", + "members":{ + "Associations":{ + "shape":"TransitGatewayMulticastDomainAssociations", + "locationName":"associations" + } + } + }, "RejectTransitGatewayPeeringAttachmentRequest":{ "type":"structure", "required":["TransitGatewayAttachmentId"], @@ -25598,6 +26714,8 @@ "natgateway", "network-acl", "network-interface", + "network-insights-analysis", + "network-insights-path", "placement-group", "reserved-instances", "route-table", @@ -25611,6 +26729,7 @@ "traffic-mirror-target", "transit-gateway", "transit-gateway-attachment", + "transit-gateway-connect-peer", "transit-gateway-multicast-domain", "transit-gateway-route-table", "volume", @@ -27918,6 +29037,38 @@ } } }, + "StartNetworkInsightsAnalysisRequest":{ + "type":"structure", + "required":[ + "NetworkInsightsPathId", + "ClientToken" + ], + "members":{ + "NetworkInsightsPathId":{"shape":"NetworkInsightsPathId"}, + "FilterInArns":{ + "shape":"ArnList", + "locationName":"FilterInArn" + }, + "DryRun":{"shape":"Boolean"}, + "TagSpecifications":{ + "shape":"TagSpecificationList", + "locationName":"TagSpecification" + }, + "ClientToken":{ + "shape":"String", + "idempotencyToken":true + } + } + }, + "StartNetworkInsightsAnalysisResult":{ + "type":"structure", + "members":{ + "NetworkInsightsAnalysis":{ + "shape":"NetworkInsightsAnalysis", + "locationName":"networkInsightsAnalysis" + } + } + }, "StartVpcEndpointServicePrivateDnsVerificationRequest":{ "type":"structure", "required":["ServiceId"], @@ -27961,6 +29112,13 @@ } } }, + "StaticSourcesSupportValue":{ + "type":"string", + "enum":[ + "enable", + "disable" + ] + }, "Status":{ "type":"string", "enum":[ @@ -28024,6 +29182,13 @@ } }, "String":{"type":"string"}, + "StringList":{ + "type":"list", + "member":{ + "shape":"String", + "locationName":"item" + } + }, "Subnet":{ "type":"structure", "members":{ @@ -28967,6 +30132,38 @@ } } }, + "TransitGatewayAttachmentBgpConfiguration":{ + "type":"structure", + "members":{ + "TransitGatewayAsn":{ + "shape":"Long", + "locationName":"transitGatewayAsn" + }, + "PeerAsn":{ + "shape":"Long", + "locationName":"peerAsn" + }, + "TransitGatewayAddress":{ + "shape":"String", + "locationName":"transitGatewayAddress" + }, + "PeerAddress":{ + "shape":"String", + "locationName":"peerAddress" + }, + "BgpStatus":{ + "shape":"BgpStatus", + "locationName":"bgpStatus" + } + } + }, + "TransitGatewayAttachmentBgpConfigurationList":{ + "type":"list", + "member":{ + "shape":"TransitGatewayAttachmentBgpConfiguration", + "locationName":"item" + } + }, "TransitGatewayAttachmentId":{"type":"string"}, "TransitGatewayAttachmentIdStringList":{ "type":"list", @@ -29005,6 +30202,7 @@ "vpc", "vpn", "direct-connect-gateway", + "connect", "peering", "tgw-peering" ] @@ -29027,6 +30225,146 @@ "failing" ] }, + "TransitGatewayCidrBlockStringList":{ + "type":"list", + "member":{ + "shape":"String", + "locationName":"item" + } + }, + "TransitGatewayConnect":{ + "type":"structure", + "members":{ + "TransitGatewayAttachmentId":{ + "shape":"TransitGatewayAttachmentId", + "locationName":"transitGatewayAttachmentId" + }, + "TransportTransitGatewayAttachmentId":{ + "shape":"TransitGatewayAttachmentId", + "locationName":"transportTransitGatewayAttachmentId" + }, + "TransitGatewayId":{ + "shape":"TransitGatewayId", + "locationName":"transitGatewayId" + }, + "State":{ + "shape":"TransitGatewayAttachmentState", + "locationName":"state" + }, + "CreationTime":{ + "shape":"DateTime", + "locationName":"creationTime" + }, + "Options":{ + "shape":"TransitGatewayConnectOptions", + "locationName":"options" + }, + "Tags":{ + "shape":"TagList", + "locationName":"tagSet" + } + } + }, + "TransitGatewayConnectList":{ + "type":"list", + "member":{ + "shape":"TransitGatewayConnect", + "locationName":"item" + } + }, + "TransitGatewayConnectOptions":{ + "type":"structure", + "members":{ + "Protocol":{ + "shape":"ProtocolValue", + "locationName":"protocol" + } + } + }, + "TransitGatewayConnectPeer":{ + "type":"structure", + "members":{ + "TransitGatewayAttachmentId":{ + "shape":"TransitGatewayAttachmentId", + "locationName":"transitGatewayAttachmentId" + }, + "TransitGatewayConnectPeerId":{ + "shape":"TransitGatewayConnectPeerId", + "locationName":"transitGatewayConnectPeerId" + }, + "State":{ + "shape":"TransitGatewayConnectPeerState", + "locationName":"state" + }, + "CreationTime":{ + "shape":"DateTime", + "locationName":"creationTime" + }, + "ConnectPeerConfiguration":{ + "shape":"TransitGatewayConnectPeerConfiguration", + "locationName":"connectPeerConfiguration" + }, + "Tags":{ + "shape":"TagList", + "locationName":"tagSet" + } + } + }, + "TransitGatewayConnectPeerConfiguration":{ + "type":"structure", + "members":{ + "TransitGatewayAddress":{ + "shape":"String", + "locationName":"transitGatewayAddress" + }, + "PeerAddress":{ + "shape":"String", + "locationName":"peerAddress" + }, + "InsideCidrBlocks":{ + "shape":"InsideCidrBlocksStringList", + "locationName":"insideCidrBlocks" + }, + "Protocol":{ + "shape":"ProtocolValue", + "locationName":"protocol" + }, + "BgpConfigurations":{ + "shape":"TransitGatewayAttachmentBgpConfigurationList", + "locationName":"bgpConfigurations" + } + } + }, + "TransitGatewayConnectPeerId":{"type":"string"}, + "TransitGatewayConnectPeerIdStringList":{ + "type":"list", + "member":{ + "shape":"TransitGatewayConnectPeerId", + "locationName":"item" + } + }, + "TransitGatewayConnectPeerList":{ + "type":"list", + "member":{ + "shape":"TransitGatewayConnectPeer", + "locationName":"item" + } + }, + "TransitGatewayConnectPeerState":{ + "type":"string", + "enum":[ + "pending", + "available", + "deleting", + "deleted" + ] + }, + "TransitGatewayConnectRequestBgpOptions":{ + "type":"structure", + "members":{ + "PeerAsn":{"shape":"Long"} + } + }, "TransitGatewayId":{"type":"string"}, "TransitGatewayIdStringList":{ "type":"list", @@ -29050,10 +30388,13 @@ "TransitGatewayMulitcastDomainAssociationState":{ "type":"string", "enum":[ + "pendingAcceptance", "associating", "associated", "disassociating", - "disassociated" + "disassociated", + "rejected", + "failed" ] }, "TransitGatewayMulticastDeregisteredGroupMembers":{ @@ -29101,6 +30442,18 @@ "shape":"String", "locationName":"transitGatewayId" }, + "TransitGatewayMulticastDomainArn":{ + "shape":"String", + "locationName":"transitGatewayMulticastDomainArn" + }, + "OwnerId":{ + "shape":"String", + "locationName":"ownerId" + }, + "Options":{ + "shape":"TransitGatewayMulticastDomainOptions", + "locationName":"options" + }, "State":{ "shape":"TransitGatewayMulticastDomainState", "locationName":"state" @@ -29130,6 +30483,10 @@ "shape":"TransitGatewayAttachmentResourceType", "locationName":"resourceType" }, + "ResourceOwnerId":{ + "shape":"String", + "locationName":"resourceOwnerId" + }, "Subnet":{ "shape":"SubnetAssociation", "locationName":"subnet" @@ -29162,6 +30519,10 @@ "shape":"TransitGatewayAttachmentResourceType", "locationName":"resourceType" }, + "ResourceOwnerId":{ + "shape":"String", + "locationName":"resourceOwnerId" + }, "Subnets":{ "shape":"SubnetAssociationList", "locationName":"subnets" @@ -29183,6 +30544,23 @@ "locationName":"item" } }, + "TransitGatewayMulticastDomainOptions":{ + "type":"structure", + "members":{ + "Igmpv2Support":{ + "shape":"Igmpv2SupportValue", + "locationName":"igmpv2Support" + }, + "StaticSourcesSupport":{ + "shape":"StaticSourcesSupportValue", + "locationName":"staticSourcesSupport" + }, + "AutoAcceptSharedAssociations":{ + "shape":"AutoAcceptSharedAssociationsValue", + "locationName":"autoAcceptSharedAssociations" + } + } + }, "TransitGatewayMulticastDomainState":{ "type":"string", "enum":[ @@ -29215,6 +30593,10 @@ "shape":"TransitGatewayAttachmentResourceType", "locationName":"resourceType" }, + "ResourceOwnerId":{ + "shape":"String", + "locationName":"resourceOwnerId" + }, "NetworkInterfaceId":{ "shape":"String", "locationName":"networkInterfaceId" @@ -29292,6 +30674,10 @@ "shape":"Long", "locationName":"amazonSideAsn" }, + "TransitGatewayCidrBlocks":{ + "shape":"ValueStringList", + "locationName":"transitGatewayCidrBlocks" + }, "AutoAcceptSharedAttachments":{ "shape":"AutoAcceptSharedAttachmentsValue", "locationName":"autoAcceptSharedAttachments" @@ -29471,7 +30857,8 @@ "DefaultRouteTablePropagation":{"shape":"DefaultRouteTablePropagationValue"}, "VpnEcmpSupport":{"shape":"VpnEcmpSupportValue"}, "DnsSupport":{"shape":"DnsSupportValue"}, - "MulticastSupport":{"shape":"MulticastSupportValue"} + "MulticastSupport":{"shape":"MulticastSupportValue"}, + "TransitGatewayCidrBlocks":{"shape":"TransitGatewayCidrBlockStringList"} } }, "TransitGatewayRoute":{ diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 9a0503158e8..2ec9d8907d1 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -3,6 +3,7 @@ "service": "Amazon Elastic Compute Cloud

Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the AWS cloud. Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications faster.

To learn more, see the following resources:

", "operations": { "AcceptReservedInstancesExchangeQuote": "

Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call.

", + "AcceptTransitGatewayMulticastDomainAssociations": "

Accepts a request to associate subnets with a transit gateway multicast domain.

", "AcceptTransitGatewayPeeringAttachment": "

Accepts a transit gateway peering attachment request. The peering attachment must be in the pendingAcceptance state.

", "AcceptTransitGatewayVpcAttachment": "

Accepts a request to attach a VPC to a transit gateway.

The VPC attachment must be in the pendingAcceptance state. Use DescribeTransitGatewayVpcAttachments to view your pending VPC attachment requests. Use RejectTransitGatewayVpcAttachment to reject a VPC attachment request.

", "AcceptVpcEndpointConnections": "

Accepts one or more interface VPC endpoint connection requests to your VPC endpoint service.

", @@ -68,6 +69,7 @@ "CreateNatGateway": "

Creates a NAT gateway in the specified public subnet. This action creates a network interface in the specified subnet with a private IP address from the IP address range of the subnet. Internet-bound traffic from a private subnet can be routed to the NAT gateway, therefore enabling instances in the private subnet to connect to the internet. For more information, see NAT Gateways in the Amazon Virtual Private Cloud User Guide.

", "CreateNetworkAcl": "

Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.

For more information, see Network ACLs in the Amazon Virtual Private Cloud User Guide.

", "CreateNetworkAclEntry": "

Creates an entry (a rule) in a network ACL with the specified rule number. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, we process the entries in the ACL according to the rule numbers, in ascending order. Each network ACL has a set of ingress rules and a separate set of egress rules.

We recommend that you leave room between the rule numbers (for example, 100, 110, 120, ...), and not number them one right after the other (for example, 101, 102, 103, ...). This makes it easier to add a rule between existing ones without having to renumber the rules.

After you add an entry, you can't modify it; you must either replace it, or create an entry and delete the old one.

For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide.

", + "CreateNetworkInsightsPath": "

Creates a path to analyze for reachability.

Reachability Analyzer enables you to analyze and debug network reachability between two resources in your virtual private cloud (VPC). For more information, see What is Reachability Analyzer.

", "CreateNetworkInterface": "

Creates a network interface in the specified subnet.

For more information about network interfaces, see Elastic Network Interfaces in the Amazon Virtual Private Cloud User Guide.

", "CreateNetworkInterfacePermission": "

Grants an AWS-authorized account permission to attach the specified network interface to an instance in their account.

You can grant permission to a single AWS account only, and only one account at a time.

", "CreatePlacementGroup": "

Creates a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group.

A cluster placement group is a logical grouping of instances within a single Availability Zone that benefit from low network latency, high network throughput. A spread placement group places instances on distinct hardware. A partition placement group places groups of instances in different partitions, where instances in one partition do not share the same hardware with instances in another partition.

For more information, see Placement groups in the Amazon Elastic Compute Cloud User Guide.

", @@ -85,6 +87,8 @@ "CreateTrafficMirrorSession": "

Creates a Traffic Mirror session.

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use CreateTrafficMirrorFilter to create filter rules that specify the traffic to mirror.

", "CreateTrafficMirrorTarget": "

Creates a target for your Traffic Mirror session.

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, or a Network Load Balancer.

To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession.

", "CreateTransitGateway": "

Creates a transit gateway.

You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.

To attach your VPCs, use CreateTransitGatewayVpcAttachment.

To attach a VPN connection, use CreateCustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to CreateVpnConnection.

When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use CreateTransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use EnableTransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AssociateTransitGatewayRouteTable to associate a resource attachment with a transit gateway route table.

", + "CreateTransitGatewayConnect": "

Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.

A Connect attachment uses an existing VPC or AWS Direct Connect attachment as the underlying transport mechanism.

", + "CreateTransitGatewayConnectPeer": "

Creates a Connect peer for a specified transit gateway Connect attachment between a transit gateway and an appliance.

The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).

For more information, see Connect peers in the Transit Gateways Guide.

", "CreateTransitGatewayMulticastDomain": "

Creates a multicast domain using the specified transit gateway.

The transit gateway must be in the available state before you create a domain. Use DescribeTransitGateways to see the state of transit gateway.

", "CreateTransitGatewayPeeringAttachment": "

Requests a transit gateway peering attachment between the specified transit gateway (requester) and a peer transit gateway (accepter). The transit gateways must be in different Regions. The peer transit gateway can be in your account or a different AWS account.

After you create the peering attachment, the owner of the accepter transit gateway must accept the attachment request.

", "CreateTransitGatewayPrefixListReference": "

Creates a reference (route) to a prefix list in a specified transit gateway route table.

", @@ -119,6 +123,8 @@ "DeleteNatGateway": "

Deletes the specified NAT gateway. Deleting a NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables.

", "DeleteNetworkAcl": "

Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.

", "DeleteNetworkAclEntry": "

Deletes the specified ingress or egress entry (rule) from the specified network ACL.

", + "DeleteNetworkInsightsAnalysis": "

Deletes the specified network insights analysis.

", + "DeleteNetworkInsightsPath": "

Deletes the specified path.

", "DeleteNetworkInterface": "

Deletes the specified network interface. You must detach the network interface before you can delete it.

", "DeleteNetworkInterfacePermission": "

Deletes a permission for a network interface. By default, you cannot delete the permission if the account for which you're removing the permission has attached the network interface to an instance. However, you can force delete the permission, regardless of any attachment.

", "DeletePlacementGroup": "

Deletes the specified placement group. You must terminate all instances in the placement group before you can delete the placement group. For more information, see Placement groups in the Amazon Elastic Compute Cloud User Guide.

", @@ -135,6 +141,8 @@ "DeleteTrafficMirrorSession": "

Deletes the specified Traffic Mirror session.

", "DeleteTrafficMirrorTarget": "

Deletes the specified Traffic Mirror target.

You cannot delete a Traffic Mirror target that is in use by a Traffic Mirror session.

", "DeleteTransitGateway": "

Deletes the specified transit gateway.

", + "DeleteTransitGatewayConnect": "

Deletes the specified Connect attachment. You must first delete any Connect peers for the attachment.

", + "DeleteTransitGatewayConnectPeer": "

Deletes the specified Connect peer.

", "DeleteTransitGatewayMulticastDomain": "

Deletes the specified transit gateway multicast domain.

", "DeleteTransitGatewayPeeringAttachment": "

Deletes a transit gateway peering attachment.

", "DeleteTransitGatewayPrefixListReference": "

Deletes a reference (route) to a prefix list in a specified transit gateway route table.

", @@ -216,6 +224,8 @@ "DescribeMovingAddresses": "

Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform. This request does not return information about any other Elastic IP addresses in your account.

", "DescribeNatGateways": "

Describes one or more of your NAT gateways.

", "DescribeNetworkAcls": "

Describes one or more of your network ACLs.

For more information, see Network ACLs in the Amazon Virtual Private Cloud User Guide.

", + "DescribeNetworkInsightsAnalyses": "

Describes one or more of your network insights analyses.

", + "DescribeNetworkInsightsPaths": "

Describes one or more of your paths.

", "DescribeNetworkInterfaceAttribute": "

Describes a network interface attribute. You can specify only one attribute at a time.

", "DescribeNetworkInterfacePermissions": "

Describes the permissions for your network interfaces.

", "DescribeNetworkInterfaces": "

Describes one or more of your network interfaces.

", @@ -248,6 +258,8 @@ "DescribeTrafficMirrorSessions": "

Describes one or more Traffic Mirror sessions. By default, all Traffic Mirror sessions are described. Alternatively, you can filter the results.

", "DescribeTrafficMirrorTargets": "

Information about one or more Traffic Mirror targets.

", "DescribeTransitGatewayAttachments": "

Describes one or more attachments between resources and transit gateways. By default, all attachments are described. Alternatively, you can filter the results by attachment ID, attachment state, resource ID, or resource owner.

", + "DescribeTransitGatewayConnectPeers": "

Describes one or more Connect peers.

", + "DescribeTransitGatewayConnects": "

Describes one or more Connect attachments.

", "DescribeTransitGatewayMulticastDomains": "

Describes one or more transit gateway multicast domains.

", "DescribeTransitGatewayPeeringAttachments": "

Describes your transit gateway peering attachments.

", "DescribeTransitGatewayRouteTables": "

Describes one or more transit gateway route tables. By default, all transit gateway route tables are described. Alternatively, you can filter the results.

", @@ -382,6 +394,7 @@ "RegisterInstanceEventNotificationAttributes": "

Registers a set of tag keys to include in scheduled event notifications for your resources.

To remove tags, use .

", "RegisterTransitGatewayMulticastGroupMembers": "

Registers members (network interfaces) with the transit gateway multicast group. A member is a network interface associated with a supported EC2 instance that receives multicast traffic. For information about supported instances, see Multicast Consideration in Amazon VPC Transit Gateways.

After you add the members, use SearchTransitGatewayMulticastGroups to verify that the members were added to the transit gateway multicast group.

", "RegisterTransitGatewayMulticastGroupSources": "

Registers sources (network interfaces) with the specified transit gateway multicast group.

A multicast source is a network interface attached to a supported instance that sends multicast traffic. For information about supported instances, see Multicast Considerations in Amazon VPC Transit Gateways.

After you add the source, use SearchTransitGatewayMulticastGroups to verify that the source was added to the multicast group.

", + "RejectTransitGatewayMulticastDomainAssociations": "

Rejects a request to associate cross-account subnets with a transit gateway multicast domain.

", "RejectTransitGatewayPeeringAttachment": "

Rejects a transit gateway peering attachment request.

", "RejectTransitGatewayVpcAttachment": "

Rejects a request to attach a VPC to a transit gateway.

The VPC attachment must be in the pendingAcceptance state. Use DescribeTransitGatewayVpcAttachments to view your pending VPC attachment requests. Use AcceptTransitGatewayVpcAttachment to accept a VPC attachment request.

", "RejectVpcEndpointConnections": "

Rejects one or more VPC endpoint connection requests to your VPC endpoint service.

", @@ -415,6 +428,7 @@ "SearchTransitGatewayRoutes": "

Searches for routes in the specified transit gateway route table.

", "SendDiagnosticInterrupt": "

Sends a diagnostic interrupt to the specified Amazon EC2 instance to trigger a kernel panic (on Linux instances), or a blue screen/stop error (on Windows instances). For instances based on Intel and AMD processors, the interrupt is received as a non-maskable interrupt (NMI).

In general, the operating system crashes and reboots when a kernel panic or stop error is triggered. The operating system can also be configured to perform diagnostic tasks, such as generating a memory dump file, loading a secondary kernel, or obtaining a call trace.

Before sending a diagnostic interrupt to your instance, ensure that its operating system is configured to perform the required diagnostic tasks.

For more information about configuring your operating system to generate a crash dump when a kernel panic or stop error occurs, see Send a diagnostic interrupt (Linux instances) or Send a Diagnostic Interrupt (Windows instances).

", "StartInstances": "

Starts an Amazon EBS-backed instance that you've previously stopped.

Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for instance usage. However, your root partition Amazon EBS volume remains and continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time. Every time you start your Windows instance, Amazon EC2 charges you for a full instance hour. If you stop and restart your Windows instance, a new instance hour begins and Amazon EC2 charges you for another full instance hour even if you are still within the same 60-minute period when it was stopped. Every time you start your Linux instance, Amazon EC2 charges a one-minute minimum for instance usage, and thereafter charges per second for instance usage.

Before stopping an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM.

Performing this operation on an instance that uses an instance store as its root device returns an error.

For more information, see Stopping instances in the Amazon Elastic Compute Cloud User Guide.

", + "StartNetworkInsightsAnalysis": "

Starts analyzing the specified path. If the path is reachable, the operation returns the shortest feasible path.

", "StartVpcEndpointServicePrivateDnsVerification": "

Initiates the verification process to prove that the service provider owns the private DNS name domain for the endpoint service.

The service provider must successfully perform the verification before the consumer can use the name to access the service.

Before the service provider runs this command, they must add a record to the DNS server. For more information, see Adding a TXT Record to Your Domain's DNS Server in the Amazon VPC User Guide.

", "StopInstances": "

Stops an Amazon EBS-backed instance.

You can use the Stop action to hibernate an instance if the instance is enabled for hibernation and it meets the hibernation prerequisites. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

We don't charge usage for a stopped instance, or data transfer fees; however, your root partition Amazon EBS volume remains and continues to persist your data, and you are charged for Amazon EBS volume usage. Every time you start your Windows instance, Amazon EC2 charges you for a full instance hour. If you stop and restart your Windows instance, a new instance hour begins and Amazon EC2 charges you for another full instance hour even if you are still within the same 60-minute period when it was stopped. Every time you start your Linux instance, Amazon EC2 charges a one-minute minimum for instance usage, and thereafter charges per second for instance usage.

You can't stop or hibernate instance store-backed instances. You can't use the Stop action to hibernate Spot Instances, but you can specify that Amazon EC2 should hibernate Spot Instances when they are interrupted. For more information, see Hibernating interrupted Spot Instances in the Amazon Elastic Compute Cloud User Guide.

When you stop or hibernate an instance, we shut it down. You can restart your instance at any time. Before stopping or hibernating an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM, but hibernating an instance does preserve data stored in RAM. If an instance cannot hibernate successfully, a normal shutdown occurs.

Stopping and hibernating an instance is different to rebooting or terminating it. For example, when you stop or hibernate an instance, the root device and any other devices attached to the instance persist. When you terminate an instance, the root device and any other devices attached during the instance launch are automatically deleted. For more information about the differences between rebooting, stopping, hibernating, and terminating instances, see Instance lifecycle in the Amazon Elastic Compute Cloud User Guide.

When you stop an instance, we attempt to shut it down forcibly after a short while. If your instance appears stuck in the stopping state after a period of time, there may be an issue with the underlying host computer. For more information, see Troubleshooting stopping your instance in the Amazon Elastic Compute Cloud User Guide.

", "TerminateClientVpnConnections": "

Terminates active Client VPN endpoint connections. This action can be used to terminate a specific client connection, or up to five connections established by a specific user.

", @@ -437,6 +451,16 @@ "refs": { } }, + "AcceptTransitGatewayMulticastDomainAssociationsRequest": { + "base": null, + "refs": { + } + }, + "AcceptTransitGatewayMulticastDomainAssociationsResult": { + "base": null, + "refs": { + } + }, "AcceptTransitGatewayPeeringAttachmentRequest": { "base": null, "refs": { @@ -638,6 +662,106 @@ "Host$AllowsMultipleInstanceTypes": "

Indicates whether the Dedicated Host supports multiple instance types of the same instance family, or a specific instance type only. one indicates that the Dedicated Host supports multiple instance types in the instance family. off indicates that the Dedicated Host supports a single instance type only.

" } }, + "AlternatePathHint": { + "base": "

Describes an potential intermediate component of a feasible path.

", + "refs": { + "AlternatePathHintList$member": null + } + }, + "AlternatePathHintList": { + "base": null, + "refs": { + "NetworkInsightsAnalysis$AlternatePathHints": "

Potential intermediate components.

" + } + }, + "AnalysisAclRule": { + "base": "

Describes a network access control (ACL) rule.

", + "refs": { + "Explanation$AclRule": "

The network ACL rule.

", + "PathComponent$AclRule": "

The network ACL rule.

" + } + }, + "AnalysisComponent": { + "base": "

Describes a path component.

", + "refs": { + "AnalysisComponentList$member": null, + "AnalysisLoadBalancerTarget$Instance": "

Information about the instance.

", + "Explanation$Acl": "

The network ACL.

", + "Explanation$AttachedTo": "

The resource to which the component is attached.

", + "Explanation$Component": "

The component.

", + "Explanation$CustomerGateway": "

The customer gateway.

", + "Explanation$Destination": "

The destination.

", + "Explanation$DestinationVpc": "

The destination VPC.

", + "Explanation$IngressRouteTable": "

The route table.

", + "Explanation$InternetGateway": "

The internet gateway.

", + "Explanation$LoadBalancerTargetGroup": "

The target group.

", + "Explanation$ElasticLoadBalancerListener": "

The load balancer listener.

", + "Explanation$NatGateway": "

The NAT gateway.

", + "Explanation$NetworkInterface": "

The network interface.

", + "Explanation$VpcPeeringConnection": "

The VPC peering connection.

", + "Explanation$PrefixList": "

The prefix list.

", + "Explanation$RouteTable": "

The route table.

", + "Explanation$SecurityGroup": "

The security group.

", + "Explanation$SourceVpc": "

The source VPC.

", + "Explanation$Subnet": "

The subnet.

", + "Explanation$SubnetRouteTable": "

The route table for the subnet.

", + "Explanation$Vpc": "

The component VPC.

", + "Explanation$VpcEndpoint": "

The VPC endpoint.

", + "Explanation$VpnConnection": "

The VPN connection.

", + "Explanation$VpnGateway": "

The VPN gateway.

", + "PathComponent$Component": "

The component.

", + "PathComponent$DestinationVpc": "

The destination VPC.

", + "PathComponent$SourceVpc": "

The source VPC.

", + "PathComponent$Subnet": "

The subnet.

", + "PathComponent$Vpc": "

The component VPC.

" + } + }, + "AnalysisComponentList": { + "base": null, + "refs": { + "Explanation$LoadBalancerTargetGroups": "

The target groups.

", + "Explanation$SecurityGroups": "

The security groups.

" + } + }, + "AnalysisLoadBalancerListener": { + "base": "

Describes a load balancer listener.

", + "refs": { + "Explanation$ClassicLoadBalancerListener": "

The listener for a Classic Load Balancer.

" + } + }, + "AnalysisLoadBalancerTarget": { + "base": "

Describes a load balancer target.

", + "refs": { + "Explanation$LoadBalancerTarget": "

The target.

" + } + }, + "AnalysisPacketHeader": { + "base": "

Describes a header. Reflects any changes made by a component as traffic passes through. The fields of an inbound header are null except for the first component of a path.

", + "refs": { + "PathComponent$OutboundHeader": "

The outbound header.

", + "PathComponent$InboundHeader": "

The inbound header.

" + } + }, + "AnalysisRouteTableRoute": { + "base": "

Describes a route table route.

", + "refs": { + "Explanation$RouteTableRoute": "

The route table route.

", + "PathComponent$RouteTableRoute": "

The route table route.

" + } + }, + "AnalysisSecurityGroupRule": { + "base": "

Describes a security group rule.

", + "refs": { + "Explanation$SecurityGroupRule": "

The security group rule.

", + "PathComponent$SecurityGroupRule": "

The security group rule.

" + } + }, + "AnalysisStatus": { + "base": null, + "refs": { + "NetworkInsightsAnalysis$Status": "

The status of the network insights analysis.

" + } + }, "ApplianceModeSupportValue": { "base": null, "refs": { @@ -677,6 +801,13 @@ "RegisterImageRequest$Architecture": "

The architecture of the AMI.

Default: For Amazon EBS-backed AMIs, i386. For instance store-backed AMIs, the architecture specified in the manifest file.

" } }, + "ArnList": { + "base": null, + "refs": { + "NetworkInsightsAnalysis$FilterInArns": "

The Amazon Resource Names (ARN) of the AWS resources that the path must traverse.

", + "StartNetworkInsightsAnalysisRequest$FilterInArns": "

The Amazon Resource Names (ARN) of the resources that the path must traverse.

" + } + }, "AssignIpv6AddressesRequest": { "base": null, "refs": { @@ -985,6 +1116,13 @@ "refs": { } }, + "AutoAcceptSharedAssociationsValue": { + "base": null, + "refs": { + "CreateTransitGatewayMulticastDomainRequestOptions$AutoAcceptSharedAssociations": "

Indicates whether to automatically accept cross-account subnet associations that are associated with the transit gateway multicast domain.

", + "TransitGatewayMulticastDomainOptions$AutoAcceptSharedAssociations": "

Indicates whether to automatically cross-account subnet associations that are associated with the transit gateway multicast domain.

" + } + }, "AutoAcceptSharedAttachmentsValue": { "base": null, "refs": { @@ -1094,6 +1232,12 @@ "SpotFleetRequestConfig$SpotFleetRequestState": "

The state of the Spot Fleet request.

" } }, + "BgpStatus": { + "base": null, + "refs": { + "TransitGatewayAttachmentBgpConfiguration$BgpStatus": "

The BGP status.

" + } + }, "BillingProductList": { "base": null, "refs": { @@ -1143,12 +1287,14 @@ "base": null, "refs": { "AcceptReservedInstancesExchangeQuoteRequest$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.

", + "AcceptTransitGatewayMulticastDomainAssociationsRequest$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.

", "AcceptTransitGatewayPeeringAttachmentRequest$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.

", "AcceptTransitGatewayVpcAttachmentRequest$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.

", "AcceptVpcEndpointConnectionsRequest$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.

", "AcceptVpcPeeringConnectionRequest$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.

", "AdvertiseByoipCidrRequest$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.

", "AllocateAddressRequest$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.

", + "AnalysisAclRule$Egress": "

Indicates whether the rule is an outbound rule.

", "ApplySecurityGroupsToClientVpnTargetNetworkRequest$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.

", "AssignPrivateIpAddressesRequest$AllowReassignment": "

Indicates whether to allow an IP address that is already assigned to another network interface or instance to be reassigned to the specified network interface.

", "AssociateAddressRequest$AllowReassociation": "

[EC2-VPC] For a VPC in an EC2-Classic account, specify true to allow an Elastic IP address that is already associated with an instance or network interface to be reassociated with the specified instance or network interface. Otherwise, the operation fails. In a VPC in an EC2-VPC-only account, reassociation is automatic, therefore you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.

", @@ -1226,6 +1372,7 @@ "CreateNetworkAclEntryRequest$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.

", "CreateNetworkAclEntryRequest$Egress": "

Indicates whether this is an egress rule (rule is applied to traffic leaving the subnet).

", "CreateNetworkAclRequest$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.

", + "CreateNetworkInsightsPathRequest$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.

", "CreateNetworkInterfacePermissionRequest$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.

", "CreateNetworkInterfaceRequest$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.

", "CreatePlacementGroupRequest$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.

", @@ -1242,6 +1389,8 @@ "CreateTrafficMirrorFilterRuleRequest$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.

", "CreateTrafficMirrorSessionRequest$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.

", "CreateTrafficMirrorTargetRequest$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.

", + "CreateTransitGatewayConnectPeerRequest$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.

", + "CreateTransitGatewayConnectRequest$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.

", "CreateTransitGatewayMulticastDomainRequest$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.

", "CreateTransitGatewayPeeringAttachmentRequest$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.

", "CreateTransitGatewayPrefixListReferenceRequest$Blackhole": "

Indicates whether to drop traffic that matches this route.

", @@ -1287,6 +1436,8 @@ "DeleteNetworkAclEntryRequest$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.

", "DeleteNetworkAclEntryRequest$Egress": "

Indicates whether the rule is an egress rule.

", "DeleteNetworkAclRequest$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.

", + "DeleteNetworkInsightsAnalysisRequest$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.

", + "DeleteNetworkInsightsPathRequest$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.

", "DeleteNetworkInterfacePermissionRequest$Force": "

Specify true to remove the permission even if the network interface is attached to an instance.

", "DeleteNetworkInterfacePermissionRequest$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.

", "DeleteNetworkInterfacePermissionResult$Return": "

Returns true if the request succeeds, otherwise returns an error.

", @@ -1304,6 +1455,8 @@ "DeleteTrafficMirrorFilterRuleRequest$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.

", "DeleteTrafficMirrorSessionRequest$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.

", "DeleteTrafficMirrorTargetRequest$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.

", + "DeleteTransitGatewayConnectPeerRequest$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.

", + "DeleteTransitGatewayConnectRequest$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.

", "DeleteTransitGatewayMulticastDomainRequest$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.

", "DeleteTransitGatewayPeeringAttachmentRequest$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.

", "DeleteTransitGatewayPrefixListReferenceRequest$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.

", @@ -1383,6 +1536,8 @@ "DescribeMovingAddressesRequest$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.

", "DescribeNatGatewaysRequest$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.

", "DescribeNetworkAclsRequest$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.

", + "DescribeNetworkInsightsAnalysesRequest$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.

", + "DescribeNetworkInsightsPathsRequest$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.

", "DescribeNetworkInterfaceAttributeRequest$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.

", "DescribeNetworkInterfacesRequest$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.

", "DescribePlacementGroupsRequest$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.

", @@ -1413,6 +1568,8 @@ "DescribeTrafficMirrorSessionsRequest$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.

", "DescribeTrafficMirrorTargetsRequest$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.

", "DescribeTransitGatewayAttachmentsRequest$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.

", + "DescribeTransitGatewayConnectPeersRequest$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.

", + "DescribeTransitGatewayConnectsRequest$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.

", "DescribeTransitGatewayMulticastDomainsRequest$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.

", "DescribeTransitGatewayPeeringAttachmentsRequest$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.

", "DescribeTransitGatewayRouteTablesRequest$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.

", @@ -1611,6 +1768,7 @@ "MoveAddressToVpcRequest$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.

", "NetworkAcl$IsDefault": "

Indicates whether this is the default network ACL for the VPC.

", "NetworkAclEntry$Egress": "

Indicates whether the rule is an egress rule (applied to traffic leaving the subnet).

", + "NetworkInsightsAnalysis$NetworkPathFound": "

Indicates whether the destination is reachable from the source.

", "NetworkInterface$RequesterManaged": "

Indicates whether the network interface is being managed by AWS.

", "NetworkInterface$SourceDestCheck": "

Indicates whether traffic to or from the instance is validated.

", "NetworkInterfaceAttachment$DeleteOnTermination": "

Indicates whether the network interface is deleted when the instance is terminated.

", @@ -1639,6 +1797,7 @@ "RegisterInstanceTagAttributeRequest$IncludeAllTagsOfInstance": "

Indicates whether to register all tag keys in the current Region. Specify true to register all tag keys.

", "RegisterTransitGatewayMulticastGroupMembersRequest$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.

", "RegisterTransitGatewayMulticastGroupSourcesRequest$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.

", + "RejectTransitGatewayMulticastDomainAssociationsRequest$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.

", "RejectTransitGatewayPeeringAttachmentRequest$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.

", "RejectTransitGatewayVpcAttachmentRequest$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.

", "RejectVpcEndpointConnectionsRequest$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.

", @@ -1714,6 +1873,7 @@ "SpotOptionsRequest$SingleInstanceType": "

Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet. Supported only for fleets of type instant.

", "SpotOptionsRequest$SingleAvailabilityZone": "

Indicates that the fleet launches all Spot Instances into a single Availability Zone. Supported only for fleets of type instant.

", "StartInstancesRequest$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.

", + "StartNetworkInsightsAnalysisRequest$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.

", "StartVpcEndpointServicePrivateDnsVerificationRequest$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.

", "StartVpcEndpointServicePrivateDnsVerificationResult$ReturnValue": "

Returns true if the request succeeds; otherwise, it returns an error.

", "StopInstancesRequest$Hibernate": "

Hibernates the instance if the instance was enabled for hibernation at launch. If the instance cannot hibernate successfully, a normal shutdown occurs. For more information, see Hibernate your instance in the Amazon Elastic Compute Cloud User Guide.

Default: false

", @@ -2844,6 +3004,16 @@ "refs": { } }, + "CreateNetworkInsightsPathRequest": { + "base": null, + "refs": { + } + }, + "CreateNetworkInsightsPathResult": { + "base": null, + "refs": { + } + }, "CreateNetworkInterfacePermissionRequest": { "base": "

Contains the parameters for CreateNetworkInterfacePermission.

", "refs": { @@ -2994,11 +3164,43 @@ "refs": { } }, + "CreateTransitGatewayConnectPeerRequest": { + "base": null, + "refs": { + } + }, + "CreateTransitGatewayConnectPeerResult": { + "base": null, + "refs": { + } + }, + "CreateTransitGatewayConnectRequest": { + "base": null, + "refs": { + } + }, + "CreateTransitGatewayConnectRequestOptions": { + "base": "

The options for a Connect attachment.

", + "refs": { + "CreateTransitGatewayConnectRequest$Options": "

The Connect attachment options.

" + } + }, + "CreateTransitGatewayConnectResult": { + "base": null, + "refs": { + } + }, "CreateTransitGatewayMulticastDomainRequest": { "base": null, "refs": { } }, + "CreateTransitGatewayMulticastDomainRequestOptions": { + "base": "

The options for the transit gateway multicast domain.

", + "refs": { + "CreateTransitGatewayMulticastDomainRequest$Options": "

The options for the transit gateway multicast domain.

" + } + }, "CreateTransitGatewayMulticastDomainResult": { "base": null, "refs": { @@ -3339,6 +3541,8 @@ "SpotPrice$Timestamp": "

The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

", "TransitGateway$CreationTime": "

The creation time.

", "TransitGatewayAttachment$CreationTime": "

The creation time.

", + "TransitGatewayConnect$CreationTime": "

The creation time.

", + "TransitGatewayConnectPeer$CreationTime": "

The creation time.

", "TransitGatewayMulticastDomain$CreationTime": "

The time the transit gateway multicast domain was created.

", "TransitGatewayPeeringAttachment$CreationTime": "

The time the transit gateway peering attachment was created.

", "TransitGatewayRouteTable$CreationTime": "

The creation time.

", @@ -3621,6 +3825,26 @@ "refs": { } }, + "DeleteNetworkInsightsAnalysisRequest": { + "base": null, + "refs": { + } + }, + "DeleteNetworkInsightsAnalysisResult": { + "base": null, + "refs": { + } + }, + "DeleteNetworkInsightsPathRequest": { + "base": null, + "refs": { + } + }, + "DeleteNetworkInsightsPathResult": { + "base": null, + "refs": { + } + }, "DeleteNetworkInterfacePermissionRequest": { "base": "

Contains the parameters for DeleteNetworkInterfacePermission.

", "refs": { @@ -3744,6 +3968,26 @@ "refs": { } }, + "DeleteTransitGatewayConnectPeerRequest": { + "base": null, + "refs": { + } + }, + "DeleteTransitGatewayConnectPeerResult": { + "base": null, + "refs": { + } + }, + "DeleteTransitGatewayConnectRequest": { + "base": null, + "refs": { + } + }, + "DeleteTransitGatewayConnectResult": { + "base": null, + "refs": { + } + }, "DeleteTransitGatewayMulticastDomainRequest": { "base": null, "refs": { @@ -4704,6 +4948,26 @@ "refs": { } }, + "DescribeNetworkInsightsAnalysesRequest": { + "base": null, + "refs": { + } + }, + "DescribeNetworkInsightsAnalysesResult": { + "base": null, + "refs": { + } + }, + "DescribeNetworkInsightsPathsRequest": { + "base": null, + "refs": { + } + }, + "DescribeNetworkInsightsPathsResult": { + "base": null, + "refs": { + } + }, "DescribeNetworkInterfaceAttributeRequest": { "base": "

Contains the parameters for DescribeNetworkInterfaceAttribute.

", "refs": { @@ -5090,6 +5354,26 @@ "refs": { } }, + "DescribeTransitGatewayConnectPeersRequest": { + "base": null, + "refs": { + } + }, + "DescribeTransitGatewayConnectPeersResult": { + "base": null, + "refs": { + } + }, + "DescribeTransitGatewayConnectsRequest": { + "base": null, + "refs": { + } + }, + "DescribeTransitGatewayConnectsResult": { + "base": null, + "refs": { + } + }, "DescribeTransitGatewayMulticastDomainsRequest": { "base": null, "refs": { @@ -6133,6 +6417,18 @@ "DescribeImagesRequest$ExecutableUsers": "

Scopes the images by users with explicit launch permissions. Specify an AWS account ID, self (the sender of the request), or all (public AMIs).

" } }, + "Explanation": { + "base": "

Describes an explanation code for an unreachable path. For more information, see Reachability Analyzer explanation codes.

", + "refs": { + "ExplanationList$member": null + } + }, + "ExplanationList": { + "base": null, + "refs": { + "NetworkInsightsAnalysis$Explanations": "

The explanations. For more information, see Reachability Analyzer explanation codes.

" + } + }, "ExportClientVpnClientCertificateRevocationListRequest": { "base": null, "refs": { @@ -6357,6 +6653,8 @@ "DescribeMovingAddressesRequest$Filters": "

One or more filters.

", "DescribeNatGatewaysRequest$Filter": "

One or more filters.

", "DescribeNetworkAclsRequest$Filters": "

One or more filters.

", + "DescribeNetworkInsightsAnalysesRequest$Filters": "

The filters. The following are possible values:

", + "DescribeNetworkInsightsPathsRequest$Filters": "

The filters. The following are possible values:

", "DescribeNetworkInterfacePermissionsRequest$Filters": "

One or more filters.

", "DescribeNetworkInterfacesRequest$Filters": "

One or more filters.

", "DescribePlacementGroupsRequest$Filters": "

The filters.

", @@ -6379,7 +6677,9 @@ "DescribeTrafficMirrorFiltersRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTrafficMirrorSessionsRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTrafficMirrorTargetsRequest$Filters": "

One or more filters. The possible values are:

", - "DescribeTransitGatewayAttachmentsRequest$Filters": "

One or more filters. The possible values are:

", + "DescribeTransitGatewayAttachmentsRequest$Filters": "

One or more filters. The possible values are:

", + "DescribeTransitGatewayConnectPeersRequest$Filters": "

One or more filters. The possible values are:

", + "DescribeTransitGatewayConnectsRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTransitGatewayMulticastDomainsRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTransitGatewayPeeringAttachmentsRequest$Filters": "

One or more filters. The possible values are:

", "DescribeTransitGatewayRouteTablesRequest$Filters": "

One or more filters. The possible values are:

", @@ -6404,11 +6704,11 @@ "GetTransitGatewayAttachmentPropagationsRequest$Filters": "

One or more filters. The possible values are:

", "GetTransitGatewayMulticastDomainAssociationsRequest$Filters": "

One or more filters. The possible values are:

", "GetTransitGatewayPrefixListReferencesRequest$Filters": "

One or more filters. The possible values are:

", - "GetTransitGatewayRouteTableAssociationsRequest$Filters": "

One or more filters. The possible values are:

", - "GetTransitGatewayRouteTablePropagationsRequest$Filters": "

One or more filters. The possible values are:

", + "GetTransitGatewayRouteTableAssociationsRequest$Filters": "

One or more filters. The possible values are:

", + "GetTransitGatewayRouteTablePropagationsRequest$Filters": "

One or more filters. The possible values are:

", "SearchLocalGatewayRoutesRequest$Filters": "

One or more filters.

", "SearchTransitGatewayMulticastGroupsRequest$Filters": "

One or more filters. The possible values are:

", - "SearchTransitGatewayRoutesRequest$Filters": "

One or more filters. The possible values are:

" + "SearchTransitGatewayRoutesRequest$Filters": "

One or more filters. The possible values are:

" } }, "FleetActivityStatus": { @@ -7310,6 +7610,13 @@ "PrincipalIdFormat$Statuses": "

PrincipalIdFormatStatuses description

" } }, + "Igmpv2SupportValue": { + "base": null, + "refs": { + "CreateTransitGatewayMulticastDomainRequestOptions$Igmpv2Support": "

Specify whether to enable Internet Group Management Protocol (IGMP) version 2 for the transit gateway multicast domain.

", + "TransitGatewayMulticastDomainOptions$Igmpv2Support": "

Indicates whether Internet Group Management Protocol (IGMP) version 2 is turned on for the transit gateway multicast domain.

" + } + }, "Image": { "base": "

Describes an image.

", "refs": { @@ -7584,6 +7891,13 @@ "InferenceDeviceInfo$Name": "

The name of the Inference accelerator.

" } }, + "InsideCidrBlocksStringList": { + "base": null, + "refs": { + "CreateTransitGatewayConnectPeerRequest$InsideCidrBlocks": "

The range of inside IP addresses that are used for BGP peering. You must specify a size /29 IPv4 CIDR block from the 169.254.0.0/16 range. The first address from the range must be configured on the appliance as the BGP IP address. You can also optionally specify a size /125 IPv6 CIDR block from the fd00::/8 range.

", + "TransitGatewayConnectPeerConfiguration$InsideCidrBlocks": "

The range of interior BGP peer IP addresses.

" + } + }, "Instance": { "base": "

Describes an instance.

", "refs": { @@ -8111,6 +8425,7 @@ "base": null, "refs": { "AllocateHostsRequest$Quantity": "

The number of Dedicated Hosts to allocate to your account with these parameters.

", + "AnalysisAclRule$RuleNumber": "

The rule number.

", "AssignIpv6AddressesRequest$Ipv6AddressCount": "

The number of IPv6 addresses to assign to the network interface. Amazon EC2 automatically selects the IPv6 addresses from the subnet range. You can't use this option if specifying specific IPv6 addresses.

", "AssignPrivateIpAddressesRequest$SecondaryPrivateIpAddressCount": "

The number of secondary IP addresses to assign to the network interface. You can't specify this parameter when also specifying private IP addresses.

", "AttachNetworkInterfaceRequest$DeviceIndex": "

The index of the device for the network interface attachment.

", @@ -8261,12 +8576,14 @@ "ModifyVpnTunnelOptionsSpecification$ReplayWindowSize": "

The number of packets in an IKE replay window.

Constraints: A value between 64 and 2048.

Default: 1024

", "ModifyVpnTunnelOptionsSpecification$DPDTimeoutSeconds": "

The number of seconds after which a DPD timeout occurs.

Constraints: A value between 0 and 30.

Default: 30

", "NetworkAclEntry$RuleNumber": "

The rule number for the entry. ACL entries are processed in ascending order by rule number.

", + "NetworkInsightsPath$DestinationPort": "

The destination port.

", "NetworkInterfaceAttachment$DeviceIndex": "

The device index of the network interface attachment on the instance.

", "NetworkInterfaceAttachment$NetworkCardIndex": "

The index of the network card.

", "OccurrenceDayRequestSet$member": null, "OccurrenceDaySet$member": null, "OnDemandOptions$MinTargetCapacity": "

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances.

", "OnDemandOptionsRequest$MinTargetCapacity": "

The minimum target capacity for On-Demand Instances in the fleet. If the minimum target capacity is not reached, the fleet launches no instances.

", + "PathComponent$SequenceNumber": "

The sequence number.

", "Phase1DHGroupNumbersListValue$Value": "

The Diffie-Hellmann group number.

", "Phase1DHGroupNumbersRequestListValue$Value": "

The Diffie-Hellmann group number.

", "Phase2DHGroupNumbersListValue$Value": "

The Diffie-Hellmann group number.

", @@ -8414,6 +8731,26 @@ "DescribeInternetGatewaysResult$InternetGateways": "

Information about one or more internet gateways.

" } }, + "IpAddress": { + "base": null, + "refs": { + "AnalysisLoadBalancerTarget$Address": "

The IP address.

", + "CreateNetworkInsightsPathRequest$SourceIp": "

The IP address of the AWS resource that is the source of the path.

", + "CreateNetworkInsightsPathRequest$DestinationIp": "

The IP address of the AWS resource that is the destination of the path.

", + "Explanation$Address": "

The IPv4 address, in CIDR notation.

", + "IpAddressList$member": null, + "NetworkInsightsPath$SourceIp": "

The IP address of the AWS resource that is the source of the path.

", + "NetworkInsightsPath$DestinationIp": "

The IP address of the AWS resource that is the destination of the path.

" + } + }, + "IpAddressList": { + "base": null, + "refs": { + "AnalysisPacketHeader$DestinationAddresses": "

The destination addresses.

", + "AnalysisPacketHeader$SourceAddresses": "

The source addresses.

", + "Explanation$Addresses": "

The IPv4 addresses, in CIDR notation.

" + } + }, "IpPermission": { "base": "

Describes a set of permissions for a security group rule.

", "refs": { @@ -8554,7 +8891,7 @@ "Ipv6SupportValue": { "base": null, "refs": { - "CreateTransitGatewayVpcAttachmentRequestOptions$Ipv6Support": "

Enable or disable IPv6 support.

", + "CreateTransitGatewayVpcAttachmentRequestOptions$Ipv6Support": "

Enable or disable IPv6 support. The default is disable.

", "ModifyTransitGatewayVpcAttachmentRequestOptions$Ipv6Support": "

Enable or disable IPv6 support. The default is enable.

", "TransitGatewayVpcAttachmentOptions$Ipv6Support": "

Indicates whether IPv6 support is disabled.

" } @@ -9382,6 +9719,9 @@ "ReservedInstancesOffering$Duration": "

The duration of the Reserved Instance, in seconds.

", "RestoreManagedPrefixListVersionRequest$PreviousVersion": "

The version to restore.

", "RestoreManagedPrefixListVersionRequest$CurrentVersion": "

The current version number for the prefix list.

", + "TransitGatewayAttachmentBgpConfiguration$TransitGatewayAsn": "

The transit gateway Autonomous System Number (ASN).

", + "TransitGatewayAttachmentBgpConfiguration$PeerAsn": "

The peer Autonomous System Number (ASN).

", + "TransitGatewayConnectRequestBgpOptions$PeerAsn": "

The peer Autonomous System Number (ASN).

", "TransitGatewayOptions$AmazonSideAsn": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.

", "TransitGatewayRequestOptions$AmazonSideAsn": "

A private Autonomous System Number (ASN) for the Amazon side of a BGP session. The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs. The default is 64512.

", "VolumeDetail$Size": "

The size of the volume, in GiB.

", @@ -9489,6 +9829,8 @@ "DescribeFastSnapshotRestoreSuccessItem$EnabledTime": "

The time at which fast snapshot restores entered the enabled state.

", "DescribeFastSnapshotRestoreSuccessItem$DisablingTime": "

The time at which fast snapshot restores entered the disabling state.

", "DescribeFastSnapshotRestoreSuccessItem$DisabledTime": "

The time at which fast snapshot restores entered the disabled state.

", + "DescribeNetworkInsightsAnalysesRequest$AnalysisStartTime": "

The time when the network insights analyses started.

", + "DescribeNetworkInsightsAnalysesRequest$AnalysisEndTime": "

The time when the network insights analyses ended.

", "DisableFastSnapshotRestoreSuccessItem$EnablingTime": "

The time at which fast snapshot restores entered the enabling state.

", "DisableFastSnapshotRestoreSuccessItem$OptimizingTime": "

The time at which fast snapshot restores entered the optimizing state.

", "DisableFastSnapshotRestoreSuccessItem$EnabledTime": "

The time at which fast snapshot restores entered the enabled state.

", @@ -9500,6 +9842,8 @@ "EnableFastSnapshotRestoreSuccessItem$DisablingTime": "

The time at which fast snapshot restores entered the disabling state.

", "EnableFastSnapshotRestoreSuccessItem$DisabledTime": "

The time at which fast snapshot restores entered the disabled state.

", "FlowLog$CreationTime": "

The date and time the flow log was created.

", + "NetworkInsightsAnalysis$StartDate": "

The time the analysis started.

", + "NetworkInsightsPath$CreatedDate": "

The time stamp when the path was created.

", "SnapshotInfo$StartTime": "

Time this snapshot was started. This is the same for all snapshots initiated by the same request.

", "SpotFleetRequestConfig$CreateTime": "

The creation date and time of the request.

", "VolumeStatusEvent$NotAfter": "

The latest end time of the event.

", @@ -10105,6 +10449,72 @@ "InstanceTypeInfo$NetworkInfo": "

Describes the network settings for the instance type.

" } }, + "NetworkInsightsAnalysis": { + "base": "

Describes a network insights analysis.

", + "refs": { + "NetworkInsightsAnalysisList$member": null, + "StartNetworkInsightsAnalysisResult$NetworkInsightsAnalysis": "

Information about the network insights analysis.

" + } + }, + "NetworkInsightsAnalysisId": { + "base": null, + "refs": { + "DeleteNetworkInsightsAnalysisRequest$NetworkInsightsAnalysisId": "

The ID of the network insights analysis.

", + "DeleteNetworkInsightsAnalysisResult$NetworkInsightsAnalysisId": "

The ID of the network insights analysis.

", + "NetworkInsightsAnalysis$NetworkInsightsAnalysisId": "

The ID of the network insights analysis.

", + "NetworkInsightsAnalysisIdList$member": null + } + }, + "NetworkInsightsAnalysisIdList": { + "base": null, + "refs": { + "DescribeNetworkInsightsAnalysesRequest$NetworkInsightsAnalysisIds": "

The ID of the network insights analyses. You must specify either analysis IDs or a path ID.

" + } + }, + "NetworkInsightsAnalysisList": { + "base": null, + "refs": { + "DescribeNetworkInsightsAnalysesResult$NetworkInsightsAnalyses": "

Information about the network insights analyses.

" + } + }, + "NetworkInsightsMaxResults": { + "base": null, + "refs": { + "DescribeNetworkInsightsAnalysesRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", + "DescribeNetworkInsightsPathsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

" + } + }, + "NetworkInsightsPath": { + "base": "

Describes a path.

", + "refs": { + "CreateNetworkInsightsPathResult$NetworkInsightsPath": "

Information about the path.

", + "NetworkInsightsPathList$member": null + } + }, + "NetworkInsightsPathId": { + "base": null, + "refs": { + "DeleteNetworkInsightsPathRequest$NetworkInsightsPathId": "

The ID of the path.

", + "DeleteNetworkInsightsPathResult$NetworkInsightsPathId": "

The ID of the path.

", + "DescribeNetworkInsightsAnalysesRequest$NetworkInsightsPathId": "

The ID of the path. You must specify either a path ID or analysis IDs.

", + "NetworkInsightsAnalysis$NetworkInsightsPathId": "

The ID of the path.

", + "NetworkInsightsPath$NetworkInsightsPathId": "

The ID of the path.

", + "NetworkInsightsPathIdList$member": null, + "StartNetworkInsightsAnalysisRequest$NetworkInsightsPathId": "

The ID of the path.

" + } + }, + "NetworkInsightsPathIdList": { + "base": null, + "refs": { + "DescribeNetworkInsightsPathsRequest$NetworkInsightsPathIds": "

The IDs of the paths.

" + } + }, + "NetworkInsightsPathList": { + "base": null, + "refs": { + "DescribeNetworkInsightsPathsResult$NetworkInsightsPaths": "

Information about the paths.

" + } + }, "NetworkInterface": { "base": "

Describes a network interface.

", "refs": { @@ -10312,6 +10722,8 @@ "DescribeIpv6PoolsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeManagedPrefixListsRequest$NextToken": "

The token for the next page of results.

", "DescribeManagedPrefixListsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "DescribeNetworkInsightsAnalysesRequest$NextToken": "

The token for the next page of results.

", + "DescribeNetworkInsightsPathsRequest$NextToken": "

The token for the next page of results.

", "DescribePublicIpv4PoolsRequest$NextToken": "

The token for the next page of results.

", "DescribeTrafficMirrorFiltersRequest$NextToken": "

The token for the next page of results.

", "DescribeTrafficMirrorSessionsRequest$NextToken": "

The token for the next page of results.

", @@ -10394,6 +10806,19 @@ "DescribeSnapshotsRequest$OwnerIds": "

Scopes the results to snapshots with the specified owners. You can specify a combination of AWS account IDs, self, and amazon.

" } }, + "PathComponent": { + "base": "

Describes a path component.

", + "refs": { + "PathComponentList$member": null + } + }, + "PathComponentList": { + "base": null, + "refs": { + "NetworkInsightsAnalysis$ForwardPathComponents": "

The components in the path from source to destination.

", + "NetworkInsightsAnalysis$ReturnPathComponents": "

The components in the path from destination to source.

" + } + }, "PaymentOption": { "base": null, "refs": { @@ -10710,14 +11135,37 @@ "DescribePublicIpv4PoolsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

" } }, + "Port": { + "base": null, + "refs": { + "AnalysisLoadBalancerListener$LoadBalancerPort": "

The port on which the load balancer is listening.

", + "AnalysisLoadBalancerListener$InstancePort": "

[Classic Load Balancers] The back-end port for the listener.

", + "AnalysisLoadBalancerTarget$Port": "

The port on which the target is listening.

", + "CreateNetworkInsightsPathRequest$DestinationPort": "

The destination port.

", + "Explanation$LoadBalancerListenerPort": "

The listener port of the load balancer.

", + "Explanation$LoadBalancerTargetPort": "

The target port.

", + "Explanation$Port": "

The port.

" + } + }, "PortRange": { "base": "

Describes a range of ports.

", "refs": { + "AnalysisAclRule$PortRange": "

The range of ports.

", + "AnalysisSecurityGroupRule$PortRange": "

The port range.

", "CreateNetworkAclEntryRequest$PortRange": "

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).

", "NetworkAclEntry$PortRange": "

TCP or UDP protocols: The range of ports the rule applies to.

", + "PortRangeList$member": null, "ReplaceNetworkAclEntryRequest$PortRange": "

TCP or UDP protocols: The range of ports the rule applies to. Required if specifying protocol 6 (TCP) or 17 (UDP).

" } }, + "PortRangeList": { + "base": null, + "refs": { + "AnalysisPacketHeader$DestinationPortRanges": "

The destination port ranges.

", + "AnalysisPacketHeader$SourcePortRanges": "

The source port ranges.

", + "Explanation$PortRanges": "

The port ranges.

" + } + }, "PrefixList": { "base": "

Describes prefixes for AWS services.

", "refs": { @@ -10973,6 +11421,21 @@ "RouteTable$PropagatingVgws": "

Any virtual private gateway (VGW) propagating routes.

" } }, + "Protocol": { + "base": null, + "refs": { + "CreateNetworkInsightsPathRequest$Protocol": "

The protocol.

", + "NetworkInsightsPath$Protocol": "

The protocol.

" + } + }, + "ProtocolValue": { + "base": null, + "refs": { + "CreateTransitGatewayConnectRequestOptions$Protocol": "

The tunnel protocol.

", + "TransitGatewayConnectOptions$Protocol": "

The tunnel protocol.

", + "TransitGatewayConnectPeerConfiguration$Protocol": "

The tunnel protocol.

" + } + }, "ProvisionByoipCidrRequest": { "base": null, "refs": { @@ -11206,6 +11669,16 @@ "refs": { } }, + "RejectTransitGatewayMulticastDomainAssociationsRequest": { + "base": null, + "refs": { + } + }, + "RejectTransitGatewayMulticastDomainAssociationsResult": { + "base": null, + "refs": { + } + }, "RejectTransitGatewayPeeringAttachmentRequest": { "base": null, "refs": { @@ -11662,18 +12135,22 @@ "ResourceArn": { "base": null, "refs": { + "ArnList$member": null, "AssociateEnclaveCertificateIamRoleRequest$CertificateArn": "

The ARN of the ACM certificate with which to associate the IAM role.

", "AssociateEnclaveCertificateIamRoleRequest$RoleArn": "

The ARN of the IAM role to associate with the ACM certificate. You can associate up to 16 IAM roles with an ACM certificate.

", "AssociatedRole$AssociatedRoleArn": "

The ARN of the associated IAM role.

", "CoipPool$PoolArn": "

The ARN of the address pool.

", "DisassociateEnclaveCertificateIamRoleRequest$CertificateArn": "

The ARN of the ACM certificate from which to disassociate the IAM role.

", "DisassociateEnclaveCertificateIamRoleRequest$RoleArn": "

The ARN of the IAM role to disassociate.

", + "Explanation$LoadBalancerArn": "

The Amazon Resource Name (ARN) of the load balancer.

", "GetAssociatedEnclaveCertificateIamRolesRequest$CertificateArn": "

The ARN of the ACM certificate for which to view the associated IAM roles, encryption keys, and Amazon S3 object information.

", "LocalGatewayRoute$LocalGatewayRouteTableArn": "

The Amazon Resource Name (ARN) of the local gateway route table.

", "LocalGatewayRouteTable$LocalGatewayRouteTableArn": "

The Amazon Resource Name (ARN) of the local gateway route table.

", "LocalGatewayRouteTableVirtualInterfaceGroupAssociation$LocalGatewayRouteTableArn": "

The Amazon Resource Name (ARN) of the local gateway route table for the virtual interface group.

", "LocalGatewayRouteTableVpcAssociation$LocalGatewayRouteTableArn": "

The Amazon Resource Name (ARN) of the local gateway route table for the association.

", - "ManagedPrefixList$PrefixListArn": "

The Amazon Resource Name (ARN) for the prefix list.

" + "ManagedPrefixList$PrefixListArn": "

The Amazon Resource Name (ARN) for the prefix list.

", + "NetworkInsightsAnalysis$NetworkInsightsAnalysisArn": "

The Amazon Resource Name (ARN) of the network insights analysis.

", + "NetworkInsightsPath$NetworkInsightsPathArn": "

The Amazon Resource Name (ARN) of the path.

" } }, "ResourceIdList": { @@ -11696,7 +12173,7 @@ "LaunchTemplateTagSpecificationRequest$ResourceType": "

The type of resource to tag. Currently, the resource types that support tagging on creation are instance and volume. To tag a resource after it has been created, see CreateTags.

", "SpotFleetTagSpecification$ResourceType": "

The type of resource. Currently, the only resource type that is supported is instance. To tag the Spot Fleet request on creation, use the TagSpecifications parameter in SpotFleetRequestConfigData .

", "TagDescription$ResourceType": "

The resource type.

", - "TagSpecification$ResourceType": "

The type of resource to tag. Currently, the resource types that support tagging on creation are: capacity-reservation | carrier-gateway | client-vpn-endpoint | customer-gateway | dedicated-host | dhcp-options | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | image| import-image-task | import-snapshot-task | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template | placement-group | prefix-list | natgateway | network-acl | route-table | security-group| snapshot | spot-fleet-request | spot-instances-request | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-route-table | volume |vpc | vpc-peering-connection | vpc-endpoint (for interface and gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log | vpn-connection | vpn-gateway.

To tag a resource after it has been created, see CreateTags.

" + "TagSpecification$ResourceType": "

The type of resource to tag. Currently, the resource types that support tagging on creation are: capacity-reservation | carrier-gateway | client-vpn-endpoint | customer-gateway | dedicated-host | dhcp-options | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | import-image-task | import-snapshot-task | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template | placement-group | prefix-list | natgateway | network-acl | route-table | security-group | spot-fleet-request | spot-instances-request | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-connect-peer | transit-gateway-multicast-domain | transit-gateway-route-table | volume |vpc | vpc-peering-connection | vpc-endpoint (for interface and gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log | vpn-connection | vpn-gateway.

To tag a resource after it has been created, see CreateTags.

" } }, "ResponseError": { @@ -12569,6 +13046,16 @@ "refs": { } }, + "StartNetworkInsightsAnalysisRequest": { + "base": null, + "refs": { + } + }, + "StartNetworkInsightsAnalysisResult": { + "base": null, + "refs": { + } + }, "StartVpcEndpointServicePrivateDnsVerificationRequest": { "base": null, "refs": { @@ -12593,6 +13080,13 @@ "Instance$StateReason": "

The reason for the most recent state transition.

" } }, + "StaticSourcesSupportValue": { + "base": null, + "refs": { + "CreateTransitGatewayMulticastDomainRequestOptions$StaticSourcesSupport": "

Specify whether to enable support for statically configuring multicast group sources for a domain.

", + "TransitGatewayMulticastDomainOptions$StaticSourcesSupport": "

Indicates whether support for statically configuring transit gateway multicast group sources is turned on.

" + } + }, "Status": { "base": null, "refs": { @@ -12674,6 +13168,30 @@ "AllocateHostsRequest$InstanceType": "

Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.

If you want the Dedicated Hosts to support multiple instance types in a specific instance family, omit this parameter and specify InstanceFamily instead. You cannot specify InstanceType and InstanceFamily in the same request.

", "AllocateHostsRequest$InstanceFamily": "

Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family.

If you want the Dedicated Hosts to support a specific instance type only, omit this parameter and specify InstanceType instead. You cannot specify InstanceFamily and InstanceType in the same request.

", "AllowedPrincipal$Principal": "

The Amazon Resource Name (ARN) of the principal.

", + "AlternatePathHint$ComponentId": "

The ID of the component.

", + "AlternatePathHint$ComponentArn": "

The Amazon Resource Name (ARN) of the component.

", + "AnalysisAclRule$Cidr": "

The IPv4 address range, in CIDR notation.

", + "AnalysisAclRule$Protocol": "

The protocol.

", + "AnalysisAclRule$RuleAction": "

Indicates whether to allow or deny traffic that matches the rule.

", + "AnalysisComponent$Id": "

The ID of the component.

", + "AnalysisComponent$Arn": "

The Amazon Resource Name (ARN) of the component.

", + "AnalysisLoadBalancerTarget$AvailabilityZone": "

The Availability Zone.

", + "AnalysisPacketHeader$Protocol": "

The protocol.

", + "AnalysisRouteTableRoute$DestinationCidr": "

The destination IPv4 address, in CIDR notation.

", + "AnalysisRouteTableRoute$DestinationPrefixListId": "

The prefix of the AWS service.

", + "AnalysisRouteTableRoute$EgressOnlyInternetGatewayId": "

The ID of an egress-only internet gateway.

", + "AnalysisRouteTableRoute$GatewayId": "

The ID of the gateway, such as an internet gateway or virtual private gateway.

", + "AnalysisRouteTableRoute$InstanceId": "

The ID of the instance, such as a NAT instance.

", + "AnalysisRouteTableRoute$NatGatewayId": "

The ID of a NAT gateway.

", + "AnalysisRouteTableRoute$NetworkInterfaceId": "

The ID of a network interface.

", + "AnalysisRouteTableRoute$Origin": "

Describes how the route was created. The following are possible values:

", + "AnalysisRouteTableRoute$TransitGatewayId": "

The ID of a transit gateway.

", + "AnalysisRouteTableRoute$VpcPeeringConnectionId": "

The ID of a VPC peering connection.

", + "AnalysisSecurityGroupRule$Cidr": "

The IPv4 address range, in CIDR notation.

", + "AnalysisSecurityGroupRule$Direction": "

The direction. The following are possible values:

", + "AnalysisSecurityGroupRule$SecurityGroupId": "

The security group ID.

", + "AnalysisSecurityGroupRule$PrefixListId": "

The prefix list ID.

", + "AnalysisSecurityGroupRule$Protocol": "

The protocol name.

", "AssignIpv6AddressesResult$NetworkInterfaceId": "

The ID of the network interface.

", "AssignPrivateIpAddressesResult$NetworkInterfaceId": "

The ID of the network interface.

", "AssignedPrivateIpAddress$PrivateIpAddress": "

The private IP address assigned to the network interface.

", @@ -12889,6 +13407,9 @@ "CreateNetworkAclEntryRequest$CidrBlock": "

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24). We modify the specified CIDR block to its canonical form; for example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18.

", "CreateNetworkAclEntryRequest$Ipv6CidrBlock": "

The IPv6 network range to allow or deny, in CIDR notation (for example 2001:db8:1234:1a00::/64).

", "CreateNetworkAclEntryRequest$Protocol": "

The protocol number. A value of \"-1\" means all protocols. If you specify \"-1\" or a protocol number other than \"6\" (TCP), \"17\" (UDP), or \"1\" (ICMP), traffic on all ports is allowed, regardless of any ports or ICMP types or codes that you specify. If you specify protocol \"58\" (ICMPv6) and specify an IPv4 CIDR block, traffic for all ICMP types and codes allowed, regardless of any that you specify. If you specify protocol \"58\" (ICMPv6) and specify an IPv6 CIDR block, you must specify an ICMP type and code.

", + "CreateNetworkInsightsPathRequest$Source": "

The AWS resource that is the source of the path.

", + "CreateNetworkInsightsPathRequest$Destination": "

The AWS resource that is the destination of the path.

", + "CreateNetworkInsightsPathRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", "CreateNetworkInterfacePermissionRequest$AwsAccountId": "

The AWS account ID.

", "CreateNetworkInterfacePermissionRequest$AwsService": "

The AWS service. Currently not supported.

", "CreateNetworkInterfaceRequest$Description": "

A description for the network interface.

", @@ -12924,6 +13445,8 @@ "CreateTrafficMirrorTargetRequest$Description": "

The description of the Traffic Mirror target.

", "CreateTrafficMirrorTargetRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", "CreateTrafficMirrorTargetResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", + "CreateTransitGatewayConnectPeerRequest$TransitGatewayAddress": "

The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.

", + "CreateTransitGatewayConnectPeerRequest$PeerAddress": "

The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.

", "CreateTransitGatewayPeeringAttachmentRequest$PeerAccountId": "

The AWS account ID of the owner of the peer transit gateway.

", "CreateTransitGatewayPeeringAttachmentRequest$PeerRegion": "

The Region where the peer transit gateway is located.

", "CreateTransitGatewayRequest$Description": "

A description of the transit gateway.

", @@ -13054,6 +13577,8 @@ "DescribeNatGatewaysResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeNetworkAclsRequest$NextToken": "

The token for the next page of results.

", "DescribeNetworkAclsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "DescribeNetworkInsightsAnalysesResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "DescribeNetworkInsightsPathsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeNetworkInterfaceAttributeResult$NetworkInterfaceId": "

The ID of the network interface.

", "DescribeNetworkInterfacePermissionsRequest$NextToken": "

The token to request the next page of results.

", "DescribeNetworkInterfacePermissionsResult$NextToken": "

The token to use to retrieve the next page of results.

", @@ -13103,6 +13628,10 @@ "DescribeTrafficMirrorTargetsResult$NextToken": "

The token to use to retrieve the next page of results. The value is null when there are no more results to return.

", "DescribeTransitGatewayAttachmentsRequest$NextToken": "

The token for the next page of results.

", "DescribeTransitGatewayAttachmentsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "DescribeTransitGatewayConnectPeersRequest$NextToken": "

The token for the next page of results.

", + "DescribeTransitGatewayConnectPeersResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", + "DescribeTransitGatewayConnectsRequest$NextToken": "

The token for the next page of results.

", + "DescribeTransitGatewayConnectsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeTransitGatewayMulticastDomainsRequest$NextToken": "

The token for the next page of results.

", "DescribeTransitGatewayMulticastDomainsResult$NextToken": "

The token to use to retrieve the next page of results. This value is null when there are no more results to return.

", "DescribeTransitGatewayPeeringAttachmentsRequest$NextToken": "

The token for the next page of results.

", @@ -13193,6 +13722,11 @@ "EventInformation$EventSubType": "

The event.

The following are the error events:

The following are the fleetRequestChange events:

The following are the instanceChange events:

The following are the Information events:

", "EventInformation$InstanceId": "

The ID of the instance. This information is available only for instanceChange events.

", "ExecutableByStringList$member": null, + "Explanation$Direction": "

The direction. The following are possible values:

", + "Explanation$ExplanationCode": "

The explanation code.

", + "Explanation$MissingComponent": "

The missing component.

", + "Explanation$PacketField": "

The packet field.

", + "Explanation$State": "

The state.

", "ExportClientVpnClientCertificateRevocationListResult$CertificateRevocationList": "

Information about the client certificate revocation list.

", "ExportClientVpnClientConfigurationResult$ClientConfiguration": "

The contents of the Client VPN endpoint configuration file.

", "ExportImageRequest$ClientToken": "

Token to enable idempotency for export image requests.

", @@ -13396,6 +13930,7 @@ "ImportVolumeRequest$Description": "

A description of the volume.

", "ImportVolumeTaskDetails$AvailabilityZone": "

The Availability Zone where the resulting volume will reside.

", "ImportVolumeTaskDetails$Description": "

The description you provided when starting the import volume task.

", + "InsideCidrBlocksStringList$member": null, "Instance$ImageId": "

The ID of the AMI used to launch the instance.

", "Instance$InstanceId": "

The ID of the instance.

", "Instance$KernelId": "

The kernel associated with this instance, if applicable.

", @@ -13623,6 +14158,9 @@ "NetworkAclEntry$CidrBlock": "

The IPv4 network range to allow or deny, in CIDR notation.

", "NetworkAclEntry$Ipv6CidrBlock": "

The IPv6 network range to allow or deny, in CIDR notation.

", "NetworkAclEntry$Protocol": "

The protocol number. A value of \"-1\" means all protocols.

", + "NetworkInsightsAnalysis$StatusMessage": "

The status message, if the status is failed.

", + "NetworkInsightsPath$Source": "

The AWS resource that is the source of the path.

", + "NetworkInsightsPath$Destination": "

The AWS resource that is the destination of the path.

", "NetworkInterface$AvailabilityZone": "

The Availability Zone.

", "NetworkInterface$Description": "

A description.

", "NetworkInterface$MacAddress": "

The MAC address.

", @@ -13957,10 +14495,12 @@ "StaleSecurityGroup$GroupName": "

The name of the security group.

", "StaleSecurityGroup$VpcId": "

The ID of the VPC for the security group.

", "StartInstancesRequest$AdditionalInfo": "

Reserved.

", + "StartNetworkInsightsAnalysisRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", "StateReason$Code": "

The reason code for the state change.

", "StateReason$Message": "

The message for the state change.

", "StorageLocation$Bucket": "

The name of the S3 bucket.

", "StorageLocation$Key": "

The key.

", + "StringList$member": null, "Subnet$AvailabilityZone": "

The Availability Zone of the subnet.

", "Subnet$AvailabilityZoneId": "

The AZ ID of the subnet.

", "Subnet$CidrBlock": "

The IPv4 CIDR block assigned to the subnet.

", @@ -14019,22 +14559,32 @@ "TransitGatewayAttachment$ResourceOwnerId": "

The ID of the AWS account that owns the resource.

", "TransitGatewayAttachment$ResourceId": "

The ID of the resource.

", "TransitGatewayAttachmentAssociation$TransitGatewayRouteTableId": "

The ID of the route table for the transit gateway.

", + "TransitGatewayAttachmentBgpConfiguration$TransitGatewayAddress": "

The interior BGP peer IP address for the transit gateway.

", + "TransitGatewayAttachmentBgpConfiguration$PeerAddress": "

The interior BGP peer IP address for the appliance.

", "TransitGatewayAttachmentPropagation$TransitGatewayRouteTableId": "

The ID of the propagation route table.

", + "TransitGatewayCidrBlockStringList$member": null, + "TransitGatewayConnectPeerConfiguration$TransitGatewayAddress": "

The Connect peer IP address on the transit gateway side of the tunnel.

", + "TransitGatewayConnectPeerConfiguration$PeerAddress": "

The Connect peer IP address on the appliance side of the tunnel.

", "TransitGatewayMulticastDeregisteredGroupMembers$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "TransitGatewayMulticastDeregisteredGroupMembers$GroupIpAddress": "

The IP address assigned to the transit gateway multicast group.

", "TransitGatewayMulticastDeregisteredGroupSources$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "TransitGatewayMulticastDeregisteredGroupSources$GroupIpAddress": "

The IP address assigned to the transit gateway multicast group.

", "TransitGatewayMulticastDomain$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "TransitGatewayMulticastDomain$TransitGatewayId": "

The ID of the transit gateway.

", + "TransitGatewayMulticastDomain$TransitGatewayMulticastDomainArn": "

The Amazon Resource Name (ARN) of the transit gateway multicast domain.

", + "TransitGatewayMulticastDomain$OwnerId": "

The ID of the AWS account that owns the transit gateway multiicast domain.

", "TransitGatewayMulticastDomainAssociation$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment.

", "TransitGatewayMulticastDomainAssociation$ResourceId": "

The ID of the resource.

", + "TransitGatewayMulticastDomainAssociation$ResourceOwnerId": "

The ID of the AWS account that owns the transit gateway multicast domain association resource.

", "TransitGatewayMulticastDomainAssociations$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "TransitGatewayMulticastDomainAssociations$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment.

", "TransitGatewayMulticastDomainAssociations$ResourceId": "

The ID of the resource.

", + "TransitGatewayMulticastDomainAssociations$ResourceOwnerId": "

The ID of the AWS account that owns the resource.

", "TransitGatewayMulticastGroup$GroupIpAddress": "

The IP address assigned to the transit gateway multicast group.

", "TransitGatewayMulticastGroup$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment.

", "TransitGatewayMulticastGroup$SubnetId": "

The ID of the subnet.

", "TransitGatewayMulticastGroup$ResourceId": "

The ID of the resource.

", + "TransitGatewayMulticastGroup$ResourceOwnerId": "

The ID of the AWS account that owns the transit gateway multicast domain group resource.

", "TransitGatewayMulticastGroup$NetworkInterfaceId": "

The ID of the transit gateway attachment.

", "TransitGatewayMulticastRegisteredGroupMembers$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "TransitGatewayMulticastRegisteredGroupMembers$GroupIpAddress": "

The IP address assigned to the transit gateway multicast group.

", @@ -14171,6 +14721,12 @@ "ZoneNameStringList$member": null } }, + "StringList": { + "base": null, + "refs": { + "Explanation$Protocols": "

The protocols.

" + } + }, "Subnet": { "base": "

Describes a subnet.

", "refs": { @@ -14364,6 +14920,8 @@ "ManagedPrefixList$Tags": "

The tags for the prefix list.

", "NatGateway$Tags": "

The tags for the NAT gateway.

", "NetworkAcl$Tags": "

Any tags assigned to the network ACL.

", + "NetworkInsightsAnalysis$Tags": "

The tags.

", + "NetworkInsightsPath$Tags": "

The tags associated with the path.

", "NetworkInterface$TagSet": "

Any tags assigned to the network interface.

", "PlacementGroup$Tags": "

Any tags applied to the placement group.

", "PublicIpv4Pool$Tags": "

Any tags for the address pool.

", @@ -14385,6 +14943,8 @@ "TrafficMirrorTarget$Tags": "

The tags assigned to the Traffic Mirror target.

", "TransitGateway$Tags": "

The tags for the transit gateway.

", "TransitGatewayAttachment$Tags": "

The tags for the attachment.

", + "TransitGatewayConnect$Tags": "

The tags for the attachment.

", + "TransitGatewayConnectPeer$Tags": "

The tags for the Connect peer.

", "TransitGatewayMulticastDomain$Tags": "

The tags for the transit gateway multicast domain.

", "TransitGatewayPeeringAttachment$Tags": "

The tags for the transit gateway peering attachment.

", "TransitGatewayRouteTable$Tags": "

Any tags assigned to the route table.

", @@ -14427,6 +14987,7 @@ "CreateManagedPrefixListRequest$TagSpecifications": "

The tags to apply to the prefix list during creation.

", "CreateNatGatewayRequest$TagSpecifications": "

The tags to assign to the NAT gateway.

", "CreateNetworkAclRequest$TagSpecifications": "

The tags to assign to the network ACL.

", + "CreateNetworkInsightsPathRequest$TagSpecifications": "

The tags to add to the path.

", "CreateNetworkInterfaceRequest$TagSpecifications": "

The tags to apply to the new network interface.

", "CreatePlacementGroupRequest$TagSpecifications": "

The tags to apply to the new placement group.

", "CreateRouteTableRequest$TagSpecifications": "

The tags to assign to the route table.

", @@ -14437,6 +14998,8 @@ "CreateTrafficMirrorFilterRequest$TagSpecifications": "

The tags to assign to a Traffic Mirror filter.

", "CreateTrafficMirrorSessionRequest$TagSpecifications": "

The tags to assign to a Traffic Mirror session.

", "CreateTrafficMirrorTargetRequest$TagSpecifications": "

The tags to assign to the Traffic Mirror target.

", + "CreateTransitGatewayConnectPeerRequest$TagSpecifications": "

The tags to apply to the Connect peer.

", + "CreateTransitGatewayConnectRequest$TagSpecifications": "

The tags to apply to the Connect attachment.

", "CreateTransitGatewayMulticastDomainRequest$TagSpecifications": "

The tags for the transit gateway multicast domain.

", "CreateTransitGatewayPeeringAttachmentRequest$TagSpecifications": "

The tags to apply to the transit gateway peering attachment.

", "CreateTransitGatewayRequest$TagSpecifications": "

The tags to apply to the transit gateway.

", @@ -14457,7 +15020,8 @@ "PurchaseHostReservationRequest$TagSpecifications": "

The tags to apply to the Dedicated Host Reservation during purchase.

", "RequestSpotInstancesRequest$TagSpecifications": "

The key-value pair for tagging the Spot Instance request on creation. The value for ResourceType must be spot-instances-request, otherwise the Spot Instance request fails. To tag the Spot Instance request after it has been created, see CreateTags.

", "RunInstancesRequest$TagSpecifications": "

The tags to apply to the resources during launch. You can only tag instances and volumes on launch. The specified tags are applied to all instances or volumes that are created during launch. To tag a resource after it has been created, see CreateTags.

", - "SpotFleetRequestConfigData$TagSpecifications": "

The key-value pair for tagging the Spot Fleet request on creation. The value for ResourceType must be spot-fleet-request, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you use LaunchTemplateConfigs) or in the SpotFleetTagSpecification (valid only if you use LaunchSpecifications). For information about tagging after launch, see Tagging Your Resources.

" + "SpotFleetRequestConfigData$TagSpecifications": "

The key-value pair for tagging the Spot Fleet request on creation. The value for ResourceType must be spot-fleet-request, otherwise the Spot Fleet request fails. To tag instances at launch, specify the tags in the launch template (valid only if you use LaunchTemplateConfigs) or in the SpotFleetTagSpecification (valid only if you use LaunchSpecifications). For information about tagging after launch, see Tagging Your Resources.

", + "StartNetworkInsightsAnalysisRequest$TagSpecifications": "

The tags to apply.

" } }, "TaggableResourceId": { @@ -14847,15 +15411,31 @@ "TransitGatewayAttachment$Association": "

The association.

" } }, + "TransitGatewayAttachmentBgpConfiguration": { + "base": "

The BGP configuration information.

", + "refs": { + "TransitGatewayAttachmentBgpConfigurationList$member": null + } + }, + "TransitGatewayAttachmentBgpConfigurationList": { + "base": null, + "refs": { + "TransitGatewayConnectPeerConfiguration$BgpConfigurations": "

The BGP configuration details.

" + } + }, "TransitGatewayAttachmentId": { "base": null, "refs": { + "AcceptTransitGatewayMulticastDomainAssociationsRequest$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment.

", "AcceptTransitGatewayPeeringAttachmentRequest$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment.

", "AcceptTransitGatewayVpcAttachmentRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", "AssociateTransitGatewayMulticastDomainRequest$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment to associate with the transit gateway multicast domain.

", "AssociateTransitGatewayRouteTableRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", + "CreateTransitGatewayConnectPeerRequest$TransitGatewayAttachmentId": "

The ID of the Connect attachment.

", + "CreateTransitGatewayConnectRequest$TransportTransitGatewayAttachmentId": "

The ID of the transit gateway attachment. You can specify a VPC attachment or a AWS Direct Connect attachment.

", "CreateTransitGatewayPrefixListReferenceRequest$TransitGatewayAttachmentId": "

The ID of the attachment to which traffic is routed.

", "CreateTransitGatewayRouteRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", + "DeleteTransitGatewayConnectRequest$TransitGatewayAttachmentId": "

The ID of the Connect attachment.

", "DeleteTransitGatewayPeeringAttachmentRequest$TransitGatewayAttachmentId": "

The ID of the transit gateway peering attachment.

", "DeleteTransitGatewayVpcAttachmentRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", "DisableTransitGatewayRouteTablePropagationRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", @@ -14865,11 +15445,15 @@ "GetTransitGatewayAttachmentPropagationsRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", "ModifyTransitGatewayPrefixListReferenceRequest$TransitGatewayAttachmentId": "

The ID of the attachment to which traffic is routed.

", "ModifyTransitGatewayVpcAttachmentRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", + "RejectTransitGatewayMulticastDomainAssociationsRequest$TransitGatewayAttachmentId": "

The ID of the transit gateway attachment.

", "RejectTransitGatewayPeeringAttachmentRequest$TransitGatewayAttachmentId": "

The ID of the transit gateway peering attachment.

", "RejectTransitGatewayVpcAttachmentRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", "ReplaceTransitGatewayRouteRequest$TransitGatewayAttachmentId": "

The ID of the attachment.

", "TransitGatewayAssociation$TransitGatewayAttachmentId": "

The ID of the attachment.

", "TransitGatewayAttachmentIdStringList$member": null, + "TransitGatewayConnect$TransitGatewayAttachmentId": "

The ID of the Connect attachment.

", + "TransitGatewayConnect$TransportTransitGatewayAttachmentId": "

The ID of the attachment from which the Connect attachment was created.

", + "TransitGatewayConnectPeer$TransitGatewayAttachmentId": "

The ID of the Connect attachment.

", "TransitGatewayPrefixListAttachment$TransitGatewayAttachmentId": "

The ID of the attachment.

", "TransitGatewayPropagation$TransitGatewayAttachmentId": "

The ID of the attachment.

" } @@ -14878,6 +15462,7 @@ "base": null, "refs": { "DescribeTransitGatewayAttachmentsRequest$TransitGatewayAttachmentIds": "

The IDs of the attachments.

", + "DescribeTransitGatewayConnectsRequest$TransitGatewayAttachmentIds": "

The IDs of the attachments.

", "DescribeTransitGatewayPeeringAttachmentsRequest$TransitGatewayAttachmentIds": "

One or more IDs of the transit gateway peering attachments.

", "DescribeTransitGatewayVpcAttachmentsRequest$TransitGatewayAttachmentIds": "

The IDs of the attachments.

" } @@ -14919,10 +15504,85 @@ "base": null, "refs": { "TransitGatewayAttachment$State": "

The attachment state. Note that the initiating state has been deprecated.

", + "TransitGatewayConnect$State": "

The state of the attachment.

", "TransitGatewayPeeringAttachment$State": "

The state of the transit gateway peering attachment. Note that the initiating state has been deprecated.

", "TransitGatewayVpcAttachment$State": "

The state of the VPC attachment. Note that the initiating state has been deprecated.

" } }, + "TransitGatewayCidrBlockStringList": { + "base": null, + "refs": { + "ModifyTransitGatewayOptions$AddTransitGatewayCidrBlocks": "

Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.

", + "ModifyTransitGatewayOptions$RemoveTransitGatewayCidrBlocks": "

Removes CIDR blocks for the transit gateway.

", + "TransitGatewayRequestOptions$TransitGatewayCidrBlocks": "

One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.

" + } + }, + "TransitGatewayConnect": { + "base": "

Describes a transit gateway Connect attachment.

", + "refs": { + "CreateTransitGatewayConnectResult$TransitGatewayConnect": "

Information about the Connect attachment.

", + "DeleteTransitGatewayConnectResult$TransitGatewayConnect": "

Information about the deleted Connect attachment.

", + "TransitGatewayConnectList$member": null + } + }, + "TransitGatewayConnectList": { + "base": null, + "refs": { + "DescribeTransitGatewayConnectsResult$TransitGatewayConnects": "

Information about the Connect attachments.

" + } + }, + "TransitGatewayConnectOptions": { + "base": "

Describes the Connect attachment options.

", + "refs": { + "TransitGatewayConnect$Options": "

The Connect attachment options.

" + } + }, + "TransitGatewayConnectPeer": { + "base": "

Describes a transit gateway Connect peer.

", + "refs": { + "CreateTransitGatewayConnectPeerResult$TransitGatewayConnectPeer": "

Information about the Connect peer.

", + "DeleteTransitGatewayConnectPeerResult$TransitGatewayConnectPeer": "

Information about the deleted Connect peer.

", + "TransitGatewayConnectPeerList$member": null + } + }, + "TransitGatewayConnectPeerConfiguration": { + "base": "

Describes the Connect peer details.

", + "refs": { + "TransitGatewayConnectPeer$ConnectPeerConfiguration": "

The Connect peer details.

" + } + }, + "TransitGatewayConnectPeerId": { + "base": null, + "refs": { + "DeleteTransitGatewayConnectPeerRequest$TransitGatewayConnectPeerId": "

The ID of the Connect peer.

", + "TransitGatewayConnectPeer$TransitGatewayConnectPeerId": "

The ID of the Connect peer.

", + "TransitGatewayConnectPeerIdStringList$member": null + } + }, + "TransitGatewayConnectPeerIdStringList": { + "base": null, + "refs": { + "DescribeTransitGatewayConnectPeersRequest$TransitGatewayConnectPeerIds": "

The IDs of the Connect peers.

" + } + }, + "TransitGatewayConnectPeerList": { + "base": null, + "refs": { + "DescribeTransitGatewayConnectPeersResult$TransitGatewayConnectPeers": "

Information about the Connect peers.

" + } + }, + "TransitGatewayConnectPeerState": { + "base": null, + "refs": { + "TransitGatewayConnectPeer$State": "

The state of the Connect peer.

" + } + }, + "TransitGatewayConnectRequestBgpOptions": { + "base": "

The BGP options for the Connect attachment.

", + "refs": { + "CreateTransitGatewayConnectPeerRequest$BgpOptions": "

The BGP options for the Connect peer.

" + } + }, "TransitGatewayId": { "base": null, "refs": { @@ -14936,6 +15596,7 @@ "ModifyTransitGatewayRequest$TransitGatewayId": "

The ID of the transit gateway.

", "ModifyVpnConnectionRequest$TransitGatewayId": "

The ID of the transit gateway.

", "ReplaceRouteRequest$TransitGatewayId": "

The ID of a transit gateway.

", + "TransitGatewayConnect$TransitGatewayId": "

The ID of the transit gateway.

", "TransitGatewayIdStringList$member": null } }, @@ -14955,6 +15616,8 @@ "base": null, "refs": { "DescribeTransitGatewayAttachmentsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", + "DescribeTransitGatewayConnectPeersRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", + "DescribeTransitGatewayConnectsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "DescribeTransitGatewayMulticastDomainsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "DescribeTransitGatewayPeeringAttachmentsRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", "DescribeTransitGatewayRouteTablesRequest$MaxResults": "

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

", @@ -15010,13 +15673,16 @@ "TransitGatewayMulticastDomainAssociations": { "base": "

Describes the multicast domain associations.

", "refs": { + "AcceptTransitGatewayMulticastDomainAssociationsResult$Associations": null, "AssociateTransitGatewayMulticastDomainResult$Associations": "

Information about the transit gateway multicast domain associations.

", - "DisassociateTransitGatewayMulticastDomainResult$Associations": "

Information about the association.

" + "DisassociateTransitGatewayMulticastDomainResult$Associations": "

Information about the association.

", + "RejectTransitGatewayMulticastDomainAssociationsResult$Associations": null } }, "TransitGatewayMulticastDomainId": { "base": null, "refs": { + "AcceptTransitGatewayMulticastDomainAssociationsRequest$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "AssociateTransitGatewayMulticastDomainRequest$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "DeleteTransitGatewayMulticastDomainRequest$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "DeregisterTransitGatewayMulticastGroupMembersRequest$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", @@ -15025,6 +15691,7 @@ "GetTransitGatewayMulticastDomainAssociationsRequest$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "RegisterTransitGatewayMulticastGroupMembersRequest$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "RegisterTransitGatewayMulticastGroupSourcesRequest$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", + "RejectTransitGatewayMulticastDomainAssociationsRequest$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "SearchTransitGatewayMulticastGroupsRequest$TransitGatewayMulticastDomainId": "

The ID of the transit gateway multicast domain.

", "TransitGatewayMulticastDomainIdStringList$member": null } @@ -15041,6 +15708,12 @@ "DescribeTransitGatewayMulticastDomainsResult$TransitGatewayMulticastDomains": "

Information about the transit gateway multicast domains.

" } }, + "TransitGatewayMulticastDomainOptions": { + "base": "

Describes the options for a transit gateway multicast domain.

", + "refs": { + "TransitGatewayMulticastDomain$Options": "

The options for the transit gateway multicast domain.

" + } + }, "TransitGatewayMulticastDomainState": { "base": null, "refs": { @@ -15274,7 +15947,9 @@ "TransitGatewaySubnetIdList": { "base": null, "refs": { + "AssociateTransitGatewayMulticastDomainRequest$SubnetIds": "

The IDs of the subnets to associate with the transit gateway multicast domain.

", "CreateTransitGatewayVpcAttachmentRequest$SubnetIds": "

The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.

", + "DisassociateTransitGatewayMulticastDomainRequest$SubnetIds": "

The IDs of the subnets;

", "ModifyTransitGatewayVpcAttachmentRequest$AddSubnetIds": "

The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.

", "ModifyTransitGatewayVpcAttachmentRequest$RemoveSubnetIds": "

The IDs of one or more subnets to remove.

" } @@ -15531,7 +16206,7 @@ "ValueStringList": { "base": null, "refs": { - "AssociateTransitGatewayMulticastDomainRequest$SubnetIds": "

The IDs of the subnets to associate with the transit gateway multicast domain.

", + "AcceptTransitGatewayMulticastDomainAssociationsRequest$SubnetIds": "

The IDs of the subnets to associate with the transit gateway multicast domain.

", "ClientVpnConnection$PostureComplianceStatuses": "

The statuses returned by the client connect handler for posture compliance, if applicable.

", "ClientVpnEndpoint$DnsServers": "

Information about the DNS servers to be used for DNS resolution.

", "CoipPool$PoolCidrs": "

The address ranges of the address pool.

", @@ -15546,8 +16221,9 @@ "DescribeMovingAddressesRequest$PublicIps": "

One or more Elastic IP addresses.

", "DescribeVpcEndpointServicesRequest$ServiceNames": "

One or more service names.

", "DescribeVpcEndpointServicesResult$ServiceNames": "

A list of supported services.

", - "DisassociateTransitGatewayMulticastDomainRequest$SubnetIds": "

The IDs of the subnets;

", "DnsServersOptionsModifyStructure$CustomDnsServers": "

The IPv4 address range, in CIDR notation, of the DNS servers to be used. You can specify up to two DNS servers. Ensure that the DNS servers can be reached by the clients. The specified values overwrite the existing values.

", + "Explanation$AvailabilityZones": "

The Availability Zones.

", + "Explanation$Cidrs": "

The CIDR ranges.

", "Filter$Values": "

The filter values. Filter values are case-sensitive.

", "ModifyVpcEndpointConnectionNotificationRequest$ConnectionEvents": "

One or more events for the endpoint. Valid values are Accept, Connect, Delete, and Reject.

", "ModifyVpcEndpointServiceConfigurationRequest$AddNetworkLoadBalancerArns": "

The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.

", @@ -15558,6 +16234,7 @@ "ModifyVpcEndpointServicePermissionsRequest$RemoveAllowedPrincipals": "

The Amazon Resource Names (ARN) of one or more principals. Permissions are revoked for principals in this list.

", "NewDhcpConfiguration$Values": null, "PrefixList$Cidrs": "

The IP address range of the AWS service.

", + "RejectTransitGatewayMulticastDomainAssociationsRequest$SubnetIds": "

The IDs of the subnets to associate with the transit gateway multicast domain.

", "ResponseLaunchTemplateData$SecurityGroupIds": "

The security group IDs.

", "ResponseLaunchTemplateData$SecurityGroups": "

The security group names.

", "ServiceConfiguration$AvailabilityZones": "

The Availability Zones in which the service is available.

", @@ -15571,6 +16248,7 @@ "TransitGatewayMulticastDeregisteredGroupSources$DeregisteredNetworkInterfaceIds": "

The network interface IDs of the non-registered members.

", "TransitGatewayMulticastRegisteredGroupMembers$RegisteredNetworkInterfaceIds": "

The ID of the registered network interfaces.

", "TransitGatewayMulticastRegisteredGroupSources$RegisteredNetworkInterfaceIds": "

The IDs of the network interfaces members registered with the transit gateway multicast group.

", + "TransitGatewayOptions$TransitGatewayCidrBlocks": "

The transit gateway CIDR blocks.

", "TransitGatewayVpcAttachment$SubnetIds": "

The IDs of the subnets.

", "VpcEndpoint$RouteTableIds": "

(Gateway endpoint) One or more route tables associated with the endpoint.

", "VpcEndpoint$SubnetIds": "

(Interface endpoint) One or more subnets in which the endpoint is located.

", diff --git a/models/apis/ec2/2016-11-15/paginators-1.json b/models/apis/ec2/2016-11-15/paginators-1.json index bc8ace6a6b5..cc36cc87d56 100755 --- a/models/apis/ec2/2016-11-15/paginators-1.json +++ b/models/apis/ec2/2016-11-15/paginators-1.json @@ -279,6 +279,18 @@ "output_token": "NextToken", "result_key": "NetworkAcls" }, + "DescribeNetworkInsightsAnalyses": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "NetworkInsightsAnalyses" + }, + "DescribeNetworkInsightsPaths": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "NetworkInsightsPaths" + }, "DescribeNetworkInterfacePermissions": { "input_token": "NextToken", "limit_key": "MaxResults", @@ -422,6 +434,18 @@ "output_token": "NextToken", "result_key": "TransitGatewayAttachments" }, + "DescribeTransitGatewayConnectPeers": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "TransitGatewayConnectPeers" + }, + "DescribeTransitGatewayConnects": { + "input_token": "NextToken", + "limit_key": "MaxResults", + "output_token": "NextToken", + "result_key": "TransitGatewayConnects" + }, "DescribeTransitGatewayMulticastDomains": { "input_token": "NextToken", "limit_key": "MaxResults", diff --git a/models/apis/kendra/2019-02-03/api-2.json b/models/apis/kendra/2019-02-03/api-2.json index 7572918443a..607b807ed7a 100644 --- a/models/apis/kendra/2019-02-03/api-2.json +++ b/models/apis/kendra/2019-02-03/api-2.json @@ -104,6 +104,24 @@ {"shape":"InternalServerException"} ] }, + "CreateThesaurus":{ + "name":"CreateThesaurus", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateThesaurusRequest"}, + "output":{"shape":"CreateThesaurusResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, "DeleteDataSource":{ "name":"DeleteDataSource", "http":{ @@ -152,6 +170,22 @@ {"shape":"InternalServerException"} ] }, + "DeleteThesaurus":{ + "name":"DeleteThesaurus", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteThesaurusRequest"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, "DescribeDataSource":{ "name":"DescribeDataSource", "http":{ @@ -200,6 +234,22 @@ {"shape":"InternalServerException"} ] }, + "DescribeThesaurus":{ + "name":"DescribeThesaurus", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeThesaurusRequest"}, + "output":{"shape":"DescribeThesaurusResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, "ListDataSourceSyncJobs":{ "name":"ListDataSourceSyncJobs", "http":{ @@ -280,6 +330,22 @@ {"shape":"InternalServerException"} ] }, + "ListThesauri":{ + "name":"ListThesauri", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListThesauriRequest"}, + "output":{"shape":"ListThesauriResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"InternalServerException"} + ] + }, "Query":{ "name":"Query", "http":{ @@ -411,6 +477,22 @@ {"shape":"ServiceQuotaExceededException"}, {"shape":"InternalServerException"} ] + }, + "UpdateThesaurus":{ + "name":"UpdateThesaurus", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateThesaurusRequest"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"InternalServerException"} + ] } }, "shapes":{ @@ -908,6 +990,33 @@ "Id":{"shape":"IndexId"} } }, + "CreateThesaurusRequest":{ + "type":"structure", + "required":[ + "IndexId", + "Name", + "RoleArn", + "SourceS3Path" + ], + "members":{ + "IndexId":{"shape":"IndexId"}, + "Name":{"shape":"ThesaurusName"}, + "Description":{"shape":"Description"}, + "RoleArn":{"shape":"RoleArn"}, + "Tags":{"shape":"TagList"}, + "SourceS3Path":{"shape":"S3Path"}, + "ClientToken":{ + "shape":"ClientTokenName", + "idempotencyToken":true + } + } + }, + "CreateThesaurusResponse":{ + "type":"structure", + "members":{ + "Id":{"shape":"ThesaurusId"} + } + }, "DataSourceConfiguration":{ "type":"structure", "members":{ @@ -1150,6 +1259,17 @@ "Id":{"shape":"IndexId"} } }, + "DeleteThesaurusRequest":{ + "type":"structure", + "required":[ + "Id", + "IndexId" + ], + "members":{ + "Id":{"shape":"ThesaurusId"}, + "IndexId":{"shape":"IndexId"} + } + }, "DescribeDataSourceRequest":{ "type":"structure", "required":[ @@ -1232,6 +1352,35 @@ "UserContextPolicy":{"shape":"UserContextPolicy"} } }, + "DescribeThesaurusRequest":{ + "type":"structure", + "required":[ + "Id", + "IndexId" + ], + "members":{ + "Id":{"shape":"ThesaurusId"}, + "IndexId":{"shape":"IndexId"} + } + }, + "DescribeThesaurusResponse":{ + "type":"structure", + "members":{ + "Id":{"shape":"ThesaurusId"}, + "IndexId":{"shape":"IndexId"}, + "Name":{"shape":"ThesaurusName"}, + "Description":{"shape":"Description"}, + "Status":{"shape":"ThesaurusStatus"}, + "ErrorMessage":{"shape":"ErrorMessage"}, + "CreatedAt":{"shape":"Timestamp"}, + "UpdatedAt":{"shape":"Timestamp"}, + "RoleArn":{"shape":"RoleArn"}, + "SourceS3Path":{"shape":"S3Path"}, + "FileSizeBytes":{"shape":"Long"}, + "TermCount":{"shape":"Long"}, + "SynonymRuleCount":{"shape":"Long"} + } + }, "Description":{ "type":"string", "max":1000, @@ -1509,13 +1658,21 @@ "members":{ "BeginOffset":{"shape":"Integer"}, "EndOffset":{"shape":"Integer"}, - "TopAnswer":{"shape":"Boolean"} + "TopAnswer":{"shape":"Boolean"}, + "Type":{"shape":"HighlightType"} } }, "HighlightList":{ "type":"list", "member":{"shape":"Highlight"} }, + "HighlightType":{ + "type":"string", + "enum":[ + "STANDARD", + "THESAURUS_SYNONYM" + ] + }, "Importance":{ "type":"integer", "max":10, @@ -1733,6 +1890,22 @@ "Tags":{"shape":"TagList"} } }, + "ListThesauriRequest":{ + "type":"structure", + "required":["IndexId"], + "members":{ + "IndexId":{"shape":"IndexId"}, + "NextToken":{"shape":"NextToken"}, + "MaxResults":{"shape":"MaxResultsIntegerForListThesauriRequest"} + } + }, + "ListThesauriResponse":{ + "type":"structure", + "members":{ + "NextToken":{"shape":"NextToken"}, + "ThesaurusSummaryItems":{"shape":"ThesaurusSummaryItems"} + } + }, "Long":{"type":"long"}, "MaxResultsIntegerForListDataSourceSyncJobsRequest":{ "type":"integer", @@ -1754,6 +1927,11 @@ "max":100, "min":1 }, + "MaxResultsIntegerForListThesauriRequest":{ + "type":"integer", + "max":100, + "min":1 + }, "MetricValue":{ "type":"string", "pattern":"(([1-9][0-9]*)|0)" @@ -1849,7 +2027,8 @@ "QueryId":{ "type":"string", "max":36, - "min":1 + "min":1, + "pattern":"[a-zA-Z0-9][a-zA-Z0-9-]*" }, "QueryIdentifiersEnclosingOption":{ "type":"string", @@ -2482,6 +2661,43 @@ "Highlights":{"shape":"HighlightList"} } }, + "ThesaurusId":{ + "type":"string", + "max":100, + "min":1, + "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*" + }, + "ThesaurusName":{ + "type":"string", + "max":100, + "min":1, + "pattern":"[a-zA-Z0-9][a-zA-Z0-9_-]*" + }, + "ThesaurusStatus":{ + "type":"string", + "enum":[ + "CREATING", + "ACTIVE", + "DELETING", + "UPDATING", + "ACTIVE_BUT_UPDATE_FAILED", + "FAILED" + ] + }, + "ThesaurusSummary":{ + "type":"structure", + "members":{ + "Id":{"shape":"ThesaurusId"}, + "Name":{"shape":"ThesaurusName"}, + "Status":{"shape":"ThesaurusStatus"}, + "CreatedAt":{"shape":"Timestamp"}, + "UpdatedAt":{"shape":"Timestamp"} + } + }, + "ThesaurusSummaryItems":{ + "type":"list", + "member":{"shape":"ThesaurusSummary"} + }, "ThrottlingException":{ "type":"structure", "members":{ @@ -2550,6 +2766,21 @@ "UserContextPolicy":{"shape":"UserContextPolicy"} } }, + "UpdateThesaurusRequest":{ + "type":"structure", + "required":[ + "Id", + "IndexId" + ], + "members":{ + "Id":{"shape":"ThesaurusId"}, + "Name":{"shape":"ThesaurusName"}, + "IndexId":{"shape":"IndexId"}, + "Description":{"shape":"Description"}, + "RoleArn":{"shape":"RoleArn"}, + "SourceS3Path":{"shape":"S3Path"} + } + }, "Url":{ "type":"string", "max":2048, diff --git a/models/apis/kendra/2019-02-03/docs-2.json b/models/apis/kendra/2019-02-03/docs-2.json index 3d00edc27a3..8c906fb928a 100644 --- a/models/apis/kendra/2019-02-03/docs-2.json +++ b/models/apis/kendra/2019-02-03/docs-2.json @@ -7,17 +7,21 @@ "CreateDataSource": "

Creates a data source that you use to with an Amazon Kendra index.

You specify a name, data source connector type and description for your data source. You also specify configuration information such as document metadata (author, source URI, and so on) and user context information.

CreateDataSource is a synchronous operation. The operation returns 200 if the data source was successfully created. Otherwise, an exception is raised.

", "CreateFaq": "

Creates an new set of frequently asked question (FAQ) questions and answers.

", "CreateIndex": "

Creates a new Amazon Kendra index. Index creation is an asynchronous operation. To determine if index creation has completed, check the Status field returned from a call to . The Status field is set to ACTIVE when the index is ready to use.

Once the index is active you can index your documents using the operation or using one of the supported data sources.

", + "CreateThesaurus": "

Creates a thesaurus for an index. The thesaurus contains a list of synonyms in Solr format.

", "DeleteDataSource": "

Deletes an Amazon Kendra data source. An exception is not thrown if the data source is already being deleted. While the data source is being deleted, the Status field returned by a call to the operation is set to DELETING. For more information, see Deleting Data Sources.

", "DeleteFaq": "

Removes an FAQ from an index.

", "DeleteIndex": "

Deletes an existing Amazon Kendra index. An exception is not thrown if the index is already being deleted. While the index is being deleted, the Status field returned by a call to the DescribeIndex operation is set to DELETING.

", + "DeleteThesaurus": "

Deletes an existing Amazon Kendra thesaurus.

", "DescribeDataSource": "

Gets information about a Amazon Kendra data source.

", "DescribeFaq": "

Gets information about an FAQ list.

", "DescribeIndex": "

Describes an existing Amazon Kendra index

", + "DescribeThesaurus": "

Describes an existing Amazon Kendra thesaurus.

", "ListDataSourceSyncJobs": "

Gets statistics about synchronizing Amazon Kendra with a data source.

", "ListDataSources": "

Lists the data sources that you have created.

", "ListFaqs": "

Gets a list of FAQ lists associated with an index.

", "ListIndices": "

Lists the Amazon Kendra indexes that you have created.

", "ListTagsForResource": "

Gets a list of tags associated with a specified resource. Indexes, FAQs, and data sources can have tags associated with them.

", + "ListThesauri": "

Lists the Amazon Kendra thesauri associated with an index.

", "Query": "

Searches an active index. Use this API to search your documents using query. The Query operation enables to do faceted search and to filter results based on document attributes.

It also enables you to provide user context that Amazon Kendra uses to enforce document access control in the search results.

Amazon Kendra searches your index for text content and question and answer (FAQ) content. By default the response contains three types of results.

You can specify that the query return only one type of result using the QueryResultTypeConfig parameter.

Each query returns the 100 most relevant results.

", "StartDataSourceSyncJob": "

Starts a synchronization job for a data source. If a synchronization job is already in progress, Amazon Kendra returns a ResourceInUseException exception.

", "StopDataSourceSyncJob": "

Stops a running synchronization job. You can't stop a scheduled synchronization job.

", @@ -25,7 +29,8 @@ "TagResource": "

Adds the specified tag to the specified index, FAQ, or data source resource. If the tag already exists, the existing value is replaced with the new value.

", "UntagResource": "

Removes a tag from an index, FAQ, or a data source.

", "UpdateDataSource": "

Updates an existing Amazon Kendra data source.

", - "UpdateIndex": "

Updates an existing Amazon Kendra index.

" + "UpdateIndex": "

Updates an existing Amazon Kendra index.

", + "UpdateThesaurus": "

Updates a thesaurus file associated with an index.

" }, "shapes": { "AccessControlListConfiguration": { @@ -198,7 +203,8 @@ "refs": { "CreateDataSourceRequest$ClientToken": "

A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource operation with the same client token will create only one data source.

", "CreateFaqRequest$ClientToken": "

A token that you provide to identify the request to create a FAQ. Multiple calls to the CreateFaqRequest operation with the same client token will create only one FAQ.

", - "CreateIndexRequest$ClientToken": "

A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex operation with the same client token will create only one index.

" + "CreateIndexRequest$ClientToken": "

A token that you provide to identify the request to create an index. Multiple calls to the CreateIndex operation with the same client token will create only one index.

", + "CreateThesaurusRequest$ClientToken": "

A token that you provide to identify the request to create a thesaurus. Multiple calls to the CreateThesaurus operation with the same client token will create only one index.

" } }, "ColumnConfiguration": { @@ -385,6 +391,16 @@ "refs": { } }, + "CreateThesaurusRequest": { + "base": null, + "refs": { + } + }, + "CreateThesaurusResponse": { + "base": null, + "refs": { + } + }, "DataSourceConfiguration": { "base": "

Configuration information for a Amazon Kendra data source.

", "refs": { @@ -614,6 +630,11 @@ "refs": { } }, + "DeleteThesaurusRequest": { + "base": null, + "refs": { + } + }, "DescribeDataSourceRequest": { "base": null, "refs": { @@ -644,17 +665,30 @@ "refs": { } }, + "DescribeThesaurusRequest": { + "base": null, + "refs": { + } + }, + "DescribeThesaurusResponse": { + "base": null, + "refs": { + } + }, "Description": { "base": null, "refs": { "CreateDataSourceRequest$Description": "

A description for the data source.

", "CreateFaqRequest$Description": "

A description of the FAQ.

", "CreateIndexRequest$Description": "

A description for the index.

", + "CreateThesaurusRequest$Description": "

The description for the new thesaurus.

", "DescribeDataSourceResponse$Description": "

The description of the data source.

", "DescribeFaqResponse$Description": "

The description of the FAQ that you provided when it was created.

", "DescribeIndexResponse$Description": "

The description of the index.

", + "DescribeThesaurusResponse$Description": "

The thesaurus description.

", "UpdateDataSourceRequest$Description": "

The new description for the data source.

", - "UpdateIndexRequest$Description": "

A new description for the index.

" + "UpdateIndexRequest$Description": "

A new description for the index.

", + "UpdateThesaurusRequest$Description": "

The updated description of the thesaurus.

" } }, "Document": { @@ -815,6 +849,7 @@ "DescribeDataSourceResponse$ErrorMessage": "

When the Status field value is FAILED, the ErrorMessage field contains a description of the error that caused the data source to fail.

", "DescribeFaqResponse$ErrorMessage": "

If the Status field is FAILED, the ErrorMessage field contains the reason why the FAQ failed.

", "DescribeIndexResponse$ErrorMessage": "

When th eStatus field value is FAILED, the ErrorMessage field contains a message that explains why.

", + "DescribeThesaurusResponse$ErrorMessage": "

When the Status field value is FAILED, the ErrorMessage field provides more information.

", "InternalServerException$Message": null, "ResourceAlreadyExistException$Message": null, "ResourceInUseException$Message": null, @@ -948,6 +983,12 @@ "TextWithHighlights$Highlights": "

The beginning and end of the text that should be highlighted.

" } }, + "HighlightType": { + "base": null, + "refs": { + "Highlight$Type": "

The highlight type.

" + } + }, "Importance": { "base": null, "refs": { @@ -993,25 +1034,31 @@ "CreateDataSourceRequest$IndexId": "

The identifier of the index that should be associated with this data source.

", "CreateFaqRequest$IndexId": "

The identifier of the index that contains the FAQ.

", "CreateIndexResponse$Id": "

The unique identifier of the index. Use this identifier when you query an index, set up a data source, or index a document.

", + "CreateThesaurusRequest$IndexId": "

The unique identifier of the index for the new thesaurus.

", "DeleteDataSourceRequest$IndexId": "

The unique identifier of the index associated with the data source.

", "DeleteFaqRequest$IndexId": "

The index to remove the FAQ from.

", "DeleteIndexRequest$Id": "

The identifier of the index to delete.

", + "DeleteThesaurusRequest$IndexId": "

The identifier of the index associated with the thesaurus to delete.

", "DescribeDataSourceRequest$IndexId": "

The identifier of the index that contains the data source.

", "DescribeDataSourceResponse$IndexId": "

The identifier of the index that contains the data source.

", "DescribeFaqRequest$IndexId": "

The identifier of the index that contains the FAQ.

", "DescribeFaqResponse$IndexId": "

The identifier of the index that contains the FAQ.

", "DescribeIndexRequest$Id": "

The name of the index to describe.

", - "DescribeIndexResponse$Id": "

the name of the index.

", + "DescribeIndexResponse$Id": "

The name of the index.

", + "DescribeThesaurusRequest$IndexId": "

The identifier of the index associated with the thesaurus to describe.

", + "DescribeThesaurusResponse$IndexId": "

The identifier of the index associated with the thesaurus to describe.

", "IndexConfigurationSummary$Id": "

A unique identifier for the index. Use this to identify the index when you are using operations such as Query, DescribeIndex, UpdateIndex, and DeleteIndex.

", "ListDataSourceSyncJobsRequest$IndexId": "

The identifier of the index that contains the data source.

", "ListDataSourcesRequest$IndexId": "

The identifier of the index that contains the data source.

", "ListFaqsRequest$IndexId": "

The index that contains the FAQ lists.

", + "ListThesauriRequest$IndexId": "

The identifier of the index associated with the thesaurus to list.

", "QueryRequest$IndexId": "

The unique identifier of the index to search. The identifier is returned in the response from the operation.

", "StartDataSourceSyncJobRequest$IndexId": "

The identifier of the index that contains the data source.

", "StopDataSourceSyncJobRequest$IndexId": "

The identifier of the index that contains the data source.

", "SubmitFeedbackRequest$IndexId": "

The identifier of the index that was queried.

", "UpdateDataSourceRequest$IndexId": "

The identifier of the index that contains the data source to update.

", - "UpdateIndexRequest$Id": "

The identifier of the index to update.

" + "UpdateIndexRequest$Id": "

The identifier of the index to update.

", + "UpdateThesaurusRequest$IndexId": "

The identifier of the index associated with the thesaurus to update.

" } }, "IndexName": { @@ -1150,9 +1197,22 @@ "refs": { } }, + "ListThesauriRequest": { + "base": null, + "refs": { + } + }, + "ListThesauriResponse": { + "base": null, + "refs": { + } + }, "Long": { "base": null, "refs": { + "DescribeThesaurusResponse$FileSizeBytes": "

The size of the thesaurus file in bytes.

", + "DescribeThesaurusResponse$TermCount": "

The number of unique terms in the thesaurus file. For example, the synonyms a,b,c and a=>d, the term count would be 4.

", + "DescribeThesaurusResponse$SynonymRuleCount": "

The number of synonym rules in the thesaurus file.

", "DocumentAttributeValue$LongValue": "

A long integer value.

" } }, @@ -1180,6 +1240,12 @@ "ListIndicesRequest$MaxResults": "

The maximum number of data sources to return.

" } }, + "MaxResultsIntegerForListThesauriRequest": { + "base": null, + "refs": { + "ListThesauriRequest$MaxResults": "

The maximum number of thesauri to return.

" + } + }, "MetricValue": { "base": null, "refs": { @@ -1206,7 +1272,9 @@ "ListFaqsRequest$NextToken": "

If the result of the previous request to ListFaqs was truncated, include the NextToken to fetch the next set of FAQs.

", "ListFaqsResponse$NextToken": "

The ListFaqs operation returns a page of FAQs at a time. The maximum size of the page is set by the MaxResults parameter. If there are more jobs in the list than the page size, Amazon Kendra returns the NextPage token. Include the token in the next request to the ListFaqs operation to return the next page of FAQs.

", "ListIndicesRequest$NextToken": "

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of indexes (DataSourceSummaryItems).

", - "ListIndicesResponse$NextToken": "

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of indexes.

" + "ListIndicesResponse$NextToken": "

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of indexes.

", + "ListThesauriRequest$NextToken": "

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of thesauri (ThesaurusSummaryItems).

", + "ListThesauriResponse$NextToken": "

If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of thesauri.

" } }, "OneDriveConfiguration": { @@ -1382,12 +1450,15 @@ "CreateDataSourceRequest$RoleArn": "

The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.

You can't specify the RoleArn parameter when the Type parameter is set to CUSTOM. If you do, you receive a ValidationException exception.

The RoleArn parameter is required for all other data sources.

", "CreateFaqRequest$RoleArn": "

The Amazon Resource Name (ARN) of a role with permission to access the S3 bucket that contains the FAQs. For more information, see IAM Roles for Amazon Kendra.

", "CreateIndexRequest$RoleArn": "

An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access your Amazon CloudWatch logs and metrics. This is also the role used when you use the BatchPutDocument operation to index documents from an Amazon S3 bucket.

", + "CreateThesaurusRequest$RoleArn": "

An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus file specified in SourceS3Path.

", "DescribeDataSourceResponse$RoleArn": "

The Amazon Resource Name (ARN) of the role that enables the data source to access its resources.

", "DescribeFaqResponse$RoleArn": "

The Amazon Resource Name (ARN) of the role that provides access to the S3 bucket containing the input files for the FAQ.

", "DescribeIndexResponse$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon Cloudwatch logs.

", + "DescribeThesaurusResponse$RoleArn": "

An AWS Identity and Access Management (IAM) role that gives Amazon Kendra permissions to access thesaurus file specified in SourceS3Path.

", "JwtTokenTypeConfiguration$SecretManagerArn": "

The Amazon Resource Name (arn) of the secret.

", "UpdateDataSourceRequest$RoleArn": "

The Amazon Resource Name (ARN) of the new role to use when the data source is accessing resources on your behalf.

", - "UpdateIndexRequest$RoleArn": "

A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.

" + "UpdateIndexRequest$RoleArn": "

A new IAM role that gives Amazon Kendra permission to access your Amazon CloudWatch logs.

", + "UpdateThesaurusRequest$RoleArn": "

The updated role ARN of the thesaurus.

" } }, "S3BucketName": { @@ -1415,9 +1486,12 @@ "base": "

Information required to find a specific file in an Amazon S3 bucket.

", "refs": { "CreateFaqRequest$S3Path": "

The S3 location of the FAQ input data.

", + "CreateThesaurusRequest$SourceS3Path": "

The thesaurus file Amazon S3 source path.

", "DescribeFaqResponse$S3Path": null, + "DescribeThesaurusResponse$SourceS3Path": null, "Document$S3Path": null, - "OneDriveUsers$OneDriveUserS3Path": "

The S3 bucket location of a file containing a list of users whose documents should be indexed.

" + "OneDriveUsers$OneDriveUserS3Path": "

The S3 bucket location of a file containing a list of users whose documents should be indexed.

", + "UpdateThesaurusRequest$SourceS3Path": null } }, "SalesforceChatterFeedConfiguration": { @@ -1720,6 +1794,7 @@ "CreateDataSourceRequest$Tags": "

A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.

", "CreateFaqRequest$Tags": "

A list of key-value pairs that identify the FAQ. You can use the tags to identify and organize your resources and to control access to resources.

", "CreateIndexRequest$Tags": "

A list of key-value pairs that identify the index. You can use the tags to identify and organize your resources and to control access to resources.

", + "CreateThesaurusRequest$Tags": "

A list of key-value pairs that identify the thesaurus. You can use the tags to identify and organize your resources and to control access to resources.

", "ListTagsForResourceResponse$Tags": "

A list of tags associated with the index, FAQ, or data source.

", "TagResourceRequest$Tags": "

A list of tag keys to add to the index, FAQ, or data source. If a tag already exists, the existing value is replaced with the new value.

" } @@ -1760,6 +1835,45 @@ "QueryResultItem$DocumentExcerpt": "

An extract of the text in the document. Contains information about highlighting the relevant terms in the excerpt.

" } }, + "ThesaurusId": { + "base": null, + "refs": { + "CreateThesaurusResponse$Id": "

The unique identifier of the thesaurus.

", + "DeleteThesaurusRequest$Id": "

The identifier of the thesaurus to delete.

", + "DescribeThesaurusRequest$Id": "

The identifier of the thesaurus to describe.

", + "DescribeThesaurusResponse$Id": "

The identifier of the thesaurus.

", + "ThesaurusSummary$Id": "

The identifier of the thesaurus.

", + "UpdateThesaurusRequest$Id": "

The identifier of the thesaurus to update.

" + } + }, + "ThesaurusName": { + "base": null, + "refs": { + "CreateThesaurusRequest$Name": "

The name for the new thesaurus.

", + "DescribeThesaurusResponse$Name": "

The thesaurus name.

", + "ThesaurusSummary$Name": "

The name of the thesaurus.

", + "UpdateThesaurusRequest$Name": "

The updated name of the thesaurus.

" + } + }, + "ThesaurusStatus": { + "base": null, + "refs": { + "DescribeThesaurusResponse$Status": "

The current status of the thesaurus. When the value is ACTIVE, queries are able to use the thesaurus. If the Status field value is FAILED, the ErrorMessage field provides more information.

If the status is ACTIVE_BUT_UPDATE_FAILED, it means that Amazon Kendra could not ingest the new thesaurus file. The old thesaurus file is still active.

", + "ThesaurusSummary$Status": "

The status of the thesaurus.

" + } + }, + "ThesaurusSummary": { + "base": "

An array of summary information for one or more thesauruses.

", + "refs": { + "ThesaurusSummaryItems$member": null + } + }, + "ThesaurusSummaryItems": { + "base": null, + "refs": { + "ListThesauriResponse$ThesaurusSummaryItems": "

An array of summary information for one or more thesauruses.

" + } + }, "ThrottlingException": { "base": "

", "refs": { @@ -1785,11 +1899,15 @@ "DescribeFaqResponse$UpdatedAt": "

The date and time that the FAQ was last updated.

", "DescribeIndexResponse$CreatedAt": "

The Unix datetime that the index was created.

", "DescribeIndexResponse$UpdatedAt": "

The Unix datetime that the index was last updated.

", + "DescribeThesaurusResponse$CreatedAt": "

The Unix datetime that the thesaurus was created.

", + "DescribeThesaurusResponse$UpdatedAt": "

The Unix datetime that the thesaurus was last updated.

", "DocumentAttributeValue$DateValue": "

A date expressed as an ISO 8601 string.

", "FaqSummary$CreatedAt": "

The UNIX datetime that the FAQ was added to the index.

", "FaqSummary$UpdatedAt": "

The UNIX datetime that the FAQ was last updated.

", "IndexConfigurationSummary$CreatedAt": "

The Unix timestamp when the index was created.

", "IndexConfigurationSummary$UpdatedAt": "

The Unix timestamp when the index was last updated by the UpdateIndex operation.

", + "ThesaurusSummary$CreatedAt": "

The Unix datetime that the thesaurus was created.

", + "ThesaurusSummary$UpdatedAt": "

The Unix datetime that the thesaurus was last updated.

", "TimeRange$StartTime": "

The UNIX datetime of the beginning of the time range.

", "TimeRange$EndTime": "

The UNIX datetime of the end of the time range.

" } @@ -1826,6 +1944,11 @@ "refs": { } }, + "UpdateThesaurusRequest": { + "base": null, + "refs": { + } + }, "Url": { "base": null, "refs": { diff --git a/models/apis/networkmanager/2019-07-05/api-2.json b/models/apis/networkmanager/2019-07-05/api-2.json index f69a2b3bfe6..3c211d2033f 100644 --- a/models/apis/networkmanager/2019-07-05/api-2.json +++ b/models/apis/networkmanager/2019-07-05/api-2.json @@ -49,6 +49,41 @@ {"shape":"InternalServerException"} ] }, + "AssociateTransitGatewayConnectPeer":{ + "name":"AssociateTransitGatewayConnectPeer", + "http":{ + "method":"POST", + "requestUri":"/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations" + }, + "input":{"shape":"AssociateTransitGatewayConnectPeerRequest"}, + "output":{"shape":"AssociateTransitGatewayConnectPeerResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "CreateConnection":{ + "name":"CreateConnection", + "http":{ + "method":"POST", + "requestUri":"/global-networks/{globalNetworkId}/connections" + }, + "input":{"shape":"CreateConnectionRequest"}, + "output":{"shape":"CreateConnectionResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ServiceQuotaExceededException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "CreateDevice":{ "name":"CreateDevice", "http":{ @@ -120,6 +155,23 @@ {"shape":"InternalServerException"} ] }, + "DeleteConnection":{ + "name":"DeleteConnection", + "http":{ + "method":"DELETE", + "requestUri":"/global-networks/{globalNetworkId}/connections/{connectionId}" + }, + "input":{"shape":"DeleteConnectionRequest"}, + "output":{"shape":"DeleteConnectionResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "DeleteDevice":{ "name":"DeleteDevice", "http":{ @@ -255,6 +307,39 @@ {"shape":"InternalServerException"} ] }, + "DisassociateTransitGatewayConnectPeer":{ + "name":"DisassociateTransitGatewayConnectPeer", + "http":{ + "method":"DELETE", + "requestUri":"/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations/{transitGatewayConnectPeerArn}" + }, + "input":{"shape":"DisassociateTransitGatewayConnectPeerRequest"}, + "output":{"shape":"DisassociateTransitGatewayConnectPeerResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "GetConnections":{ + "name":"GetConnections", + "http":{ + "method":"GET", + "requestUri":"/global-networks/{globalNetworkId}/connections" + }, + "input":{"shape":"GetConnectionsRequest"}, + "output":{"shape":"GetConnectionsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "GetCustomerGatewayAssociations":{ "name":"GetCustomerGatewayAssociations", "http":{ @@ -336,6 +421,23 @@ {"shape":"InternalServerException"} ] }, + "GetTransitGatewayConnectPeerAssociations":{ + "name":"GetTransitGatewayConnectPeerAssociations", + "http":{ + "method":"GET", + "requestUri":"/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations" + }, + "input":{"shape":"GetTransitGatewayConnectPeerAssociationsRequest"}, + "output":{"shape":"GetTransitGatewayConnectPeerAssociationsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "GetTransitGatewayRegistrations":{ "name":"GetTransitGatewayRegistrations", "http":{ @@ -420,6 +522,23 @@ {"shape":"InternalServerException"} ] }, + "UpdateConnection":{ + "name":"UpdateConnection", + "http":{ + "method":"PATCH", + "requestUri":"/global-networks/{globalNetworkId}/connections/{connectionId}" + }, + "input":{"shape":"UpdateConnectionRequest"}, + "output":{"shape":"UpdateConnectionResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "UpdateDevice":{ "name":"UpdateDevice", "http":{ @@ -491,6 +610,13 @@ } }, "shapes":{ + "AWSLocation":{ + "type":"structure", + "members":{ + "Zone":{"shape":"String"}, + "SubnetArn":{"shape":"String"} + } + }, "AccessDeniedException":{ "type":"structure", "required":["Message"], @@ -547,6 +673,30 @@ "LinkAssociation":{"shape":"LinkAssociation"} } }, + "AssociateTransitGatewayConnectPeerRequest":{ + "type":"structure", + "required":[ + "GlobalNetworkId", + "TransitGatewayConnectPeerArn", + "DeviceId" + ], + "members":{ + "GlobalNetworkId":{ + "shape":"String", + "location":"uri", + "locationName":"globalNetworkId" + }, + "TransitGatewayConnectPeerArn":{"shape":"String"}, + "DeviceId":{"shape":"String"}, + "LinkId":{"shape":"String"} + } + }, + "AssociateTransitGatewayConnectPeerResponse":{ + "type":"structure", + "members":{ + "TransitGatewayConnectPeerAssociation":{"shape":"TransitGatewayConnectPeerAssociation"} + } + }, "Bandwidth":{ "type":"structure", "members":{ @@ -569,6 +719,62 @@ "error":{"httpStatusCode":409}, "exception":true }, + "Connection":{ + "type":"structure", + "members":{ + "ConnectionId":{"shape":"String"}, + "ConnectionArn":{"shape":"String"}, + "GlobalNetworkId":{"shape":"String"}, + "DeviceId":{"shape":"String"}, + "ConnectedDeviceId":{"shape":"String"}, + "LinkId":{"shape":"String"}, + "ConnectedLinkId":{"shape":"String"}, + "Description":{"shape":"String"}, + "CreatedAt":{"shape":"DateTime"}, + "State":{"shape":"ConnectionState"}, + "Tags":{"shape":"TagList"} + } + }, + "ConnectionList":{ + "type":"list", + "member":{"shape":"Connection"} + }, + "ConnectionState":{ + "type":"string", + "enum":[ + "PENDING", + "AVAILABLE", + "DELETING", + "UPDATING" + ] + }, + "CreateConnectionRequest":{ + "type":"structure", + "required":[ + "GlobalNetworkId", + "DeviceId", + "ConnectedDeviceId" + ], + "members":{ + "GlobalNetworkId":{ + "shape":"String", + "location":"uri", + "locationName":"globalNetworkId" + }, + "DeviceId":{"shape":"String"}, + "ConnectedDeviceId":{"shape":"String"}, + "LinkId":{"shape":"String"}, + "ConnectedLinkId":{"shape":"String"}, + "Description":{"shape":"String"}, + "Tags":{"shape":"TagList"} + } + }, + "CreateConnectionResponse":{ + "type":"structure", + "members":{ + "Connection":{"shape":"Connection"} + } + }, "CreateDeviceRequest":{ "type":"structure", "required":["GlobalNetworkId"], @@ -578,6 +784,7 @@ "location":"uri", "locationName":"globalNetworkId" }, + "AWSLocation":{"shape":"AWSLocation"}, "Description":{"shape":"String"}, "Type":{"shape":"String"}, "Vendor":{"shape":"String"}, @@ -678,6 +885,31 @@ ] }, "DateTime":{"type":"timestamp"}, + "DeleteConnectionRequest":{ + "type":"structure", + "required":[ + "GlobalNetworkId", + "ConnectionId" + ], + "members":{ + "GlobalNetworkId":{ + "shape":"String", + "location":"uri", + "locationName":"globalNetworkId" + }, + "ConnectionId":{ + "shape":"String", + "location":"uri", + "locationName":"connectionId" + } + } + }, + "DeleteConnectionResponse":{ + "type":"structure", + "members":{ + "Connection":{"shape":"Connection"} + } + }, "DeleteDeviceRequest":{ "type":"structure", "required":[ @@ -828,6 +1060,7 @@ "DeviceId":{"shape":"String"}, "DeviceArn":{"shape":"String"}, "GlobalNetworkId":{"shape":"String"}, + "AWSLocation":{"shape":"AWSLocation"}, "Description":{"shape":"String"}, "Type":{"shape":"String"}, "Vendor":{"shape":"String"}, @@ -909,6 +1142,69 @@ "LinkAssociation":{"shape":"LinkAssociation"} } }, + "DisassociateTransitGatewayConnectPeerRequest":{ + "type":"structure", + "required":[ + "GlobalNetworkId", + "TransitGatewayConnectPeerArn" + ], + "members":{ + "GlobalNetworkId":{ + "shape":"String", + "location":"uri", + "locationName":"globalNetworkId" + }, + "TransitGatewayConnectPeerArn":{ + "shape":"String", + "location":"uri", + "locationName":"transitGatewayConnectPeerArn" + } + } + }, + "DisassociateTransitGatewayConnectPeerResponse":{ + "type":"structure", + "members":{ + "TransitGatewayConnectPeerAssociation":{"shape":"TransitGatewayConnectPeerAssociation"} + } + }, + "GetConnectionsRequest":{ + "type":"structure", + "required":["GlobalNetworkId"], + "members":{ + "GlobalNetworkId":{ + "shape":"String", + "location":"uri", + "locationName":"globalNetworkId" + }, + "ConnectionIds":{ + "shape":"StringList", + "location":"querystring", + "locationName":"connectionIds" + }, + "DeviceId":{ + "shape":"String", + "location":"querystring", + "locationName":"deviceId" + }, + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "GetConnectionsResponse":{ + "type":"structure", + "members":{ + "Connections":{"shape":"ConnectionList"}, + "NextToken":{"shape":"String"} + } + }, "GetCustomerGatewayAssociationsRequest":{ "type":"structure", "required":["GlobalNetworkId"], @@ -1099,6 +1395,39 @@ "NextToken":{"shape":"String"} } }, + "GetTransitGatewayConnectPeerAssociationsRequest":{ + "type":"structure", + "required":["GlobalNetworkId"], + "members":{ + "GlobalNetworkId":{ + "shape":"String", + "location":"uri", + "locationName":"globalNetworkId" + }, + "TransitGatewayConnectPeerArns":{ + "shape":"StringList", + "location":"querystring", + "locationName":"transitGatewayConnectPeerArns" + }, + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "NextToken":{ + "shape":"String", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "GetTransitGatewayConnectPeerAssociationsResponse":{ + "type":"structure", + "members":{ + "TransitGatewayConnectPeerAssociations":{"shape":"TransitGatewayConnectPeerAssociationList"}, + "NextToken":{"shape":"String"} + } + }, "GetTransitGatewayRegistrationsRequest":{ "type":"structure", "required":["GlobalNetworkId"], @@ -1246,7 +1575,8 @@ "Address":{"shape":"String"}, "Latitude":{"shape":"String"}, "Longitude":{"shape":"String"} - } + }, + "sensitive":true }, "MaxResults":{ "type":"integer", @@ -1390,6 +1720,29 @@ "error":{"httpStatusCode":429}, "exception":true }, + "TransitGatewayConnectPeerAssociation":{ + "type":"structure", + "members":{ + "TransitGatewayConnectPeerArn":{"shape":"String"}, + "GlobalNetworkId":{"shape":"String"}, + "DeviceId":{"shape":"String"}, + "LinkId":{"shape":"String"}, + "State":{"shape":"TransitGatewayConnectPeerAssociationState"} + } + }, + "TransitGatewayConnectPeerAssociationList":{ + "type":"list", + "member":{"shape":"TransitGatewayConnectPeerAssociation"} + }, + "TransitGatewayConnectPeerAssociationState":{ + "type":"string", + "enum":[ + "PENDING", + "AVAILABLE", + "DELETING", + "DELETED" + ] + }, "TransitGatewayRegistration":{ "type":"structure", "members":{ @@ -1443,6 +1796,34 @@ "members":{ } }, + "UpdateConnectionRequest":{ + "type":"structure", + "required":[ + "GlobalNetworkId", + "ConnectionId" + ], + "members":{ + "GlobalNetworkId":{ + "shape":"String", + "location":"uri", + "locationName":"globalNetworkId" + }, + "ConnectionId":{ + "shape":"String", + "location":"uri", + "locationName":"connectionId" + }, + "LinkId":{"shape":"String"}, + "ConnectedLinkId":{"shape":"String"}, + "Description":{"shape":"String"} + } + }, + "UpdateConnectionResponse":{ + "type":"structure", + "members":{ + "Connection":{"shape":"Connection"} + } + }, "UpdateDeviceRequest":{ "type":"structure", "required":[ @@ -1460,6 +1841,7 @@ "location":"uri", "locationName":"deviceId" }, + "AWSLocation":{"shape":"AWSLocation"}, "Description":{"shape":"String"}, "Type":{"shape":"String"}, "Vendor":{"shape":"String"}, diff --git a/models/apis/networkmanager/2019-07-05/docs-2.json b/models/apis/networkmanager/2019-07-05/docs-2.json index 4933e31cd85..9721db292b1 100644 --- a/models/apis/networkmanager/2019-07-05/docs-2.json +++ b/models/apis/networkmanager/2019-07-05/docs-2.json @@ -1,13 +1,16 @@ { "version": "2.0", - "service": "

Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your AWS and on-premises networks that are built around transit gateways.

", + "service": "

Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your AWS and on-premises networks that are built around transit gateways.

The Network Manager APIs are supported in the US West (Oregon) Region only. You must specify the us-west-2 Region in all requests made to Network Manager.

", "operations": { "AssociateCustomerGateway": "

Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.

You can only associate customer gateways that are connected to a VPN attachment on a transit gateway. The transit gateway must be registered in your global network. When you register a transit gateway, customer gateways that are connected to the transit gateway are automatically included in the global network. To list customer gateways that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.

You cannot associate a customer gateway with more than one device and link.

", "AssociateLink": "

Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.

", + "AssociateTransitGatewayConnectPeer": "

Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.

You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.

You cannot associate a transit gateway Connect peer with more than one device and link.

", + "CreateConnection": "

Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.

", "CreateDevice": "

Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.

", "CreateGlobalNetwork": "

Creates a new, empty global network.

", "CreateLink": "

Creates a new link for a specified site.

", "CreateSite": "

Creates a new site in a global network.

", + "DeleteConnection": "

Deletes the specified connection in your global network.

", "DeleteDevice": "

Deletes an existing device. You must first disassociate the device from any links and customer gateways.

", "DeleteGlobalNetwork": "

Deletes an existing global network. You must first delete all global network objects (devices, links, and sites) and deregister all transit gateways.

", "DeleteLink": "

Deletes an existing link. You must first disassociate the link from any devices and customer gateways.

", @@ -16,22 +19,34 @@ "DescribeGlobalNetworks": "

Describes one or more global networks. By default, all global networks are described. To describe the objects in your global network, you must use the appropriate Get* action. For example, to list the transit gateways in your global network, use GetTransitGatewayRegistrations.

", "DisassociateCustomerGateway": "

Disassociates a customer gateway from a device and a link.

", "DisassociateLink": "

Disassociates an existing device from a link. You must first disassociate any customer gateways that are associated with the link.

", + "DisassociateTransitGatewayConnectPeer": "

Disassociates a transit gateway Connect peer from a device and link.

", + "GetConnections": "

Gets information about one or more of your connections in a global network.

", "GetCustomerGatewayAssociations": "

Gets the association information for customer gateways that are associated with devices and links in your global network.

", "GetDevices": "

Gets information about one or more of your devices in a global network.

", "GetLinkAssociations": "

Gets the link associations for a device or a link. Either the device ID or the link ID must be specified.

", "GetLinks": "

Gets information about one or more links in a specified global network.

If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.

", "GetSites": "

Gets information about one or more of your sites in a global network.

", + "GetTransitGatewayConnectPeerAssociations": "

Gets information about one or more of your transit gateway Connect peer associations in a global network.

", "GetTransitGatewayRegistrations": "

Gets information about the transit gateway registrations in a specified global network.

", "ListTagsForResource": "

Lists the tags for a specified resource.

", "RegisterTransitGateway": "

Registers a transit gateway in your global network. The transit gateway can be in any AWS Region, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.

", "TagResource": "

Tags a specified resource.

", "UntagResource": "

Removes tags from a specified resource.

", + "UpdateConnection": "

Updates the information for an existing connection. To remove information for any of the parameters, specify an empty string.

", "UpdateDevice": "

Updates the details for an existing device. To remove information for any of the parameters, specify an empty string.

", "UpdateGlobalNetwork": "

Updates an existing global network. To remove information for any of the parameters, specify an empty string.

", "UpdateLink": "

Updates the details for an existing link. To remove information for any of the parameters, specify an empty string.

", "UpdateSite": "

Updates the information for an existing site. To remove information for any of the parameters, specify an empty string.

" }, "shapes": { + "AWSLocation": { + "base": "

Specifies a location in AWS.

", + "refs": { + "CreateDeviceRequest$AWSLocation": "

The AWS location of the device.

", + "Device$AWSLocation": "

The AWS location of the device.

", + "UpdateDeviceRequest$AWSLocation": "

The AWS location of the device.

" + } + }, "AccessDeniedException": { "base": "

You do not have sufficient access to perform this action.

", "refs": { @@ -57,6 +72,16 @@ "refs": { } }, + "AssociateTransitGatewayConnectPeerRequest": { + "base": null, + "refs": { + } + }, + "AssociateTransitGatewayConnectPeerResponse": { + "base": null, + "refs": { + } + }, "Bandwidth": { "base": "

Describes bandwidth information.

", "refs": { @@ -70,6 +95,37 @@ "refs": { } }, + "Connection": { + "base": "

Describes a connection.

", + "refs": { + "ConnectionList$member": null, + "CreateConnectionResponse$Connection": "

Information about the connection.

", + "DeleteConnectionResponse$Connection": "

Information about the connection.

", + "UpdateConnectionResponse$Connection": "

Information about the connection.

" + } + }, + "ConnectionList": { + "base": null, + "refs": { + "GetConnectionsResponse$Connections": "

Information about the connections.

" + } + }, + "ConnectionState": { + "base": null, + "refs": { + "Connection$State": "

The state of the connection.

" + } + }, + "CreateConnectionRequest": { + "base": null, + "refs": { + } + }, + "CreateConnectionResponse": { + "base": null, + "refs": { + } + }, "CreateDeviceRequest": { "base": null, "refs": { @@ -133,12 +189,23 @@ "DateTime": { "base": null, "refs": { + "Connection$CreatedAt": "

The date and time that the connection was created.

", "Device$CreatedAt": "

The date and time that the site was created.

", "GlobalNetwork$CreatedAt": "

The date and time that the global network was created.

", "Link$CreatedAt": "

The date and time that the link was created.

", "Site$CreatedAt": "

The date and time that the site was created.

" } }, + "DeleteConnectionRequest": { + "base": null, + "refs": { + } + }, + "DeleteConnectionResponse": { + "base": null, + "refs": { + } + }, "DeleteDeviceRequest": { "base": null, "refs": { @@ -240,6 +307,26 @@ "refs": { } }, + "DisassociateTransitGatewayConnectPeerRequest": { + "base": null, + "refs": { + } + }, + "DisassociateTransitGatewayConnectPeerResponse": { + "base": null, + "refs": { + } + }, + "GetConnectionsRequest": { + "base": null, + "refs": { + } + }, + "GetConnectionsResponse": { + "base": null, + "refs": { + } + }, "GetCustomerGatewayAssociationsRequest": { "base": null, "refs": { @@ -290,6 +377,16 @@ "refs": { } }, + "GetTransitGatewayConnectPeerAssociationsRequest": { + "base": null, + "refs": { + } + }, + "GetTransitGatewayConnectPeerAssociationsResponse": { + "base": null, + "refs": { + } + }, "GetTransitGatewayRegistrationsRequest": { "base": null, "refs": { @@ -399,11 +496,13 @@ "base": null, "refs": { "DescribeGlobalNetworksRequest$MaxResults": "

The maximum number of results to return.

", + "GetConnectionsRequest$MaxResults": "

The maximum number of results to return.

", "GetCustomerGatewayAssociationsRequest$MaxResults": "

The maximum number of results to return.

", "GetDevicesRequest$MaxResults": "

The maximum number of results to return.

", "GetLinkAssociationsRequest$MaxResults": "

The maximum number of results to return.

", "GetLinksRequest$MaxResults": "

The maximum number of results to return.

", "GetSitesRequest$MaxResults": "

The maximum number of results to return.

", + "GetTransitGatewayConnectPeerAssociationsRequest$MaxResults": "

The maximum number of results to return.

", "GetTransitGatewayRegistrationsRequest$MaxResults": "

The maximum number of results to return.

" } }, @@ -466,6 +565,8 @@ "String": { "base": null, "refs": { + "AWSLocation$Zone": "

The Zone the device is located in. This can be the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.

", + "AWSLocation$SubnetArn": "

The Amazon Resource Name (ARN) of the subnet the device is located in.

", "AccessDeniedException$Message": null, "AssociateCustomerGatewayRequest$CustomerGatewayArn": "

The Amazon Resource Name (ARN) of the customer gateway. For more information, see Resources Defined by Amazon EC2.

", "AssociateCustomerGatewayRequest$GlobalNetworkId": "

The ID of the global network.

", @@ -474,9 +575,27 @@ "AssociateLinkRequest$GlobalNetworkId": "

The ID of the global network.

", "AssociateLinkRequest$DeviceId": "

The ID of the device.

", "AssociateLinkRequest$LinkId": "

The ID of the link.

", + "AssociateTransitGatewayConnectPeerRequest$GlobalNetworkId": "

The ID of the global network.

", + "AssociateTransitGatewayConnectPeerRequest$TransitGatewayConnectPeerArn": "

The Amazon Resource Name (ARN) of the Connect peer.

", + "AssociateTransitGatewayConnectPeerRequest$DeviceId": "

The ID of the device.

", + "AssociateTransitGatewayConnectPeerRequest$LinkId": "

The ID of the link.

", "ConflictException$Message": null, "ConflictException$ResourceId": "

The ID of the resource.

", "ConflictException$ResourceType": "

The resource type.

", + "Connection$ConnectionId": "

The ID of the connection.

", + "Connection$ConnectionArn": "

The Amazon Resource Name (ARN) of the connection.

", + "Connection$GlobalNetworkId": "

The ID of the global network.

", + "Connection$DeviceId": "

The ID of the first device in the connection.

", + "Connection$ConnectedDeviceId": "

The ID of the second device in the connection.

", + "Connection$LinkId": "

The ID of the link for the first device in the connection.

", + "Connection$ConnectedLinkId": "

The ID of the link for the second device in the connection.

", + "Connection$Description": "

The description of the connection.

", + "CreateConnectionRequest$GlobalNetworkId": "

The ID of the global network.

", + "CreateConnectionRequest$DeviceId": "

The ID of the first device in the connection.

", + "CreateConnectionRequest$ConnectedDeviceId": "

The ID of the second device in the connection.

", + "CreateConnectionRequest$LinkId": "

The ID of the link for the first device.

", + "CreateConnectionRequest$ConnectedLinkId": "

The ID of the link for the second device.

", + "CreateConnectionRequest$Description": "

A description of the connection.

Length Constraints: Maximum length of 256 characters.

", "CreateDeviceRequest$GlobalNetworkId": "

The ID of the global network.

", "CreateDeviceRequest$Description": "

A description of the device.

Length Constraints: Maximum length of 256 characters.

", "CreateDeviceRequest$Type": "

The type of the device.

", @@ -496,6 +615,8 @@ "CustomerGatewayAssociation$GlobalNetworkId": "

The ID of the global network.

", "CustomerGatewayAssociation$DeviceId": "

The ID of the device.

", "CustomerGatewayAssociation$LinkId": "

The ID of the link.

", + "DeleteConnectionRequest$GlobalNetworkId": "

The ID of the global network.

", + "DeleteConnectionRequest$ConnectionId": "

The ID of the connection.

", "DeleteDeviceRequest$GlobalNetworkId": "

The ID of the global network.

", "DeleteDeviceRequest$DeviceId": "

The ID of the device.

", "DeleteGlobalNetworkRequest$GlobalNetworkId": "

The ID of the global network.

", @@ -521,6 +642,12 @@ "DisassociateLinkRequest$GlobalNetworkId": "

The ID of the global network.

", "DisassociateLinkRequest$DeviceId": "

The ID of the device.

", "DisassociateLinkRequest$LinkId": "

The ID of the link.

", + "DisassociateTransitGatewayConnectPeerRequest$GlobalNetworkId": "

The ID of the global network.

", + "DisassociateTransitGatewayConnectPeerRequest$TransitGatewayConnectPeerArn": "

The Amazon Resource Name (ARN) of the transit gateway Connect peer.

", + "GetConnectionsRequest$GlobalNetworkId": "

The ID of the global network.

", + "GetConnectionsRequest$DeviceId": "

The ID of the device.

", + "GetConnectionsRequest$NextToken": "

The token for the next page of results.

", + "GetConnectionsResponse$NextToken": "

The token to use for the next page of results.

", "GetCustomerGatewayAssociationsRequest$GlobalNetworkId": "

The ID of the global network.

", "GetCustomerGatewayAssociationsRequest$NextToken": "

The token for the next page of results.

", "GetCustomerGatewayAssociationsResponse$NextToken": "

The token for the next page of results.

", @@ -542,6 +669,9 @@ "GetSitesRequest$GlobalNetworkId": "

The ID of the global network.

", "GetSitesRequest$NextToken": "

The token for the next page of results.

", "GetSitesResponse$NextToken": "

The token for the next page of results.

", + "GetTransitGatewayConnectPeerAssociationsRequest$GlobalNetworkId": "

The ID of the global network.

", + "GetTransitGatewayConnectPeerAssociationsRequest$NextToken": "

The token for the next page of results.

", + "GetTransitGatewayConnectPeerAssociationsResponse$NextToken": "

The token to use for the next page of results.

", "GetTransitGatewayRegistrationsRequest$GlobalNetworkId": "

The ID of the global network.

", "GetTransitGatewayRegistrationsRequest$NextToken": "

The token for the next page of results.

", "GetTransitGatewayRegistrationsResponse$NextToken": "

The token for the next page of results.

", @@ -578,9 +708,18 @@ "Site$Description": "

The description of the site.

", "StringList$member": null, "ThrottlingException$Message": null, + "TransitGatewayConnectPeerAssociation$TransitGatewayConnectPeerArn": "

The Amazon Resource Name (ARN) of the transit gateway Connect peer.

", + "TransitGatewayConnectPeerAssociation$GlobalNetworkId": "

The ID of the global network.

", + "TransitGatewayConnectPeerAssociation$DeviceId": "

The ID of the device.

", + "TransitGatewayConnectPeerAssociation$LinkId": "

The ID of the link.

", "TransitGatewayRegistration$GlobalNetworkId": "

The ID of the global network.

", "TransitGatewayRegistration$TransitGatewayArn": "

The Amazon Resource Name (ARN) of the transit gateway.

", "TransitGatewayRegistrationStateReason$Message": "

The message for the state reason.

", + "UpdateConnectionRequest$GlobalNetworkId": "

The ID of the global network.

", + "UpdateConnectionRequest$ConnectionId": "

The ID of the connection.

", + "UpdateConnectionRequest$LinkId": "

The ID of the link for the first device in the connection.

", + "UpdateConnectionRequest$ConnectedLinkId": "

The ID of the link for the second device in the connection.

", + "UpdateConnectionRequest$Description": "

A description of the connection.

Length Constraints: Maximum length of 256 characters.

", "UpdateDeviceRequest$GlobalNetworkId": "

The ID of the global network.

", "UpdateDeviceRequest$DeviceId": "

The ID of the device.

", "UpdateDeviceRequest$Description": "

A description of the device.

Length Constraints: Maximum length of 256 characters.

", @@ -608,10 +747,12 @@ "base": null, "refs": { "DescribeGlobalNetworksRequest$GlobalNetworkIds": "

The IDs of one or more global networks. The maximum is 10.

", + "GetConnectionsRequest$ConnectionIds": "

One or more connection IDs.

", "GetCustomerGatewayAssociationsRequest$CustomerGatewayArns": "

One or more customer gateway Amazon Resource Names (ARNs). For more information, see Resources Defined by Amazon EC2. The maximum is 10.

", "GetDevicesRequest$DeviceIds": "

One or more device IDs. The maximum is 10.

", "GetLinksRequest$LinkIds": "

One or more link IDs. The maximum is 10.

", "GetSitesRequest$SiteIds": "

One or more site IDs. The maximum is 10.

", + "GetTransitGatewayConnectPeerAssociationsRequest$TransitGatewayConnectPeerArns": "

One or more transit gateway Connect peer Amazon Resource Names (ARNs).

", "GetTransitGatewayRegistrationsRequest$TransitGatewayArns": "

The Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.

" } }, @@ -637,6 +778,8 @@ "TagList": { "base": null, "refs": { + "Connection$Tags": "

The tags for the connection.

", + "CreateConnectionRequest$Tags": "

The tags to apply to the resource during creation.

", "CreateDeviceRequest$Tags": "

The tags to apply to the resource during creation.

", "CreateGlobalNetworkRequest$Tags": "

The tags to apply to the resource during creation.

", "CreateLinkRequest$Tags": "

The tags to apply to the resource during creation.

", @@ -670,6 +813,26 @@ "refs": { } }, + "TransitGatewayConnectPeerAssociation": { + "base": "

Describes a transit gateway Connect peer association.

", + "refs": { + "AssociateTransitGatewayConnectPeerResponse$TransitGatewayConnectPeerAssociation": "

The transit gateway Connect peer association.

", + "DisassociateTransitGatewayConnectPeerResponse$TransitGatewayConnectPeerAssociation": "

The transit gateway Connect peer association.

", + "TransitGatewayConnectPeerAssociationList$member": null + } + }, + "TransitGatewayConnectPeerAssociationList": { + "base": null, + "refs": { + "GetTransitGatewayConnectPeerAssociationsResponse$TransitGatewayConnectPeerAssociations": "

Information about the transit gateway Connect peer associations.

" + } + }, + "TransitGatewayConnectPeerAssociationState": { + "base": null, + "refs": { + "TransitGatewayConnectPeerAssociation$State": "

The state of the association.

" + } + }, "TransitGatewayRegistration": { "base": "

Describes the registration of a transit gateway to a global network.

", "refs": { @@ -706,6 +869,16 @@ "refs": { } }, + "UpdateConnectionRequest": { + "base": null, + "refs": { + } + }, + "UpdateConnectionResponse": { + "base": null, + "refs": { + } + }, "UpdateDeviceRequest": { "base": null, "refs": { diff --git a/models/apis/networkmanager/2019-07-05/paginators-1.json b/models/apis/networkmanager/2019-07-05/paginators-1.json index 37b8fedd68d..8987a383639 100644 --- a/models/apis/networkmanager/2019-07-05/paginators-1.json +++ b/models/apis/networkmanager/2019-07-05/paginators-1.json @@ -6,6 +6,12 @@ "limit_key": "MaxResults", "result_key": "GlobalNetworks" }, + "GetConnections": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Connections" + }, "GetCustomerGatewayAssociations": { "input_token": "NextToken", "output_token": "NextToken", @@ -36,6 +42,12 @@ "limit_key": "MaxResults", "result_key": "Sites" }, + "GetTransitGatewayConnectPeerAssociations": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "TransitGatewayConnectPeerAssociations" + }, "GetTransitGatewayRegistrations": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/service/ec2/api.go b/service/ec2/api.go index f49d31d758b..a8eca361a1c 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -88,6 +88,80 @@ func (c *EC2) AcceptReservedInstancesExchangeQuoteWithContext(ctx aws.Context, i return out, req.Send() } +const opAcceptTransitGatewayMulticastDomainAssociations = "AcceptTransitGatewayMulticastDomainAssociations" + +// AcceptTransitGatewayMulticastDomainAssociationsRequest generates a "aws/request.Request" representing the +// client's request for the AcceptTransitGatewayMulticastDomainAssociations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AcceptTransitGatewayMulticastDomainAssociations for more information on using the AcceptTransitGatewayMulticastDomainAssociations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AcceptTransitGatewayMulticastDomainAssociationsRequest method. +// req, resp := client.AcceptTransitGatewayMulticastDomainAssociationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptTransitGatewayMulticastDomainAssociations +func (c *EC2) AcceptTransitGatewayMulticastDomainAssociationsRequest(input *AcceptTransitGatewayMulticastDomainAssociationsInput) (req *request.Request, output *AcceptTransitGatewayMulticastDomainAssociationsOutput) { + op := &request.Operation{ + Name: opAcceptTransitGatewayMulticastDomainAssociations, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AcceptTransitGatewayMulticastDomainAssociationsInput{} + } + + output = &AcceptTransitGatewayMulticastDomainAssociationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// AcceptTransitGatewayMulticastDomainAssociations API operation for Amazon Elastic Compute Cloud. +// +// Accepts a request to associate subnets with a transit gateway multicast domain. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation AcceptTransitGatewayMulticastDomainAssociations for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AcceptTransitGatewayMulticastDomainAssociations +func (c *EC2) AcceptTransitGatewayMulticastDomainAssociations(input *AcceptTransitGatewayMulticastDomainAssociationsInput) (*AcceptTransitGatewayMulticastDomainAssociationsOutput, error) { + req, out := c.AcceptTransitGatewayMulticastDomainAssociationsRequest(input) + return out, req.Send() +} + +// AcceptTransitGatewayMulticastDomainAssociationsWithContext is the same as AcceptTransitGatewayMulticastDomainAssociations with the addition of +// the ability to pass a context and additional request options. +// +// See AcceptTransitGatewayMulticastDomainAssociations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) AcceptTransitGatewayMulticastDomainAssociationsWithContext(ctx aws.Context, input *AcceptTransitGatewayMulticastDomainAssociationsInput, opts ...request.Option) (*AcceptTransitGatewayMulticastDomainAssociationsOutput, error) { + req, out := c.AcceptTransitGatewayMulticastDomainAssociationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAcceptTransitGatewayPeeringAttachment = "AcceptTransitGatewayPeeringAttachment" // AcceptTransitGatewayPeeringAttachmentRequest generates a "aws/request.Request" representing the @@ -5448,6 +5522,84 @@ func (c *EC2) CreateNetworkAclEntryWithContext(ctx aws.Context, input *CreateNet return out, req.Send() } +const opCreateNetworkInsightsPath = "CreateNetworkInsightsPath" + +// CreateNetworkInsightsPathRequest generates a "aws/request.Request" representing the +// client's request for the CreateNetworkInsightsPath operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateNetworkInsightsPath for more information on using the CreateNetworkInsightsPath +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateNetworkInsightsPathRequest method. +// req, resp := client.CreateNetworkInsightsPathRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInsightsPath +func (c *EC2) CreateNetworkInsightsPathRequest(input *CreateNetworkInsightsPathInput) (req *request.Request, output *CreateNetworkInsightsPathOutput) { + op := &request.Operation{ + Name: opCreateNetworkInsightsPath, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateNetworkInsightsPathInput{} + } + + output = &CreateNetworkInsightsPathOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateNetworkInsightsPath API operation for Amazon Elastic Compute Cloud. +// +// Creates a path to analyze for reachability. +// +// Reachability Analyzer enables you to analyze and debug network reachability +// between two resources in your virtual private cloud (VPC). For more information, +// see What is Reachability Analyzer (https://docs.aws.amazon.com/vpc/latest/reachability/). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateNetworkInsightsPath for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNetworkInsightsPath +func (c *EC2) CreateNetworkInsightsPath(input *CreateNetworkInsightsPathInput) (*CreateNetworkInsightsPathOutput, error) { + req, out := c.CreateNetworkInsightsPathRequest(input) + return out, req.Send() +} + +// CreateNetworkInsightsPathWithContext is the same as CreateNetworkInsightsPath with the addition of +// the ability to pass a context and additional request options. +// +// See CreateNetworkInsightsPath for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateNetworkInsightsPathWithContext(ctx aws.Context, input *CreateNetworkInsightsPathInput, opts ...request.Option) (*CreateNetworkInsightsPathOutput, error) { + req, out := c.CreateNetworkInsightsPathRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateNetworkInterface = "CreateNetworkInterface" // CreateNetworkInterfaceRequest generates a "aws/request.Request" representing the @@ -6916,6 +7068,166 @@ func (c *EC2) CreateTransitGatewayWithContext(ctx aws.Context, input *CreateTran return out, req.Send() } +const opCreateTransitGatewayConnect = "CreateTransitGatewayConnect" + +// CreateTransitGatewayConnectRequest generates a "aws/request.Request" representing the +// client's request for the CreateTransitGatewayConnect operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateTransitGatewayConnect for more information on using the CreateTransitGatewayConnect +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateTransitGatewayConnectRequest method. +// req, resp := client.CreateTransitGatewayConnectRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnect +func (c *EC2) CreateTransitGatewayConnectRequest(input *CreateTransitGatewayConnectInput) (req *request.Request, output *CreateTransitGatewayConnectOutput) { + op := &request.Operation{ + Name: opCreateTransitGatewayConnect, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateTransitGatewayConnectInput{} + } + + output = &CreateTransitGatewayConnectOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateTransitGatewayConnect API operation for Amazon Elastic Compute Cloud. +// +// Creates a Connect attachment from a specified transit gateway attachment. +// A Connect attachment is a GRE-based tunnel attachment that you can use to +// establish a connection between a transit gateway and an appliance. +// +// A Connect attachment uses an existing VPC or AWS Direct Connect attachment +// as the underlying transport mechanism. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateTransitGatewayConnect for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnect +func (c *EC2) CreateTransitGatewayConnect(input *CreateTransitGatewayConnectInput) (*CreateTransitGatewayConnectOutput, error) { + req, out := c.CreateTransitGatewayConnectRequest(input) + return out, req.Send() +} + +// CreateTransitGatewayConnectWithContext is the same as CreateTransitGatewayConnect with the addition of +// the ability to pass a context and additional request options. +// +// See CreateTransitGatewayConnect for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateTransitGatewayConnectWithContext(ctx aws.Context, input *CreateTransitGatewayConnectInput, opts ...request.Option) (*CreateTransitGatewayConnectOutput, error) { + req, out := c.CreateTransitGatewayConnectRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateTransitGatewayConnectPeer = "CreateTransitGatewayConnectPeer" + +// CreateTransitGatewayConnectPeerRequest generates a "aws/request.Request" representing the +// client's request for the CreateTransitGatewayConnectPeer operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateTransitGatewayConnectPeer for more information on using the CreateTransitGatewayConnectPeer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateTransitGatewayConnectPeerRequest method. +// req, resp := client.CreateTransitGatewayConnectPeerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnectPeer +func (c *EC2) CreateTransitGatewayConnectPeerRequest(input *CreateTransitGatewayConnectPeerInput) (req *request.Request, output *CreateTransitGatewayConnectPeerOutput) { + op := &request.Operation{ + Name: opCreateTransitGatewayConnectPeer, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateTransitGatewayConnectPeerInput{} + } + + output = &CreateTransitGatewayConnectPeerOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateTransitGatewayConnectPeer API operation for Amazon Elastic Compute Cloud. +// +// Creates a Connect peer for a specified transit gateway Connect attachment +// between a transit gateway and an appliance. +// +// The peer address and transit gateway address must be the same IP address +// family (IPv4 or IPv6). +// +// For more information, see Connect peers (https://docs.aws.amazon.com/vpc/latest/tgw/tgw-connect.html#tgw-connect-peer) +// in the Transit Gateways Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation CreateTransitGatewayConnectPeer for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateTransitGatewayConnectPeer +func (c *EC2) CreateTransitGatewayConnectPeer(input *CreateTransitGatewayConnectPeerInput) (*CreateTransitGatewayConnectPeerOutput, error) { + req, out := c.CreateTransitGatewayConnectPeerRequest(input) + return out, req.Send() +} + +// CreateTransitGatewayConnectPeerWithContext is the same as CreateTransitGatewayConnectPeer with the addition of +// the ability to pass a context and additional request options. +// +// See CreateTransitGatewayConnectPeer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) CreateTransitGatewayConnectPeerWithContext(ctx aws.Context, input *CreateTransitGatewayConnectPeerInput, opts ...request.Option) (*CreateTransitGatewayConnectPeerOutput, error) { + req, out := c.CreateTransitGatewayConnectPeerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateTransitGatewayMulticastDomain = "CreateTransitGatewayMulticastDomain" // CreateTransitGatewayMulticastDomainRequest generates a "aws/request.Request" representing the @@ -9630,6 +9942,154 @@ func (c *EC2) DeleteNetworkAclEntryWithContext(ctx aws.Context, input *DeleteNet return out, req.Send() } +const opDeleteNetworkInsightsAnalysis = "DeleteNetworkInsightsAnalysis" + +// DeleteNetworkInsightsAnalysisRequest generates a "aws/request.Request" representing the +// client's request for the DeleteNetworkInsightsAnalysis operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteNetworkInsightsAnalysis for more information on using the DeleteNetworkInsightsAnalysis +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteNetworkInsightsAnalysisRequest method. +// req, resp := client.DeleteNetworkInsightsAnalysisRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsAnalysis +func (c *EC2) DeleteNetworkInsightsAnalysisRequest(input *DeleteNetworkInsightsAnalysisInput) (req *request.Request, output *DeleteNetworkInsightsAnalysisOutput) { + op := &request.Operation{ + Name: opDeleteNetworkInsightsAnalysis, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteNetworkInsightsAnalysisInput{} + } + + output = &DeleteNetworkInsightsAnalysisOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteNetworkInsightsAnalysis API operation for Amazon Elastic Compute Cloud. +// +// Deletes the specified network insights analysis. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteNetworkInsightsAnalysis for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsAnalysis +func (c *EC2) DeleteNetworkInsightsAnalysis(input *DeleteNetworkInsightsAnalysisInput) (*DeleteNetworkInsightsAnalysisOutput, error) { + req, out := c.DeleteNetworkInsightsAnalysisRequest(input) + return out, req.Send() +} + +// DeleteNetworkInsightsAnalysisWithContext is the same as DeleteNetworkInsightsAnalysis with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteNetworkInsightsAnalysis for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteNetworkInsightsAnalysisWithContext(ctx aws.Context, input *DeleteNetworkInsightsAnalysisInput, opts ...request.Option) (*DeleteNetworkInsightsAnalysisOutput, error) { + req, out := c.DeleteNetworkInsightsAnalysisRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteNetworkInsightsPath = "DeleteNetworkInsightsPath" + +// DeleteNetworkInsightsPathRequest generates a "aws/request.Request" representing the +// client's request for the DeleteNetworkInsightsPath operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteNetworkInsightsPath for more information on using the DeleteNetworkInsightsPath +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteNetworkInsightsPathRequest method. +// req, resp := client.DeleteNetworkInsightsPathRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsPath +func (c *EC2) DeleteNetworkInsightsPathRequest(input *DeleteNetworkInsightsPathInput) (req *request.Request, output *DeleteNetworkInsightsPathOutput) { + op := &request.Operation{ + Name: opDeleteNetworkInsightsPath, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteNetworkInsightsPathInput{} + } + + output = &DeleteNetworkInsightsPathOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteNetworkInsightsPath API operation for Amazon Elastic Compute Cloud. +// +// Deletes the specified path. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteNetworkInsightsPath for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsPath +func (c *EC2) DeleteNetworkInsightsPath(input *DeleteNetworkInsightsPathInput) (*DeleteNetworkInsightsPathOutput, error) { + req, out := c.DeleteNetworkInsightsPathRequest(input) + return out, req.Send() +} + +// DeleteNetworkInsightsPathWithContext is the same as DeleteNetworkInsightsPath with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteNetworkInsightsPath for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteNetworkInsightsPathWithContext(ctx aws.Context, input *DeleteNetworkInsightsPathInput, opts ...request.Option) (*DeleteNetworkInsightsPathOutput, error) { + req, out := c.DeleteNetworkInsightsPathRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteNetworkInterface = "DeleteNetworkInterface" // DeleteNetworkInterfaceRequest generates a "aws/request.Request" representing the @@ -10861,6 +11321,155 @@ func (c *EC2) DeleteTransitGatewayWithContext(ctx aws.Context, input *DeleteTran return out, req.Send() } +const opDeleteTransitGatewayConnect = "DeleteTransitGatewayConnect" + +// DeleteTransitGatewayConnectRequest generates a "aws/request.Request" representing the +// client's request for the DeleteTransitGatewayConnect operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteTransitGatewayConnect for more information on using the DeleteTransitGatewayConnect +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteTransitGatewayConnectRequest method. +// req, resp := client.DeleteTransitGatewayConnectRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnect +func (c *EC2) DeleteTransitGatewayConnectRequest(input *DeleteTransitGatewayConnectInput) (req *request.Request, output *DeleteTransitGatewayConnectOutput) { + op := &request.Operation{ + Name: opDeleteTransitGatewayConnect, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteTransitGatewayConnectInput{} + } + + output = &DeleteTransitGatewayConnectOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteTransitGatewayConnect API operation for Amazon Elastic Compute Cloud. +// +// Deletes the specified Connect attachment. You must first delete any Connect +// peers for the attachment. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteTransitGatewayConnect for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnect +func (c *EC2) DeleteTransitGatewayConnect(input *DeleteTransitGatewayConnectInput) (*DeleteTransitGatewayConnectOutput, error) { + req, out := c.DeleteTransitGatewayConnectRequest(input) + return out, req.Send() +} + +// DeleteTransitGatewayConnectWithContext is the same as DeleteTransitGatewayConnect with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteTransitGatewayConnect for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteTransitGatewayConnectWithContext(ctx aws.Context, input *DeleteTransitGatewayConnectInput, opts ...request.Option) (*DeleteTransitGatewayConnectOutput, error) { + req, out := c.DeleteTransitGatewayConnectRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteTransitGatewayConnectPeer = "DeleteTransitGatewayConnectPeer" + +// DeleteTransitGatewayConnectPeerRequest generates a "aws/request.Request" representing the +// client's request for the DeleteTransitGatewayConnectPeer operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteTransitGatewayConnectPeer for more information on using the DeleteTransitGatewayConnectPeer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteTransitGatewayConnectPeerRequest method. +// req, resp := client.DeleteTransitGatewayConnectPeerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnectPeer +func (c *EC2) DeleteTransitGatewayConnectPeerRequest(input *DeleteTransitGatewayConnectPeerInput) (req *request.Request, output *DeleteTransitGatewayConnectPeerOutput) { + op := &request.Operation{ + Name: opDeleteTransitGatewayConnectPeer, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteTransitGatewayConnectPeerInput{} + } + + output = &DeleteTransitGatewayConnectPeerOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteTransitGatewayConnectPeer API operation for Amazon Elastic Compute Cloud. +// +// Deletes the specified Connect peer. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DeleteTransitGatewayConnectPeer for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteTransitGatewayConnectPeer +func (c *EC2) DeleteTransitGatewayConnectPeer(input *DeleteTransitGatewayConnectPeerInput) (*DeleteTransitGatewayConnectPeerOutput, error) { + req, out := c.DeleteTransitGatewayConnectPeerRequest(input) + return out, req.Send() +} + +// DeleteTransitGatewayConnectPeerWithContext is the same as DeleteTransitGatewayConnectPeer with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteTransitGatewayConnectPeer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DeleteTransitGatewayConnectPeerWithContext(ctx aws.Context, input *DeleteTransitGatewayConnectPeerInput, opts ...request.Option) (*DeleteTransitGatewayConnectPeerOutput, error) { + req, out := c.DeleteTransitGatewayConnectPeerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteTransitGatewayMulticastDomain = "DeleteTransitGatewayMulticastDomain" // DeleteTransitGatewayMulticastDomainRequest generates a "aws/request.Request" representing the @@ -19583,6 +20192,270 @@ func (c *EC2) DescribeNetworkAclsPagesWithContext(ctx aws.Context, input *Descri return p.Err() } +const opDescribeNetworkInsightsAnalyses = "DescribeNetworkInsightsAnalyses" + +// DescribeNetworkInsightsAnalysesRequest generates a "aws/request.Request" representing the +// client's request for the DescribeNetworkInsightsAnalyses operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeNetworkInsightsAnalyses for more information on using the DescribeNetworkInsightsAnalyses +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeNetworkInsightsAnalysesRequest method. +// req, resp := client.DescribeNetworkInsightsAnalysesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsAnalyses +func (c *EC2) DescribeNetworkInsightsAnalysesRequest(input *DescribeNetworkInsightsAnalysesInput) (req *request.Request, output *DescribeNetworkInsightsAnalysesOutput) { + op := &request.Operation{ + Name: opDescribeNetworkInsightsAnalyses, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeNetworkInsightsAnalysesInput{} + } + + output = &DescribeNetworkInsightsAnalysesOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeNetworkInsightsAnalyses API operation for Amazon Elastic Compute Cloud. +// +// Describes one or more of your network insights analyses. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeNetworkInsightsAnalyses for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsAnalyses +func (c *EC2) DescribeNetworkInsightsAnalyses(input *DescribeNetworkInsightsAnalysesInput) (*DescribeNetworkInsightsAnalysesOutput, error) { + req, out := c.DescribeNetworkInsightsAnalysesRequest(input) + return out, req.Send() +} + +// DescribeNetworkInsightsAnalysesWithContext is the same as DescribeNetworkInsightsAnalyses with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeNetworkInsightsAnalyses for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeNetworkInsightsAnalysesWithContext(ctx aws.Context, input *DescribeNetworkInsightsAnalysesInput, opts ...request.Option) (*DescribeNetworkInsightsAnalysesOutput, error) { + req, out := c.DescribeNetworkInsightsAnalysesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeNetworkInsightsAnalysesPages iterates over the pages of a DescribeNetworkInsightsAnalyses operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeNetworkInsightsAnalyses method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeNetworkInsightsAnalyses operation. +// pageNum := 0 +// err := client.DescribeNetworkInsightsAnalysesPages(params, +// func(page *ec2.DescribeNetworkInsightsAnalysesOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *EC2) DescribeNetworkInsightsAnalysesPages(input *DescribeNetworkInsightsAnalysesInput, fn func(*DescribeNetworkInsightsAnalysesOutput, bool) bool) error { + return c.DescribeNetworkInsightsAnalysesPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeNetworkInsightsAnalysesPagesWithContext same as DescribeNetworkInsightsAnalysesPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeNetworkInsightsAnalysesPagesWithContext(ctx aws.Context, input *DescribeNetworkInsightsAnalysesInput, fn func(*DescribeNetworkInsightsAnalysesOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeNetworkInsightsAnalysesInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeNetworkInsightsAnalysesRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeNetworkInsightsAnalysesOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opDescribeNetworkInsightsPaths = "DescribeNetworkInsightsPaths" + +// DescribeNetworkInsightsPathsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeNetworkInsightsPaths operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeNetworkInsightsPaths for more information on using the DescribeNetworkInsightsPaths +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeNetworkInsightsPathsRequest method. +// req, resp := client.DescribeNetworkInsightsPathsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsPaths +func (c *EC2) DescribeNetworkInsightsPathsRequest(input *DescribeNetworkInsightsPathsInput) (req *request.Request, output *DescribeNetworkInsightsPathsOutput) { + op := &request.Operation{ + Name: opDescribeNetworkInsightsPaths, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeNetworkInsightsPathsInput{} + } + + output = &DescribeNetworkInsightsPathsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeNetworkInsightsPaths API operation for Amazon Elastic Compute Cloud. +// +// Describes one or more of your paths. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeNetworkInsightsPaths for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeNetworkInsightsPaths +func (c *EC2) DescribeNetworkInsightsPaths(input *DescribeNetworkInsightsPathsInput) (*DescribeNetworkInsightsPathsOutput, error) { + req, out := c.DescribeNetworkInsightsPathsRequest(input) + return out, req.Send() +} + +// DescribeNetworkInsightsPathsWithContext is the same as DescribeNetworkInsightsPaths with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeNetworkInsightsPaths for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeNetworkInsightsPathsWithContext(ctx aws.Context, input *DescribeNetworkInsightsPathsInput, opts ...request.Option) (*DescribeNetworkInsightsPathsOutput, error) { + req, out := c.DescribeNetworkInsightsPathsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeNetworkInsightsPathsPages iterates over the pages of a DescribeNetworkInsightsPaths operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeNetworkInsightsPaths method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeNetworkInsightsPaths operation. +// pageNum := 0 +// err := client.DescribeNetworkInsightsPathsPages(params, +// func(page *ec2.DescribeNetworkInsightsPathsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *EC2) DescribeNetworkInsightsPathsPages(input *DescribeNetworkInsightsPathsInput, fn func(*DescribeNetworkInsightsPathsOutput, bool) bool) error { + return c.DescribeNetworkInsightsPathsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeNetworkInsightsPathsPagesWithContext same as DescribeNetworkInsightsPathsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeNetworkInsightsPathsPagesWithContext(ctx aws.Context, input *DescribeNetworkInsightsPathsInput, fn func(*DescribeNetworkInsightsPathsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeNetworkInsightsPathsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeNetworkInsightsPathsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeNetworkInsightsPathsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeNetworkInterfaceAttribute = "DescribeNetworkInterfaceAttribute" // DescribeNetworkInterfaceAttributeRequest generates a "aws/request.Request" representing the @@ -23419,6 +24292,270 @@ func (c *EC2) DescribeTransitGatewayAttachmentsPagesWithContext(ctx aws.Context, return p.Err() } +const opDescribeTransitGatewayConnectPeers = "DescribeTransitGatewayConnectPeers" + +// DescribeTransitGatewayConnectPeersRequest generates a "aws/request.Request" representing the +// client's request for the DescribeTransitGatewayConnectPeers operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeTransitGatewayConnectPeers for more information on using the DescribeTransitGatewayConnectPeers +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeTransitGatewayConnectPeersRequest method. +// req, resp := client.DescribeTransitGatewayConnectPeersRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnectPeers +func (c *EC2) DescribeTransitGatewayConnectPeersRequest(input *DescribeTransitGatewayConnectPeersInput) (req *request.Request, output *DescribeTransitGatewayConnectPeersOutput) { + op := &request.Operation{ + Name: opDescribeTransitGatewayConnectPeers, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeTransitGatewayConnectPeersInput{} + } + + output = &DescribeTransitGatewayConnectPeersOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeTransitGatewayConnectPeers API operation for Amazon Elastic Compute Cloud. +// +// Describes one or more Connect peers. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeTransitGatewayConnectPeers for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnectPeers +func (c *EC2) DescribeTransitGatewayConnectPeers(input *DescribeTransitGatewayConnectPeersInput) (*DescribeTransitGatewayConnectPeersOutput, error) { + req, out := c.DescribeTransitGatewayConnectPeersRequest(input) + return out, req.Send() +} + +// DescribeTransitGatewayConnectPeersWithContext is the same as DescribeTransitGatewayConnectPeers with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeTransitGatewayConnectPeers for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeTransitGatewayConnectPeersWithContext(ctx aws.Context, input *DescribeTransitGatewayConnectPeersInput, opts ...request.Option) (*DescribeTransitGatewayConnectPeersOutput, error) { + req, out := c.DescribeTransitGatewayConnectPeersRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeTransitGatewayConnectPeersPages iterates over the pages of a DescribeTransitGatewayConnectPeers operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeTransitGatewayConnectPeers method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeTransitGatewayConnectPeers operation. +// pageNum := 0 +// err := client.DescribeTransitGatewayConnectPeersPages(params, +// func(page *ec2.DescribeTransitGatewayConnectPeersOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *EC2) DescribeTransitGatewayConnectPeersPages(input *DescribeTransitGatewayConnectPeersInput, fn func(*DescribeTransitGatewayConnectPeersOutput, bool) bool) error { + return c.DescribeTransitGatewayConnectPeersPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeTransitGatewayConnectPeersPagesWithContext same as DescribeTransitGatewayConnectPeersPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeTransitGatewayConnectPeersPagesWithContext(ctx aws.Context, input *DescribeTransitGatewayConnectPeersInput, fn func(*DescribeTransitGatewayConnectPeersOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeTransitGatewayConnectPeersInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeTransitGatewayConnectPeersRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeTransitGatewayConnectPeersOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opDescribeTransitGatewayConnects = "DescribeTransitGatewayConnects" + +// DescribeTransitGatewayConnectsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeTransitGatewayConnects operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeTransitGatewayConnects for more information on using the DescribeTransitGatewayConnects +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeTransitGatewayConnectsRequest method. +// req, resp := client.DescribeTransitGatewayConnectsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnects +func (c *EC2) DescribeTransitGatewayConnectsRequest(input *DescribeTransitGatewayConnectsInput) (req *request.Request, output *DescribeTransitGatewayConnectsOutput) { + op := &request.Operation{ + Name: opDescribeTransitGatewayConnects, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &DescribeTransitGatewayConnectsInput{} + } + + output = &DescribeTransitGatewayConnectsOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeTransitGatewayConnects API operation for Amazon Elastic Compute Cloud. +// +// Describes one or more Connect attachments. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation DescribeTransitGatewayConnects for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeTransitGatewayConnects +func (c *EC2) DescribeTransitGatewayConnects(input *DescribeTransitGatewayConnectsInput) (*DescribeTransitGatewayConnectsOutput, error) { + req, out := c.DescribeTransitGatewayConnectsRequest(input) + return out, req.Send() +} + +// DescribeTransitGatewayConnectsWithContext is the same as DescribeTransitGatewayConnects with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeTransitGatewayConnects for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeTransitGatewayConnectsWithContext(ctx aws.Context, input *DescribeTransitGatewayConnectsInput, opts ...request.Option) (*DescribeTransitGatewayConnectsOutput, error) { + req, out := c.DescribeTransitGatewayConnectsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// DescribeTransitGatewayConnectsPages iterates over the pages of a DescribeTransitGatewayConnects operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeTransitGatewayConnects method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeTransitGatewayConnects operation. +// pageNum := 0 +// err := client.DescribeTransitGatewayConnectsPages(params, +// func(page *ec2.DescribeTransitGatewayConnectsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *EC2) DescribeTransitGatewayConnectsPages(input *DescribeTransitGatewayConnectsInput, fn func(*DescribeTransitGatewayConnectsOutput, bool) bool) error { + return c.DescribeTransitGatewayConnectsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeTransitGatewayConnectsPagesWithContext same as DescribeTransitGatewayConnectsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) DescribeTransitGatewayConnectsPagesWithContext(ctx aws.Context, input *DescribeTransitGatewayConnectsInput, fn func(*DescribeTransitGatewayConnectsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeTransitGatewayConnectsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeTransitGatewayConnectsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeTransitGatewayConnectsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeTransitGatewayMulticastDomains = "DescribeTransitGatewayMulticastDomains" // DescribeTransitGatewayMulticastDomainsRequest generates a "aws/request.Request" representing the @@ -35638,6 +36775,81 @@ func (c *EC2) RegisterTransitGatewayMulticastGroupSourcesWithContext(ctx aws.Con return out, req.Send() } +const opRejectTransitGatewayMulticastDomainAssociations = "RejectTransitGatewayMulticastDomainAssociations" + +// RejectTransitGatewayMulticastDomainAssociationsRequest generates a "aws/request.Request" representing the +// client's request for the RejectTransitGatewayMulticastDomainAssociations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See RejectTransitGatewayMulticastDomainAssociations for more information on using the RejectTransitGatewayMulticastDomainAssociations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the RejectTransitGatewayMulticastDomainAssociationsRequest method. +// req, resp := client.RejectTransitGatewayMulticastDomainAssociationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectTransitGatewayMulticastDomainAssociations +func (c *EC2) RejectTransitGatewayMulticastDomainAssociationsRequest(input *RejectTransitGatewayMulticastDomainAssociationsInput) (req *request.Request, output *RejectTransitGatewayMulticastDomainAssociationsOutput) { + op := &request.Operation{ + Name: opRejectTransitGatewayMulticastDomainAssociations, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RejectTransitGatewayMulticastDomainAssociationsInput{} + } + + output = &RejectTransitGatewayMulticastDomainAssociationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// RejectTransitGatewayMulticastDomainAssociations API operation for Amazon Elastic Compute Cloud. +// +// Rejects a request to associate cross-account subnets with a transit gateway +// multicast domain. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation RejectTransitGatewayMulticastDomainAssociations for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RejectTransitGatewayMulticastDomainAssociations +func (c *EC2) RejectTransitGatewayMulticastDomainAssociations(input *RejectTransitGatewayMulticastDomainAssociationsInput) (*RejectTransitGatewayMulticastDomainAssociationsOutput, error) { + req, out := c.RejectTransitGatewayMulticastDomainAssociationsRequest(input) + return out, req.Send() +} + +// RejectTransitGatewayMulticastDomainAssociationsWithContext is the same as RejectTransitGatewayMulticastDomainAssociations with the addition of +// the ability to pass a context and additional request options. +// +// See RejectTransitGatewayMulticastDomainAssociations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) RejectTransitGatewayMulticastDomainAssociationsWithContext(ctx aws.Context, input *RejectTransitGatewayMulticastDomainAssociationsInput, opts ...request.Option) (*RejectTransitGatewayMulticastDomainAssociationsOutput, error) { + req, out := c.RejectTransitGatewayMulticastDomainAssociationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRejectTransitGatewayPeeringAttachment = "RejectTransitGatewayPeeringAttachment" // RejectTransitGatewayPeeringAttachmentRequest generates a "aws/request.Request" representing the @@ -38466,6 +39678,81 @@ func (c *EC2) StartInstancesWithContext(ctx aws.Context, input *StartInstancesIn return out, req.Send() } +const opStartNetworkInsightsAnalysis = "StartNetworkInsightsAnalysis" + +// StartNetworkInsightsAnalysisRequest generates a "aws/request.Request" representing the +// client's request for the StartNetworkInsightsAnalysis operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See StartNetworkInsightsAnalysis for more information on using the StartNetworkInsightsAnalysis +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the StartNetworkInsightsAnalysisRequest method. +// req, resp := client.StartNetworkInsightsAnalysisRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartNetworkInsightsAnalysis +func (c *EC2) StartNetworkInsightsAnalysisRequest(input *StartNetworkInsightsAnalysisInput) (req *request.Request, output *StartNetworkInsightsAnalysisOutput) { + op := &request.Operation{ + Name: opStartNetworkInsightsAnalysis, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartNetworkInsightsAnalysisInput{} + } + + output = &StartNetworkInsightsAnalysisOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartNetworkInsightsAnalysis API operation for Amazon Elastic Compute Cloud. +// +// Starts analyzing the specified path. If the path is reachable, the operation +// returns the shortest feasible path. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Elastic Compute Cloud's +// API operation StartNetworkInsightsAnalysis for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/StartNetworkInsightsAnalysis +func (c *EC2) StartNetworkInsightsAnalysis(input *StartNetworkInsightsAnalysisInput) (*StartNetworkInsightsAnalysisOutput, error) { + req, out := c.StartNetworkInsightsAnalysisRequest(input) + return out, req.Send() +} + +// StartNetworkInsightsAnalysisWithContext is the same as StartNetworkInsightsAnalysis with the addition of +// the ability to pass a context and additional request options. +// +// See StartNetworkInsightsAnalysis for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *EC2) StartNetworkInsightsAnalysisWithContext(ctx aws.Context, input *StartNetworkInsightsAnalysisInput, opts ...request.Option) (*StartNetworkInsightsAnalysisOutput, error) { + req, out := c.StartNetworkInsightsAnalysisRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartVpcEndpointServicePrivateDnsVerification = "StartVpcEndpointServicePrivateDnsVerification" // StartVpcEndpointServicePrivateDnsVerificationRequest generates a "aws/request.Request" representing the @@ -39402,6 +40689,82 @@ func (s *AcceptReservedInstancesExchangeQuoteOutput) SetExchangeId(v string) *Ac return s } +type AcceptTransitGatewayMulticastDomainAssociationsInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The IDs of the subnets to associate with the transit gateway multicast domain. + SubnetIds []*string `locationNameList:"item" type:"list"` + + // The ID of the transit gateway attachment. + TransitGatewayAttachmentId *string `type:"string"` + + // The ID of the transit gateway multicast domain. + TransitGatewayMulticastDomainId *string `type:"string"` +} + +// String returns the string representation +func (s AcceptTransitGatewayMulticastDomainAssociationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptTransitGatewayMulticastDomainAssociationsInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *AcceptTransitGatewayMulticastDomainAssociationsInput) SetDryRun(v bool) *AcceptTransitGatewayMulticastDomainAssociationsInput { + s.DryRun = &v + return s +} + +// SetSubnetIds sets the SubnetIds field's value. +func (s *AcceptTransitGatewayMulticastDomainAssociationsInput) SetSubnetIds(v []*string) *AcceptTransitGatewayMulticastDomainAssociationsInput { + s.SubnetIds = v + return s +} + +// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value. +func (s *AcceptTransitGatewayMulticastDomainAssociationsInput) SetTransitGatewayAttachmentId(v string) *AcceptTransitGatewayMulticastDomainAssociationsInput { + s.TransitGatewayAttachmentId = &v + return s +} + +// SetTransitGatewayMulticastDomainId sets the TransitGatewayMulticastDomainId field's value. +func (s *AcceptTransitGatewayMulticastDomainAssociationsInput) SetTransitGatewayMulticastDomainId(v string) *AcceptTransitGatewayMulticastDomainAssociationsInput { + s.TransitGatewayMulticastDomainId = &v + return s +} + +type AcceptTransitGatewayMulticastDomainAssociationsOutput struct { + _ struct{} `type:"structure"` + + // Describes the multicast domain associations. + Associations *TransitGatewayMulticastDomainAssociations `locationName:"associations" type:"structure"` +} + +// String returns the string representation +func (s AcceptTransitGatewayMulticastDomainAssociationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AcceptTransitGatewayMulticastDomainAssociationsOutput) GoString() string { + return s.String() +} + +// SetAssociations sets the Associations field's value. +func (s *AcceptTransitGatewayMulticastDomainAssociationsOutput) SetAssociations(v *TransitGatewayMulticastDomainAssociations) *AcceptTransitGatewayMulticastDomainAssociationsOutput { + s.Associations = v + return s +} + type AcceptTransitGatewayPeeringAttachmentInput struct { _ struct{} `type:"structure"` @@ -40441,6 +41804,472 @@ func (s *AllowedPrincipal) SetPrincipalType(v string) *AllowedPrincipal { return s } +// Describes an potential intermediate component of a feasible path. +type AlternatePathHint struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the component. + ComponentArn *string `locationName:"componentArn" type:"string"` + + // The ID of the component. + ComponentId *string `locationName:"componentId" type:"string"` +} + +// String returns the string representation +func (s AlternatePathHint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AlternatePathHint) GoString() string { + return s.String() +} + +// SetComponentArn sets the ComponentArn field's value. +func (s *AlternatePathHint) SetComponentArn(v string) *AlternatePathHint { + s.ComponentArn = &v + return s +} + +// SetComponentId sets the ComponentId field's value. +func (s *AlternatePathHint) SetComponentId(v string) *AlternatePathHint { + s.ComponentId = &v + return s +} + +// Describes a network access control (ACL) rule. +type AnalysisAclRule struct { + _ struct{} `type:"structure"` + + // The IPv4 address range, in CIDR notation. + Cidr *string `locationName:"cidr" type:"string"` + + // Indicates whether the rule is an outbound rule. + Egress *bool `locationName:"egress" type:"boolean"` + + // The range of ports. + PortRange *PortRange `locationName:"portRange" type:"structure"` + + // The protocol. + Protocol *string `locationName:"protocol" type:"string"` + + // Indicates whether to allow or deny traffic that matches the rule. + RuleAction *string `locationName:"ruleAction" type:"string"` + + // The rule number. + RuleNumber *int64 `locationName:"ruleNumber" type:"integer"` +} + +// String returns the string representation +func (s AnalysisAclRule) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AnalysisAclRule) GoString() string { + return s.String() +} + +// SetCidr sets the Cidr field's value. +func (s *AnalysisAclRule) SetCidr(v string) *AnalysisAclRule { + s.Cidr = &v + return s +} + +// SetEgress sets the Egress field's value. +func (s *AnalysisAclRule) SetEgress(v bool) *AnalysisAclRule { + s.Egress = &v + return s +} + +// SetPortRange sets the PortRange field's value. +func (s *AnalysisAclRule) SetPortRange(v *PortRange) *AnalysisAclRule { + s.PortRange = v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *AnalysisAclRule) SetProtocol(v string) *AnalysisAclRule { + s.Protocol = &v + return s +} + +// SetRuleAction sets the RuleAction field's value. +func (s *AnalysisAclRule) SetRuleAction(v string) *AnalysisAclRule { + s.RuleAction = &v + return s +} + +// SetRuleNumber sets the RuleNumber field's value. +func (s *AnalysisAclRule) SetRuleNumber(v int64) *AnalysisAclRule { + s.RuleNumber = &v + return s +} + +// Describes a path component. +type AnalysisComponent struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the component. + Arn *string `locationName:"arn" type:"string"` + + // The ID of the component. + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation +func (s AnalysisComponent) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AnalysisComponent) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *AnalysisComponent) SetArn(v string) *AnalysisComponent { + s.Arn = &v + return s +} + +// SetId sets the Id field's value. +func (s *AnalysisComponent) SetId(v string) *AnalysisComponent { + s.Id = &v + return s +} + +// Describes a load balancer listener. +type AnalysisLoadBalancerListener struct { + _ struct{} `type:"structure"` + + // [Classic Load Balancers] The back-end port for the listener. + InstancePort *int64 `locationName:"instancePort" min:"1" type:"integer"` + + // The port on which the load balancer is listening. + LoadBalancerPort *int64 `locationName:"loadBalancerPort" min:"1" type:"integer"` +} + +// String returns the string representation +func (s AnalysisLoadBalancerListener) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AnalysisLoadBalancerListener) GoString() string { + return s.String() +} + +// SetInstancePort sets the InstancePort field's value. +func (s *AnalysisLoadBalancerListener) SetInstancePort(v int64) *AnalysisLoadBalancerListener { + s.InstancePort = &v + return s +} + +// SetLoadBalancerPort sets the LoadBalancerPort field's value. +func (s *AnalysisLoadBalancerListener) SetLoadBalancerPort(v int64) *AnalysisLoadBalancerListener { + s.LoadBalancerPort = &v + return s +} + +// Describes a load balancer target. +type AnalysisLoadBalancerTarget struct { + _ struct{} `type:"structure"` + + // The IP address. + Address *string `locationName:"address" type:"string"` + + // The Availability Zone. + AvailabilityZone *string `locationName:"availabilityZone" type:"string"` + + // Information about the instance. + Instance *AnalysisComponent `locationName:"instance" type:"structure"` + + // The port on which the target is listening. + Port *int64 `locationName:"port" min:"1" type:"integer"` +} + +// String returns the string representation +func (s AnalysisLoadBalancerTarget) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AnalysisLoadBalancerTarget) GoString() string { + return s.String() +} + +// SetAddress sets the Address field's value. +func (s *AnalysisLoadBalancerTarget) SetAddress(v string) *AnalysisLoadBalancerTarget { + s.Address = &v + return s +} + +// SetAvailabilityZone sets the AvailabilityZone field's value. +func (s *AnalysisLoadBalancerTarget) SetAvailabilityZone(v string) *AnalysisLoadBalancerTarget { + s.AvailabilityZone = &v + return s +} + +// SetInstance sets the Instance field's value. +func (s *AnalysisLoadBalancerTarget) SetInstance(v *AnalysisComponent) *AnalysisLoadBalancerTarget { + s.Instance = v + return s +} + +// SetPort sets the Port field's value. +func (s *AnalysisLoadBalancerTarget) SetPort(v int64) *AnalysisLoadBalancerTarget { + s.Port = &v + return s +} + +// Describes a header. Reflects any changes made by a component as traffic passes +// through. The fields of an inbound header are null except for the first component +// of a path. +type AnalysisPacketHeader struct { + _ struct{} `type:"structure"` + + // The destination addresses. + DestinationAddresses []*string `locationName:"destinationAddressSet" locationNameList:"item" type:"list"` + + // The destination port ranges. + DestinationPortRanges []*PortRange `locationName:"destinationPortRangeSet" locationNameList:"item" type:"list"` + + // The protocol. + Protocol *string `locationName:"protocol" type:"string"` + + // The source addresses. + SourceAddresses []*string `locationName:"sourceAddressSet" locationNameList:"item" type:"list"` + + // The source port ranges. + SourcePortRanges []*PortRange `locationName:"sourcePortRangeSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s AnalysisPacketHeader) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AnalysisPacketHeader) GoString() string { + return s.String() +} + +// SetDestinationAddresses sets the DestinationAddresses field's value. +func (s *AnalysisPacketHeader) SetDestinationAddresses(v []*string) *AnalysisPacketHeader { + s.DestinationAddresses = v + return s +} + +// SetDestinationPortRanges sets the DestinationPortRanges field's value. +func (s *AnalysisPacketHeader) SetDestinationPortRanges(v []*PortRange) *AnalysisPacketHeader { + s.DestinationPortRanges = v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *AnalysisPacketHeader) SetProtocol(v string) *AnalysisPacketHeader { + s.Protocol = &v + return s +} + +// SetSourceAddresses sets the SourceAddresses field's value. +func (s *AnalysisPacketHeader) SetSourceAddresses(v []*string) *AnalysisPacketHeader { + s.SourceAddresses = v + return s +} + +// SetSourcePortRanges sets the SourcePortRanges field's value. +func (s *AnalysisPacketHeader) SetSourcePortRanges(v []*PortRange) *AnalysisPacketHeader { + s.SourcePortRanges = v + return s +} + +// Describes a route table route. +type AnalysisRouteTableRoute struct { + _ struct{} `type:"structure"` + + // The destination IPv4 address, in CIDR notation. + DestinationCidr *string `locationName:"destinationCidr" type:"string"` + + // The prefix of the AWS service. + DestinationPrefixListId *string `locationName:"destinationPrefixListId" type:"string"` + + // The ID of an egress-only internet gateway. + EgressOnlyInternetGatewayId *string `locationName:"egressOnlyInternetGatewayId" type:"string"` + + // The ID of the gateway, such as an internet gateway or virtual private gateway. + GatewayId *string `locationName:"gatewayId" type:"string"` + + // The ID of the instance, such as a NAT instance. + InstanceId *string `locationName:"instanceId" type:"string"` + + // The ID of a NAT gateway. + NatGatewayId *string `locationName:"natGatewayId" type:"string"` + + // The ID of a network interface. + NetworkInterfaceId *string `locationName:"networkInterfaceId" type:"string"` + + // Describes how the route was created. The following are possible values: + // + // * CreateRouteTable - The route was automatically created when the route + // table was created. + // + // * CreateRoute - The route was manually added to the route table. + // + // * EnableVgwRoutePropagation - The route was propagated by route propagation. + Origin *string `locationName:"origin" type:"string"` + + // The ID of a transit gateway. + TransitGatewayId *string `locationName:"transitGatewayId" type:"string"` + + // The ID of a VPC peering connection. + VpcPeeringConnectionId *string `locationName:"vpcPeeringConnectionId" type:"string"` +} + +// String returns the string representation +func (s AnalysisRouteTableRoute) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AnalysisRouteTableRoute) GoString() string { + return s.String() +} + +// SetDestinationCidr sets the DestinationCidr field's value. +func (s *AnalysisRouteTableRoute) SetDestinationCidr(v string) *AnalysisRouteTableRoute { + s.DestinationCidr = &v + return s +} + +// SetDestinationPrefixListId sets the DestinationPrefixListId field's value. +func (s *AnalysisRouteTableRoute) SetDestinationPrefixListId(v string) *AnalysisRouteTableRoute { + s.DestinationPrefixListId = &v + return s +} + +// SetEgressOnlyInternetGatewayId sets the EgressOnlyInternetGatewayId field's value. +func (s *AnalysisRouteTableRoute) SetEgressOnlyInternetGatewayId(v string) *AnalysisRouteTableRoute { + s.EgressOnlyInternetGatewayId = &v + return s +} + +// SetGatewayId sets the GatewayId field's value. +func (s *AnalysisRouteTableRoute) SetGatewayId(v string) *AnalysisRouteTableRoute { + s.GatewayId = &v + return s +} + +// SetInstanceId sets the InstanceId field's value. +func (s *AnalysisRouteTableRoute) SetInstanceId(v string) *AnalysisRouteTableRoute { + s.InstanceId = &v + return s +} + +// SetNatGatewayId sets the NatGatewayId field's value. +func (s *AnalysisRouteTableRoute) SetNatGatewayId(v string) *AnalysisRouteTableRoute { + s.NatGatewayId = &v + return s +} + +// SetNetworkInterfaceId sets the NetworkInterfaceId field's value. +func (s *AnalysisRouteTableRoute) SetNetworkInterfaceId(v string) *AnalysisRouteTableRoute { + s.NetworkInterfaceId = &v + return s +} + +// SetOrigin sets the Origin field's value. +func (s *AnalysisRouteTableRoute) SetOrigin(v string) *AnalysisRouteTableRoute { + s.Origin = &v + return s +} + +// SetTransitGatewayId sets the TransitGatewayId field's value. +func (s *AnalysisRouteTableRoute) SetTransitGatewayId(v string) *AnalysisRouteTableRoute { + s.TransitGatewayId = &v + return s +} + +// SetVpcPeeringConnectionId sets the VpcPeeringConnectionId field's value. +func (s *AnalysisRouteTableRoute) SetVpcPeeringConnectionId(v string) *AnalysisRouteTableRoute { + s.VpcPeeringConnectionId = &v + return s +} + +// Describes a security group rule. +type AnalysisSecurityGroupRule struct { + _ struct{} `type:"structure"` + + // The IPv4 address range, in CIDR notation. + Cidr *string `locationName:"cidr" type:"string"` + + // The direction. The following are possible values: + // + // * egress + // + // * ingress + Direction *string `locationName:"direction" type:"string"` + + // The port range. + PortRange *PortRange `locationName:"portRange" type:"structure"` + + // The prefix list ID. + PrefixListId *string `locationName:"prefixListId" type:"string"` + + // The protocol name. + Protocol *string `locationName:"protocol" type:"string"` + + // The security group ID. + SecurityGroupId *string `locationName:"securityGroupId" type:"string"` +} + +// String returns the string representation +func (s AnalysisSecurityGroupRule) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AnalysisSecurityGroupRule) GoString() string { + return s.String() +} + +// SetCidr sets the Cidr field's value. +func (s *AnalysisSecurityGroupRule) SetCidr(v string) *AnalysisSecurityGroupRule { + s.Cidr = &v + return s +} + +// SetDirection sets the Direction field's value. +func (s *AnalysisSecurityGroupRule) SetDirection(v string) *AnalysisSecurityGroupRule { + s.Direction = &v + return s +} + +// SetPortRange sets the PortRange field's value. +func (s *AnalysisSecurityGroupRule) SetPortRange(v *PortRange) *AnalysisSecurityGroupRule { + s.PortRange = v + return s +} + +// SetPrefixListId sets the PrefixListId field's value. +func (s *AnalysisSecurityGroupRule) SetPrefixListId(v string) *AnalysisSecurityGroupRule { + s.PrefixListId = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *AnalysisSecurityGroupRule) SetProtocol(v string) *AnalysisSecurityGroupRule { + s.Protocol = &v + return s +} + +// SetSecurityGroupId sets the SecurityGroupId field's value. +func (s *AnalysisSecurityGroupRule) SetSecurityGroupId(v string) *AnalysisSecurityGroupRule { + s.SecurityGroupId = &v + return s +} + type ApplySecurityGroupsToClientVpnTargetNetworkInput struct { _ struct{} `type:"structure"` @@ -50201,6 +52030,156 @@ func (s *CreateNetworkAclOutput) SetNetworkAcl(v *NetworkAcl) *CreateNetworkAclO return s } +type CreateNetworkInsightsPathInput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // The AWS resource that is the destination of the path. + // + // Destination is a required field + Destination *string `type:"string" required:"true"` + + // The IP address of the AWS resource that is the destination of the path. + DestinationIp *string `type:"string"` + + // The destination port. + DestinationPort *int64 `min:"1" type:"integer"` + + // 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. + DryRun *bool `type:"boolean"` + + // The protocol. + // + // Protocol is a required field + Protocol *string `type:"string" required:"true" enum:"Protocol"` + + // The AWS resource that is the source of the path. + // + // Source is a required field + Source *string `type:"string" required:"true"` + + // The IP address of the AWS resource that is the source of the path. + SourceIp *string `type:"string"` + + // The tags to add to the path. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s CreateNetworkInsightsPathInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateNetworkInsightsPathInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateNetworkInsightsPathInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateNetworkInsightsPathInput"} + if s.Destination == nil { + invalidParams.Add(request.NewErrParamRequired("Destination")) + } + if s.DestinationPort != nil && *s.DestinationPort < 1 { + invalidParams.Add(request.NewErrParamMinValue("DestinationPort", 1)) + } + if s.Protocol == nil { + invalidParams.Add(request.NewErrParamRequired("Protocol")) + } + if s.Source == nil { + invalidParams.Add(request.NewErrParamRequired("Source")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateNetworkInsightsPathInput) SetClientToken(v string) *CreateNetworkInsightsPathInput { + s.ClientToken = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *CreateNetworkInsightsPathInput) SetDestination(v string) *CreateNetworkInsightsPathInput { + s.Destination = &v + return s +} + +// SetDestinationIp sets the DestinationIp field's value. +func (s *CreateNetworkInsightsPathInput) SetDestinationIp(v string) *CreateNetworkInsightsPathInput { + s.DestinationIp = &v + return s +} + +// SetDestinationPort sets the DestinationPort field's value. +func (s *CreateNetworkInsightsPathInput) SetDestinationPort(v int64) *CreateNetworkInsightsPathInput { + s.DestinationPort = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateNetworkInsightsPathInput) SetDryRun(v bool) *CreateNetworkInsightsPathInput { + s.DryRun = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *CreateNetworkInsightsPathInput) SetProtocol(v string) *CreateNetworkInsightsPathInput { + s.Protocol = &v + return s +} + +// SetSource sets the Source field's value. +func (s *CreateNetworkInsightsPathInput) SetSource(v string) *CreateNetworkInsightsPathInput { + s.Source = &v + return s +} + +// SetSourceIp sets the SourceIp field's value. +func (s *CreateNetworkInsightsPathInput) SetSourceIp(v string) *CreateNetworkInsightsPathInput { + s.SourceIp = &v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *CreateNetworkInsightsPathInput) SetTagSpecifications(v []*TagSpecification) *CreateNetworkInsightsPathInput { + s.TagSpecifications = v + return s +} + +type CreateNetworkInsightsPathOutput struct { + _ struct{} `type:"structure"` + + // Information about the path. + NetworkInsightsPath *NetworkInsightsPath `locationName:"networkInsightsPath" type:"structure"` +} + +// String returns the string representation +func (s CreateNetworkInsightsPathOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateNetworkInsightsPathOutput) GoString() string { + return s.String() +} + +// SetNetworkInsightsPath sets the NetworkInsightsPath field's value. +func (s *CreateNetworkInsightsPathOutput) SetNetworkInsightsPath(v *NetworkInsightsPath) *CreateNetworkInsightsPathOutput { + s.NetworkInsightsPath = v + return s +} + // Contains the parameters for CreateNetworkInterface. type CreateNetworkInterfaceInput struct { _ struct{} `type:"structure"` @@ -52156,6 +54135,283 @@ func (s *CreateTrafficMirrorTargetOutput) SetTrafficMirrorTarget(v *TrafficMirro return s } +type CreateTransitGatewayConnectInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The Connect attachment options. + // + // Options is a required field + Options *CreateTransitGatewayConnectRequestOptions `type:"structure" required:"true"` + + // The tags to apply to the Connect attachment. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` + + // The ID of the transit gateway attachment. You can specify a VPC attachment + // or a AWS Direct Connect attachment. + // + // TransportTransitGatewayAttachmentId is a required field + TransportTransitGatewayAttachmentId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateTransitGatewayConnectInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTransitGatewayConnectInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTransitGatewayConnectInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTransitGatewayConnectInput"} + if s.Options == nil { + invalidParams.Add(request.NewErrParamRequired("Options")) + } + if s.TransportTransitGatewayAttachmentId == nil { + invalidParams.Add(request.NewErrParamRequired("TransportTransitGatewayAttachmentId")) + } + if s.Options != nil { + if err := s.Options.Validate(); err != nil { + invalidParams.AddNested("Options", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateTransitGatewayConnectInput) SetDryRun(v bool) *CreateTransitGatewayConnectInput { + s.DryRun = &v + return s +} + +// SetOptions sets the Options field's value. +func (s *CreateTransitGatewayConnectInput) SetOptions(v *CreateTransitGatewayConnectRequestOptions) *CreateTransitGatewayConnectInput { + s.Options = v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *CreateTransitGatewayConnectInput) SetTagSpecifications(v []*TagSpecification) *CreateTransitGatewayConnectInput { + s.TagSpecifications = v + return s +} + +// SetTransportTransitGatewayAttachmentId sets the TransportTransitGatewayAttachmentId field's value. +func (s *CreateTransitGatewayConnectInput) SetTransportTransitGatewayAttachmentId(v string) *CreateTransitGatewayConnectInput { + s.TransportTransitGatewayAttachmentId = &v + return s +} + +type CreateTransitGatewayConnectOutput struct { + _ struct{} `type:"structure"` + + // Information about the Connect attachment. + TransitGatewayConnect *TransitGatewayConnect `locationName:"transitGatewayConnect" type:"structure"` +} + +// String returns the string representation +func (s CreateTransitGatewayConnectOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTransitGatewayConnectOutput) GoString() string { + return s.String() +} + +// SetTransitGatewayConnect sets the TransitGatewayConnect field's value. +func (s *CreateTransitGatewayConnectOutput) SetTransitGatewayConnect(v *TransitGatewayConnect) *CreateTransitGatewayConnectOutput { + s.TransitGatewayConnect = v + return s +} + +type CreateTransitGatewayConnectPeerInput struct { + _ struct{} `type:"structure"` + + // The BGP options for the Connect peer. + BgpOptions *TransitGatewayConnectRequestBgpOptions `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The range of inside IP addresses that are used for BGP peering. You must + // specify a size /29 IPv4 CIDR block from the 169.254.0.0/16 range. The first + // address from the range must be configured on the appliance as the BGP IP + // address. You can also optionally specify a size /125 IPv6 CIDR block from + // the fd00::/8 range. + // + // InsideCidrBlocks is a required field + InsideCidrBlocks []*string `locationNameList:"item" type:"list" required:"true"` + + // The peer IP address (GRE outer IP address) on the appliance side of the Connect + // peer. + // + // PeerAddress is a required field + PeerAddress *string `type:"string" required:"true"` + + // The tags to apply to the Connect peer. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` + + // The peer IP address (GRE outer IP address) on the transit gateway side of + // the Connect peer, which must be specified from a transit gateway CIDR block. + // If not specified, Amazon automatically assigns the first available IP address + // from the transit gateway CIDR block. + TransitGatewayAddress *string `type:"string"` + + // The ID of the Connect attachment. + // + // TransitGatewayAttachmentId is a required field + TransitGatewayAttachmentId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateTransitGatewayConnectPeerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTransitGatewayConnectPeerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTransitGatewayConnectPeerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTransitGatewayConnectPeerInput"} + if s.InsideCidrBlocks == nil { + invalidParams.Add(request.NewErrParamRequired("InsideCidrBlocks")) + } + if s.PeerAddress == nil { + invalidParams.Add(request.NewErrParamRequired("PeerAddress")) + } + if s.TransitGatewayAttachmentId == nil { + invalidParams.Add(request.NewErrParamRequired("TransitGatewayAttachmentId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetBgpOptions sets the BgpOptions field's value. +func (s *CreateTransitGatewayConnectPeerInput) SetBgpOptions(v *TransitGatewayConnectRequestBgpOptions) *CreateTransitGatewayConnectPeerInput { + s.BgpOptions = v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *CreateTransitGatewayConnectPeerInput) SetDryRun(v bool) *CreateTransitGatewayConnectPeerInput { + s.DryRun = &v + return s +} + +// SetInsideCidrBlocks sets the InsideCidrBlocks field's value. +func (s *CreateTransitGatewayConnectPeerInput) SetInsideCidrBlocks(v []*string) *CreateTransitGatewayConnectPeerInput { + s.InsideCidrBlocks = v + return s +} + +// SetPeerAddress sets the PeerAddress field's value. +func (s *CreateTransitGatewayConnectPeerInput) SetPeerAddress(v string) *CreateTransitGatewayConnectPeerInput { + s.PeerAddress = &v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *CreateTransitGatewayConnectPeerInput) SetTagSpecifications(v []*TagSpecification) *CreateTransitGatewayConnectPeerInput { + s.TagSpecifications = v + return s +} + +// SetTransitGatewayAddress sets the TransitGatewayAddress field's value. +func (s *CreateTransitGatewayConnectPeerInput) SetTransitGatewayAddress(v string) *CreateTransitGatewayConnectPeerInput { + s.TransitGatewayAddress = &v + return s +} + +// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value. +func (s *CreateTransitGatewayConnectPeerInput) SetTransitGatewayAttachmentId(v string) *CreateTransitGatewayConnectPeerInput { + s.TransitGatewayAttachmentId = &v + return s +} + +type CreateTransitGatewayConnectPeerOutput struct { + _ struct{} `type:"structure"` + + // Information about the Connect peer. + TransitGatewayConnectPeer *TransitGatewayConnectPeer `locationName:"transitGatewayConnectPeer" type:"structure"` +} + +// String returns the string representation +func (s CreateTransitGatewayConnectPeerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTransitGatewayConnectPeerOutput) GoString() string { + return s.String() +} + +// SetTransitGatewayConnectPeer sets the TransitGatewayConnectPeer field's value. +func (s *CreateTransitGatewayConnectPeerOutput) SetTransitGatewayConnectPeer(v *TransitGatewayConnectPeer) *CreateTransitGatewayConnectPeerOutput { + s.TransitGatewayConnectPeer = v + return s +} + +// The options for a Connect attachment. +type CreateTransitGatewayConnectRequestOptions struct { + _ struct{} `type:"structure"` + + // The tunnel protocol. + // + // Protocol is a required field + Protocol *string `type:"string" required:"true" enum:"ProtocolValue"` +} + +// String returns the string representation +func (s CreateTransitGatewayConnectRequestOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTransitGatewayConnectRequestOptions) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateTransitGatewayConnectRequestOptions) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTransitGatewayConnectRequestOptions"} + if s.Protocol == nil { + invalidParams.Add(request.NewErrParamRequired("Protocol")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetProtocol sets the Protocol field's value. +func (s *CreateTransitGatewayConnectRequestOptions) SetProtocol(v string) *CreateTransitGatewayConnectRequestOptions { + s.Protocol = &v + return s +} + type CreateTransitGatewayInput struct { _ struct{} `type:"structure"` @@ -52218,6 +54474,9 @@ type CreateTransitGatewayMulticastDomainInput struct { // it is UnauthorizedOperation. DryRun *bool `type:"boolean"` + // The options for the transit gateway multicast domain. + Options *CreateTransitGatewayMulticastDomainRequestOptions `type:"structure"` + // The tags for the transit gateway multicast domain. TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` @@ -52256,6 +54515,12 @@ func (s *CreateTransitGatewayMulticastDomainInput) SetDryRun(v bool) *CreateTran return s } +// SetOptions sets the Options field's value. +func (s *CreateTransitGatewayMulticastDomainInput) SetOptions(v *CreateTransitGatewayMulticastDomainRequestOptions) *CreateTransitGatewayMulticastDomainInput { + s.Options = v + return s +} + // SetTagSpecifications sets the TagSpecifications field's value. func (s *CreateTransitGatewayMulticastDomainInput) SetTagSpecifications(v []*TagSpecification) *CreateTransitGatewayMulticastDomainInput { s.TagSpecifications = v @@ -52291,6 +54556,51 @@ func (s *CreateTransitGatewayMulticastDomainOutput) SetTransitGatewayMulticastDo return s } +// The options for the transit gateway multicast domain. +type CreateTransitGatewayMulticastDomainRequestOptions struct { + _ struct{} `type:"structure"` + + // Indicates whether to automatically accept cross-account subnet associations + // that are associated with the transit gateway multicast domain. + AutoAcceptSharedAssociations *string `type:"string" enum:"AutoAcceptSharedAssociationsValue"` + + // Specify whether to enable Internet Group Management Protocol (IGMP) version + // 2 for the transit gateway multicast domain. + Igmpv2Support *string `type:"string" enum:"Igmpv2SupportValue"` + + // Specify whether to enable support for statically configuring multicast group + // sources for a domain. + StaticSourcesSupport *string `type:"string" enum:"StaticSourcesSupportValue"` +} + +// String returns the string representation +func (s CreateTransitGatewayMulticastDomainRequestOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateTransitGatewayMulticastDomainRequestOptions) GoString() string { + return s.String() +} + +// SetAutoAcceptSharedAssociations sets the AutoAcceptSharedAssociations field's value. +func (s *CreateTransitGatewayMulticastDomainRequestOptions) SetAutoAcceptSharedAssociations(v string) *CreateTransitGatewayMulticastDomainRequestOptions { + s.AutoAcceptSharedAssociations = &v + return s +} + +// SetIgmpv2Support sets the Igmpv2Support field's value. +func (s *CreateTransitGatewayMulticastDomainRequestOptions) SetIgmpv2Support(v string) *CreateTransitGatewayMulticastDomainRequestOptions { + s.Igmpv2Support = &v + return s +} + +// SetStaticSourcesSupport sets the StaticSourcesSupport field's value. +func (s *CreateTransitGatewayMulticastDomainRequestOptions) SetStaticSourcesSupport(v string) *CreateTransitGatewayMulticastDomainRequestOptions { + s.StaticSourcesSupport = &v + return s +} + type CreateTransitGatewayOutput struct { _ struct{} `type:"structure"` @@ -52865,7 +55175,7 @@ type CreateTransitGatewayVpcAttachmentRequestOptions struct { // Enable or disable DNS support. The default is enable. DnsSupport *string `type:"string" enum:"DnsSupportValue"` - // Enable or disable IPv6 support. + // Enable or disable IPv6 support. The default is disable. Ipv6Support *string `type:"string" enum:"Ipv6SupportValue"` } @@ -55988,6 +58298,152 @@ func (s DeleteNetworkAclOutput) GoString() string { return s.String() } +type DeleteNetworkInsightsAnalysisInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The ID of the network insights analysis. + // + // NetworkInsightsAnalysisId is a required field + NetworkInsightsAnalysisId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteNetworkInsightsAnalysisInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNetworkInsightsAnalysisInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteNetworkInsightsAnalysisInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteNetworkInsightsAnalysisInput"} + if s.NetworkInsightsAnalysisId == nil { + invalidParams.Add(request.NewErrParamRequired("NetworkInsightsAnalysisId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteNetworkInsightsAnalysisInput) SetDryRun(v bool) *DeleteNetworkInsightsAnalysisInput { + s.DryRun = &v + return s +} + +// SetNetworkInsightsAnalysisId sets the NetworkInsightsAnalysisId field's value. +func (s *DeleteNetworkInsightsAnalysisInput) SetNetworkInsightsAnalysisId(v string) *DeleteNetworkInsightsAnalysisInput { + s.NetworkInsightsAnalysisId = &v + return s +} + +type DeleteNetworkInsightsAnalysisOutput struct { + _ struct{} `type:"structure"` + + // The ID of the network insights analysis. + NetworkInsightsAnalysisId *string `locationName:"networkInsightsAnalysisId" type:"string"` +} + +// String returns the string representation +func (s DeleteNetworkInsightsAnalysisOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNetworkInsightsAnalysisOutput) GoString() string { + return s.String() +} + +// SetNetworkInsightsAnalysisId sets the NetworkInsightsAnalysisId field's value. +func (s *DeleteNetworkInsightsAnalysisOutput) SetNetworkInsightsAnalysisId(v string) *DeleteNetworkInsightsAnalysisOutput { + s.NetworkInsightsAnalysisId = &v + return s +} + +type DeleteNetworkInsightsPathInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The ID of the path. + // + // NetworkInsightsPathId is a required field + NetworkInsightsPathId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteNetworkInsightsPathInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNetworkInsightsPathInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteNetworkInsightsPathInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteNetworkInsightsPathInput"} + if s.NetworkInsightsPathId == nil { + invalidParams.Add(request.NewErrParamRequired("NetworkInsightsPathId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteNetworkInsightsPathInput) SetDryRun(v bool) *DeleteNetworkInsightsPathInput { + s.DryRun = &v + return s +} + +// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value. +func (s *DeleteNetworkInsightsPathInput) SetNetworkInsightsPathId(v string) *DeleteNetworkInsightsPathInput { + s.NetworkInsightsPathId = &v + return s +} + +type DeleteNetworkInsightsPathOutput struct { + _ struct{} `type:"structure"` + + // The ID of the path. + NetworkInsightsPathId *string `locationName:"networkInsightsPathId" type:"string"` +} + +// String returns the string representation +func (s DeleteNetworkInsightsPathOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteNetworkInsightsPathOutput) GoString() string { + return s.String() +} + +// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value. +func (s *DeleteNetworkInsightsPathOutput) SetNetworkInsightsPathId(v string) *DeleteNetworkInsightsPathOutput { + s.NetworkInsightsPathId = &v + return s +} + // Contains the parameters for DeleteNetworkInterface. type DeleteNetworkInterfaceInput struct { _ struct{} `type:"structure"` @@ -57081,6 +59537,152 @@ func (s *DeleteTrafficMirrorTargetOutput) SetTrafficMirrorTargetId(v string) *De return s } +type DeleteTransitGatewayConnectInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The ID of the Connect attachment. + // + // TransitGatewayAttachmentId is a required field + TransitGatewayAttachmentId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteTransitGatewayConnectInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteTransitGatewayConnectInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTransitGatewayConnectInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTransitGatewayConnectInput"} + if s.TransitGatewayAttachmentId == nil { + invalidParams.Add(request.NewErrParamRequired("TransitGatewayAttachmentId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteTransitGatewayConnectInput) SetDryRun(v bool) *DeleteTransitGatewayConnectInput { + s.DryRun = &v + return s +} + +// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value. +func (s *DeleteTransitGatewayConnectInput) SetTransitGatewayAttachmentId(v string) *DeleteTransitGatewayConnectInput { + s.TransitGatewayAttachmentId = &v + return s +} + +type DeleteTransitGatewayConnectOutput struct { + _ struct{} `type:"structure"` + + // Information about the deleted Connect attachment. + TransitGatewayConnect *TransitGatewayConnect `locationName:"transitGatewayConnect" type:"structure"` +} + +// String returns the string representation +func (s DeleteTransitGatewayConnectOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteTransitGatewayConnectOutput) GoString() string { + return s.String() +} + +// SetTransitGatewayConnect sets the TransitGatewayConnect field's value. +func (s *DeleteTransitGatewayConnectOutput) SetTransitGatewayConnect(v *TransitGatewayConnect) *DeleteTransitGatewayConnectOutput { + s.TransitGatewayConnect = v + return s +} + +type DeleteTransitGatewayConnectPeerInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The ID of the Connect peer. + // + // TransitGatewayConnectPeerId is a required field + TransitGatewayConnectPeerId *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteTransitGatewayConnectPeerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteTransitGatewayConnectPeerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteTransitGatewayConnectPeerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteTransitGatewayConnectPeerInput"} + if s.TransitGatewayConnectPeerId == nil { + invalidParams.Add(request.NewErrParamRequired("TransitGatewayConnectPeerId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DeleteTransitGatewayConnectPeerInput) SetDryRun(v bool) *DeleteTransitGatewayConnectPeerInput { + s.DryRun = &v + return s +} + +// SetTransitGatewayConnectPeerId sets the TransitGatewayConnectPeerId field's value. +func (s *DeleteTransitGatewayConnectPeerInput) SetTransitGatewayConnectPeerId(v string) *DeleteTransitGatewayConnectPeerInput { + s.TransitGatewayConnectPeerId = &v + return s +} + +type DeleteTransitGatewayConnectPeerOutput struct { + _ struct{} `type:"structure"` + + // Information about the deleted Connect peer. + TransitGatewayConnectPeer *TransitGatewayConnectPeer `locationName:"transitGatewayConnectPeer" type:"structure"` +} + +// String returns the string representation +func (s DeleteTransitGatewayConnectPeerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteTransitGatewayConnectPeerOutput) GoString() string { + return s.String() +} + +// SetTransitGatewayConnectPeer sets the TransitGatewayConnectPeer field's value. +func (s *DeleteTransitGatewayConnectPeerOutput) SetTransitGatewayConnectPeer(v *TransitGatewayConnectPeer) *DeleteTransitGatewayConnectPeerOutput { + s.TransitGatewayConnectPeer = v + return s +} + type DeleteTransitGatewayInput struct { _ struct{} `type:"structure"` @@ -66301,6 +68903,267 @@ func (s *DescribeNetworkAclsOutput) SetNextToken(v string) *DescribeNetworkAclsO return s } +type DescribeNetworkInsightsAnalysesInput struct { + _ struct{} `type:"structure"` + + // The time when the network insights analyses ended. + AnalysisEndTime *time.Time `type:"timestamp"` + + // The time when the network insights analyses started. + AnalysisStartTime *time.Time `type:"timestamp"` + + // 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. + DryRun *bool `type:"boolean"` + + // The filters. The following are possible values: + // + // * PathFound - A Boolean value that indicates whether a feasible path is + // found. + // + // * Status - The status of the analysis (running | succeeded | failed). + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"1" type:"integer"` + + // The ID of the network insights analyses. You must specify either analysis + // IDs or a path ID. + NetworkInsightsAnalysisIds []*string `locationName:"NetworkInsightsAnalysisId" locationNameList:"item" type:"list"` + + // The ID of the path. You must specify either a path ID or analysis IDs. + NetworkInsightsPathId *string `type:"string"` + + // The token for the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s DescribeNetworkInsightsAnalysesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeNetworkInsightsAnalysesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeNetworkInsightsAnalysesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeNetworkInsightsAnalysesInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAnalysisEndTime sets the AnalysisEndTime field's value. +func (s *DescribeNetworkInsightsAnalysesInput) SetAnalysisEndTime(v time.Time) *DescribeNetworkInsightsAnalysesInput { + s.AnalysisEndTime = &v + return s +} + +// SetAnalysisStartTime sets the AnalysisStartTime field's value. +func (s *DescribeNetworkInsightsAnalysesInput) SetAnalysisStartTime(v time.Time) *DescribeNetworkInsightsAnalysesInput { + s.AnalysisStartTime = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeNetworkInsightsAnalysesInput) SetDryRun(v bool) *DescribeNetworkInsightsAnalysesInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeNetworkInsightsAnalysesInput) SetFilters(v []*Filter) *DescribeNetworkInsightsAnalysesInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeNetworkInsightsAnalysesInput) SetMaxResults(v int64) *DescribeNetworkInsightsAnalysesInput { + s.MaxResults = &v + return s +} + +// SetNetworkInsightsAnalysisIds sets the NetworkInsightsAnalysisIds field's value. +func (s *DescribeNetworkInsightsAnalysesInput) SetNetworkInsightsAnalysisIds(v []*string) *DescribeNetworkInsightsAnalysesInput { + s.NetworkInsightsAnalysisIds = v + return s +} + +// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value. +func (s *DescribeNetworkInsightsAnalysesInput) SetNetworkInsightsPathId(v string) *DescribeNetworkInsightsAnalysesInput { + s.NetworkInsightsPathId = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeNetworkInsightsAnalysesInput) SetNextToken(v string) *DescribeNetworkInsightsAnalysesInput { + s.NextToken = &v + return s +} + +type DescribeNetworkInsightsAnalysesOutput struct { + _ struct{} `type:"structure"` + + // Information about the network insights analyses. + NetworkInsightsAnalyses []*NetworkInsightsAnalysis `locationName:"networkInsightsAnalysisSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeNetworkInsightsAnalysesOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeNetworkInsightsAnalysesOutput) GoString() string { + return s.String() +} + +// SetNetworkInsightsAnalyses sets the NetworkInsightsAnalyses field's value. +func (s *DescribeNetworkInsightsAnalysesOutput) SetNetworkInsightsAnalyses(v []*NetworkInsightsAnalysis) *DescribeNetworkInsightsAnalysesOutput { + s.NetworkInsightsAnalyses = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeNetworkInsightsAnalysesOutput) SetNextToken(v string) *DescribeNetworkInsightsAnalysesOutput { + s.NextToken = &v + return s +} + +type DescribeNetworkInsightsPathsInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The filters. The following are possible values: + // + // * Destination - The ID of the resource. + // + // * DestinationPort - The destination port. + // + // * Name - The path name. + // + // * Protocol - The protocol. + // + // * Source - The ID of the resource. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"1" type:"integer"` + + // The IDs of the paths. + NetworkInsightsPathIds []*string `locationName:"NetworkInsightsPathId" locationNameList:"item" type:"list"` + + // The token for the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation +func (s DescribeNetworkInsightsPathsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeNetworkInsightsPathsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeNetworkInsightsPathsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeNetworkInsightsPathsInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeNetworkInsightsPathsInput) SetDryRun(v bool) *DescribeNetworkInsightsPathsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeNetworkInsightsPathsInput) SetFilters(v []*Filter) *DescribeNetworkInsightsPathsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeNetworkInsightsPathsInput) SetMaxResults(v int64) *DescribeNetworkInsightsPathsInput { + s.MaxResults = &v + return s +} + +// SetNetworkInsightsPathIds sets the NetworkInsightsPathIds field's value. +func (s *DescribeNetworkInsightsPathsInput) SetNetworkInsightsPathIds(v []*string) *DescribeNetworkInsightsPathsInput { + s.NetworkInsightsPathIds = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeNetworkInsightsPathsInput) SetNextToken(v string) *DescribeNetworkInsightsPathsInput { + s.NextToken = &v + return s +} + +type DescribeNetworkInsightsPathsOutput struct { + _ struct{} `type:"structure"` + + // Information about the paths. + NetworkInsightsPaths []*NetworkInsightsPath `locationName:"networkInsightsPathSet" locationNameList:"item" type:"list"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s DescribeNetworkInsightsPathsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeNetworkInsightsPathsOutput) GoString() string { + return s.String() +} + +// SetNetworkInsightsPaths sets the NetworkInsightsPaths field's value. +func (s *DescribeNetworkInsightsPathsOutput) SetNetworkInsightsPaths(v []*NetworkInsightsPath) *DescribeNetworkInsightsPathsOutput { + s.NetworkInsightsPaths = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeNetworkInsightsPathsOutput) SetNextToken(v string) *DescribeNetworkInsightsPathsOutput { + s.NextToken = &v + return s +} + // Contains the parameters for DescribeNetworkInterfaceAttribute. type DescribeNetworkInterfaceAttributeInput struct { _ struct{} `type:"structure"` @@ -70344,7 +73207,7 @@ type DescribeTransitGatewayAttachmentsInput struct { // * resource-owner-id - The ID of the AWS account that owns the resource. // // * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway - // | peering. + // | peering | connect. // // * state - The state of the attachment. Valid values are available | deleted // | deleting | failed | failing | initiatingRequest | modifying | pendingAcceptance @@ -70455,6 +73318,244 @@ func (s *DescribeTransitGatewayAttachmentsOutput) SetTransitGatewayAttachments(v return s } +type DescribeTransitGatewayConnectPeersInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // One or more filters. The possible values are: + // + // * state - The state of the Connect peer (pending | available | deleting + // | deleted). + // + // * transit-gateway-attachment-id - The ID of the attachment. + // + // * transit-gateway-connect-peer-id - The ID of the Connect peer. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"5" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The IDs of the Connect peers. + TransitGatewayConnectPeerIds []*string `locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DescribeTransitGatewayConnectPeersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeTransitGatewayConnectPeersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeTransitGatewayConnectPeersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeTransitGatewayConnectPeersInput"} + if s.MaxResults != nil && *s.MaxResults < 5 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeTransitGatewayConnectPeersInput) SetDryRun(v bool) *DescribeTransitGatewayConnectPeersInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeTransitGatewayConnectPeersInput) SetFilters(v []*Filter) *DescribeTransitGatewayConnectPeersInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeTransitGatewayConnectPeersInput) SetMaxResults(v int64) *DescribeTransitGatewayConnectPeersInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeTransitGatewayConnectPeersInput) SetNextToken(v string) *DescribeTransitGatewayConnectPeersInput { + s.NextToken = &v + return s +} + +// SetTransitGatewayConnectPeerIds sets the TransitGatewayConnectPeerIds field's value. +func (s *DescribeTransitGatewayConnectPeersInput) SetTransitGatewayConnectPeerIds(v []*string) *DescribeTransitGatewayConnectPeersInput { + s.TransitGatewayConnectPeerIds = v + return s +} + +type DescribeTransitGatewayConnectPeersOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // Information about the Connect peers. + TransitGatewayConnectPeers []*TransitGatewayConnectPeer `locationName:"transitGatewayConnectPeerSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DescribeTransitGatewayConnectPeersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeTransitGatewayConnectPeersOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeTransitGatewayConnectPeersOutput) SetNextToken(v string) *DescribeTransitGatewayConnectPeersOutput { + s.NextToken = &v + return s +} + +// SetTransitGatewayConnectPeers sets the TransitGatewayConnectPeers field's value. +func (s *DescribeTransitGatewayConnectPeersOutput) SetTransitGatewayConnectPeers(v []*TransitGatewayConnectPeer) *DescribeTransitGatewayConnectPeersOutput { + s.TransitGatewayConnectPeers = v + return s +} + +type DescribeTransitGatewayConnectsInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // One or more filters. The possible values are: + // + // * options.protocol - The tunnel protocol (gre). + // + // * state - The state of the attachment (initiating | initiatingRequest + // | pendingAcceptance | rollingBack | pending | available | modifying | + // deleting | deleted | failed | rejected | rejecting | failing). + // + // * transit-gateway-attachment-id - The ID of the Connect attachment. + // + // * transit-gateway-id - The ID of the transit gateway. + // + // * transport-transit-gateway-attachment-id - The ID of the transit gateway + // attachment from which the Connect attachment was created. + Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` + + // The maximum number of results to return with a single call. To retrieve the + // remaining results, make another call with the returned nextToken value. + MaxResults *int64 `min:"5" type:"integer"` + + // The token for the next page of results. + NextToken *string `type:"string"` + + // The IDs of the attachments. + TransitGatewayAttachmentIds []*string `type:"list"` +} + +// String returns the string representation +func (s DescribeTransitGatewayConnectsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeTransitGatewayConnectsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeTransitGatewayConnectsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeTransitGatewayConnectsInput"} + if s.MaxResults != nil && *s.MaxResults < 5 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 5)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDryRun sets the DryRun field's value. +func (s *DescribeTransitGatewayConnectsInput) SetDryRun(v bool) *DescribeTransitGatewayConnectsInput { + s.DryRun = &v + return s +} + +// SetFilters sets the Filters field's value. +func (s *DescribeTransitGatewayConnectsInput) SetFilters(v []*Filter) *DescribeTransitGatewayConnectsInput { + s.Filters = v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *DescribeTransitGatewayConnectsInput) SetMaxResults(v int64) *DescribeTransitGatewayConnectsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeTransitGatewayConnectsInput) SetNextToken(v string) *DescribeTransitGatewayConnectsInput { + s.NextToken = &v + return s +} + +// SetTransitGatewayAttachmentIds sets the TransitGatewayAttachmentIds field's value. +func (s *DescribeTransitGatewayConnectsInput) SetTransitGatewayAttachmentIds(v []*string) *DescribeTransitGatewayConnectsInput { + s.TransitGatewayAttachmentIds = v + return s +} + +type DescribeTransitGatewayConnectsOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. This value is null + // when there are no more results to return. + NextToken *string `locationName:"nextToken" type:"string"` + + // Information about the Connect attachments. + TransitGatewayConnects []*TransitGatewayConnect `locationName:"transitGatewayConnectSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s DescribeTransitGatewayConnectsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeTransitGatewayConnectsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *DescribeTransitGatewayConnectsOutput) SetNextToken(v string) *DescribeTransitGatewayConnectsOutput { + s.NextToken = &v + return s +} + +// SetTransitGatewayConnects sets the TransitGatewayConnects field's value. +func (s *DescribeTransitGatewayConnectsOutput) SetTransitGatewayConnects(v []*TransitGatewayConnect) *DescribeTransitGatewayConnectsOutput { + s.TransitGatewayConnects = v + return s +} + type DescribeTransitGatewayMulticastDomainsInput struct { _ struct{} `type:"structure"` @@ -76912,6 +80013,431 @@ func (s *EventInformation) SetInstanceId(v string) *EventInformation { return s } +// Describes an explanation code for an unreachable path. For more information, +// see Reachability Analyzer explanation codes (https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html). +type Explanation struct { + _ struct{} `type:"structure"` + + // The network ACL. + Acl *AnalysisComponent `locationName:"acl" type:"structure"` + + // The network ACL rule. + AclRule *AnalysisAclRule `locationName:"aclRule" type:"structure"` + + // The IPv4 address, in CIDR notation. + Address *string `locationName:"address" type:"string"` + + // The IPv4 addresses, in CIDR notation. + Addresses []*string `locationName:"addressSet" locationNameList:"item" type:"list"` + + // The resource to which the component is attached. + AttachedTo *AnalysisComponent `locationName:"attachedTo" type:"structure"` + + // The Availability Zones. + AvailabilityZones []*string `locationName:"availabilityZoneSet" locationNameList:"item" type:"list"` + + // The CIDR ranges. + Cidrs []*string `locationName:"cidrSet" locationNameList:"item" type:"list"` + + // The listener for a Classic Load Balancer. + ClassicLoadBalancerListener *AnalysisLoadBalancerListener `locationName:"classicLoadBalancerListener" type:"structure"` + + // The component. + Component *AnalysisComponent `locationName:"component" type:"structure"` + + // The customer gateway. + CustomerGateway *AnalysisComponent `locationName:"customerGateway" type:"structure"` + + // The destination. + Destination *AnalysisComponent `locationName:"destination" type:"structure"` + + // The destination VPC. + DestinationVpc *AnalysisComponent `locationName:"destinationVpc" type:"structure"` + + // The direction. The following are possible values: + // + // * egress + // + // * ingress + Direction *string `locationName:"direction" type:"string"` + + // The load balancer listener. + ElasticLoadBalancerListener *AnalysisComponent `locationName:"elasticLoadBalancerListener" type:"structure"` + + // The explanation code. + ExplanationCode *string `locationName:"explanationCode" type:"string"` + + // The route table. + IngressRouteTable *AnalysisComponent `locationName:"ingressRouteTable" type:"structure"` + + // The internet gateway. + InternetGateway *AnalysisComponent `locationName:"internetGateway" type:"structure"` + + // The Amazon Resource Name (ARN) of the load balancer. + LoadBalancerArn *string `locationName:"loadBalancerArn" min:"1" type:"string"` + + // The listener port of the load balancer. + LoadBalancerListenerPort *int64 `locationName:"loadBalancerListenerPort" min:"1" type:"integer"` + + // The target. + LoadBalancerTarget *AnalysisLoadBalancerTarget `locationName:"loadBalancerTarget" type:"structure"` + + // The target group. + LoadBalancerTargetGroup *AnalysisComponent `locationName:"loadBalancerTargetGroup" type:"structure"` + + // The target groups. + LoadBalancerTargetGroups []*AnalysisComponent `locationName:"loadBalancerTargetGroupSet" locationNameList:"item" type:"list"` + + // The target port. + LoadBalancerTargetPort *int64 `locationName:"loadBalancerTargetPort" min:"1" type:"integer"` + + // The missing component. + MissingComponent *string `locationName:"missingComponent" type:"string"` + + // The NAT gateway. + NatGateway *AnalysisComponent `locationName:"natGateway" type:"structure"` + + // The network interface. + NetworkInterface *AnalysisComponent `locationName:"networkInterface" type:"structure"` + + // The packet field. + PacketField *string `locationName:"packetField" type:"string"` + + // The port. + Port *int64 `locationName:"port" min:"1" type:"integer"` + + // The port ranges. + PortRanges []*PortRange `locationName:"portRangeSet" locationNameList:"item" type:"list"` + + // The prefix list. + PrefixList *AnalysisComponent `locationName:"prefixList" type:"structure"` + + // The protocols. + Protocols []*string `locationName:"protocolSet" locationNameList:"item" type:"list"` + + // The route table. + RouteTable *AnalysisComponent `locationName:"routeTable" type:"structure"` + + // The route table route. + RouteTableRoute *AnalysisRouteTableRoute `locationName:"routeTableRoute" type:"structure"` + + // The security group. + SecurityGroup *AnalysisComponent `locationName:"securityGroup" type:"structure"` + + // The security group rule. + SecurityGroupRule *AnalysisSecurityGroupRule `locationName:"securityGroupRule" type:"structure"` + + // The security groups. + SecurityGroups []*AnalysisComponent `locationName:"securityGroupSet" locationNameList:"item" type:"list"` + + // The source VPC. + SourceVpc *AnalysisComponent `locationName:"sourceVpc" type:"structure"` + + // The state. + State *string `locationName:"state" type:"string"` + + // The subnet. + Subnet *AnalysisComponent `locationName:"subnet" type:"structure"` + + // The route table for the subnet. + SubnetRouteTable *AnalysisComponent `locationName:"subnetRouteTable" type:"structure"` + + // The component VPC. + Vpc *AnalysisComponent `locationName:"vpc" type:"structure"` + + // The VPC endpoint. + VpcEndpoint *AnalysisComponent `locationName:"vpcEndpoint" type:"structure"` + + // The VPC peering connection. + VpcPeeringConnection *AnalysisComponent `locationName:"vpcPeeringConnection" type:"structure"` + + // The VPN connection. + VpnConnection *AnalysisComponent `locationName:"vpnConnection" type:"structure"` + + // The VPN gateway. + VpnGateway *AnalysisComponent `locationName:"vpnGateway" type:"structure"` +} + +// String returns the string representation +func (s Explanation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Explanation) GoString() string { + return s.String() +} + +// SetAcl sets the Acl field's value. +func (s *Explanation) SetAcl(v *AnalysisComponent) *Explanation { + s.Acl = v + return s +} + +// SetAclRule sets the AclRule field's value. +func (s *Explanation) SetAclRule(v *AnalysisAclRule) *Explanation { + s.AclRule = v + return s +} + +// SetAddress sets the Address field's value. +func (s *Explanation) SetAddress(v string) *Explanation { + s.Address = &v + return s +} + +// SetAddresses sets the Addresses field's value. +func (s *Explanation) SetAddresses(v []*string) *Explanation { + s.Addresses = v + return s +} + +// SetAttachedTo sets the AttachedTo field's value. +func (s *Explanation) SetAttachedTo(v *AnalysisComponent) *Explanation { + s.AttachedTo = v + return s +} + +// SetAvailabilityZones sets the AvailabilityZones field's value. +func (s *Explanation) SetAvailabilityZones(v []*string) *Explanation { + s.AvailabilityZones = v + return s +} + +// SetCidrs sets the Cidrs field's value. +func (s *Explanation) SetCidrs(v []*string) *Explanation { + s.Cidrs = v + return s +} + +// SetClassicLoadBalancerListener sets the ClassicLoadBalancerListener field's value. +func (s *Explanation) SetClassicLoadBalancerListener(v *AnalysisLoadBalancerListener) *Explanation { + s.ClassicLoadBalancerListener = v + return s +} + +// SetComponent sets the Component field's value. +func (s *Explanation) SetComponent(v *AnalysisComponent) *Explanation { + s.Component = v + return s +} + +// SetCustomerGateway sets the CustomerGateway field's value. +func (s *Explanation) SetCustomerGateway(v *AnalysisComponent) *Explanation { + s.CustomerGateway = v + return s +} + +// SetDestination sets the Destination field's value. +func (s *Explanation) SetDestination(v *AnalysisComponent) *Explanation { + s.Destination = v + return s +} + +// SetDestinationVpc sets the DestinationVpc field's value. +func (s *Explanation) SetDestinationVpc(v *AnalysisComponent) *Explanation { + s.DestinationVpc = v + return s +} + +// SetDirection sets the Direction field's value. +func (s *Explanation) SetDirection(v string) *Explanation { + s.Direction = &v + return s +} + +// SetElasticLoadBalancerListener sets the ElasticLoadBalancerListener field's value. +func (s *Explanation) SetElasticLoadBalancerListener(v *AnalysisComponent) *Explanation { + s.ElasticLoadBalancerListener = v + return s +} + +// SetExplanationCode sets the ExplanationCode field's value. +func (s *Explanation) SetExplanationCode(v string) *Explanation { + s.ExplanationCode = &v + return s +} + +// SetIngressRouteTable sets the IngressRouteTable field's value. +func (s *Explanation) SetIngressRouteTable(v *AnalysisComponent) *Explanation { + s.IngressRouteTable = v + return s +} + +// SetInternetGateway sets the InternetGateway field's value. +func (s *Explanation) SetInternetGateway(v *AnalysisComponent) *Explanation { + s.InternetGateway = v + return s +} + +// SetLoadBalancerArn sets the LoadBalancerArn field's value. +func (s *Explanation) SetLoadBalancerArn(v string) *Explanation { + s.LoadBalancerArn = &v + return s +} + +// SetLoadBalancerListenerPort sets the LoadBalancerListenerPort field's value. +func (s *Explanation) SetLoadBalancerListenerPort(v int64) *Explanation { + s.LoadBalancerListenerPort = &v + return s +} + +// SetLoadBalancerTarget sets the LoadBalancerTarget field's value. +func (s *Explanation) SetLoadBalancerTarget(v *AnalysisLoadBalancerTarget) *Explanation { + s.LoadBalancerTarget = v + return s +} + +// SetLoadBalancerTargetGroup sets the LoadBalancerTargetGroup field's value. +func (s *Explanation) SetLoadBalancerTargetGroup(v *AnalysisComponent) *Explanation { + s.LoadBalancerTargetGroup = v + return s +} + +// SetLoadBalancerTargetGroups sets the LoadBalancerTargetGroups field's value. +func (s *Explanation) SetLoadBalancerTargetGroups(v []*AnalysisComponent) *Explanation { + s.LoadBalancerTargetGroups = v + return s +} + +// SetLoadBalancerTargetPort sets the LoadBalancerTargetPort field's value. +func (s *Explanation) SetLoadBalancerTargetPort(v int64) *Explanation { + s.LoadBalancerTargetPort = &v + return s +} + +// SetMissingComponent sets the MissingComponent field's value. +func (s *Explanation) SetMissingComponent(v string) *Explanation { + s.MissingComponent = &v + return s +} + +// SetNatGateway sets the NatGateway field's value. +func (s *Explanation) SetNatGateway(v *AnalysisComponent) *Explanation { + s.NatGateway = v + return s +} + +// SetNetworkInterface sets the NetworkInterface field's value. +func (s *Explanation) SetNetworkInterface(v *AnalysisComponent) *Explanation { + s.NetworkInterface = v + return s +} + +// SetPacketField sets the PacketField field's value. +func (s *Explanation) SetPacketField(v string) *Explanation { + s.PacketField = &v + return s +} + +// SetPort sets the Port field's value. +func (s *Explanation) SetPort(v int64) *Explanation { + s.Port = &v + return s +} + +// SetPortRanges sets the PortRanges field's value. +func (s *Explanation) SetPortRanges(v []*PortRange) *Explanation { + s.PortRanges = v + return s +} + +// SetPrefixList sets the PrefixList field's value. +func (s *Explanation) SetPrefixList(v *AnalysisComponent) *Explanation { + s.PrefixList = v + return s +} + +// SetProtocols sets the Protocols field's value. +func (s *Explanation) SetProtocols(v []*string) *Explanation { + s.Protocols = v + return s +} + +// SetRouteTable sets the RouteTable field's value. +func (s *Explanation) SetRouteTable(v *AnalysisComponent) *Explanation { + s.RouteTable = v + return s +} + +// SetRouteTableRoute sets the RouteTableRoute field's value. +func (s *Explanation) SetRouteTableRoute(v *AnalysisRouteTableRoute) *Explanation { + s.RouteTableRoute = v + return s +} + +// SetSecurityGroup sets the SecurityGroup field's value. +func (s *Explanation) SetSecurityGroup(v *AnalysisComponent) *Explanation { + s.SecurityGroup = v + return s +} + +// SetSecurityGroupRule sets the SecurityGroupRule field's value. +func (s *Explanation) SetSecurityGroupRule(v *AnalysisSecurityGroupRule) *Explanation { + s.SecurityGroupRule = v + return s +} + +// SetSecurityGroups sets the SecurityGroups field's value. +func (s *Explanation) SetSecurityGroups(v []*AnalysisComponent) *Explanation { + s.SecurityGroups = v + return s +} + +// SetSourceVpc sets the SourceVpc field's value. +func (s *Explanation) SetSourceVpc(v *AnalysisComponent) *Explanation { + s.SourceVpc = v + return s +} + +// SetState sets the State field's value. +func (s *Explanation) SetState(v string) *Explanation { + s.State = &v + return s +} + +// SetSubnet sets the Subnet field's value. +func (s *Explanation) SetSubnet(v *AnalysisComponent) *Explanation { + s.Subnet = v + return s +} + +// SetSubnetRouteTable sets the SubnetRouteTable field's value. +func (s *Explanation) SetSubnetRouteTable(v *AnalysisComponent) *Explanation { + s.SubnetRouteTable = v + return s +} + +// SetVpc sets the Vpc field's value. +func (s *Explanation) SetVpc(v *AnalysisComponent) *Explanation { + s.Vpc = v + return s +} + +// SetVpcEndpoint sets the VpcEndpoint field's value. +func (s *Explanation) SetVpcEndpoint(v *AnalysisComponent) *Explanation { + s.VpcEndpoint = v + return s +} + +// SetVpcPeeringConnection sets the VpcPeeringConnection field's value. +func (s *Explanation) SetVpcPeeringConnection(v *AnalysisComponent) *Explanation { + s.VpcPeeringConnection = v + return s +} + +// SetVpnConnection sets the VpnConnection field's value. +func (s *Explanation) SetVpnConnection(v *AnalysisComponent) *Explanation { + s.VpnConnection = v + return s +} + +// SetVpnGateway sets the VpnGateway field's value. +func (s *Explanation) SetVpnGateway(v *AnalysisComponent) *Explanation { + s.VpnGateway = v + return s +} + type ExportClientVpnClientCertificateRevocationListInput struct { _ struct{} `type:"structure"` @@ -81166,7 +84692,7 @@ type GetTransitGatewayRouteTableAssociationsInput struct { // * resource-id - The ID of the resource. // // * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway - // | peering. + // | peering | connect. // // * transit-gateway-attachment-id - The ID of the attachment. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` @@ -81287,7 +84813,7 @@ type GetTransitGatewayRouteTablePropagationsInput struct { // * resource-id - The ID of the resource. // // * resource-type - The resource type. Valid values are vpc | vpn | direct-connect-gateway - // | peering. + // | peering | connect. // // * transit-gateway-attachment-id - The ID of the attachment. Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` @@ -93601,6 +97127,10 @@ func (s *ModifyTransitGatewayInput) SetTransitGatewayId(v string) *ModifyTransit type ModifyTransitGatewayOptions struct { _ struct{} `type:"structure"` + // Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 + // CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6. + AddTransitGatewayCidrBlocks []*string `locationNameList:"item" type:"list"` + // The ID of the default association route table. AssociationDefaultRouteTableId *string `type:"string"` @@ -93621,6 +97151,9 @@ type ModifyTransitGatewayOptions struct { // The ID of the default propagation route table. PropagationDefaultRouteTableId *string `type:"string"` + // Removes CIDR blocks for the transit gateway. + RemoveTransitGatewayCidrBlocks []*string `locationNameList:"item" type:"list"` + // Enable or disable Equal Cost Multipath Protocol support. VpnEcmpSupport *string `type:"string" enum:"VpnEcmpSupportValue"` } @@ -93635,6 +97168,12 @@ func (s ModifyTransitGatewayOptions) GoString() string { return s.String() } +// SetAddTransitGatewayCidrBlocks sets the AddTransitGatewayCidrBlocks field's value. +func (s *ModifyTransitGatewayOptions) SetAddTransitGatewayCidrBlocks(v []*string) *ModifyTransitGatewayOptions { + s.AddTransitGatewayCidrBlocks = v + return s +} + // SetAssociationDefaultRouteTableId sets the AssociationDefaultRouteTableId field's value. func (s *ModifyTransitGatewayOptions) SetAssociationDefaultRouteTableId(v string) *ModifyTransitGatewayOptions { s.AssociationDefaultRouteTableId = &v @@ -93671,6 +97210,12 @@ func (s *ModifyTransitGatewayOptions) SetPropagationDefaultRouteTableId(v string return s } +// SetRemoveTransitGatewayCidrBlocks sets the RemoveTransitGatewayCidrBlocks field's value. +func (s *ModifyTransitGatewayOptions) SetRemoveTransitGatewayCidrBlocks(v []*string) *ModifyTransitGatewayOptions { + s.RemoveTransitGatewayCidrBlocks = v + return s +} + // SetVpnEcmpSupport sets the VpnEcmpSupport field's value. func (s *ModifyTransitGatewayOptions) SetVpnEcmpSupport(v string) *ModifyTransitGatewayOptions { s.VpnEcmpSupport = &v @@ -96372,6 +99917,244 @@ func (s *NetworkInfo) SetNetworkPerformance(v string) *NetworkInfo { return s } +// Describes a network insights analysis. +type NetworkInsightsAnalysis struct { + _ struct{} `type:"structure"` + + // Potential intermediate components. + AlternatePathHints []*AlternatePathHint `locationName:"alternatePathHintSet" locationNameList:"item" type:"list"` + + // The explanations. For more information, see Reachability Analyzer explanation + // codes (https://docs.aws.amazon.com/vpc/latest/reachability/explanation-codes.html). + Explanations []*Explanation `locationName:"explanationSet" locationNameList:"item" type:"list"` + + // The Amazon Resource Names (ARN) of the AWS resources that the path must traverse. + FilterInArns []*string `locationName:"filterInArnSet" locationNameList:"item" type:"list"` + + // The components in the path from source to destination. + ForwardPathComponents []*PathComponent `locationName:"forwardPathComponentSet" locationNameList:"item" type:"list"` + + // The Amazon Resource Name (ARN) of the network insights analysis. + NetworkInsightsAnalysisArn *string `locationName:"networkInsightsAnalysisArn" min:"1" type:"string"` + + // The ID of the network insights analysis. + NetworkInsightsAnalysisId *string `locationName:"networkInsightsAnalysisId" type:"string"` + + // The ID of the path. + NetworkInsightsPathId *string `locationName:"networkInsightsPathId" type:"string"` + + // Indicates whether the destination is reachable from the source. + NetworkPathFound *bool `locationName:"networkPathFound" type:"boolean"` + + // The components in the path from destination to source. + ReturnPathComponents []*PathComponent `locationName:"returnPathComponentSet" locationNameList:"item" type:"list"` + + // The time the analysis started. + StartDate *time.Time `locationName:"startDate" type:"timestamp"` + + // The status of the network insights analysis. + Status *string `locationName:"status" type:"string" enum:"AnalysisStatus"` + + // The status message, if the status is failed. + StatusMessage *string `locationName:"statusMessage" type:"string"` + + // The tags. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s NetworkInsightsAnalysis) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkInsightsAnalysis) GoString() string { + return s.String() +} + +// SetAlternatePathHints sets the AlternatePathHints field's value. +func (s *NetworkInsightsAnalysis) SetAlternatePathHints(v []*AlternatePathHint) *NetworkInsightsAnalysis { + s.AlternatePathHints = v + return s +} + +// SetExplanations sets the Explanations field's value. +func (s *NetworkInsightsAnalysis) SetExplanations(v []*Explanation) *NetworkInsightsAnalysis { + s.Explanations = v + return s +} + +// SetFilterInArns sets the FilterInArns field's value. +func (s *NetworkInsightsAnalysis) SetFilterInArns(v []*string) *NetworkInsightsAnalysis { + s.FilterInArns = v + return s +} + +// SetForwardPathComponents sets the ForwardPathComponents field's value. +func (s *NetworkInsightsAnalysis) SetForwardPathComponents(v []*PathComponent) *NetworkInsightsAnalysis { + s.ForwardPathComponents = v + return s +} + +// SetNetworkInsightsAnalysisArn sets the NetworkInsightsAnalysisArn field's value. +func (s *NetworkInsightsAnalysis) SetNetworkInsightsAnalysisArn(v string) *NetworkInsightsAnalysis { + s.NetworkInsightsAnalysisArn = &v + return s +} + +// SetNetworkInsightsAnalysisId sets the NetworkInsightsAnalysisId field's value. +func (s *NetworkInsightsAnalysis) SetNetworkInsightsAnalysisId(v string) *NetworkInsightsAnalysis { + s.NetworkInsightsAnalysisId = &v + return s +} + +// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value. +func (s *NetworkInsightsAnalysis) SetNetworkInsightsPathId(v string) *NetworkInsightsAnalysis { + s.NetworkInsightsPathId = &v + return s +} + +// SetNetworkPathFound sets the NetworkPathFound field's value. +func (s *NetworkInsightsAnalysis) SetNetworkPathFound(v bool) *NetworkInsightsAnalysis { + s.NetworkPathFound = &v + return s +} + +// SetReturnPathComponents sets the ReturnPathComponents field's value. +func (s *NetworkInsightsAnalysis) SetReturnPathComponents(v []*PathComponent) *NetworkInsightsAnalysis { + s.ReturnPathComponents = v + return s +} + +// SetStartDate sets the StartDate field's value. +func (s *NetworkInsightsAnalysis) SetStartDate(v time.Time) *NetworkInsightsAnalysis { + s.StartDate = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *NetworkInsightsAnalysis) SetStatus(v string) *NetworkInsightsAnalysis { + s.Status = &v + return s +} + +// SetStatusMessage sets the StatusMessage field's value. +func (s *NetworkInsightsAnalysis) SetStatusMessage(v string) *NetworkInsightsAnalysis { + s.StatusMessage = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *NetworkInsightsAnalysis) SetTags(v []*Tag) *NetworkInsightsAnalysis { + s.Tags = v + return s +} + +// Describes a path. +type NetworkInsightsPath struct { + _ struct{} `type:"structure"` + + // The time stamp when the path was created. + CreatedDate *time.Time `locationName:"createdDate" type:"timestamp"` + + // The AWS resource that is the destination of the path. + Destination *string `locationName:"destination" type:"string"` + + // The IP address of the AWS resource that is the destination of the path. + DestinationIp *string `locationName:"destinationIp" type:"string"` + + // The destination port. + DestinationPort *int64 `locationName:"destinationPort" type:"integer"` + + // The Amazon Resource Name (ARN) of the path. + NetworkInsightsPathArn *string `locationName:"networkInsightsPathArn" min:"1" type:"string"` + + // The ID of the path. + NetworkInsightsPathId *string `locationName:"networkInsightsPathId" type:"string"` + + // The protocol. + Protocol *string `locationName:"protocol" type:"string" enum:"Protocol"` + + // The AWS resource that is the source of the path. + Source *string `locationName:"source" type:"string"` + + // The IP address of the AWS resource that is the source of the path. + SourceIp *string `locationName:"sourceIp" type:"string"` + + // The tags associated with the path. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s NetworkInsightsPath) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s NetworkInsightsPath) GoString() string { + return s.String() +} + +// SetCreatedDate sets the CreatedDate field's value. +func (s *NetworkInsightsPath) SetCreatedDate(v time.Time) *NetworkInsightsPath { + s.CreatedDate = &v + return s +} + +// SetDestination sets the Destination field's value. +func (s *NetworkInsightsPath) SetDestination(v string) *NetworkInsightsPath { + s.Destination = &v + return s +} + +// SetDestinationIp sets the DestinationIp field's value. +func (s *NetworkInsightsPath) SetDestinationIp(v string) *NetworkInsightsPath { + s.DestinationIp = &v + return s +} + +// SetDestinationPort sets the DestinationPort field's value. +func (s *NetworkInsightsPath) SetDestinationPort(v int64) *NetworkInsightsPath { + s.DestinationPort = &v + return s +} + +// SetNetworkInsightsPathArn sets the NetworkInsightsPathArn field's value. +func (s *NetworkInsightsPath) SetNetworkInsightsPathArn(v string) *NetworkInsightsPath { + s.NetworkInsightsPathArn = &v + return s +} + +// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value. +func (s *NetworkInsightsPath) SetNetworkInsightsPathId(v string) *NetworkInsightsPath { + s.NetworkInsightsPathId = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *NetworkInsightsPath) SetProtocol(v string) *NetworkInsightsPath { + s.Protocol = &v + return s +} + +// SetSource sets the Source field's value. +func (s *NetworkInsightsPath) SetSource(v string) *NetworkInsightsPath { + s.Source = &v + return s +} + +// SetSourceIp sets the SourceIp field's value. +func (s *NetworkInsightsPath) SetSourceIp(v string) *NetworkInsightsPath { + s.SourceIp = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *NetworkInsightsPath) SetTags(v []*Tag) *NetworkInsightsPath { + s.Tags = v + return s +} + // Describes a network interface. type NetworkInterface struct { _ struct{} `type:"structure"` @@ -97148,6 +100931,120 @@ func (s *OnDemandOptionsRequest) SetSingleInstanceType(v bool) *OnDemandOptionsR return s } +// Describes a path component. +type PathComponent struct { + _ struct{} `type:"structure"` + + // The network ACL rule. + AclRule *AnalysisAclRule `locationName:"aclRule" type:"structure"` + + // The component. + Component *AnalysisComponent `locationName:"component" type:"structure"` + + // The destination VPC. + DestinationVpc *AnalysisComponent `locationName:"destinationVpc" type:"structure"` + + // The inbound header. + InboundHeader *AnalysisPacketHeader `locationName:"inboundHeader" type:"structure"` + + // The outbound header. + OutboundHeader *AnalysisPacketHeader `locationName:"outboundHeader" type:"structure"` + + // The route table route. + RouteTableRoute *AnalysisRouteTableRoute `locationName:"routeTableRoute" type:"structure"` + + // The security group rule. + SecurityGroupRule *AnalysisSecurityGroupRule `locationName:"securityGroupRule" type:"structure"` + + // The sequence number. + SequenceNumber *int64 `locationName:"sequenceNumber" type:"integer"` + + // The source VPC. + SourceVpc *AnalysisComponent `locationName:"sourceVpc" type:"structure"` + + // The subnet. + Subnet *AnalysisComponent `locationName:"subnet" type:"structure"` + + // The component VPC. + Vpc *AnalysisComponent `locationName:"vpc" type:"structure"` +} + +// String returns the string representation +func (s PathComponent) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s PathComponent) GoString() string { + return s.String() +} + +// SetAclRule sets the AclRule field's value. +func (s *PathComponent) SetAclRule(v *AnalysisAclRule) *PathComponent { + s.AclRule = v + return s +} + +// SetComponent sets the Component field's value. +func (s *PathComponent) SetComponent(v *AnalysisComponent) *PathComponent { + s.Component = v + return s +} + +// SetDestinationVpc sets the DestinationVpc field's value. +func (s *PathComponent) SetDestinationVpc(v *AnalysisComponent) *PathComponent { + s.DestinationVpc = v + return s +} + +// SetInboundHeader sets the InboundHeader field's value. +func (s *PathComponent) SetInboundHeader(v *AnalysisPacketHeader) *PathComponent { + s.InboundHeader = v + return s +} + +// SetOutboundHeader sets the OutboundHeader field's value. +func (s *PathComponent) SetOutboundHeader(v *AnalysisPacketHeader) *PathComponent { + s.OutboundHeader = v + return s +} + +// SetRouteTableRoute sets the RouteTableRoute field's value. +func (s *PathComponent) SetRouteTableRoute(v *AnalysisRouteTableRoute) *PathComponent { + s.RouteTableRoute = v + return s +} + +// SetSecurityGroupRule sets the SecurityGroupRule field's value. +func (s *PathComponent) SetSecurityGroupRule(v *AnalysisSecurityGroupRule) *PathComponent { + s.SecurityGroupRule = v + return s +} + +// SetSequenceNumber sets the SequenceNumber field's value. +func (s *PathComponent) SetSequenceNumber(v int64) *PathComponent { + s.SequenceNumber = &v + return s +} + +// SetSourceVpc sets the SourceVpc field's value. +func (s *PathComponent) SetSourceVpc(v *AnalysisComponent) *PathComponent { + s.SourceVpc = v + return s +} + +// SetSubnet sets the Subnet field's value. +func (s *PathComponent) SetSubnet(v *AnalysisComponent) *PathComponent { + s.Subnet = v + return s +} + +// SetVpc sets the Vpc field's value. +func (s *PathComponent) SetVpc(v *AnalysisComponent) *PathComponent { + s.Vpc = v + return s +} + // Describes the data that identifies an Amazon FPGA image (AFI) on the PCI // bus. type PciId struct { @@ -99885,6 +103782,82 @@ func (s *RegisterTransitGatewayMulticastGroupSourcesOutput) SetRegisteredMultica return s } +type RejectTransitGatewayMulticastDomainAssociationsInput struct { + _ struct{} `type:"structure"` + + // 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. + DryRun *bool `type:"boolean"` + + // The IDs of the subnets to associate with the transit gateway multicast domain. + SubnetIds []*string `locationNameList:"item" type:"list"` + + // The ID of the transit gateway attachment. + TransitGatewayAttachmentId *string `type:"string"` + + // The ID of the transit gateway multicast domain. + TransitGatewayMulticastDomainId *string `type:"string"` +} + +// String returns the string representation +func (s RejectTransitGatewayMulticastDomainAssociationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectTransitGatewayMulticastDomainAssociationsInput) GoString() string { + return s.String() +} + +// SetDryRun sets the DryRun field's value. +func (s *RejectTransitGatewayMulticastDomainAssociationsInput) SetDryRun(v bool) *RejectTransitGatewayMulticastDomainAssociationsInput { + s.DryRun = &v + return s +} + +// SetSubnetIds sets the SubnetIds field's value. +func (s *RejectTransitGatewayMulticastDomainAssociationsInput) SetSubnetIds(v []*string) *RejectTransitGatewayMulticastDomainAssociationsInput { + s.SubnetIds = v + return s +} + +// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value. +func (s *RejectTransitGatewayMulticastDomainAssociationsInput) SetTransitGatewayAttachmentId(v string) *RejectTransitGatewayMulticastDomainAssociationsInput { + s.TransitGatewayAttachmentId = &v + return s +} + +// SetTransitGatewayMulticastDomainId sets the TransitGatewayMulticastDomainId field's value. +func (s *RejectTransitGatewayMulticastDomainAssociationsInput) SetTransitGatewayMulticastDomainId(v string) *RejectTransitGatewayMulticastDomainAssociationsInput { + s.TransitGatewayMulticastDomainId = &v + return s +} + +type RejectTransitGatewayMulticastDomainAssociationsOutput struct { + _ struct{} `type:"structure"` + + // Describes the multicast domain associations. + Associations *TransitGatewayMulticastDomainAssociations `locationName:"associations" type:"structure"` +} + +// String returns the string representation +func (s RejectTransitGatewayMulticastDomainAssociationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RejectTransitGatewayMulticastDomainAssociationsOutput) GoString() string { + return s.String() +} + +// SetAssociations sets the Associations field's value. +func (s *RejectTransitGatewayMulticastDomainAssociationsOutput) SetAssociations(v *TransitGatewayMulticastDomainAssociations) *RejectTransitGatewayMulticastDomainAssociationsOutput { + s.Associations = v + return s +} + type RejectTransitGatewayPeeringAttachmentInput struct { _ struct{} `type:"structure"` @@ -106633,7 +110606,7 @@ type SearchTransitGatewayRoutesInput struct { // * attachment.resource-id - The resource id of the transit gateway attachment. // // * attachment.resource-type - The attachment resource type. Valid values - // are vpc | vpn | direct-connect-gateway | peering. + // are vpc | vpn | direct-connect-gateway | peering | connect. // // * prefix-list-id - The ID of the prefix list. // @@ -109625,6 +113598,107 @@ func (s *StartInstancesOutput) SetStartingInstances(v []*InstanceStateChange) *S return s } +type StartNetworkInsightsAnalysisInput struct { + _ struct{} `type:"structure"` + + // Unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // 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. + DryRun *bool `type:"boolean"` + + // The Amazon Resource Names (ARN) of the resources that the path must traverse. + FilterInArns []*string `locationName:"FilterInArn" locationNameList:"item" type:"list"` + + // The ID of the path. + // + // NetworkInsightsPathId is a required field + NetworkInsightsPathId *string `type:"string" required:"true"` + + // The tags to apply. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` +} + +// String returns the string representation +func (s StartNetworkInsightsAnalysisInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartNetworkInsightsAnalysisInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartNetworkInsightsAnalysisInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartNetworkInsightsAnalysisInput"} + if s.NetworkInsightsPathId == nil { + invalidParams.Add(request.NewErrParamRequired("NetworkInsightsPathId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *StartNetworkInsightsAnalysisInput) SetClientToken(v string) *StartNetworkInsightsAnalysisInput { + s.ClientToken = &v + return s +} + +// SetDryRun sets the DryRun field's value. +func (s *StartNetworkInsightsAnalysisInput) SetDryRun(v bool) *StartNetworkInsightsAnalysisInput { + s.DryRun = &v + return s +} + +// SetFilterInArns sets the FilterInArns field's value. +func (s *StartNetworkInsightsAnalysisInput) SetFilterInArns(v []*string) *StartNetworkInsightsAnalysisInput { + s.FilterInArns = v + return s +} + +// SetNetworkInsightsPathId sets the NetworkInsightsPathId field's value. +func (s *StartNetworkInsightsAnalysisInput) SetNetworkInsightsPathId(v string) *StartNetworkInsightsAnalysisInput { + s.NetworkInsightsPathId = &v + return s +} + +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *StartNetworkInsightsAnalysisInput) SetTagSpecifications(v []*TagSpecification) *StartNetworkInsightsAnalysisInput { + s.TagSpecifications = v + return s +} + +type StartNetworkInsightsAnalysisOutput struct { + _ struct{} `type:"structure"` + + // Information about the network insights analysis. + NetworkInsightsAnalysis *NetworkInsightsAnalysis `locationName:"networkInsightsAnalysis" type:"structure"` +} + +// String returns the string representation +func (s StartNetworkInsightsAnalysisOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s StartNetworkInsightsAnalysisOutput) GoString() string { + return s.String() +} + +// SetNetworkInsightsAnalysis sets the NetworkInsightsAnalysis field's value. +func (s *StartNetworkInsightsAnalysisOutput) SetNetworkInsightsAnalysis(v *NetworkInsightsAnalysis) *StartNetworkInsightsAnalysisOutput { + s.NetworkInsightsAnalysis = v + return s +} + type StartVpcEndpointServicePrivateDnsVerificationInput struct { _ struct{} `type:"structure"` @@ -110354,15 +114428,16 @@ type TagSpecification struct { // The type of resource to tag. Currently, the resource types that support tagging // on creation are: capacity-reservation | carrier-gateway | client-vpn-endpoint // | customer-gateway | dedicated-host | dhcp-options | export-image-task | - // export-instance-task | fleet | fpga-image | host-reservation | image| import-image-task + // export-instance-task | fleet | fpga-image | host-reservation | import-image-task // | import-snapshot-task | instance | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 // | key-pair | launch-template | placement-group | prefix-list | natgateway - // | network-acl | route-table | security-group| snapshot | spot-fleet-request - // | spot-instances-request | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session - // | traffic-mirror-target | transit-gateway | transit-gateway-attachment | - // transit-gateway-route-table | volume |vpc | vpc-peering-connection | vpc-endpoint - // (for interface and gateway endpoints) | vpc-endpoint-service (for AWS PrivateLink) - // | vpc-flow-log | vpn-connection | vpn-gateway. + // | network-acl | route-table | security-group | spot-fleet-request | spot-instances-request + // | snapshot | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target + // | transit-gateway | transit-gateway-attachment | transit-gateway-connect-peer + // | transit-gateway-multicast-domain | transit-gateway-route-table | volume + // |vpc | vpc-peering-connection | vpc-endpoint (for interface and gateway endpoints) + // | vpc-endpoint-service (for AWS PrivateLink) | vpc-flow-log | vpn-connection + // | vpn-gateway. // // To tag a resource after it has been created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` @@ -111751,6 +115826,66 @@ func (s *TransitGatewayAttachmentAssociation) SetTransitGatewayRouteTableId(v st return s } +// The BGP configuration information. +type TransitGatewayAttachmentBgpConfiguration struct { + _ struct{} `type:"structure"` + + // The BGP status. + BgpStatus *string `locationName:"bgpStatus" type:"string" enum:"BgpStatus"` + + // The interior BGP peer IP address for the appliance. + PeerAddress *string `locationName:"peerAddress" type:"string"` + + // The peer Autonomous System Number (ASN). + PeerAsn *int64 `locationName:"peerAsn" type:"long"` + + // The interior BGP peer IP address for the transit gateway. + TransitGatewayAddress *string `locationName:"transitGatewayAddress" type:"string"` + + // The transit gateway Autonomous System Number (ASN). + TransitGatewayAsn *int64 `locationName:"transitGatewayAsn" type:"long"` +} + +// String returns the string representation +func (s TransitGatewayAttachmentBgpConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransitGatewayAttachmentBgpConfiguration) GoString() string { + return s.String() +} + +// SetBgpStatus sets the BgpStatus field's value. +func (s *TransitGatewayAttachmentBgpConfiguration) SetBgpStatus(v string) *TransitGatewayAttachmentBgpConfiguration { + s.BgpStatus = &v + return s +} + +// SetPeerAddress sets the PeerAddress field's value. +func (s *TransitGatewayAttachmentBgpConfiguration) SetPeerAddress(v string) *TransitGatewayAttachmentBgpConfiguration { + s.PeerAddress = &v + return s +} + +// SetPeerAsn sets the PeerAsn field's value. +func (s *TransitGatewayAttachmentBgpConfiguration) SetPeerAsn(v int64) *TransitGatewayAttachmentBgpConfiguration { + s.PeerAsn = &v + return s +} + +// SetTransitGatewayAddress sets the TransitGatewayAddress field's value. +func (s *TransitGatewayAttachmentBgpConfiguration) SetTransitGatewayAddress(v string) *TransitGatewayAttachmentBgpConfiguration { + s.TransitGatewayAddress = &v + return s +} + +// SetTransitGatewayAsn sets the TransitGatewayAsn field's value. +func (s *TransitGatewayAttachmentBgpConfiguration) SetTransitGatewayAsn(v int64) *TransitGatewayAttachmentBgpConfiguration { + s.TransitGatewayAsn = &v + return s +} + // Describes a propagation route table. type TransitGatewayAttachmentPropagation struct { _ struct{} `type:"structure"` @@ -111784,6 +115919,261 @@ func (s *TransitGatewayAttachmentPropagation) SetTransitGatewayRouteTableId(v st return s } +// Describes a transit gateway Connect attachment. +type TransitGatewayConnect struct { + _ struct{} `type:"structure"` + + // The creation time. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` + + // The Connect attachment options. + Options *TransitGatewayConnectOptions `locationName:"options" type:"structure"` + + // The state of the attachment. + State *string `locationName:"state" type:"string" enum:"TransitGatewayAttachmentState"` + + // The tags for the attachment. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + + // The ID of the Connect attachment. + TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"` + + // The ID of the transit gateway. + TransitGatewayId *string `locationName:"transitGatewayId" type:"string"` + + // The ID of the attachment from which the Connect attachment was created. + TransportTransitGatewayAttachmentId *string `locationName:"transportTransitGatewayAttachmentId" type:"string"` +} + +// String returns the string representation +func (s TransitGatewayConnect) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransitGatewayConnect) GoString() string { + return s.String() +} + +// SetCreationTime sets the CreationTime field's value. +func (s *TransitGatewayConnect) SetCreationTime(v time.Time) *TransitGatewayConnect { + s.CreationTime = &v + return s +} + +// SetOptions sets the Options field's value. +func (s *TransitGatewayConnect) SetOptions(v *TransitGatewayConnectOptions) *TransitGatewayConnect { + s.Options = v + return s +} + +// SetState sets the State field's value. +func (s *TransitGatewayConnect) SetState(v string) *TransitGatewayConnect { + s.State = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *TransitGatewayConnect) SetTags(v []*Tag) *TransitGatewayConnect { + s.Tags = v + return s +} + +// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value. +func (s *TransitGatewayConnect) SetTransitGatewayAttachmentId(v string) *TransitGatewayConnect { + s.TransitGatewayAttachmentId = &v + return s +} + +// SetTransitGatewayId sets the TransitGatewayId field's value. +func (s *TransitGatewayConnect) SetTransitGatewayId(v string) *TransitGatewayConnect { + s.TransitGatewayId = &v + return s +} + +// SetTransportTransitGatewayAttachmentId sets the TransportTransitGatewayAttachmentId field's value. +func (s *TransitGatewayConnect) SetTransportTransitGatewayAttachmentId(v string) *TransitGatewayConnect { + s.TransportTransitGatewayAttachmentId = &v + return s +} + +// Describes the Connect attachment options. +type TransitGatewayConnectOptions struct { + _ struct{} `type:"structure"` + + // The tunnel protocol. + Protocol *string `locationName:"protocol" type:"string" enum:"ProtocolValue"` +} + +// String returns the string representation +func (s TransitGatewayConnectOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransitGatewayConnectOptions) GoString() string { + return s.String() +} + +// SetProtocol sets the Protocol field's value. +func (s *TransitGatewayConnectOptions) SetProtocol(v string) *TransitGatewayConnectOptions { + s.Protocol = &v + return s +} + +// Describes a transit gateway Connect peer. +type TransitGatewayConnectPeer struct { + _ struct{} `type:"structure"` + + // The Connect peer details. + ConnectPeerConfiguration *TransitGatewayConnectPeerConfiguration `locationName:"connectPeerConfiguration" type:"structure"` + + // The creation time. + CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` + + // The state of the Connect peer. + State *string `locationName:"state" type:"string" enum:"TransitGatewayConnectPeerState"` + + // The tags for the Connect peer. + Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` + + // The ID of the Connect attachment. + TransitGatewayAttachmentId *string `locationName:"transitGatewayAttachmentId" type:"string"` + + // The ID of the Connect peer. + TransitGatewayConnectPeerId *string `locationName:"transitGatewayConnectPeerId" type:"string"` +} + +// String returns the string representation +func (s TransitGatewayConnectPeer) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransitGatewayConnectPeer) GoString() string { + return s.String() +} + +// SetConnectPeerConfiguration sets the ConnectPeerConfiguration field's value. +func (s *TransitGatewayConnectPeer) SetConnectPeerConfiguration(v *TransitGatewayConnectPeerConfiguration) *TransitGatewayConnectPeer { + s.ConnectPeerConfiguration = v + return s +} + +// SetCreationTime sets the CreationTime field's value. +func (s *TransitGatewayConnectPeer) SetCreationTime(v time.Time) *TransitGatewayConnectPeer { + s.CreationTime = &v + return s +} + +// SetState sets the State field's value. +func (s *TransitGatewayConnectPeer) SetState(v string) *TransitGatewayConnectPeer { + s.State = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *TransitGatewayConnectPeer) SetTags(v []*Tag) *TransitGatewayConnectPeer { + s.Tags = v + return s +} + +// SetTransitGatewayAttachmentId sets the TransitGatewayAttachmentId field's value. +func (s *TransitGatewayConnectPeer) SetTransitGatewayAttachmentId(v string) *TransitGatewayConnectPeer { + s.TransitGatewayAttachmentId = &v + return s +} + +// SetTransitGatewayConnectPeerId sets the TransitGatewayConnectPeerId field's value. +func (s *TransitGatewayConnectPeer) SetTransitGatewayConnectPeerId(v string) *TransitGatewayConnectPeer { + s.TransitGatewayConnectPeerId = &v + return s +} + +// Describes the Connect peer details. +type TransitGatewayConnectPeerConfiguration struct { + _ struct{} `type:"structure"` + + // The BGP configuration details. + BgpConfigurations []*TransitGatewayAttachmentBgpConfiguration `locationName:"bgpConfigurations" locationNameList:"item" type:"list"` + + // The range of interior BGP peer IP addresses. + InsideCidrBlocks []*string `locationName:"insideCidrBlocks" locationNameList:"item" type:"list"` + + // The Connect peer IP address on the appliance side of the tunnel. + PeerAddress *string `locationName:"peerAddress" type:"string"` + + // The tunnel protocol. + Protocol *string `locationName:"protocol" type:"string" enum:"ProtocolValue"` + + // The Connect peer IP address on the transit gateway side of the tunnel. + TransitGatewayAddress *string `locationName:"transitGatewayAddress" type:"string"` +} + +// String returns the string representation +func (s TransitGatewayConnectPeerConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransitGatewayConnectPeerConfiguration) GoString() string { + return s.String() +} + +// SetBgpConfigurations sets the BgpConfigurations field's value. +func (s *TransitGatewayConnectPeerConfiguration) SetBgpConfigurations(v []*TransitGatewayAttachmentBgpConfiguration) *TransitGatewayConnectPeerConfiguration { + s.BgpConfigurations = v + return s +} + +// SetInsideCidrBlocks sets the InsideCidrBlocks field's value. +func (s *TransitGatewayConnectPeerConfiguration) SetInsideCidrBlocks(v []*string) *TransitGatewayConnectPeerConfiguration { + s.InsideCidrBlocks = v + return s +} + +// SetPeerAddress sets the PeerAddress field's value. +func (s *TransitGatewayConnectPeerConfiguration) SetPeerAddress(v string) *TransitGatewayConnectPeerConfiguration { + s.PeerAddress = &v + return s +} + +// SetProtocol sets the Protocol field's value. +func (s *TransitGatewayConnectPeerConfiguration) SetProtocol(v string) *TransitGatewayConnectPeerConfiguration { + s.Protocol = &v + return s +} + +// SetTransitGatewayAddress sets the TransitGatewayAddress field's value. +func (s *TransitGatewayConnectPeerConfiguration) SetTransitGatewayAddress(v string) *TransitGatewayConnectPeerConfiguration { + s.TransitGatewayAddress = &v + return s +} + +// The BGP options for the Connect attachment. +type TransitGatewayConnectRequestBgpOptions struct { + _ struct{} `type:"structure"` + + // The peer Autonomous System Number (ASN). + PeerAsn *int64 `type:"long"` +} + +// String returns the string representation +func (s TransitGatewayConnectRequestBgpOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransitGatewayConnectRequestBgpOptions) GoString() string { + return s.String() +} + +// SetPeerAsn sets the PeerAsn field's value. +func (s *TransitGatewayConnectRequestBgpOptions) SetPeerAsn(v int64) *TransitGatewayConnectRequestBgpOptions { + s.PeerAsn = &v + return s +} + // Describes the deregistered transit gateway multicast group members. type TransitGatewayMulticastDeregisteredGroupMembers struct { _ struct{} `type:"structure"` @@ -111875,6 +116265,12 @@ type TransitGatewayMulticastDomain struct { // The time the transit gateway multicast domain was created. CreationTime *time.Time `locationName:"creationTime" type:"timestamp"` + // The options for the transit gateway multicast domain. + Options *TransitGatewayMulticastDomainOptions `locationName:"options" type:"structure"` + + // The ID of the AWS account that owns the transit gateway multiicast domain. + OwnerId *string `locationName:"ownerId" type:"string"` + // The state of the transit gateway multicast domain. State *string `locationName:"state" type:"string" enum:"TransitGatewayMulticastDomainState"` @@ -111884,6 +116280,9 @@ type TransitGatewayMulticastDomain struct { // The ID of the transit gateway. TransitGatewayId *string `locationName:"transitGatewayId" type:"string"` + // The Amazon Resource Name (ARN) of the transit gateway multicast domain. + TransitGatewayMulticastDomainArn *string `locationName:"transitGatewayMulticastDomainArn" type:"string"` + // The ID of the transit gateway multicast domain. TransitGatewayMulticastDomainId *string `locationName:"transitGatewayMulticastDomainId" type:"string"` } @@ -111904,6 +116303,18 @@ func (s *TransitGatewayMulticastDomain) SetCreationTime(v time.Time) *TransitGat return s } +// SetOptions sets the Options field's value. +func (s *TransitGatewayMulticastDomain) SetOptions(v *TransitGatewayMulticastDomainOptions) *TransitGatewayMulticastDomain { + s.Options = v + return s +} + +// SetOwnerId sets the OwnerId field's value. +func (s *TransitGatewayMulticastDomain) SetOwnerId(v string) *TransitGatewayMulticastDomain { + s.OwnerId = &v + return s +} + // SetState sets the State field's value. func (s *TransitGatewayMulticastDomain) SetState(v string) *TransitGatewayMulticastDomain { s.State = &v @@ -111922,6 +116333,12 @@ func (s *TransitGatewayMulticastDomain) SetTransitGatewayId(v string) *TransitGa return s } +// SetTransitGatewayMulticastDomainArn sets the TransitGatewayMulticastDomainArn field's value. +func (s *TransitGatewayMulticastDomain) SetTransitGatewayMulticastDomainArn(v string) *TransitGatewayMulticastDomain { + s.TransitGatewayMulticastDomainArn = &v + return s +} + // SetTransitGatewayMulticastDomainId sets the TransitGatewayMulticastDomainId field's value. func (s *TransitGatewayMulticastDomain) SetTransitGatewayMulticastDomainId(v string) *TransitGatewayMulticastDomain { s.TransitGatewayMulticastDomainId = &v @@ -111935,6 +116352,10 @@ type TransitGatewayMulticastDomainAssociation struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` + // The ID of the AWS account that owns the transit gateway multicast domain + // association resource. + ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"` + // The type of resource, for example a VPC attachment. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` @@ -111961,6 +116382,12 @@ func (s *TransitGatewayMulticastDomainAssociation) SetResourceId(v string) *Tran return s } +// SetResourceOwnerId sets the ResourceOwnerId field's value. +func (s *TransitGatewayMulticastDomainAssociation) SetResourceOwnerId(v string) *TransitGatewayMulticastDomainAssociation { + s.ResourceOwnerId = &v + return s +} + // SetResourceType sets the ResourceType field's value. func (s *TransitGatewayMulticastDomainAssociation) SetResourceType(v string) *TransitGatewayMulticastDomainAssociation { s.ResourceType = &v @@ -111986,6 +116413,9 @@ type TransitGatewayMulticastDomainAssociations struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` + // The ID of the AWS account that owns the resource. + ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"` + // The type of resource, for example a VPC attachment. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` @@ -112015,6 +116445,12 @@ func (s *TransitGatewayMulticastDomainAssociations) SetResourceId(v string) *Tra return s } +// SetResourceOwnerId sets the ResourceOwnerId field's value. +func (s *TransitGatewayMulticastDomainAssociations) SetResourceOwnerId(v string) *TransitGatewayMulticastDomainAssociations { + s.ResourceOwnerId = &v + return s +} + // SetResourceType sets the ResourceType field's value. func (s *TransitGatewayMulticastDomainAssociations) SetResourceType(v string) *TransitGatewayMulticastDomainAssociations { s.ResourceType = &v @@ -112039,6 +116475,51 @@ func (s *TransitGatewayMulticastDomainAssociations) SetTransitGatewayMulticastDo return s } +// Describes the options for a transit gateway multicast domain. +type TransitGatewayMulticastDomainOptions struct { + _ struct{} `type:"structure"` + + // Indicates whether to automatically cross-account subnet associations that + // are associated with the transit gateway multicast domain. + AutoAcceptSharedAssociations *string `locationName:"autoAcceptSharedAssociations" type:"string" enum:"AutoAcceptSharedAssociationsValue"` + + // Indicates whether Internet Group Management Protocol (IGMP) version 2 is + // turned on for the transit gateway multicast domain. + Igmpv2Support *string `locationName:"igmpv2Support" type:"string" enum:"Igmpv2SupportValue"` + + // Indicates whether support for statically configuring transit gateway multicast + // group sources is turned on. + StaticSourcesSupport *string `locationName:"staticSourcesSupport" type:"string" enum:"StaticSourcesSupportValue"` +} + +// String returns the string representation +func (s TransitGatewayMulticastDomainOptions) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransitGatewayMulticastDomainOptions) GoString() string { + return s.String() +} + +// SetAutoAcceptSharedAssociations sets the AutoAcceptSharedAssociations field's value. +func (s *TransitGatewayMulticastDomainOptions) SetAutoAcceptSharedAssociations(v string) *TransitGatewayMulticastDomainOptions { + s.AutoAcceptSharedAssociations = &v + return s +} + +// SetIgmpv2Support sets the Igmpv2Support field's value. +func (s *TransitGatewayMulticastDomainOptions) SetIgmpv2Support(v string) *TransitGatewayMulticastDomainOptions { + s.Igmpv2Support = &v + return s +} + +// SetStaticSourcesSupport sets the StaticSourcesSupport field's value. +func (s *TransitGatewayMulticastDomainOptions) SetStaticSourcesSupport(v string) *TransitGatewayMulticastDomainOptions { + s.StaticSourcesSupport = &v + return s +} + // Describes the transit gateway multicast group resources. type TransitGatewayMulticastGroup struct { _ struct{} `type:"structure"` @@ -112061,6 +116542,10 @@ type TransitGatewayMulticastGroup struct { // The ID of the resource. ResourceId *string `locationName:"resourceId" type:"string"` + // The ID of the AWS account that owns the transit gateway multicast domain + // group resource. + ResourceOwnerId *string `locationName:"resourceOwnerId" type:"string"` + // The type of resource, for example a VPC attachment. ResourceType *string `locationName:"resourceType" type:"string" enum:"TransitGatewayAttachmentResourceType"` @@ -112120,6 +116605,12 @@ func (s *TransitGatewayMulticastGroup) SetResourceId(v string) *TransitGatewayMu return s } +// SetResourceOwnerId sets the ResourceOwnerId field's value. +func (s *TransitGatewayMulticastGroup) SetResourceOwnerId(v string) *TransitGatewayMulticastGroup { + s.ResourceOwnerId = &v + return s +} + // SetResourceType sets the ResourceType field's value. func (s *TransitGatewayMulticastGroup) SetResourceType(v string) *TransitGatewayMulticastGroup { s.ResourceType = &v @@ -112261,6 +116752,9 @@ type TransitGatewayOptions struct { // The ID of the default propagation route table. PropagationDefaultRouteTableId *string `locationName:"propagationDefaultRouteTableId" type:"string"` + // The transit gateway CIDR blocks. + TransitGatewayCidrBlocks []*string `locationName:"transitGatewayCidrBlocks" locationNameList:"item" type:"list"` + // Indicates whether Equal Cost Multipath Protocol support is enabled. VpnEcmpSupport *string `locationName:"vpnEcmpSupport" type:"string" enum:"VpnEcmpSupportValue"` } @@ -112323,6 +116817,12 @@ func (s *TransitGatewayOptions) SetPropagationDefaultRouteTableId(v string) *Tra return s } +// SetTransitGatewayCidrBlocks sets the TransitGatewayCidrBlocks field's value. +func (s *TransitGatewayOptions) SetTransitGatewayCidrBlocks(v []*string) *TransitGatewayOptions { + s.TransitGatewayCidrBlocks = v + return s +} + // SetVpnEcmpSupport sets the VpnEcmpSupport field's value. func (s *TransitGatewayOptions) SetVpnEcmpSupport(v string) *TransitGatewayOptions { s.VpnEcmpSupport = &v @@ -112606,6 +117106,11 @@ type TransitGatewayRequestOptions struct { // Indicates whether multicast is enabled on the transit gateway MulticastSupport *string `type:"string" enum:"MulticastSupportValue"` + // One or more IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size + // /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for + // IPv6. + TransitGatewayCidrBlocks []*string `locationNameList:"item" type:"list"` + // Enable or disable Equal Cost Multipath Protocol support. Enabled by default. VpnEcmpSupport *string `type:"string" enum:"VpnEcmpSupportValue"` } @@ -112656,6 +117161,12 @@ func (s *TransitGatewayRequestOptions) SetMulticastSupport(v string) *TransitGat return s } +// SetTransitGatewayCidrBlocks sets the TransitGatewayCidrBlocks field's value. +func (s *TransitGatewayRequestOptions) SetTransitGatewayCidrBlocks(v []*string) *TransitGatewayRequestOptions { + s.TransitGatewayCidrBlocks = v + return s +} + // SetVpnEcmpSupport sets the VpnEcmpSupport field's value. func (s *TransitGatewayRequestOptions) SetVpnEcmpSupport(v string) *TransitGatewayRequestOptions { s.VpnEcmpSupport = &v @@ -116619,6 +121130,26 @@ func AllowsMultipleInstanceTypes_Values() []string { } } +const ( + // AnalysisStatusRunning is a AnalysisStatus enum value + AnalysisStatusRunning = "running" + + // AnalysisStatusSucceeded is a AnalysisStatus enum value + AnalysisStatusSucceeded = "succeeded" + + // AnalysisStatusFailed is a AnalysisStatus enum value + AnalysisStatusFailed = "failed" +) + +// AnalysisStatus_Values returns all elements of the AnalysisStatus enum +func AnalysisStatus_Values() []string { + return []string{ + AnalysisStatusRunning, + AnalysisStatusSucceeded, + AnalysisStatusFailed, + } +} + const ( // ApplianceModeSupportValueEnable is a ApplianceModeSupportValue enum value ApplianceModeSupportValueEnable = "enable" @@ -116739,6 +121270,22 @@ func AttachmentStatus_Values() []string { } } +const ( + // AutoAcceptSharedAssociationsValueEnable is a AutoAcceptSharedAssociationsValue enum value + AutoAcceptSharedAssociationsValueEnable = "enable" + + // AutoAcceptSharedAssociationsValueDisable is a AutoAcceptSharedAssociationsValue enum value + AutoAcceptSharedAssociationsValueDisable = "disable" +) + +// AutoAcceptSharedAssociationsValue_Values returns all elements of the AutoAcceptSharedAssociationsValue enum +func AutoAcceptSharedAssociationsValue_Values() []string { + return []string{ + AutoAcceptSharedAssociationsValueEnable, + AutoAcceptSharedAssociationsValueDisable, + } +} + const ( // AutoAcceptSharedAttachmentsValueEnable is a AutoAcceptSharedAttachmentsValue enum value AutoAcceptSharedAttachmentsValueEnable = "enable" @@ -116851,6 +121398,22 @@ func BatchState_Values() []string { } } +const ( + // BgpStatusUp is a BgpStatus enum value + BgpStatusUp = "up" + + // BgpStatusDown is a BgpStatus enum value + BgpStatusDown = "down" +) + +// BgpStatus_Values returns all elements of the BgpStatus enum +func BgpStatus_Values() []string { + return []string{ + BgpStatusUp, + BgpStatusDown, + } +} + const ( // BundleTaskStatePending is a BundleTaskState enum value BundleTaskStatePending = "pending" @@ -118167,6 +122730,22 @@ func IamInstanceProfileAssociationState_Values() []string { } } +const ( + // Igmpv2SupportValueEnable is a Igmpv2SupportValue enum value + Igmpv2SupportValueEnable = "enable" + + // Igmpv2SupportValueDisable is a Igmpv2SupportValue enum value + Igmpv2SupportValueDisable = "disable" +) + +// Igmpv2SupportValue_Values returns all elements of the Igmpv2SupportValue enum +func Igmpv2SupportValue_Values() []string { + return []string{ + Igmpv2SupportValueEnable, + Igmpv2SupportValueDisable, + } +} + const ( // ImageAttributeNameDescription is a ImageAttributeName enum value ImageAttributeNameDescription = "description" @@ -120787,6 +125366,34 @@ func ProductCodeValues_Values() []string { } } +const ( + // ProtocolTcp is a Protocol enum value + ProtocolTcp = "tcp" + + // ProtocolUdp is a Protocol enum value + ProtocolUdp = "udp" +) + +// Protocol_Values returns all elements of the Protocol enum +func Protocol_Values() []string { + return []string{ + ProtocolTcp, + ProtocolUdp, + } +} + +const ( + // ProtocolValueGre is a ProtocolValue enum value + ProtocolValueGre = "gre" +) + +// ProtocolValue_Values returns all elements of the ProtocolValue enum +func ProtocolValue_Values() []string { + return []string{ + ProtocolValueGre, + } +} + const ( // RIProductDescriptionLinuxUnix is a RIProductDescription enum value RIProductDescriptionLinuxUnix = "Linux/UNIX" @@ -121045,6 +125652,12 @@ const ( // ResourceTypeNetworkInterface is a ResourceType enum value ResourceTypeNetworkInterface = "network-interface" + // ResourceTypeNetworkInsightsAnalysis is a ResourceType enum value + ResourceTypeNetworkInsightsAnalysis = "network-insights-analysis" + + // ResourceTypeNetworkInsightsPath is a ResourceType enum value + ResourceTypeNetworkInsightsPath = "network-insights-path" + // ResourceTypePlacementGroup is a ResourceType enum value ResourceTypePlacementGroup = "placement-group" @@ -121084,6 +125697,9 @@ const ( // ResourceTypeTransitGatewayAttachment is a ResourceType enum value ResourceTypeTransitGatewayAttachment = "transit-gateway-attachment" + // ResourceTypeTransitGatewayConnectPeer is a ResourceType enum value + ResourceTypeTransitGatewayConnectPeer = "transit-gateway-connect-peer" + // ResourceTypeTransitGatewayMulticastDomain is a ResourceType enum value ResourceTypeTransitGatewayMulticastDomain = "transit-gateway-multicast-domain" @@ -121135,6 +125751,8 @@ func ResourceType_Values() []string { ResourceTypeNatgateway, ResourceTypeNetworkAcl, ResourceTypeNetworkInterface, + ResourceTypeNetworkInsightsAnalysis, + ResourceTypeNetworkInsightsPath, ResourceTypePlacementGroup, ResourceTypeReservedInstances, ResourceTypeRouteTable, @@ -121148,6 +125766,7 @@ func ResourceType_Values() []string { ResourceTypeTrafficMirrorTarget, ResourceTypeTransitGateway, ResourceTypeTransitGatewayAttachment, + ResourceTypeTransitGatewayConnectPeer, ResourceTypeTransitGatewayMulticastDomain, ResourceTypeTransitGatewayRouteTable, ResourceTypeVolume, @@ -121511,6 +126130,22 @@ func State_Values() []string { } } +const ( + // StaticSourcesSupportValueEnable is a StaticSourcesSupportValue enum value + StaticSourcesSupportValueEnable = "enable" + + // StaticSourcesSupportValueDisable is a StaticSourcesSupportValue enum value + StaticSourcesSupportValueDisable = "disable" +) + +// StaticSourcesSupportValue_Values returns all elements of the StaticSourcesSupportValue enum +func StaticSourcesSupportValue_Values() []string { + return []string{ + StaticSourcesSupportValueEnable, + StaticSourcesSupportValueDisable, + } +} + const ( // StatusMoveInProgress is a Status enum value StatusMoveInProgress = "MoveInProgress" @@ -121837,6 +126472,9 @@ const ( // TransitGatewayAttachmentResourceTypeDirectConnectGateway is a TransitGatewayAttachmentResourceType enum value TransitGatewayAttachmentResourceTypeDirectConnectGateway = "direct-connect-gateway" + // TransitGatewayAttachmentResourceTypeConnect is a TransitGatewayAttachmentResourceType enum value + TransitGatewayAttachmentResourceTypeConnect = "connect" + // TransitGatewayAttachmentResourceTypePeering is a TransitGatewayAttachmentResourceType enum value TransitGatewayAttachmentResourceTypePeering = "peering" @@ -121850,6 +126488,7 @@ func TransitGatewayAttachmentResourceType_Values() []string { TransitGatewayAttachmentResourceTypeVpc, TransitGatewayAttachmentResourceTypeVpn, TransitGatewayAttachmentResourceTypeDirectConnectGateway, + TransitGatewayAttachmentResourceTypeConnect, TransitGatewayAttachmentResourceTypePeering, TransitGatewayAttachmentResourceTypeTgwPeering, } @@ -121916,6 +126555,33 @@ func TransitGatewayAttachmentState_Values() []string { } const ( + // TransitGatewayConnectPeerStatePending is a TransitGatewayConnectPeerState enum value + TransitGatewayConnectPeerStatePending = "pending" + + // TransitGatewayConnectPeerStateAvailable is a TransitGatewayConnectPeerState enum value + TransitGatewayConnectPeerStateAvailable = "available" + + // TransitGatewayConnectPeerStateDeleting is a TransitGatewayConnectPeerState enum value + TransitGatewayConnectPeerStateDeleting = "deleting" + + // TransitGatewayConnectPeerStateDeleted is a TransitGatewayConnectPeerState enum value + TransitGatewayConnectPeerStateDeleted = "deleted" +) + +// TransitGatewayConnectPeerState_Values returns all elements of the TransitGatewayConnectPeerState enum +func TransitGatewayConnectPeerState_Values() []string { + return []string{ + TransitGatewayConnectPeerStatePending, + TransitGatewayConnectPeerStateAvailable, + TransitGatewayConnectPeerStateDeleting, + TransitGatewayConnectPeerStateDeleted, + } +} + +const ( + // TransitGatewayMulitcastDomainAssociationStatePendingAcceptance is a TransitGatewayMulitcastDomainAssociationState enum value + TransitGatewayMulitcastDomainAssociationStatePendingAcceptance = "pendingAcceptance" + // TransitGatewayMulitcastDomainAssociationStateAssociating is a TransitGatewayMulitcastDomainAssociationState enum value TransitGatewayMulitcastDomainAssociationStateAssociating = "associating" @@ -121927,15 +126593,24 @@ const ( // TransitGatewayMulitcastDomainAssociationStateDisassociated is a TransitGatewayMulitcastDomainAssociationState enum value TransitGatewayMulitcastDomainAssociationStateDisassociated = "disassociated" + + // TransitGatewayMulitcastDomainAssociationStateRejected is a TransitGatewayMulitcastDomainAssociationState enum value + TransitGatewayMulitcastDomainAssociationStateRejected = "rejected" + + // TransitGatewayMulitcastDomainAssociationStateFailed is a TransitGatewayMulitcastDomainAssociationState enum value + TransitGatewayMulitcastDomainAssociationStateFailed = "failed" ) // TransitGatewayMulitcastDomainAssociationState_Values returns all elements of the TransitGatewayMulitcastDomainAssociationState enum func TransitGatewayMulitcastDomainAssociationState_Values() []string { return []string{ + TransitGatewayMulitcastDomainAssociationStatePendingAcceptance, TransitGatewayMulitcastDomainAssociationStateAssociating, TransitGatewayMulitcastDomainAssociationStateAssociated, TransitGatewayMulitcastDomainAssociationStateDisassociating, TransitGatewayMulitcastDomainAssociationStateDisassociated, + TransitGatewayMulitcastDomainAssociationStateRejected, + TransitGatewayMulitcastDomainAssociationStateFailed, } } diff --git a/service/ec2/ec2iface/interface.go b/service/ec2/ec2iface/interface.go index dd70a8f0723..e866cf90397 100644 --- a/service/ec2/ec2iface/interface.go +++ b/service/ec2/ec2iface/interface.go @@ -64,6 +64,10 @@ type EC2API interface { AcceptReservedInstancesExchangeQuoteWithContext(aws.Context, *ec2.AcceptReservedInstancesExchangeQuoteInput, ...request.Option) (*ec2.AcceptReservedInstancesExchangeQuoteOutput, error) AcceptReservedInstancesExchangeQuoteRequest(*ec2.AcceptReservedInstancesExchangeQuoteInput) (*request.Request, *ec2.AcceptReservedInstancesExchangeQuoteOutput) + AcceptTransitGatewayMulticastDomainAssociations(*ec2.AcceptTransitGatewayMulticastDomainAssociationsInput) (*ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput, error) + AcceptTransitGatewayMulticastDomainAssociationsWithContext(aws.Context, *ec2.AcceptTransitGatewayMulticastDomainAssociationsInput, ...request.Option) (*ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput, error) + AcceptTransitGatewayMulticastDomainAssociationsRequest(*ec2.AcceptTransitGatewayMulticastDomainAssociationsInput) (*request.Request, *ec2.AcceptTransitGatewayMulticastDomainAssociationsOutput) + AcceptTransitGatewayPeeringAttachment(*ec2.AcceptTransitGatewayPeeringAttachmentInput) (*ec2.AcceptTransitGatewayPeeringAttachmentOutput, error) AcceptTransitGatewayPeeringAttachmentWithContext(aws.Context, *ec2.AcceptTransitGatewayPeeringAttachmentInput, ...request.Option) (*ec2.AcceptTransitGatewayPeeringAttachmentOutput, error) AcceptTransitGatewayPeeringAttachmentRequest(*ec2.AcceptTransitGatewayPeeringAttachmentInput) (*request.Request, *ec2.AcceptTransitGatewayPeeringAttachmentOutput) @@ -324,6 +328,10 @@ type EC2API interface { CreateNetworkAclEntryWithContext(aws.Context, *ec2.CreateNetworkAclEntryInput, ...request.Option) (*ec2.CreateNetworkAclEntryOutput, error) CreateNetworkAclEntryRequest(*ec2.CreateNetworkAclEntryInput) (*request.Request, *ec2.CreateNetworkAclEntryOutput) + CreateNetworkInsightsPath(*ec2.CreateNetworkInsightsPathInput) (*ec2.CreateNetworkInsightsPathOutput, error) + CreateNetworkInsightsPathWithContext(aws.Context, *ec2.CreateNetworkInsightsPathInput, ...request.Option) (*ec2.CreateNetworkInsightsPathOutput, error) + CreateNetworkInsightsPathRequest(*ec2.CreateNetworkInsightsPathInput) (*request.Request, *ec2.CreateNetworkInsightsPathOutput) + CreateNetworkInterface(*ec2.CreateNetworkInterfaceInput) (*ec2.CreateNetworkInterfaceOutput, error) CreateNetworkInterfaceWithContext(aws.Context, *ec2.CreateNetworkInterfaceInput, ...request.Option) (*ec2.CreateNetworkInterfaceOutput, error) CreateNetworkInterfaceRequest(*ec2.CreateNetworkInterfaceInput) (*request.Request, *ec2.CreateNetworkInterfaceOutput) @@ -392,6 +400,14 @@ type EC2API interface { CreateTransitGatewayWithContext(aws.Context, *ec2.CreateTransitGatewayInput, ...request.Option) (*ec2.CreateTransitGatewayOutput, error) CreateTransitGatewayRequest(*ec2.CreateTransitGatewayInput) (*request.Request, *ec2.CreateTransitGatewayOutput) + CreateTransitGatewayConnect(*ec2.CreateTransitGatewayConnectInput) (*ec2.CreateTransitGatewayConnectOutput, error) + CreateTransitGatewayConnectWithContext(aws.Context, *ec2.CreateTransitGatewayConnectInput, ...request.Option) (*ec2.CreateTransitGatewayConnectOutput, error) + CreateTransitGatewayConnectRequest(*ec2.CreateTransitGatewayConnectInput) (*request.Request, *ec2.CreateTransitGatewayConnectOutput) + + CreateTransitGatewayConnectPeer(*ec2.CreateTransitGatewayConnectPeerInput) (*ec2.CreateTransitGatewayConnectPeerOutput, error) + CreateTransitGatewayConnectPeerWithContext(aws.Context, *ec2.CreateTransitGatewayConnectPeerInput, ...request.Option) (*ec2.CreateTransitGatewayConnectPeerOutput, error) + CreateTransitGatewayConnectPeerRequest(*ec2.CreateTransitGatewayConnectPeerInput) (*request.Request, *ec2.CreateTransitGatewayConnectPeerOutput) + CreateTransitGatewayMulticastDomain(*ec2.CreateTransitGatewayMulticastDomainInput) (*ec2.CreateTransitGatewayMulticastDomainOutput, error) CreateTransitGatewayMulticastDomainWithContext(aws.Context, *ec2.CreateTransitGatewayMulticastDomainInput, ...request.Option) (*ec2.CreateTransitGatewayMulticastDomainOutput, error) CreateTransitGatewayMulticastDomainRequest(*ec2.CreateTransitGatewayMulticastDomainInput) (*request.Request, *ec2.CreateTransitGatewayMulticastDomainOutput) @@ -528,6 +544,14 @@ type EC2API interface { DeleteNetworkAclEntryWithContext(aws.Context, *ec2.DeleteNetworkAclEntryInput, ...request.Option) (*ec2.DeleteNetworkAclEntryOutput, error) DeleteNetworkAclEntryRequest(*ec2.DeleteNetworkAclEntryInput) (*request.Request, *ec2.DeleteNetworkAclEntryOutput) + DeleteNetworkInsightsAnalysis(*ec2.DeleteNetworkInsightsAnalysisInput) (*ec2.DeleteNetworkInsightsAnalysisOutput, error) + DeleteNetworkInsightsAnalysisWithContext(aws.Context, *ec2.DeleteNetworkInsightsAnalysisInput, ...request.Option) (*ec2.DeleteNetworkInsightsAnalysisOutput, error) + DeleteNetworkInsightsAnalysisRequest(*ec2.DeleteNetworkInsightsAnalysisInput) (*request.Request, *ec2.DeleteNetworkInsightsAnalysisOutput) + + DeleteNetworkInsightsPath(*ec2.DeleteNetworkInsightsPathInput) (*ec2.DeleteNetworkInsightsPathOutput, error) + DeleteNetworkInsightsPathWithContext(aws.Context, *ec2.DeleteNetworkInsightsPathInput, ...request.Option) (*ec2.DeleteNetworkInsightsPathOutput, error) + DeleteNetworkInsightsPathRequest(*ec2.DeleteNetworkInsightsPathInput) (*request.Request, *ec2.DeleteNetworkInsightsPathOutput) + DeleteNetworkInterface(*ec2.DeleteNetworkInterfaceInput) (*ec2.DeleteNetworkInterfaceOutput, error) DeleteNetworkInterfaceWithContext(aws.Context, *ec2.DeleteNetworkInterfaceInput, ...request.Option) (*ec2.DeleteNetworkInterfaceOutput, error) DeleteNetworkInterfaceRequest(*ec2.DeleteNetworkInterfaceInput) (*request.Request, *ec2.DeleteNetworkInterfaceOutput) @@ -592,6 +616,14 @@ type EC2API interface { DeleteTransitGatewayWithContext(aws.Context, *ec2.DeleteTransitGatewayInput, ...request.Option) (*ec2.DeleteTransitGatewayOutput, error) DeleteTransitGatewayRequest(*ec2.DeleteTransitGatewayInput) (*request.Request, *ec2.DeleteTransitGatewayOutput) + DeleteTransitGatewayConnect(*ec2.DeleteTransitGatewayConnectInput) (*ec2.DeleteTransitGatewayConnectOutput, error) + DeleteTransitGatewayConnectWithContext(aws.Context, *ec2.DeleteTransitGatewayConnectInput, ...request.Option) (*ec2.DeleteTransitGatewayConnectOutput, error) + DeleteTransitGatewayConnectRequest(*ec2.DeleteTransitGatewayConnectInput) (*request.Request, *ec2.DeleteTransitGatewayConnectOutput) + + DeleteTransitGatewayConnectPeer(*ec2.DeleteTransitGatewayConnectPeerInput) (*ec2.DeleteTransitGatewayConnectPeerOutput, error) + DeleteTransitGatewayConnectPeerWithContext(aws.Context, *ec2.DeleteTransitGatewayConnectPeerInput, ...request.Option) (*ec2.DeleteTransitGatewayConnectPeerOutput, error) + DeleteTransitGatewayConnectPeerRequest(*ec2.DeleteTransitGatewayConnectPeerInput) (*request.Request, *ec2.DeleteTransitGatewayConnectPeerOutput) + DeleteTransitGatewayMulticastDomain(*ec2.DeleteTransitGatewayMulticastDomainInput) (*ec2.DeleteTransitGatewayMulticastDomainOutput, error) DeleteTransitGatewayMulticastDomainWithContext(aws.Context, *ec2.DeleteTransitGatewayMulticastDomainInput, ...request.Option) (*ec2.DeleteTransitGatewayMulticastDomainOutput, error) DeleteTransitGatewayMulticastDomainRequest(*ec2.DeleteTransitGatewayMulticastDomainInput) (*request.Request, *ec2.DeleteTransitGatewayMulticastDomainOutput) @@ -1042,6 +1074,20 @@ type EC2API interface { DescribeNetworkAclsPages(*ec2.DescribeNetworkAclsInput, func(*ec2.DescribeNetworkAclsOutput, bool) bool) error DescribeNetworkAclsPagesWithContext(aws.Context, *ec2.DescribeNetworkAclsInput, func(*ec2.DescribeNetworkAclsOutput, bool) bool, ...request.Option) error + DescribeNetworkInsightsAnalyses(*ec2.DescribeNetworkInsightsAnalysesInput) (*ec2.DescribeNetworkInsightsAnalysesOutput, error) + DescribeNetworkInsightsAnalysesWithContext(aws.Context, *ec2.DescribeNetworkInsightsAnalysesInput, ...request.Option) (*ec2.DescribeNetworkInsightsAnalysesOutput, error) + DescribeNetworkInsightsAnalysesRequest(*ec2.DescribeNetworkInsightsAnalysesInput) (*request.Request, *ec2.DescribeNetworkInsightsAnalysesOutput) + + DescribeNetworkInsightsAnalysesPages(*ec2.DescribeNetworkInsightsAnalysesInput, func(*ec2.DescribeNetworkInsightsAnalysesOutput, bool) bool) error + DescribeNetworkInsightsAnalysesPagesWithContext(aws.Context, *ec2.DescribeNetworkInsightsAnalysesInput, func(*ec2.DescribeNetworkInsightsAnalysesOutput, bool) bool, ...request.Option) error + + DescribeNetworkInsightsPaths(*ec2.DescribeNetworkInsightsPathsInput) (*ec2.DescribeNetworkInsightsPathsOutput, error) + DescribeNetworkInsightsPathsWithContext(aws.Context, *ec2.DescribeNetworkInsightsPathsInput, ...request.Option) (*ec2.DescribeNetworkInsightsPathsOutput, error) + DescribeNetworkInsightsPathsRequest(*ec2.DescribeNetworkInsightsPathsInput) (*request.Request, *ec2.DescribeNetworkInsightsPathsOutput) + + DescribeNetworkInsightsPathsPages(*ec2.DescribeNetworkInsightsPathsInput, func(*ec2.DescribeNetworkInsightsPathsOutput, bool) bool) error + DescribeNetworkInsightsPathsPagesWithContext(aws.Context, *ec2.DescribeNetworkInsightsPathsInput, func(*ec2.DescribeNetworkInsightsPathsOutput, bool) bool, ...request.Option) error + DescribeNetworkInterfaceAttribute(*ec2.DescribeNetworkInterfaceAttributeInput) (*ec2.DescribeNetworkInterfaceAttributeOutput, error) DescribeNetworkInterfaceAttributeWithContext(aws.Context, *ec2.DescribeNetworkInterfaceAttributeInput, ...request.Option) (*ec2.DescribeNetworkInterfaceAttributeOutput, error) DescribeNetworkInterfaceAttributeRequest(*ec2.DescribeNetworkInterfaceAttributeInput) (*request.Request, *ec2.DescribeNetworkInterfaceAttributeOutput) @@ -1236,6 +1282,20 @@ type EC2API interface { DescribeTransitGatewayAttachmentsPages(*ec2.DescribeTransitGatewayAttachmentsInput, func(*ec2.DescribeTransitGatewayAttachmentsOutput, bool) bool) error DescribeTransitGatewayAttachmentsPagesWithContext(aws.Context, *ec2.DescribeTransitGatewayAttachmentsInput, func(*ec2.DescribeTransitGatewayAttachmentsOutput, bool) bool, ...request.Option) error + DescribeTransitGatewayConnectPeers(*ec2.DescribeTransitGatewayConnectPeersInput) (*ec2.DescribeTransitGatewayConnectPeersOutput, error) + DescribeTransitGatewayConnectPeersWithContext(aws.Context, *ec2.DescribeTransitGatewayConnectPeersInput, ...request.Option) (*ec2.DescribeTransitGatewayConnectPeersOutput, error) + DescribeTransitGatewayConnectPeersRequest(*ec2.DescribeTransitGatewayConnectPeersInput) (*request.Request, *ec2.DescribeTransitGatewayConnectPeersOutput) + + DescribeTransitGatewayConnectPeersPages(*ec2.DescribeTransitGatewayConnectPeersInput, func(*ec2.DescribeTransitGatewayConnectPeersOutput, bool) bool) error + DescribeTransitGatewayConnectPeersPagesWithContext(aws.Context, *ec2.DescribeTransitGatewayConnectPeersInput, func(*ec2.DescribeTransitGatewayConnectPeersOutput, bool) bool, ...request.Option) error + + DescribeTransitGatewayConnects(*ec2.DescribeTransitGatewayConnectsInput) (*ec2.DescribeTransitGatewayConnectsOutput, error) + DescribeTransitGatewayConnectsWithContext(aws.Context, *ec2.DescribeTransitGatewayConnectsInput, ...request.Option) (*ec2.DescribeTransitGatewayConnectsOutput, error) + DescribeTransitGatewayConnectsRequest(*ec2.DescribeTransitGatewayConnectsInput) (*request.Request, *ec2.DescribeTransitGatewayConnectsOutput) + + DescribeTransitGatewayConnectsPages(*ec2.DescribeTransitGatewayConnectsInput, func(*ec2.DescribeTransitGatewayConnectsOutput, bool) bool) error + DescribeTransitGatewayConnectsPagesWithContext(aws.Context, *ec2.DescribeTransitGatewayConnectsInput, func(*ec2.DescribeTransitGatewayConnectsOutput, bool) bool, ...request.Option) error + DescribeTransitGatewayMulticastDomains(*ec2.DescribeTransitGatewayMulticastDomainsInput) (*ec2.DescribeTransitGatewayMulticastDomainsOutput, error) DescribeTransitGatewayMulticastDomainsWithContext(aws.Context, *ec2.DescribeTransitGatewayMulticastDomainsInput, ...request.Option) (*ec2.DescribeTransitGatewayMulticastDomainsOutput, error) DescribeTransitGatewayMulticastDomainsRequest(*ec2.DescribeTransitGatewayMulticastDomainsInput) (*request.Request, *ec2.DescribeTransitGatewayMulticastDomainsOutput) @@ -1847,6 +1907,10 @@ type EC2API interface { RegisterTransitGatewayMulticastGroupSourcesWithContext(aws.Context, *ec2.RegisterTransitGatewayMulticastGroupSourcesInput, ...request.Option) (*ec2.RegisterTransitGatewayMulticastGroupSourcesOutput, error) RegisterTransitGatewayMulticastGroupSourcesRequest(*ec2.RegisterTransitGatewayMulticastGroupSourcesInput) (*request.Request, *ec2.RegisterTransitGatewayMulticastGroupSourcesOutput) + RejectTransitGatewayMulticastDomainAssociations(*ec2.RejectTransitGatewayMulticastDomainAssociationsInput) (*ec2.RejectTransitGatewayMulticastDomainAssociationsOutput, error) + RejectTransitGatewayMulticastDomainAssociationsWithContext(aws.Context, *ec2.RejectTransitGatewayMulticastDomainAssociationsInput, ...request.Option) (*ec2.RejectTransitGatewayMulticastDomainAssociationsOutput, error) + RejectTransitGatewayMulticastDomainAssociationsRequest(*ec2.RejectTransitGatewayMulticastDomainAssociationsInput) (*request.Request, *ec2.RejectTransitGatewayMulticastDomainAssociationsOutput) + RejectTransitGatewayPeeringAttachment(*ec2.RejectTransitGatewayPeeringAttachmentInput) (*ec2.RejectTransitGatewayPeeringAttachmentOutput, error) RejectTransitGatewayPeeringAttachmentWithContext(aws.Context, *ec2.RejectTransitGatewayPeeringAttachmentInput, ...request.Option) (*ec2.RejectTransitGatewayPeeringAttachmentOutput, error) RejectTransitGatewayPeeringAttachmentRequest(*ec2.RejectTransitGatewayPeeringAttachmentInput) (*request.Request, *ec2.RejectTransitGatewayPeeringAttachmentOutput) @@ -1985,6 +2049,10 @@ type EC2API interface { StartInstancesWithContext(aws.Context, *ec2.StartInstancesInput, ...request.Option) (*ec2.StartInstancesOutput, error) StartInstancesRequest(*ec2.StartInstancesInput) (*request.Request, *ec2.StartInstancesOutput) + StartNetworkInsightsAnalysis(*ec2.StartNetworkInsightsAnalysisInput) (*ec2.StartNetworkInsightsAnalysisOutput, error) + StartNetworkInsightsAnalysisWithContext(aws.Context, *ec2.StartNetworkInsightsAnalysisInput, ...request.Option) (*ec2.StartNetworkInsightsAnalysisOutput, error) + StartNetworkInsightsAnalysisRequest(*ec2.StartNetworkInsightsAnalysisInput) (*request.Request, *ec2.StartNetworkInsightsAnalysisOutput) + StartVpcEndpointServicePrivateDnsVerification(*ec2.StartVpcEndpointServicePrivateDnsVerificationInput) (*ec2.StartVpcEndpointServicePrivateDnsVerificationOutput, error) StartVpcEndpointServicePrivateDnsVerificationWithContext(aws.Context, *ec2.StartVpcEndpointServicePrivateDnsVerificationInput, ...request.Option) (*ec2.StartVpcEndpointServicePrivateDnsVerificationOutput, error) StartVpcEndpointServicePrivateDnsVerificationRequest(*ec2.StartVpcEndpointServicePrivateDnsVerificationInput) (*request.Request, *ec2.StartVpcEndpointServicePrivateDnsVerificationOutput) diff --git a/service/kendra/api.go b/service/kendra/api.go index f91e64be511..c0247a7d8f5 100644 --- a/service/kendra/api.go +++ b/service/kendra/api.go @@ -491,6 +491,97 @@ func (c *Kendra) CreateIndexWithContext(ctx aws.Context, input *CreateIndexInput return out, req.Send() } +const opCreateThesaurus = "CreateThesaurus" + +// CreateThesaurusRequest generates a "aws/request.Request" representing the +// client's request for the CreateThesaurus operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateThesaurus for more information on using the CreateThesaurus +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateThesaurusRequest method. +// req, resp := client.CreateThesaurusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateThesaurus +func (c *Kendra) CreateThesaurusRequest(input *CreateThesaurusInput) (req *request.Request, output *CreateThesaurusOutput) { + op := &request.Operation{ + Name: opCreateThesaurus, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateThesaurusInput{} + } + + output = &CreateThesaurusOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateThesaurus API operation for AWSKendraFrontendService. +// +// Creates a thesaurus for an index. The thesaurus contains a list of synonyms +// in Solr format. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWSKendraFrontendService's +// API operation CreateThesaurus for usage and error information. +// +// Returned Error Types: +// * ValidationException +// +// * ConflictException +// +// * ResourceNotFoundException +// +// * ThrottlingException +// +// * ServiceQuotaExceededException +// +// * AccessDeniedException +// +// * InternalServerException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/CreateThesaurus +func (c *Kendra) CreateThesaurus(input *CreateThesaurusInput) (*CreateThesaurusOutput, error) { + req, out := c.CreateThesaurusRequest(input) + return out, req.Send() +} + +// CreateThesaurusWithContext is the same as CreateThesaurus with the addition of +// the ability to pass a context and additional request options. +// +// See CreateThesaurus for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Kendra) CreateThesaurusWithContext(ctx aws.Context, input *CreateThesaurusInput, opts ...request.Option) (*CreateThesaurusOutput, error) { + req, out := c.CreateThesaurusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteDataSource = "DeleteDataSource" // DeleteDataSourceRequest generates a "aws/request.Request" representing the @@ -763,6 +854,95 @@ func (c *Kendra) DeleteIndexWithContext(ctx aws.Context, input *DeleteIndexInput return out, req.Send() } +const opDeleteThesaurus = "DeleteThesaurus" + +// DeleteThesaurusRequest generates a "aws/request.Request" representing the +// client's request for the DeleteThesaurus operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteThesaurus for more information on using the DeleteThesaurus +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteThesaurusRequest method. +// req, resp := client.DeleteThesaurusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteThesaurus +func (c *Kendra) DeleteThesaurusRequest(input *DeleteThesaurusInput) (req *request.Request, output *DeleteThesaurusOutput) { + op := &request.Operation{ + Name: opDeleteThesaurus, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteThesaurusInput{} + } + + output = &DeleteThesaurusOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteThesaurus API operation for AWSKendraFrontendService. +// +// Deletes an existing Amazon Kendra thesaurus. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWSKendraFrontendService's +// API operation DeleteThesaurus for usage and error information. +// +// Returned Error Types: +// * ValidationException +// +// * ConflictException +// +// * ResourceNotFoundException +// +// * ThrottlingException +// +// * AccessDeniedException +// +// * InternalServerException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DeleteThesaurus +func (c *Kendra) DeleteThesaurus(input *DeleteThesaurusInput) (*DeleteThesaurusOutput, error) { + req, out := c.DeleteThesaurusRequest(input) + return out, req.Send() +} + +// DeleteThesaurusWithContext is the same as DeleteThesaurus with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteThesaurus for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Kendra) DeleteThesaurusWithContext(ctx aws.Context, input *DeleteThesaurusInput, opts ...request.Option) (*DeleteThesaurusOutput, error) { + req, out := c.DeleteThesaurusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeDataSource = "DescribeDataSource" // DescribeDataSourceRequest generates a "aws/request.Request" representing the @@ -1021,6 +1201,92 @@ func (c *Kendra) DescribeIndexWithContext(ctx aws.Context, input *DescribeIndexI return out, req.Send() } +const opDescribeThesaurus = "DescribeThesaurus" + +// DescribeThesaurusRequest generates a "aws/request.Request" representing the +// client's request for the DescribeThesaurus operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DescribeThesaurus for more information on using the DescribeThesaurus +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DescribeThesaurusRequest method. +// req, resp := client.DescribeThesaurusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeThesaurus +func (c *Kendra) DescribeThesaurusRequest(input *DescribeThesaurusInput) (req *request.Request, output *DescribeThesaurusOutput) { + op := &request.Operation{ + Name: opDescribeThesaurus, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeThesaurusInput{} + } + + output = &DescribeThesaurusOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeThesaurus API operation for AWSKendraFrontendService. +// +// Describes an existing Amazon Kendra thesaurus. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWSKendraFrontendService's +// API operation DescribeThesaurus for usage and error information. +// +// Returned Error Types: +// * ValidationException +// +// * ResourceNotFoundException +// +// * ThrottlingException +// +// * AccessDeniedException +// +// * InternalServerException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/DescribeThesaurus +func (c *Kendra) DescribeThesaurus(input *DescribeThesaurusInput) (*DescribeThesaurusOutput, error) { + req, out := c.DescribeThesaurusRequest(input) + return out, req.Send() +} + +// DescribeThesaurusWithContext is the same as DescribeThesaurus with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeThesaurus for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Kendra) DescribeThesaurusWithContext(ctx aws.Context, input *DescribeThesaurusInput, opts ...request.Option) (*DescribeThesaurusOutput, error) { + req, out := c.DescribeThesaurusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListDataSourceSyncJobs = "ListDataSourceSyncJobs" // ListDataSourceSyncJobsRequest generates a "aws/request.Request" representing the @@ -1626,6 +1892,92 @@ func (c *Kendra) ListTagsForResourceWithContext(ctx aws.Context, input *ListTags return out, req.Send() } +const opListThesauri = "ListThesauri" + +// ListThesauriRequest generates a "aws/request.Request" representing the +// client's request for the ListThesauri operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListThesauri for more information on using the ListThesauri +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListThesauriRequest method. +// req, resp := client.ListThesauriRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListThesauri +func (c *Kendra) ListThesauriRequest(input *ListThesauriInput) (req *request.Request, output *ListThesauriOutput) { + op := &request.Operation{ + Name: opListThesauri, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ListThesauriInput{} + } + + output = &ListThesauriOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListThesauri API operation for AWSKendraFrontendService. +// +// Lists the Amazon Kendra thesauri associated with an index. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWSKendraFrontendService's +// API operation ListThesauri for usage and error information. +// +// Returned Error Types: +// * ValidationException +// +// * ResourceNotFoundException +// +// * ThrottlingException +// +// * AccessDeniedException +// +// * InternalServerException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/ListThesauri +func (c *Kendra) ListThesauri(input *ListThesauriInput) (*ListThesauriOutput, error) { + req, out := c.ListThesauriRequest(input) + return out, req.Send() +} + +// ListThesauriWithContext is the same as ListThesauri with the addition of +// the ability to pass a context and additional request options. +// +// See ListThesauri for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Kendra) ListThesauriWithContext(ctx aws.Context, input *ListThesauriInput, opts ...request.Option) (*ListThesauriOutput, error) { + req, out := c.ListThesauriRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opQuery = "Query" // QueryRequest generates a "aws/request.Request" representing the @@ -2359,6 +2711,95 @@ func (c *Kendra) UpdateIndexWithContext(ctx aws.Context, input *UpdateIndexInput return out, req.Send() } +const opUpdateThesaurus = "UpdateThesaurus" + +// UpdateThesaurusRequest generates a "aws/request.Request" representing the +// client's request for the UpdateThesaurus operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateThesaurus for more information on using the UpdateThesaurus +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateThesaurusRequest method. +// req, resp := client.UpdateThesaurusRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateThesaurus +func (c *Kendra) UpdateThesaurusRequest(input *UpdateThesaurusInput) (req *request.Request, output *UpdateThesaurusOutput) { + op := &request.Operation{ + Name: opUpdateThesaurus, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateThesaurusInput{} + } + + output = &UpdateThesaurusOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateThesaurus API operation for AWSKendraFrontendService. +// +// Updates a thesaurus file associated with an index. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWSKendraFrontendService's +// API operation UpdateThesaurus for usage and error information. +// +// Returned Error Types: +// * ValidationException +// +// * ResourceNotFoundException +// +// * ThrottlingException +// +// * AccessDeniedException +// +// * ConflictException +// +// * InternalServerException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/kendra-2019-02-03/UpdateThesaurus +func (c *Kendra) UpdateThesaurus(input *UpdateThesaurusInput) (*UpdateThesaurusOutput, error) { + req, out := c.UpdateThesaurusRequest(input) + return out, req.Send() +} + +// UpdateThesaurusWithContext is the same as UpdateThesaurus with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateThesaurus for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Kendra) UpdateThesaurusWithContext(ctx aws.Context, input *UpdateThesaurusInput, opts ...request.Option) (*UpdateThesaurusOutput, error) { + req, out := c.UpdateThesaurusRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + // Access Control List files for the documents in a data source. For the format // of the file, see Access control for S3 data sources (https://docs.aws.amazon.com/kendra/latest/dg/s3-acl.html). type AccessControlListConfiguration struct { @@ -4627,9 +5068,193 @@ func (s *CreateIndexInput) Validate() error { if s.RoleArn != nil && len(*s.RoleArn) < 1 { invalidParams.Add(request.NewErrParamMinLen("RoleArn", 1)) } - if s.ServerSideEncryptionConfiguration != nil { - if err := s.ServerSideEncryptionConfiguration.Validate(); err != nil { - invalidParams.AddNested("ServerSideEncryptionConfiguration", err.(request.ErrInvalidParams)) + if s.ServerSideEncryptionConfiguration != nil { + if err := s.ServerSideEncryptionConfiguration.Validate(); err != nil { + invalidParams.AddNested("ServerSideEncryptionConfiguration", err.(request.ErrInvalidParams)) + } + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + if s.UserTokenConfigurations != nil { + for i, v := range s.UserTokenConfigurations { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserTokenConfigurations", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateIndexInput) SetClientToken(v string) *CreateIndexInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateIndexInput) SetDescription(v string) *CreateIndexInput { + s.Description = &v + return s +} + +// SetEdition sets the Edition field's value. +func (s *CreateIndexInput) SetEdition(v string) *CreateIndexInput { + s.Edition = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateIndexInput) SetName(v string) *CreateIndexInput { + s.Name = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *CreateIndexInput) SetRoleArn(v string) *CreateIndexInput { + s.RoleArn = &v + return s +} + +// SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value. +func (s *CreateIndexInput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *CreateIndexInput { + s.ServerSideEncryptionConfiguration = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateIndexInput) SetTags(v []*Tag) *CreateIndexInput { + s.Tags = v + return s +} + +// SetUserContextPolicy sets the UserContextPolicy field's value. +func (s *CreateIndexInput) SetUserContextPolicy(v string) *CreateIndexInput { + s.UserContextPolicy = &v + return s +} + +// SetUserTokenConfigurations sets the UserTokenConfigurations field's value. +func (s *CreateIndexInput) SetUserTokenConfigurations(v []*UserTokenConfiguration) *CreateIndexInput { + s.UserTokenConfigurations = v + return s +} + +type CreateIndexOutput struct { + _ struct{} `type:"structure"` + + // The unique identifier of the index. Use this identifier when you query an + // index, set up a data source, or index a document. + Id *string `min:"36" type:"string"` +} + +// String returns the string representation +func (s CreateIndexOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateIndexOutput) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *CreateIndexOutput) SetId(v string) *CreateIndexOutput { + s.Id = &v + return s +} + +type CreateThesaurusInput struct { + _ struct{} `type:"structure"` + + // A token that you provide to identify the request to create a thesaurus. Multiple + // calls to the CreateThesaurus operation with the same client token will create + // only one index. + ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The description for the new thesaurus. + Description *string `type:"string"` + + // The unique identifier of the index for the new thesaurus. + // + // IndexId is a required field + IndexId *string `min:"36" type:"string" required:"true"` + + // The name for the new thesaurus. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // An AWS Identity and Access Management (IAM) role that gives Amazon Kendra + // permissions to access thesaurus file specified in SourceS3Path. + // + // RoleArn is a required field + RoleArn *string `min:"1" type:"string" required:"true"` + + // The thesaurus file Amazon S3 source path. + // + // SourceS3Path is a required field + SourceS3Path *S3Path `type:"structure" required:"true"` + + // A list of key-value pairs that identify the thesaurus. You can use the tags + // to identify and organize your resources and to control access to resources. + Tags []*Tag `type:"list"` +} + +// String returns the string representation +func (s CreateThesaurusInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateThesaurusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateThesaurusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateThesaurusInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.IndexId == nil { + invalidParams.Add(request.NewErrParamRequired("IndexId")) + } + if s.IndexId != nil && len(*s.IndexId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("IndexId", 36)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.RoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("RoleArn")) + } + if s.RoleArn != nil && len(*s.RoleArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 1)) + } + if s.SourceS3Path == nil { + invalidParams.Add(request.NewErrParamRequired("SourceS3Path")) + } + if s.SourceS3Path != nil { + if err := s.SourceS3Path.Validate(); err != nil { + invalidParams.AddNested("SourceS3Path", err.(request.ErrInvalidParams)) } } if s.Tags != nil { @@ -4642,16 +5267,6 @@ func (s *CreateIndexInput) Validate() error { } } } - if s.UserTokenConfigurations != nil { - for i, v := range s.UserTokenConfigurations { - if v == nil { - continue - } - if err := v.Validate(); err != nil { - invalidParams.AddNested(fmt.Sprintf("%s[%v]", "UserTokenConfigurations", i), err.(request.ErrInvalidParams)) - } - } - } if invalidParams.Len() > 0 { return invalidParams @@ -4660,79 +5275,66 @@ func (s *CreateIndexInput) Validate() error { } // SetClientToken sets the ClientToken field's value. -func (s *CreateIndexInput) SetClientToken(v string) *CreateIndexInput { +func (s *CreateThesaurusInput) SetClientToken(v string) *CreateThesaurusInput { s.ClientToken = &v return s } // SetDescription sets the Description field's value. -func (s *CreateIndexInput) SetDescription(v string) *CreateIndexInput { +func (s *CreateThesaurusInput) SetDescription(v string) *CreateThesaurusInput { s.Description = &v return s } -// SetEdition sets the Edition field's value. -func (s *CreateIndexInput) SetEdition(v string) *CreateIndexInput { - s.Edition = &v +// SetIndexId sets the IndexId field's value. +func (s *CreateThesaurusInput) SetIndexId(v string) *CreateThesaurusInput { + s.IndexId = &v return s } // SetName sets the Name field's value. -func (s *CreateIndexInput) SetName(v string) *CreateIndexInput { +func (s *CreateThesaurusInput) SetName(v string) *CreateThesaurusInput { s.Name = &v return s } // SetRoleArn sets the RoleArn field's value. -func (s *CreateIndexInput) SetRoleArn(v string) *CreateIndexInput { +func (s *CreateThesaurusInput) SetRoleArn(v string) *CreateThesaurusInput { s.RoleArn = &v return s } -// SetServerSideEncryptionConfiguration sets the ServerSideEncryptionConfiguration field's value. -func (s *CreateIndexInput) SetServerSideEncryptionConfiguration(v *ServerSideEncryptionConfiguration) *CreateIndexInput { - s.ServerSideEncryptionConfiguration = v +// SetSourceS3Path sets the SourceS3Path field's value. +func (s *CreateThesaurusInput) SetSourceS3Path(v *S3Path) *CreateThesaurusInput { + s.SourceS3Path = v return s } // SetTags sets the Tags field's value. -func (s *CreateIndexInput) SetTags(v []*Tag) *CreateIndexInput { +func (s *CreateThesaurusInput) SetTags(v []*Tag) *CreateThesaurusInput { s.Tags = v return s } -// SetUserContextPolicy sets the UserContextPolicy field's value. -func (s *CreateIndexInput) SetUserContextPolicy(v string) *CreateIndexInput { - s.UserContextPolicy = &v - return s -} - -// SetUserTokenConfigurations sets the UserTokenConfigurations field's value. -func (s *CreateIndexInput) SetUserTokenConfigurations(v []*UserTokenConfiguration) *CreateIndexInput { - s.UserTokenConfigurations = v - return s -} - -type CreateIndexOutput struct { +type CreateThesaurusOutput struct { _ struct{} `type:"structure"` - // The unique identifier of the index. Use this identifier when you query an - // index, set up a data source, or index a document. - Id *string `min:"36" type:"string"` + // The unique identifier of the thesaurus. + Id *string `min:"1" type:"string"` } // String returns the string representation -func (s CreateIndexOutput) String() string { +func (s CreateThesaurusOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateIndexOutput) GoString() string { +func (s CreateThesaurusOutput) GoString() string { return s.String() } // SetId sets the Id field's value. -func (s *CreateIndexOutput) SetId(v string) *CreateIndexOutput { +func (s *CreateThesaurusOutput) SetId(v string) *CreateThesaurusOutput { s.Id = &v return s } @@ -5618,6 +6220,78 @@ func (s DeleteIndexOutput) GoString() string { return s.String() } +type DeleteThesaurusInput struct { + _ struct{} `type:"structure"` + + // The identifier of the thesaurus to delete. + // + // Id is a required field + Id *string `min:"1" type:"string" required:"true"` + + // The identifier of the index associated with the thesaurus to delete. + // + // IndexId is a required field + IndexId *string `min:"36" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteThesaurusInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThesaurusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteThesaurusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteThesaurusInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.IndexId == nil { + invalidParams.Add(request.NewErrParamRequired("IndexId")) + } + if s.IndexId != nil && len(*s.IndexId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("IndexId", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DeleteThesaurusInput) SetId(v string) *DeleteThesaurusInput { + s.Id = &v + return s +} + +// SetIndexId sets the IndexId field's value. +func (s *DeleteThesaurusInput) SetIndexId(v string) *DeleteThesaurusInput { + s.IndexId = &v + return s +} + +type DeleteThesaurusOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteThesaurusOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteThesaurusOutput) GoString() string { + return s.String() +} + type DescribeDataSourceInput struct { _ struct{} `type:"structure"` @@ -6044,7 +6718,7 @@ type DescribeIndexOutput struct { // message that explains why. ErrorMessage *string `min:"1" type:"string"` - // the name of the index. + // The name of the index. Id *string `min:"36" type:"string"` // Provides information about the number of FAQ questions and answers and the @@ -6154,26 +6828,223 @@ func (s *DescribeIndexOutput) SetServerSideEncryptionConfiguration(v *ServerSide } // SetStatus sets the Status field's value. -func (s *DescribeIndexOutput) SetStatus(v string) *DescribeIndexOutput { +func (s *DescribeIndexOutput) SetStatus(v string) *DescribeIndexOutput { + s.Status = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *DescribeIndexOutput) SetUpdatedAt(v time.Time) *DescribeIndexOutput { + s.UpdatedAt = &v + return s +} + +// SetUserContextPolicy sets the UserContextPolicy field's value. +func (s *DescribeIndexOutput) SetUserContextPolicy(v string) *DescribeIndexOutput { + s.UserContextPolicy = &v + return s +} + +// SetUserTokenConfigurations sets the UserTokenConfigurations field's value. +func (s *DescribeIndexOutput) SetUserTokenConfigurations(v []*UserTokenConfiguration) *DescribeIndexOutput { + s.UserTokenConfigurations = v + return s +} + +type DescribeThesaurusInput struct { + _ struct{} `type:"structure"` + + // The identifier of the thesaurus to describe. + // + // Id is a required field + Id *string `min:"1" type:"string" required:"true"` + + // The identifier of the index associated with the thesaurus to describe. + // + // IndexId is a required field + IndexId *string `min:"36" type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeThesaurusInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThesaurusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeThesaurusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeThesaurusInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.IndexId == nil { + invalidParams.Add(request.NewErrParamRequired("IndexId")) + } + if s.IndexId != nil && len(*s.IndexId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("IndexId", 36)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetId sets the Id field's value. +func (s *DescribeThesaurusInput) SetId(v string) *DescribeThesaurusInput { + s.Id = &v + return s +} + +// SetIndexId sets the IndexId field's value. +func (s *DescribeThesaurusInput) SetIndexId(v string) *DescribeThesaurusInput { + s.IndexId = &v + return s +} + +type DescribeThesaurusOutput struct { + _ struct{} `type:"structure"` + + // The Unix datetime that the thesaurus was created. + CreatedAt *time.Time `type:"timestamp"` + + // The thesaurus description. + Description *string `type:"string"` + + // When the Status field value is FAILED, the ErrorMessage field provides more + // information. + ErrorMessage *string `min:"1" type:"string"` + + // The size of the thesaurus file in bytes. + FileSizeBytes *int64 `type:"long"` + + // The identifier of the thesaurus. + Id *string `min:"1" type:"string"` + + // The identifier of the index associated with the thesaurus to describe. + IndexId *string `min:"36" type:"string"` + + // The thesaurus name. + Name *string `min:"1" type:"string"` + + // An AWS Identity and Access Management (IAM) role that gives Amazon Kendra + // permissions to access thesaurus file specified in SourceS3Path. + RoleArn *string `min:"1" type:"string"` + + // Information required to find a specific file in an Amazon S3 bucket. + SourceS3Path *S3Path `type:"structure"` + + // The current status of the thesaurus. When the value is ACTIVE, queries are + // able to use the thesaurus. If the Status field value is FAILED, the ErrorMessage + // field provides more information. + // + // If the status is ACTIVE_BUT_UPDATE_FAILED, it means that Amazon Kendra could + // not ingest the new thesaurus file. The old thesaurus file is still active. + Status *string `type:"string" enum:"ThesaurusStatus"` + + // The number of synonym rules in the thesaurus file. + SynonymRuleCount *int64 `type:"long"` + + // The number of unique terms in the thesaurus file. For example, the synonyms + // a,b,c and a=>d, the term count would be 4. + TermCount *int64 `type:"long"` + + // The Unix datetime that the thesaurus was last updated. + UpdatedAt *time.Time `type:"timestamp"` +} + +// String returns the string representation +func (s DescribeThesaurusOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeThesaurusOutput) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *DescribeThesaurusOutput) SetCreatedAt(v time.Time) *DescribeThesaurusOutput { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *DescribeThesaurusOutput) SetDescription(v string) *DescribeThesaurusOutput { + s.Description = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *DescribeThesaurusOutput) SetErrorMessage(v string) *DescribeThesaurusOutput { + s.ErrorMessage = &v + return s +} + +// SetFileSizeBytes sets the FileSizeBytes field's value. +func (s *DescribeThesaurusOutput) SetFileSizeBytes(v int64) *DescribeThesaurusOutput { + s.FileSizeBytes = &v + return s +} + +// SetId sets the Id field's value. +func (s *DescribeThesaurusOutput) SetId(v string) *DescribeThesaurusOutput { + s.Id = &v + return s +} + +// SetIndexId sets the IndexId field's value. +func (s *DescribeThesaurusOutput) SetIndexId(v string) *DescribeThesaurusOutput { + s.IndexId = &v + return s +} + +// SetName sets the Name field's value. +func (s *DescribeThesaurusOutput) SetName(v string) *DescribeThesaurusOutput { + s.Name = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *DescribeThesaurusOutput) SetRoleArn(v string) *DescribeThesaurusOutput { + s.RoleArn = &v + return s +} + +// SetSourceS3Path sets the SourceS3Path field's value. +func (s *DescribeThesaurusOutput) SetSourceS3Path(v *S3Path) *DescribeThesaurusOutput { + s.SourceS3Path = v + return s +} + +// SetStatus sets the Status field's value. +func (s *DescribeThesaurusOutput) SetStatus(v string) *DescribeThesaurusOutput { s.Status = &v return s } -// SetUpdatedAt sets the UpdatedAt field's value. -func (s *DescribeIndexOutput) SetUpdatedAt(v time.Time) *DescribeIndexOutput { - s.UpdatedAt = &v +// SetSynonymRuleCount sets the SynonymRuleCount field's value. +func (s *DescribeThesaurusOutput) SetSynonymRuleCount(v int64) *DescribeThesaurusOutput { + s.SynonymRuleCount = &v return s } -// SetUserContextPolicy sets the UserContextPolicy field's value. -func (s *DescribeIndexOutput) SetUserContextPolicy(v string) *DescribeIndexOutput { - s.UserContextPolicy = &v +// SetTermCount sets the TermCount field's value. +func (s *DescribeThesaurusOutput) SetTermCount(v int64) *DescribeThesaurusOutput { + s.TermCount = &v return s } -// SetUserTokenConfigurations sets the UserTokenConfigurations field's value. -func (s *DescribeIndexOutput) SetUserTokenConfigurations(v []*UserTokenConfiguration) *DescribeIndexOutput { - s.UserTokenConfigurations = v +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *DescribeThesaurusOutput) SetUpdatedAt(v time.Time) *DescribeThesaurusOutput { + s.UpdatedAt = &v return s } @@ -6919,6 +7790,9 @@ type Highlight struct { // Indicates whether the response is the best response. True if this is the // best response; otherwise, false. TopAnswer *bool `type:"boolean"` + + // The highlight type. + Type *string `type:"string" enum:"HighlightType"` } // String returns the string representation @@ -6949,6 +7823,12 @@ func (s *Highlight) SetTopAnswer(v bool) *Highlight { return s } +// SetType sets the Type field's value. +func (s *Highlight) SetType(v string) *Highlight { + s.Type = &v + return s +} + // A summary of information about an index. type IndexConfigurationSummary struct { _ struct{} `type:"structure"` @@ -7782,6 +8662,106 @@ func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput return s } +type ListThesauriInput struct { + _ struct{} `type:"structure"` + + // The identifier of the index associated with the thesaurus to list. + // + // IndexId is a required field + IndexId *string `min:"36" type:"string" required:"true"` + + // The maximum number of thesauri to return. + MaxResults *int64 `min:"1" type:"integer"` + + // If the previous response was incomplete (because there is more data to retrieve), + // Amazon Kendra returns a pagination token in the response. You can use this + // pagination token to retrieve the next set of thesauri (ThesaurusSummaryItems). + NextToken *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s ListThesauriInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListThesauriInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListThesauriInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListThesauriInput"} + if s.IndexId == nil { + invalidParams.Add(request.NewErrParamRequired("IndexId")) + } + if s.IndexId != nil && len(*s.IndexId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("IndexId", 36)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + if s.NextToken != nil && len(*s.NextToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NextToken", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIndexId sets the IndexId field's value. +func (s *ListThesauriInput) SetIndexId(v string) *ListThesauriInput { + s.IndexId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListThesauriInput) SetMaxResults(v int64) *ListThesauriInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListThesauriInput) SetNextToken(v string) *ListThesauriInput { + s.NextToken = &v + return s +} + +type ListThesauriOutput struct { + _ struct{} `type:"structure"` + + // If the response is truncated, Amazon Kendra returns this token that you can + // use in the subsequent request to retrieve the next set of thesauri. + NextToken *string `min:"1" type:"string"` + + // An array of summary information for one or more thesauruses. + ThesaurusSummaryItems []*ThesaurusSummary `type:"list"` +} + +// String returns the string representation +func (s ListThesauriOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListThesauriOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListThesauriOutput) SetNextToken(v string) *ListThesauriOutput { + s.NextToken = &v + return s +} + +// SetThesaurusSummaryItems sets the ThesaurusSummaryItems field's value. +func (s *ListThesauriOutput) SetThesaurusSummaryItems(v []*ThesaurusSummary) *ListThesauriOutput { + s.ThesaurusSummaryItems = v + return s +} + // Provides configuration information for data sources that connect to OneDrive. type OneDriveConfiguration struct { _ struct{} `type:"structure"` @@ -10957,6 +11937,66 @@ func (s *TextWithHighlights) SetText(v string) *TextWithHighlights { return s } +// An array of summary information for one or more thesauruses. +type ThesaurusSummary struct { + _ struct{} `type:"structure"` + + // The Unix datetime that the thesaurus was created. + CreatedAt *time.Time `type:"timestamp"` + + // The identifier of the thesaurus. + Id *string `min:"1" type:"string"` + + // The name of the thesaurus. + Name *string `min:"1" type:"string"` + + // The status of the thesaurus. + Status *string `type:"string" enum:"ThesaurusStatus"` + + // The Unix datetime that the thesaurus was last updated. + UpdatedAt *time.Time `type:"timestamp"` +} + +// String returns the string representation +func (s ThesaurusSummary) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ThesaurusSummary) GoString() string { + return s.String() +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *ThesaurusSummary) SetCreatedAt(v time.Time) *ThesaurusSummary { + s.CreatedAt = &v + return s +} + +// SetId sets the Id field's value. +func (s *ThesaurusSummary) SetId(v string) *ThesaurusSummary { + s.Id = &v + return s +} + +// SetName sets the Name field's value. +func (s *ThesaurusSummary) SetName(v string) *ThesaurusSummary { + s.Name = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *ThesaurusSummary) SetStatus(v string) *ThesaurusSummary { + s.Status = &v + return s +} + +// SetUpdatedAt sets the UpdatedAt field's value. +func (s *ThesaurusSummary) SetUpdatedAt(v time.Time) *ThesaurusSummary { + s.UpdatedAt = &v + return s +} + type ThrottlingException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -11402,6 +12442,125 @@ func (s UpdateIndexOutput) GoString() string { return s.String() } +type UpdateThesaurusInput struct { + _ struct{} `type:"structure"` + + // The updated description of the thesaurus. + Description *string `type:"string"` + + // The identifier of the thesaurus to update. + // + // Id is a required field + Id *string `min:"1" type:"string" required:"true"` + + // The identifier of the index associated with the thesaurus to update. + // + // IndexId is a required field + IndexId *string `min:"36" type:"string" required:"true"` + + // The updated name of the thesaurus. + Name *string `min:"1" type:"string"` + + // The updated role ARN of the thesaurus. + RoleArn *string `min:"1" type:"string"` + + // Information required to find a specific file in an Amazon S3 bucket. + SourceS3Path *S3Path `type:"structure"` +} + +// String returns the string representation +func (s UpdateThesaurusInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateThesaurusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateThesaurusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateThesaurusInput"} + if s.Id == nil { + invalidParams.Add(request.NewErrParamRequired("Id")) + } + if s.Id != nil && len(*s.Id) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Id", 1)) + } + if s.IndexId == nil { + invalidParams.Add(request.NewErrParamRequired("IndexId")) + } + if s.IndexId != nil && len(*s.IndexId) < 36 { + invalidParams.Add(request.NewErrParamMinLen("IndexId", 36)) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.RoleArn != nil && len(*s.RoleArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("RoleArn", 1)) + } + if s.SourceS3Path != nil { + if err := s.SourceS3Path.Validate(); err != nil { + invalidParams.AddNested("SourceS3Path", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateThesaurusInput) SetDescription(v string) *UpdateThesaurusInput { + s.Description = &v + return s +} + +// SetId sets the Id field's value. +func (s *UpdateThesaurusInput) SetId(v string) *UpdateThesaurusInput { + s.Id = &v + return s +} + +// SetIndexId sets the IndexId field's value. +func (s *UpdateThesaurusInput) SetIndexId(v string) *UpdateThesaurusInput { + s.IndexId = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateThesaurusInput) SetName(v string) *UpdateThesaurusInput { + s.Name = &v + return s +} + +// SetRoleArn sets the RoleArn field's value. +func (s *UpdateThesaurusInput) SetRoleArn(v string) *UpdateThesaurusInput { + s.RoleArn = &v + return s +} + +// SetSourceS3Path sets the SourceS3Path field's value. +func (s *UpdateThesaurusInput) SetSourceS3Path(v *S3Path) *UpdateThesaurusInput { + s.SourceS3Path = v + return s +} + +type UpdateThesaurusOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateThesaurusOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateThesaurusOutput) GoString() string { + return s.String() +} + // Provides information about the user context for a Amazon Kendra index. type UserContext struct { _ struct{} `type:"structure"` @@ -11999,6 +13158,22 @@ func FaqStatus_Values() []string { } } +const ( + // HighlightTypeStandard is a HighlightType enum value + HighlightTypeStandard = "STANDARD" + + // HighlightTypeThesaurusSynonym is a HighlightType enum value + HighlightTypeThesaurusSynonym = "THESAURUS_SYNONYM" +) + +// HighlightType_Values returns all elements of the HighlightType enum +func HighlightType_Values() []string { + return []string{ + HighlightTypeStandard, + HighlightTypeThesaurusSynonym, + } +} + const ( // IndexEditionDeveloperEdition is a IndexEdition enum value IndexEditionDeveloperEdition = "DEVELOPER_EDITION" @@ -12344,6 +13519,38 @@ func SortOrder_Values() []string { } } +const ( + // ThesaurusStatusCreating is a ThesaurusStatus enum value + ThesaurusStatusCreating = "CREATING" + + // ThesaurusStatusActive is a ThesaurusStatus enum value + ThesaurusStatusActive = "ACTIVE" + + // ThesaurusStatusDeleting is a ThesaurusStatus enum value + ThesaurusStatusDeleting = "DELETING" + + // ThesaurusStatusUpdating is a ThesaurusStatus enum value + ThesaurusStatusUpdating = "UPDATING" + + // ThesaurusStatusActiveButUpdateFailed is a ThesaurusStatus enum value + ThesaurusStatusActiveButUpdateFailed = "ACTIVE_BUT_UPDATE_FAILED" + + // ThesaurusStatusFailed is a ThesaurusStatus enum value + ThesaurusStatusFailed = "FAILED" +) + +// ThesaurusStatus_Values returns all elements of the ThesaurusStatus enum +func ThesaurusStatus_Values() []string { + return []string{ + ThesaurusStatusCreating, + ThesaurusStatusActive, + ThesaurusStatusDeleting, + ThesaurusStatusUpdating, + ThesaurusStatusActiveButUpdateFailed, + ThesaurusStatusFailed, + } +} + const ( // UserContextPolicyAttributeFilter is a UserContextPolicy enum value UserContextPolicyAttributeFilter = "ATTRIBUTE_FILTER" diff --git a/service/kendra/kendraiface/interface.go b/service/kendra/kendraiface/interface.go index e2e179ad0fe..d46807ce01f 100644 --- a/service/kendra/kendraiface/interface.go +++ b/service/kendra/kendraiface/interface.go @@ -80,6 +80,10 @@ type KendraAPI interface { CreateIndexWithContext(aws.Context, *kendra.CreateIndexInput, ...request.Option) (*kendra.CreateIndexOutput, error) CreateIndexRequest(*kendra.CreateIndexInput) (*request.Request, *kendra.CreateIndexOutput) + CreateThesaurus(*kendra.CreateThesaurusInput) (*kendra.CreateThesaurusOutput, error) + CreateThesaurusWithContext(aws.Context, *kendra.CreateThesaurusInput, ...request.Option) (*kendra.CreateThesaurusOutput, error) + CreateThesaurusRequest(*kendra.CreateThesaurusInput) (*request.Request, *kendra.CreateThesaurusOutput) + DeleteDataSource(*kendra.DeleteDataSourceInput) (*kendra.DeleteDataSourceOutput, error) DeleteDataSourceWithContext(aws.Context, *kendra.DeleteDataSourceInput, ...request.Option) (*kendra.DeleteDataSourceOutput, error) DeleteDataSourceRequest(*kendra.DeleteDataSourceInput) (*request.Request, *kendra.DeleteDataSourceOutput) @@ -92,6 +96,10 @@ type KendraAPI interface { DeleteIndexWithContext(aws.Context, *kendra.DeleteIndexInput, ...request.Option) (*kendra.DeleteIndexOutput, error) DeleteIndexRequest(*kendra.DeleteIndexInput) (*request.Request, *kendra.DeleteIndexOutput) + DeleteThesaurus(*kendra.DeleteThesaurusInput) (*kendra.DeleteThesaurusOutput, error) + DeleteThesaurusWithContext(aws.Context, *kendra.DeleteThesaurusInput, ...request.Option) (*kendra.DeleteThesaurusOutput, error) + DeleteThesaurusRequest(*kendra.DeleteThesaurusInput) (*request.Request, *kendra.DeleteThesaurusOutput) + DescribeDataSource(*kendra.DescribeDataSourceInput) (*kendra.DescribeDataSourceOutput, error) DescribeDataSourceWithContext(aws.Context, *kendra.DescribeDataSourceInput, ...request.Option) (*kendra.DescribeDataSourceOutput, error) DescribeDataSourceRequest(*kendra.DescribeDataSourceInput) (*request.Request, *kendra.DescribeDataSourceOutput) @@ -104,6 +112,10 @@ type KendraAPI interface { DescribeIndexWithContext(aws.Context, *kendra.DescribeIndexInput, ...request.Option) (*kendra.DescribeIndexOutput, error) DescribeIndexRequest(*kendra.DescribeIndexInput) (*request.Request, *kendra.DescribeIndexOutput) + DescribeThesaurus(*kendra.DescribeThesaurusInput) (*kendra.DescribeThesaurusOutput, error) + DescribeThesaurusWithContext(aws.Context, *kendra.DescribeThesaurusInput, ...request.Option) (*kendra.DescribeThesaurusOutput, error) + DescribeThesaurusRequest(*kendra.DescribeThesaurusInput) (*request.Request, *kendra.DescribeThesaurusOutput) + ListDataSourceSyncJobs(*kendra.ListDataSourceSyncJobsInput) (*kendra.ListDataSourceSyncJobsOutput, error) ListDataSourceSyncJobsWithContext(aws.Context, *kendra.ListDataSourceSyncJobsInput, ...request.Option) (*kendra.ListDataSourceSyncJobsOutput, error) ListDataSourceSyncJobsRequest(*kendra.ListDataSourceSyncJobsInput) (*request.Request, *kendra.ListDataSourceSyncJobsOutput) @@ -133,6 +145,10 @@ type KendraAPI interface { ListTagsForResourceWithContext(aws.Context, *kendra.ListTagsForResourceInput, ...request.Option) (*kendra.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*kendra.ListTagsForResourceInput) (*request.Request, *kendra.ListTagsForResourceOutput) + ListThesauri(*kendra.ListThesauriInput) (*kendra.ListThesauriOutput, error) + ListThesauriWithContext(aws.Context, *kendra.ListThesauriInput, ...request.Option) (*kendra.ListThesauriOutput, error) + ListThesauriRequest(*kendra.ListThesauriInput) (*request.Request, *kendra.ListThesauriOutput) + Query(*kendra.QueryInput) (*kendra.QueryOutput, error) QueryWithContext(aws.Context, *kendra.QueryInput, ...request.Option) (*kendra.QueryOutput, error) QueryRequest(*kendra.QueryInput) (*request.Request, *kendra.QueryOutput) @@ -164,6 +180,10 @@ type KendraAPI interface { UpdateIndex(*kendra.UpdateIndexInput) (*kendra.UpdateIndexOutput, error) UpdateIndexWithContext(aws.Context, *kendra.UpdateIndexInput, ...request.Option) (*kendra.UpdateIndexOutput, error) UpdateIndexRequest(*kendra.UpdateIndexInput) (*request.Request, *kendra.UpdateIndexOutput) + + UpdateThesaurus(*kendra.UpdateThesaurusInput) (*kendra.UpdateThesaurusOutput, error) + UpdateThesaurusWithContext(aws.Context, *kendra.UpdateThesaurusInput, ...request.Option) (*kendra.UpdateThesaurusOutput, error) + UpdateThesaurusRequest(*kendra.UpdateThesaurusInput) (*request.Request, *kendra.UpdateThesaurusOutput) } var _ KendraAPI = (*kendra.Kendra)(nil) diff --git a/service/networkmanager/api.go b/service/networkmanager/api.go index 50655967e66..2ddb1bdbe17 100644 --- a/service/networkmanager/api.go +++ b/service/networkmanager/api.go @@ -222,6 +222,210 @@ func (c *NetworkManager) AssociateLinkWithContext(ctx aws.Context, input *Associ return out, req.Send() } +const opAssociateTransitGatewayConnectPeer = "AssociateTransitGatewayConnectPeer" + +// AssociateTransitGatewayConnectPeerRequest generates a "aws/request.Request" representing the +// client's request for the AssociateTransitGatewayConnectPeer operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See AssociateTransitGatewayConnectPeer for more information on using the AssociateTransitGatewayConnectPeer +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the AssociateTransitGatewayConnectPeerRequest method. +// req, resp := client.AssociateTransitGatewayConnectPeerRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeer +func (c *NetworkManager) AssociateTransitGatewayConnectPeerRequest(input *AssociateTransitGatewayConnectPeerInput) (req *request.Request, output *AssociateTransitGatewayConnectPeerOutput) { + op := &request.Operation{ + Name: opAssociateTransitGatewayConnectPeer, + HTTPMethod: "POST", + HTTPPath: "/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations", + } + + if input == nil { + input = &AssociateTransitGatewayConnectPeerInput{} + } + + output = &AssociateTransitGatewayConnectPeerOutput{} + req = c.newRequest(op, input, output) + return +} + +// AssociateTransitGatewayConnectPeer API operation for AWS Network Manager. +// +// Associates a transit gateway Connect peer with a device, and optionally, +// with a link. If you specify a link, it must be associated with the specified +// device. +// +// You can only associate transit gateway Connect peers that have been created +// on a transit gateway that's registered in your global network. +// +// You cannot associate a transit gateway Connect peer with more than one device +// and link. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Network Manager's +// API operation AssociateTransitGatewayConnectPeer for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The input fails to satisfy the constraints. +// +// * ServiceQuotaExceededException +// A service limit was exceeded. +// +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// +// * ResourceNotFoundException +// The specified resource could not be found. +// +// * ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The request has failed due to an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeer +func (c *NetworkManager) AssociateTransitGatewayConnectPeer(input *AssociateTransitGatewayConnectPeerInput) (*AssociateTransitGatewayConnectPeerOutput, error) { + req, out := c.AssociateTransitGatewayConnectPeerRequest(input) + return out, req.Send() +} + +// AssociateTransitGatewayConnectPeerWithContext is the same as AssociateTransitGatewayConnectPeer with the addition of +// the ability to pass a context and additional request options. +// +// See AssociateTransitGatewayConnectPeer for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *NetworkManager) AssociateTransitGatewayConnectPeerWithContext(ctx aws.Context, input *AssociateTransitGatewayConnectPeerInput, opts ...request.Option) (*AssociateTransitGatewayConnectPeerOutput, error) { + req, out := c.AssociateTransitGatewayConnectPeerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateConnection = "CreateConnection" + +// CreateConnectionRequest generates a "aws/request.Request" representing the +// client's request for the CreateConnection operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See CreateConnection for more information on using the CreateConnection +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the CreateConnectionRequest method. +// req, resp := client.CreateConnectionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnection +func (c *NetworkManager) CreateConnectionRequest(input *CreateConnectionInput) (req *request.Request, output *CreateConnectionOutput) { + op := &request.Operation{ + Name: opCreateConnection, + HTTPMethod: "POST", + HTTPPath: "/global-networks/{globalNetworkId}/connections", + } + + if input == nil { + input = &CreateConnectionInput{} + } + + output = &CreateConnectionOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateConnection API operation for AWS Network Manager. +// +// Creates a connection between two devices. The devices can be a physical or +// virtual appliance that connects to a third-party appliance in a VPC, or a +// physical appliance that connects to another physical appliance in an on-premises +// network. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Network Manager's +// API operation CreateConnection for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The input fails to satisfy the constraints. +// +// * ServiceQuotaExceededException +// A service limit was exceeded. +// +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// +// * ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The request has failed due to an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnection +func (c *NetworkManager) CreateConnection(input *CreateConnectionInput) (*CreateConnectionOutput, error) { + req, out := c.CreateConnectionRequest(input) + return out, req.Send() +} + +// CreateConnectionWithContext is the same as CreateConnection with the addition of +// the ability to pass a context and additional request options. +// +// See CreateConnection for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *NetworkManager) CreateConnectionWithContext(ctx aws.Context, input *CreateConnectionInput, opts ...request.Option) (*CreateConnectionOutput, error) { + req, out := c.CreateConnectionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateDevice = "CreateDevice" // CreateDeviceRequest generates a "aws/request.Request" representing the @@ -613,6 +817,101 @@ func (c *NetworkManager) CreateSiteWithContext(ctx aws.Context, input *CreateSit return out, req.Send() } +const opDeleteConnection = "DeleteConnection" + +// DeleteConnectionRequest generates a "aws/request.Request" representing the +// client's request for the DeleteConnection operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See DeleteConnection for more information on using the DeleteConnection +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the DeleteConnectionRequest method. +// req, resp := client.DeleteConnectionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnection +func (c *NetworkManager) DeleteConnectionRequest(input *DeleteConnectionInput) (req *request.Request, output *DeleteConnectionOutput) { + op := &request.Operation{ + Name: opDeleteConnection, + HTTPMethod: "DELETE", + HTTPPath: "/global-networks/{globalNetworkId}/connections/{connectionId}", + } + + if input == nil { + input = &DeleteConnectionInput{} + } + + output = &DeleteConnectionOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteConnection API operation for AWS Network Manager. +// +// Deletes the specified connection in your global network. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Network Manager's +// API operation DeleteConnection for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The input fails to satisfy the constraints. +// +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// +// * ResourceNotFoundException +// The specified resource could not be found. +// +// * ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The request has failed due to an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnection +func (c *NetworkManager) DeleteConnection(input *DeleteConnectionInput) (*DeleteConnectionOutput, error) { + req, out := c.DeleteConnectionRequest(input) + return out, req.Send() +} + +// DeleteConnectionWithContext is the same as DeleteConnection with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteConnection for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *NetworkManager) DeleteConnectionWithContext(ctx aws.Context, input *DeleteConnectionInput, opts ...request.Option) (*DeleteConnectionOutput, error) { + req, out := c.DeleteConnectionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteDevice = "DeleteDevice" // DeleteDeviceRequest generates a "aws/request.Request" representing the @@ -1437,65 +1736,58 @@ func (c *NetworkManager) DisassociateLinkWithContext(ctx aws.Context, input *Dis return out, req.Send() } -const opGetCustomerGatewayAssociations = "GetCustomerGatewayAssociations" +const opDisassociateTransitGatewayConnectPeer = "DisassociateTransitGatewayConnectPeer" -// GetCustomerGatewayAssociationsRequest generates a "aws/request.Request" representing the -// client's request for the GetCustomerGatewayAssociations operation. The "output" return +// DisassociateTransitGatewayConnectPeerRequest generates a "aws/request.Request" representing the +// client's request for the DisassociateTransitGatewayConnectPeer operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetCustomerGatewayAssociations for more information on using the GetCustomerGatewayAssociations +// See DisassociateTransitGatewayConnectPeer for more information on using the DisassociateTransitGatewayConnectPeer // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetCustomerGatewayAssociationsRequest method. -// req, resp := client.GetCustomerGatewayAssociationsRequest(params) +// // Example sending a request using the DisassociateTransitGatewayConnectPeerRequest method. +// req, resp := client.DisassociateTransitGatewayConnectPeerRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociations -func (c *NetworkManager) GetCustomerGatewayAssociationsRequest(input *GetCustomerGatewayAssociationsInput) (req *request.Request, output *GetCustomerGatewayAssociationsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeer +func (c *NetworkManager) DisassociateTransitGatewayConnectPeerRequest(input *DisassociateTransitGatewayConnectPeerInput) (req *request.Request, output *DisassociateTransitGatewayConnectPeerOutput) { op := &request.Operation{ - Name: opGetCustomerGatewayAssociations, - HTTPMethod: "GET", - HTTPPath: "/global-networks/{globalNetworkId}/customer-gateway-associations", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", - }, + Name: opDisassociateTransitGatewayConnectPeer, + HTTPMethod: "DELETE", + HTTPPath: "/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations/{transitGatewayConnectPeerArn}", } if input == nil { - input = &GetCustomerGatewayAssociationsInput{} + input = &DisassociateTransitGatewayConnectPeerInput{} } - output = &GetCustomerGatewayAssociationsOutput{} + output = &DisassociateTransitGatewayConnectPeerOutput{} req = c.newRequest(op, input, output) return } -// GetCustomerGatewayAssociations API operation for AWS Network Manager. +// DisassociateTransitGatewayConnectPeer API operation for AWS Network Manager. // -// Gets the association information for customer gateways that are associated -// with devices and links in your global network. +// Disassociates a transit gateway Connect peer from a device and link. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Network Manager's -// API operation GetCustomerGatewayAssociations for usage and error information. +// API operation DisassociateTransitGatewayConnectPeer for usage and error information. // // Returned Error Types: // * ValidationException @@ -1517,23 +1809,274 @@ func (c *NetworkManager) GetCustomerGatewayAssociationsRequest(input *GetCustome // * InternalServerException // The request has failed due to an internal error. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociations -func (c *NetworkManager) GetCustomerGatewayAssociations(input *GetCustomerGatewayAssociationsInput) (*GetCustomerGatewayAssociationsOutput, error) { - req, out := c.GetCustomerGatewayAssociationsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeer +func (c *NetworkManager) DisassociateTransitGatewayConnectPeer(input *DisassociateTransitGatewayConnectPeerInput) (*DisassociateTransitGatewayConnectPeerOutput, error) { + req, out := c.DisassociateTransitGatewayConnectPeerRequest(input) return out, req.Send() } -// GetCustomerGatewayAssociationsWithContext is the same as GetCustomerGatewayAssociations with the addition of +// DisassociateTransitGatewayConnectPeerWithContext is the same as DisassociateTransitGatewayConnectPeer with the addition of // the ability to pass a context and additional request options. // -// See GetCustomerGatewayAssociations for details on how to use this API operation. +// See DisassociateTransitGatewayConnectPeer for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *NetworkManager) GetCustomerGatewayAssociationsWithContext(ctx aws.Context, input *GetCustomerGatewayAssociationsInput, opts ...request.Option) (*GetCustomerGatewayAssociationsOutput, error) { - req, out := c.GetCustomerGatewayAssociationsRequest(input) +func (c *NetworkManager) DisassociateTransitGatewayConnectPeerWithContext(ctx aws.Context, input *DisassociateTransitGatewayConnectPeerInput, opts ...request.Option) (*DisassociateTransitGatewayConnectPeerOutput, error) { + req, out := c.DisassociateTransitGatewayConnectPeerRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetConnections = "GetConnections" + +// GetConnectionsRequest generates a "aws/request.Request" representing the +// client's request for the GetConnections operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetConnections for more information on using the GetConnections +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetConnectionsRequest method. +// req, resp := client.GetConnectionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnections +func (c *NetworkManager) GetConnectionsRequest(input *GetConnectionsInput) (req *request.Request, output *GetConnectionsOutput) { + op := &request.Operation{ + Name: opGetConnections, + HTTPMethod: "GET", + HTTPPath: "/global-networks/{globalNetworkId}/connections", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetConnectionsInput{} + } + + output = &GetConnectionsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetConnections API operation for AWS Network Manager. +// +// Gets information about one or more of your connections in a global network. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Network Manager's +// API operation GetConnections for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The input fails to satisfy the constraints. +// +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// +// * ResourceNotFoundException +// The specified resource could not be found. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The request has failed due to an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnections +func (c *NetworkManager) GetConnections(input *GetConnectionsInput) (*GetConnectionsOutput, error) { + req, out := c.GetConnectionsRequest(input) + return out, req.Send() +} + +// GetConnectionsWithContext is the same as GetConnections with the addition of +// the ability to pass a context and additional request options. +// +// See GetConnections for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *NetworkManager) GetConnectionsWithContext(ctx aws.Context, input *GetConnectionsInput, opts ...request.Option) (*GetConnectionsOutput, error) { + req, out := c.GetConnectionsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetConnectionsPages iterates over the pages of a GetConnections operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetConnections method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetConnections operation. +// pageNum := 0 +// err := client.GetConnectionsPages(params, +// func(page *networkmanager.GetConnectionsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *NetworkManager) GetConnectionsPages(input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool) error { + return c.GetConnectionsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetConnectionsPagesWithContext same as GetConnectionsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *NetworkManager) GetConnectionsPagesWithContext(ctx aws.Context, input *GetConnectionsInput, fn func(*GetConnectionsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetConnectionsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetConnectionsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetConnectionsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opGetCustomerGatewayAssociations = "GetCustomerGatewayAssociations" + +// GetCustomerGatewayAssociationsRequest generates a "aws/request.Request" representing the +// client's request for the GetCustomerGatewayAssociations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetCustomerGatewayAssociations for more information on using the GetCustomerGatewayAssociations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetCustomerGatewayAssociationsRequest method. +// req, resp := client.GetCustomerGatewayAssociationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociations +func (c *NetworkManager) GetCustomerGatewayAssociationsRequest(input *GetCustomerGatewayAssociationsInput) (req *request.Request, output *GetCustomerGatewayAssociationsOutput) { + op := &request.Operation{ + Name: opGetCustomerGatewayAssociations, + HTTPMethod: "GET", + HTTPPath: "/global-networks/{globalNetworkId}/customer-gateway-associations", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetCustomerGatewayAssociationsInput{} + } + + output = &GetCustomerGatewayAssociationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetCustomerGatewayAssociations API operation for AWS Network Manager. +// +// Gets the association information for customer gateways that are associated +// with devices and links in your global network. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Network Manager's +// API operation GetCustomerGatewayAssociations for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The input fails to satisfy the constraints. +// +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// +// * ResourceNotFoundException +// The specified resource could not be found. +// +// * ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The request has failed due to an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociations +func (c *NetworkManager) GetCustomerGatewayAssociations(input *GetCustomerGatewayAssociationsInput) (*GetCustomerGatewayAssociationsOutput, error) { + req, out := c.GetCustomerGatewayAssociationsRequest(input) + return out, req.Send() +} + +// GetCustomerGatewayAssociationsWithContext is the same as GetCustomerGatewayAssociations with the addition of +// the ability to pass a context and additional request options. +// +// See GetCustomerGatewayAssociations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *NetworkManager) GetCustomerGatewayAssociationsWithContext(ctx aws.Context, input *GetCustomerGatewayAssociationsInput, opts ...request.Option) (*GetCustomerGatewayAssociationsOutput, error) { + req, out := c.GetCustomerGatewayAssociationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() @@ -2191,37 +2734,37 @@ func (c *NetworkManager) GetSitesPagesWithContext(ctx aws.Context, input *GetSit return p.Err() } -const opGetTransitGatewayRegistrations = "GetTransitGatewayRegistrations" +const opGetTransitGatewayConnectPeerAssociations = "GetTransitGatewayConnectPeerAssociations" -// GetTransitGatewayRegistrationsRequest generates a "aws/request.Request" representing the -// client's request for the GetTransitGatewayRegistrations operation. The "output" return +// GetTransitGatewayConnectPeerAssociationsRequest generates a "aws/request.Request" representing the +// client's request for the GetTransitGatewayConnectPeerAssociations operation. The "output" return // value will be populated with the request's response once the request completes // successfully. // // Use "Send" method on the returned Request to send the API call to the service. // the "output" return value is not valid until after Send returns without error. // -// See GetTransitGatewayRegistrations for more information on using the GetTransitGatewayRegistrations +// See GetTransitGatewayConnectPeerAssociations for more information on using the GetTransitGatewayConnectPeerAssociations // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration // into the SDK's request lifecycle. Such as custom headers, or retry logic. // // -// // Example sending a request using the GetTransitGatewayRegistrationsRequest method. -// req, resp := client.GetTransitGatewayRegistrationsRequest(params) +// // Example sending a request using the GetTransitGatewayConnectPeerAssociationsRequest method. +// req, resp := client.GetTransitGatewayConnectPeerAssociationsRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations -func (c *NetworkManager) GetTransitGatewayRegistrationsRequest(input *GetTransitGatewayRegistrationsInput) (req *request.Request, output *GetTransitGatewayRegistrationsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociations +func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsRequest(input *GetTransitGatewayConnectPeerAssociationsInput) (req *request.Request, output *GetTransitGatewayConnectPeerAssociationsOutput) { op := &request.Operation{ - Name: opGetTransitGatewayRegistrations, + Name: opGetTransitGatewayConnectPeerAssociations, HTTPMethod: "GET", - HTTPPath: "/global-networks/{globalNetworkId}/transit-gateway-registrations", + HTTPPath: "/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -2231,25 +2774,25 @@ func (c *NetworkManager) GetTransitGatewayRegistrationsRequest(input *GetTransit } if input == nil { - input = &GetTransitGatewayRegistrationsInput{} + input = &GetTransitGatewayConnectPeerAssociationsInput{} } - output = &GetTransitGatewayRegistrationsOutput{} + output = &GetTransitGatewayConnectPeerAssociationsOutput{} req = c.newRequest(op, input, output) return } -// GetTransitGatewayRegistrations API operation for AWS Network Manager. +// GetTransitGatewayConnectPeerAssociations API operation for AWS Network Manager. // -// Gets information about the transit gateway registrations in a specified global -// network. +// Gets information about one or more of your transit gateway Connect peer associations +// in a global network. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for AWS Network Manager's -// API operation GetTransitGatewayRegistrations for usage and error information. +// API operation GetTransitGatewayConnectPeerAssociations for usage and error information. // // Returned Error Types: // * ValidationException @@ -2261,71 +2804,75 @@ func (c *NetworkManager) GetTransitGatewayRegistrationsRequest(input *GetTransit // * ResourceNotFoundException // The specified resource could not be found. // +// * ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. +// // * ThrottlingException // The request was denied due to request throttling. // // * InternalServerException // The request has failed due to an internal error. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations -func (c *NetworkManager) GetTransitGatewayRegistrations(input *GetTransitGatewayRegistrationsInput) (*GetTransitGatewayRegistrationsOutput, error) { - req, out := c.GetTransitGatewayRegistrationsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociations +func (c *NetworkManager) GetTransitGatewayConnectPeerAssociations(input *GetTransitGatewayConnectPeerAssociationsInput) (*GetTransitGatewayConnectPeerAssociationsOutput, error) { + req, out := c.GetTransitGatewayConnectPeerAssociationsRequest(input) return out, req.Send() } -// GetTransitGatewayRegistrationsWithContext is the same as GetTransitGatewayRegistrations with the addition of +// GetTransitGatewayConnectPeerAssociationsWithContext is the same as GetTransitGatewayConnectPeerAssociations with the addition of // the ability to pass a context and additional request options. // -// See GetTransitGatewayRegistrations for details on how to use this API operation. +// See GetTransitGatewayConnectPeerAssociations for details on how to use this API operation. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *NetworkManager) GetTransitGatewayRegistrationsWithContext(ctx aws.Context, input *GetTransitGatewayRegistrationsInput, opts ...request.Option) (*GetTransitGatewayRegistrationsOutput, error) { - req, out := c.GetTransitGatewayRegistrationsRequest(input) +func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsWithContext(ctx aws.Context, input *GetTransitGatewayConnectPeerAssociationsInput, opts ...request.Option) (*GetTransitGatewayConnectPeerAssociationsOutput, error) { + req, out := c.GetTransitGatewayConnectPeerAssociationsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// GetTransitGatewayRegistrationsPages iterates over the pages of a GetTransitGatewayRegistrations operation, +// GetTransitGatewayConnectPeerAssociationsPages iterates over the pages of a GetTransitGatewayConnectPeerAssociations operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See GetTransitGatewayRegistrations method for more information on how to use this operation. +// See GetTransitGatewayConnectPeerAssociations method for more information on how to use this operation. // // Note: This operation can generate multiple requests to a service. // -// // Example iterating over at most 3 pages of a GetTransitGatewayRegistrations operation. +// // Example iterating over at most 3 pages of a GetTransitGatewayConnectPeerAssociations operation. // pageNum := 0 -// err := client.GetTransitGatewayRegistrationsPages(params, -// func(page *networkmanager.GetTransitGatewayRegistrationsOutput, lastPage bool) bool { +// err := client.GetTransitGatewayConnectPeerAssociationsPages(params, +// func(page *networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) // -func (c *NetworkManager) GetTransitGatewayRegistrationsPages(input *GetTransitGatewayRegistrationsInput, fn func(*GetTransitGatewayRegistrationsOutput, bool) bool) error { - return c.GetTransitGatewayRegistrationsPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsPages(input *GetTransitGatewayConnectPeerAssociationsInput, fn func(*GetTransitGatewayConnectPeerAssociationsOutput, bool) bool) error { + return c.GetTransitGatewayConnectPeerAssociationsPagesWithContext(aws.BackgroundContext(), input, fn) } -// GetTransitGatewayRegistrationsPagesWithContext same as GetTransitGatewayRegistrationsPages except +// GetTransitGatewayConnectPeerAssociationsPagesWithContext same as GetTransitGatewayConnectPeerAssociationsPages except // it takes a Context and allows setting request options on the pages. // // The context must be non-nil and will be used for request cancellation. If // the context is nil a panic will occur. In the future the SDK may create // sub-contexts for http.Requests. See https://golang.org/pkg/context/ // for more information on using Contexts. -func (c *NetworkManager) GetTransitGatewayRegistrationsPagesWithContext(ctx aws.Context, input *GetTransitGatewayRegistrationsInput, fn func(*GetTransitGatewayRegistrationsOutput, bool) bool, opts ...request.Option) error { +func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsPagesWithContext(ctx aws.Context, input *GetTransitGatewayConnectPeerAssociationsInput, fn func(*GetTransitGatewayConnectPeerAssociationsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *GetTransitGatewayRegistrationsInput + var inCpy *GetTransitGatewayConnectPeerAssociationsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.GetTransitGatewayRegistrationsRequest(inCpy) + req, _ := c.GetTransitGatewayConnectPeerAssociationsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -2333,7 +2880,157 @@ func (c *NetworkManager) GetTransitGatewayRegistrationsPagesWithContext(ctx aws. } for p.Next() { - if !fn(p.Page().(*GetTransitGatewayRegistrationsOutput), !p.HasNextPage()) { + if !fn(p.Page().(*GetTransitGatewayConnectPeerAssociationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opGetTransitGatewayRegistrations = "GetTransitGatewayRegistrations" + +// GetTransitGatewayRegistrationsRequest generates a "aws/request.Request" representing the +// client's request for the GetTransitGatewayRegistrations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetTransitGatewayRegistrations for more information on using the GetTransitGatewayRegistrations +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetTransitGatewayRegistrationsRequest method. +// req, resp := client.GetTransitGatewayRegistrationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations +func (c *NetworkManager) GetTransitGatewayRegistrationsRequest(input *GetTransitGatewayRegistrationsInput) (req *request.Request, output *GetTransitGatewayRegistrationsOutput) { + op := &request.Operation{ + Name: opGetTransitGatewayRegistrations, + HTTPMethod: "GET", + HTTPPath: "/global-networks/{globalNetworkId}/transit-gateway-registrations", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetTransitGatewayRegistrationsInput{} + } + + output = &GetTransitGatewayRegistrationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetTransitGatewayRegistrations API operation for AWS Network Manager. +// +// Gets information about the transit gateway registrations in a specified global +// network. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Network Manager's +// API operation GetTransitGatewayRegistrations for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The input fails to satisfy the constraints. +// +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// +// * ResourceNotFoundException +// The specified resource could not be found. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The request has failed due to an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrations +func (c *NetworkManager) GetTransitGatewayRegistrations(input *GetTransitGatewayRegistrationsInput) (*GetTransitGatewayRegistrationsOutput, error) { + req, out := c.GetTransitGatewayRegistrationsRequest(input) + return out, req.Send() +} + +// GetTransitGatewayRegistrationsWithContext is the same as GetTransitGatewayRegistrations with the addition of +// the ability to pass a context and additional request options. +// +// See GetTransitGatewayRegistrations for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *NetworkManager) GetTransitGatewayRegistrationsWithContext(ctx aws.Context, input *GetTransitGatewayRegistrationsInput, opts ...request.Option) (*GetTransitGatewayRegistrationsOutput, error) { + req, out := c.GetTransitGatewayRegistrationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetTransitGatewayRegistrationsPages iterates over the pages of a GetTransitGatewayRegistrations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetTransitGatewayRegistrations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetTransitGatewayRegistrations operation. +// pageNum := 0 +// err := client.GetTransitGatewayRegistrationsPages(params, +// func(page *networkmanager.GetTransitGatewayRegistrationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *NetworkManager) GetTransitGatewayRegistrationsPages(input *GetTransitGatewayRegistrationsInput, fn func(*GetTransitGatewayRegistrationsOutput, bool) bool) error { + return c.GetTransitGatewayRegistrationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetTransitGatewayRegistrationsPagesWithContext same as GetTransitGatewayRegistrationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *NetworkManager) GetTransitGatewayRegistrationsPagesWithContext(ctx aws.Context, input *GetTransitGatewayRegistrationsInput, fn func(*GetTransitGatewayRegistrationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetTransitGatewayRegistrationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetTransitGatewayRegistrationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetTransitGatewayRegistrationsOutput), !p.HasNextPage()) { break } } @@ -2725,6 +3422,102 @@ func (c *NetworkManager) UntagResourceWithContext(ctx aws.Context, input *UntagR return out, req.Send() } +const opUpdateConnection = "UpdateConnection" + +// UpdateConnectionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConnection operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UpdateConnection for more information on using the UpdateConnection +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UpdateConnectionRequest method. +// req, resp := client.UpdateConnectionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnection +func (c *NetworkManager) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) { + op := &request.Operation{ + Name: opUpdateConnection, + HTTPMethod: "PATCH", + HTTPPath: "/global-networks/{globalNetworkId}/connections/{connectionId}", + } + + if input == nil { + input = &UpdateConnectionInput{} + } + + output = &UpdateConnectionOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateConnection API operation for AWS Network Manager. +// +// Updates the information for an existing connection. To remove information +// for any of the parameters, specify an empty string. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Network Manager's +// API operation UpdateConnection for usage and error information. +// +// Returned Error Types: +// * ValidationException +// The input fails to satisfy the constraints. +// +// * AccessDeniedException +// You do not have sufficient access to perform this action. +// +// * ResourceNotFoundException +// The specified resource could not be found. +// +// * ConflictException +// There was a conflict processing the request. Updating or deleting the resource +// can cause an inconsistent state. +// +// * ThrottlingException +// The request was denied due to request throttling. +// +// * InternalServerException +// The request has failed due to an internal error. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnection +func (c *NetworkManager) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) { + req, out := c.UpdateConnectionRequest(input) + return out, req.Send() +} + +// UpdateConnectionWithContext is the same as UpdateConnection with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateConnection for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *NetworkManager) UpdateConnectionWithContext(ctx aws.Context, input *UpdateConnectionInput, opts ...request.Option) (*UpdateConnectionOutput, error) { + req, out := c.UpdateConnectionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateDevice = "UpdateDevice" // UpdateDeviceRequest generates a "aws/request.Request" representing the @@ -3112,6 +3905,40 @@ func (c *NetworkManager) UpdateSiteWithContext(ctx aws.Context, input *UpdateSit return out, req.Send() } +// Specifies a location in AWS. +type AWSLocation struct { + _ struct{} `type:"structure"` + + // The Amazon Resource Name (ARN) of the subnet the device is located in. + SubnetArn *string `type:"string"` + + // The Zone the device is located in. This can be the ID of an Availability + // Zone, Local Zone, Wavelength Zone, or an Outpost. + Zone *string `type:"string"` +} + +// String returns the string representation +func (s AWSLocation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AWSLocation) GoString() string { + return s.String() +} + +// SetSubnetArn sets the SubnetArn field's value. +func (s *AWSLocation) SetSubnetArn(v string) *AWSLocation { + s.SubnetArn = &v + return s +} + +// SetZone sets the Zone field's value. +func (s *AWSLocation) SetZone(v string) *AWSLocation { + s.Zone = &v + return s +} + // You do not have sufficient access to perform this action. type AccessDeniedException struct { _ struct{} `type:"structure"` @@ -3362,6 +4189,107 @@ func (s *AssociateLinkOutput) SetLinkAssociation(v *LinkAssociation) *AssociateL return s } +type AssociateTransitGatewayConnectPeerInput struct { + _ struct{} `type:"structure"` + + // The ID of the device. + // + // DeviceId is a required field + DeviceId *string `type:"string" required:"true"` + + // The ID of the global network. + // + // GlobalNetworkId is a required field + GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"` + + // The ID of the link. + LinkId *string `type:"string"` + + // The Amazon Resource Name (ARN) of the Connect peer. + // + // TransitGatewayConnectPeerArn is a required field + TransitGatewayConnectPeerArn *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s AssociateTransitGatewayConnectPeerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AssociateTransitGatewayConnectPeerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AssociateTransitGatewayConnectPeerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateTransitGatewayConnectPeerInput"} + if s.DeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("DeviceId")) + } + if s.GlobalNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalNetworkId")) + } + if s.GlobalNetworkId != nil && len(*s.GlobalNetworkId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GlobalNetworkId", 1)) + } + if s.TransitGatewayConnectPeerArn == nil { + invalidParams.Add(request.NewErrParamRequired("TransitGatewayConnectPeerArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeviceId sets the DeviceId field's value. +func (s *AssociateTransitGatewayConnectPeerInput) SetDeviceId(v string) *AssociateTransitGatewayConnectPeerInput { + s.DeviceId = &v + return s +} + +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *AssociateTransitGatewayConnectPeerInput) SetGlobalNetworkId(v string) *AssociateTransitGatewayConnectPeerInput { + s.GlobalNetworkId = &v + return s +} + +// SetLinkId sets the LinkId field's value. +func (s *AssociateTransitGatewayConnectPeerInput) SetLinkId(v string) *AssociateTransitGatewayConnectPeerInput { + s.LinkId = &v + return s +} + +// SetTransitGatewayConnectPeerArn sets the TransitGatewayConnectPeerArn field's value. +func (s *AssociateTransitGatewayConnectPeerInput) SetTransitGatewayConnectPeerArn(v string) *AssociateTransitGatewayConnectPeerInput { + s.TransitGatewayConnectPeerArn = &v + return s +} + +type AssociateTransitGatewayConnectPeerOutput struct { + _ struct{} `type:"structure"` + + // The transit gateway Connect peer association. + TransitGatewayConnectPeerAssociation *TransitGatewayConnectPeerAssociation `type:"structure"` +} + +// String returns the string representation +func (s AssociateTransitGatewayConnectPeerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AssociateTransitGatewayConnectPeerOutput) GoString() string { + return s.String() +} + +// SetTransitGatewayConnectPeerAssociation sets the TransitGatewayConnectPeerAssociation field's value. +func (s *AssociateTransitGatewayConnectPeerOutput) SetTransitGatewayConnectPeerAssociation(v *TransitGatewayConnectPeerAssociation) *AssociateTransitGatewayConnectPeerOutput { + s.TransitGatewayConnectPeerAssociation = v + return s +} + // Describes bandwidth information. type Bandwidth struct { _ struct{} `type:"structure"` @@ -3419,52 +4347,299 @@ func (s ConflictException) String() string { return awsutil.Prettify(s) } -// GoString returns the string representation -func (s ConflictException) GoString() string { - return s.String() +// GoString returns the string representation +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +// Describes a connection. +type Connection struct { + _ struct{} `type:"structure"` + + // The ID of the second device in the connection. + ConnectedDeviceId *string `type:"string"` + + // The ID of the link for the second device in the connection. + ConnectedLinkId *string `type:"string"` + + // The Amazon Resource Name (ARN) of the connection. + ConnectionArn *string `type:"string"` + + // The ID of the connection. + ConnectionId *string `type:"string"` + + // The date and time that the connection was created. + CreatedAt *time.Time `type:"timestamp"` + + // The description of the connection. + Description *string `type:"string"` + + // The ID of the first device in the connection. + DeviceId *string `type:"string"` + + // The ID of the global network. + GlobalNetworkId *string `type:"string"` + + // The ID of the link for the first device in the connection. + LinkId *string `type:"string"` + + // The state of the connection. + State *string `type:"string" enum:"ConnectionState"` + + // The tags for the connection. + Tags []*Tag `type:"list"` +} + +// String returns the string representation +func (s Connection) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Connection) GoString() string { + return s.String() +} + +// SetConnectedDeviceId sets the ConnectedDeviceId field's value. +func (s *Connection) SetConnectedDeviceId(v string) *Connection { + s.ConnectedDeviceId = &v + return s +} + +// SetConnectedLinkId sets the ConnectedLinkId field's value. +func (s *Connection) SetConnectedLinkId(v string) *Connection { + s.ConnectedLinkId = &v + return s +} + +// SetConnectionArn sets the ConnectionArn field's value. +func (s *Connection) SetConnectionArn(v string) *Connection { + s.ConnectionArn = &v + return s +} + +// SetConnectionId sets the ConnectionId field's value. +func (s *Connection) SetConnectionId(v string) *Connection { + s.ConnectionId = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *Connection) SetCreatedAt(v time.Time) *Connection { + s.CreatedAt = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *Connection) SetDescription(v string) *Connection { + s.Description = &v + return s +} + +// SetDeviceId sets the DeviceId field's value. +func (s *Connection) SetDeviceId(v string) *Connection { + s.DeviceId = &v + return s +} + +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *Connection) SetGlobalNetworkId(v string) *Connection { + s.GlobalNetworkId = &v + return s +} + +// SetLinkId sets the LinkId field's value. +func (s *Connection) SetLinkId(v string) *Connection { + s.LinkId = &v + return s +} + +// SetState sets the State field's value. +func (s *Connection) SetState(v string) *Connection { + s.State = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *Connection) SetTags(v []*Tag) *Connection { + s.Tags = v + return s +} + +type CreateConnectionInput struct { + _ struct{} `type:"structure"` + + // The ID of the second device in the connection. + // + // ConnectedDeviceId is a required field + ConnectedDeviceId *string `type:"string" required:"true"` + + // The ID of the link for the second device. + ConnectedLinkId *string `type:"string"` + + // A description of the connection. + // + // Length Constraints: Maximum length of 256 characters. + Description *string `type:"string"` + + // The ID of the first device in the connection. + // + // DeviceId is a required field + DeviceId *string `type:"string" required:"true"` + + // The ID of the global network. + // + // GlobalNetworkId is a required field + GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"` + + // The ID of the link for the first device. + LinkId *string `type:"string"` + + // The tags to apply to the resource during creation. + Tags []*Tag `type:"list"` +} + +// String returns the string representation +func (s CreateConnectionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateConnectionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateConnectionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateConnectionInput"} + if s.ConnectedDeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectedDeviceId")) + } + if s.DeviceId == nil { + invalidParams.Add(request.NewErrParamRequired("DeviceId")) + } + if s.GlobalNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalNetworkId")) + } + if s.GlobalNetworkId != nil && len(*s.GlobalNetworkId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GlobalNetworkId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectedDeviceId sets the ConnectedDeviceId field's value. +func (s *CreateConnectionInput) SetConnectedDeviceId(v string) *CreateConnectionInput { + s.ConnectedDeviceId = &v + return s +} + +// SetConnectedLinkId sets the ConnectedLinkId field's value. +func (s *CreateConnectionInput) SetConnectedLinkId(v string) *CreateConnectionInput { + s.ConnectedLinkId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateConnectionInput) SetDescription(v string) *CreateConnectionInput { + s.Description = &v + return s +} + +// SetDeviceId sets the DeviceId field's value. +func (s *CreateConnectionInput) SetDeviceId(v string) *CreateConnectionInput { + s.DeviceId = &v + return s } -func newErrorConflictException(v protocol.ResponseMetadata) error { - return &ConflictException{ - RespMetadata: v, - } +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *CreateConnectionInput) SetGlobalNetworkId(v string) *CreateConnectionInput { + s.GlobalNetworkId = &v + return s } -// Code returns the exception type name. -func (s *ConflictException) Code() string { - return "ConflictException" +// SetLinkId sets the LinkId field's value. +func (s *CreateConnectionInput) SetLinkId(v string) *CreateConnectionInput { + s.LinkId = &v + return s } -// Message returns the exception's message. -func (s *ConflictException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" +// SetTags sets the Tags field's value. +func (s *CreateConnectionInput) SetTags(v []*Tag) *CreateConnectionInput { + s.Tags = v + return s } -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ConflictException) OrigErr() error { - return nil +type CreateConnectionOutput struct { + _ struct{} `type:"structure"` + + // Information about the connection. + Connection *Connection `type:"structure"` } -func (s *ConflictException) Error() string { - return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +// String returns the string representation +func (s CreateConnectionOutput) String() string { + return awsutil.Prettify(s) } -// Status code returns the HTTP status code for the request's response error. -func (s *ConflictException) StatusCode() int { - return s.RespMetadata.StatusCode +// GoString returns the string representation +func (s CreateConnectionOutput) GoString() string { + return s.String() } -// RequestID returns the service's response RequestID for request. -func (s *ConflictException) RequestID() string { - return s.RespMetadata.RequestID +// SetConnection sets the Connection field's value. +func (s *CreateConnectionOutput) SetConnection(v *Connection) *CreateConnectionOutput { + s.Connection = v + return s } type CreateDeviceInput struct { _ struct{} `type:"structure"` + // The AWS location of the device. + AWSLocation *AWSLocation `type:"structure"` + // A description of the device. // // Length Constraints: Maximum length of 256 characters. @@ -3476,7 +4651,7 @@ type CreateDeviceInput struct { GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"` // The location of the device. - Location *Location `type:"structure"` + Location *Location `type:"structure" sensitive:"true"` // The model of the device. // @@ -3529,6 +4704,12 @@ func (s *CreateDeviceInput) Validate() error { return nil } +// SetAWSLocation sets the AWSLocation field's value. +func (s *CreateDeviceInput) SetAWSLocation(v *AWSLocation) *CreateDeviceInput { + s.AWSLocation = v + return s +} + // SetDescription sets the Description field's value. func (s *CreateDeviceInput) SetDescription(v string) *CreateDeviceInput { s.Description = &v @@ -3823,7 +5004,7 @@ type CreateSiteInput struct { // * Latitude: The latitude of the site. // // * Longitude: The longitude of the site. - Location *Location `type:"structure"` + Location *Location `type:"structure" sensitive:"true"` // The tags to apply to the resource during creation. Tags []*Tag `type:"list"` @@ -3962,6 +5143,87 @@ func (s *CustomerGatewayAssociation) SetState(v string) *CustomerGatewayAssociat return s } +type DeleteConnectionInput struct { + _ struct{} `type:"structure"` + + // The ID of the connection. + // + // ConnectionId is a required field + ConnectionId *string `location:"uri" locationName:"connectionId" type:"string" required:"true"` + + // The ID of the global network. + // + // GlobalNetworkId is a required field + GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteConnectionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteConnectionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteConnectionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteConnectionInput"} + if s.ConnectionId == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectionId")) + } + if s.ConnectionId != nil && len(*s.ConnectionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ConnectionId", 1)) + } + if s.GlobalNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalNetworkId")) + } + if s.GlobalNetworkId != nil && len(*s.GlobalNetworkId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GlobalNetworkId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectionId sets the ConnectionId field's value. +func (s *DeleteConnectionInput) SetConnectionId(v string) *DeleteConnectionInput { + s.ConnectionId = &v + return s +} + +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *DeleteConnectionInput) SetGlobalNetworkId(v string) *DeleteConnectionInput { + s.GlobalNetworkId = &v + return s +} + +type DeleteConnectionOutput struct { + _ struct{} `type:"structure"` + + // Information about the connection. + Connection *Connection `type:"structure"` +} + +// String returns the string representation +func (s DeleteConnectionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteConnectionOutput) GoString() string { + return s.String() +} + +// SetConnection sets the Connection field's value. +func (s *DeleteConnectionOutput) SetConnection(v *Connection) *DeleteConnectionOutput { + s.Connection = v + return s +} + type DeleteDeviceInput struct { _ struct{} `type:"structure"` @@ -4440,6 +5702,9 @@ func (s *DescribeGlobalNetworksOutput) SetNextToken(v string) *DescribeGlobalNet type Device struct { _ struct{} `type:"structure"` + // The AWS location of the device. + AWSLocation *AWSLocation `type:"structure"` + // The date and time that the site was created. CreatedAt *time.Time `type:"timestamp"` @@ -4456,7 +5721,7 @@ type Device struct { GlobalNetworkId *string `type:"string"` // The site location. - Location *Location `type:"structure"` + Location *Location `type:"structure" sensitive:"true"` // The device model. Model *string `type:"string"` @@ -4490,6 +5755,12 @@ func (s Device) GoString() string { return s.String() } +// SetAWSLocation sets the AWSLocation field's value. +func (s *Device) SetAWSLocation(v *AWSLocation) *Device { + s.AWSLocation = v + return s +} + // SetCreatedAt sets the CreatedAt field's value. func (s *Device) SetCreatedAt(v time.Time) *Device { s.CreatedAt = &v @@ -4702,43 +5973,236 @@ func (s *DisassociateLinkInput) Validate() error { } // SetDeviceId sets the DeviceId field's value. -func (s *DisassociateLinkInput) SetDeviceId(v string) *DisassociateLinkInput { +func (s *DisassociateLinkInput) SetDeviceId(v string) *DisassociateLinkInput { + s.DeviceId = &v + return s +} + +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *DisassociateLinkInput) SetGlobalNetworkId(v string) *DisassociateLinkInput { + s.GlobalNetworkId = &v + return s +} + +// SetLinkId sets the LinkId field's value. +func (s *DisassociateLinkInput) SetLinkId(v string) *DisassociateLinkInput { + s.LinkId = &v + return s +} + +type DisassociateLinkOutput struct { + _ struct{} `type:"structure"` + + // Information about the link association. + LinkAssociation *LinkAssociation `type:"structure"` +} + +// String returns the string representation +func (s DisassociateLinkOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateLinkOutput) GoString() string { + return s.String() +} + +// SetLinkAssociation sets the LinkAssociation field's value. +func (s *DisassociateLinkOutput) SetLinkAssociation(v *LinkAssociation) *DisassociateLinkOutput { + s.LinkAssociation = v + return s +} + +type DisassociateTransitGatewayConnectPeerInput struct { + _ struct{} `type:"structure"` + + // The ID of the global network. + // + // GlobalNetworkId is a required field + GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the transit gateway Connect peer. + // + // TransitGatewayConnectPeerArn is a required field + TransitGatewayConnectPeerArn *string `location:"uri" locationName:"transitGatewayConnectPeerArn" type:"string" required:"true"` +} + +// String returns the string representation +func (s DisassociateTransitGatewayConnectPeerInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateTransitGatewayConnectPeerInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisassociateTransitGatewayConnectPeerInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateTransitGatewayConnectPeerInput"} + if s.GlobalNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalNetworkId")) + } + if s.GlobalNetworkId != nil && len(*s.GlobalNetworkId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GlobalNetworkId", 1)) + } + if s.TransitGatewayConnectPeerArn == nil { + invalidParams.Add(request.NewErrParamRequired("TransitGatewayConnectPeerArn")) + } + if s.TransitGatewayConnectPeerArn != nil && len(*s.TransitGatewayConnectPeerArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TransitGatewayConnectPeerArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *DisassociateTransitGatewayConnectPeerInput) SetGlobalNetworkId(v string) *DisassociateTransitGatewayConnectPeerInput { + s.GlobalNetworkId = &v + return s +} + +// SetTransitGatewayConnectPeerArn sets the TransitGatewayConnectPeerArn field's value. +func (s *DisassociateTransitGatewayConnectPeerInput) SetTransitGatewayConnectPeerArn(v string) *DisassociateTransitGatewayConnectPeerInput { + s.TransitGatewayConnectPeerArn = &v + return s +} + +type DisassociateTransitGatewayConnectPeerOutput struct { + _ struct{} `type:"structure"` + + // The transit gateway Connect peer association. + TransitGatewayConnectPeerAssociation *TransitGatewayConnectPeerAssociation `type:"structure"` +} + +// String returns the string representation +func (s DisassociateTransitGatewayConnectPeerOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateTransitGatewayConnectPeerOutput) GoString() string { + return s.String() +} + +// SetTransitGatewayConnectPeerAssociation sets the TransitGatewayConnectPeerAssociation field's value. +func (s *DisassociateTransitGatewayConnectPeerOutput) SetTransitGatewayConnectPeerAssociation(v *TransitGatewayConnectPeerAssociation) *DisassociateTransitGatewayConnectPeerOutput { + s.TransitGatewayConnectPeerAssociation = v + return s +} + +type GetConnectionsInput struct { + _ struct{} `type:"structure"` + + // One or more connection IDs. + ConnectionIds []*string `location:"querystring" locationName:"connectionIds" type:"list"` + + // The ID of the device. + DeviceId *string `location:"querystring" locationName:"deviceId" type:"string"` + + // The ID of the global network. + // + // GlobalNetworkId is a required field + GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"` + + // The maximum number of results to return. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token for the next page of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` +} + +// String returns the string representation +func (s GetConnectionsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetConnectionsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetConnectionsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetConnectionsInput"} + if s.GlobalNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalNetworkId")) + } + if s.GlobalNetworkId != nil && len(*s.GlobalNetworkId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GlobalNetworkId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectionIds sets the ConnectionIds field's value. +func (s *GetConnectionsInput) SetConnectionIds(v []*string) *GetConnectionsInput { + s.ConnectionIds = v + return s +} + +// SetDeviceId sets the DeviceId field's value. +func (s *GetConnectionsInput) SetDeviceId(v string) *GetConnectionsInput { s.DeviceId = &v return s } // SetGlobalNetworkId sets the GlobalNetworkId field's value. -func (s *DisassociateLinkInput) SetGlobalNetworkId(v string) *DisassociateLinkInput { +func (s *GetConnectionsInput) SetGlobalNetworkId(v string) *GetConnectionsInput { s.GlobalNetworkId = &v return s } -// SetLinkId sets the LinkId field's value. -func (s *DisassociateLinkInput) SetLinkId(v string) *DisassociateLinkInput { - s.LinkId = &v +// SetMaxResults sets the MaxResults field's value. +func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput { + s.MaxResults = &v return s } -type DisassociateLinkOutput struct { +// SetNextToken sets the NextToken field's value. +func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput { + s.NextToken = &v + return s +} + +type GetConnectionsOutput struct { _ struct{} `type:"structure"` - // Information about the link association. - LinkAssociation *LinkAssociation `type:"structure"` + // Information about the connections. + Connections []*Connection `type:"list"` + + // The token to use for the next page of results. + NextToken *string `type:"string"` } // String returns the string representation -func (s DisassociateLinkOutput) String() string { +func (s GetConnectionsOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DisassociateLinkOutput) GoString() string { +func (s GetConnectionsOutput) GoString() string { return s.String() } -// SetLinkAssociation sets the LinkAssociation field's value. -func (s *DisassociateLinkOutput) SetLinkAssociation(v *LinkAssociation) *DisassociateLinkOutput { - s.LinkAssociation = v +// SetConnections sets the Connections field's value. +func (s *GetConnectionsOutput) SetConnections(v []*Connection) *GetConnectionsOutput { + s.Connections = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput { + s.NextToken = &v return s } @@ -5304,6 +6768,109 @@ func (s *GetSitesOutput) SetSites(v []*Site) *GetSitesOutput { return s } +type GetTransitGatewayConnectPeerAssociationsInput struct { + _ struct{} `type:"structure"` + + // The ID of the global network. + // + // GlobalNetworkId is a required field + GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"` + + // The maximum number of results to return. + MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` + + // The token for the next page of results. + NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` + + // One or more transit gateway Connect peer Amazon Resource Names (ARNs). + TransitGatewayConnectPeerArns []*string `location:"querystring" locationName:"transitGatewayConnectPeerArns" type:"list"` +} + +// String returns the string representation +func (s GetTransitGatewayConnectPeerAssociationsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetTransitGatewayConnectPeerAssociationsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTransitGatewayConnectPeerAssociationsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTransitGatewayConnectPeerAssociationsInput"} + if s.GlobalNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalNetworkId")) + } + if s.GlobalNetworkId != nil && len(*s.GlobalNetworkId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GlobalNetworkId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *GetTransitGatewayConnectPeerAssociationsInput) SetGlobalNetworkId(v string) *GetTransitGatewayConnectPeerAssociationsInput { + s.GlobalNetworkId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetTransitGatewayConnectPeerAssociationsInput) SetMaxResults(v int64) *GetTransitGatewayConnectPeerAssociationsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetTransitGatewayConnectPeerAssociationsInput) SetNextToken(v string) *GetTransitGatewayConnectPeerAssociationsInput { + s.NextToken = &v + return s +} + +// SetTransitGatewayConnectPeerArns sets the TransitGatewayConnectPeerArns field's value. +func (s *GetTransitGatewayConnectPeerAssociationsInput) SetTransitGatewayConnectPeerArns(v []*string) *GetTransitGatewayConnectPeerAssociationsInput { + s.TransitGatewayConnectPeerArns = v + return s +} + +type GetTransitGatewayConnectPeerAssociationsOutput struct { + _ struct{} `type:"structure"` + + // The token to use for the next page of results. + NextToken *string `type:"string"` + + // Information about the transit gateway Connect peer associations. + TransitGatewayConnectPeerAssociations []*TransitGatewayConnectPeerAssociation `type:"list"` +} + +// String returns the string representation +func (s GetTransitGatewayConnectPeerAssociationsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetTransitGatewayConnectPeerAssociationsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *GetTransitGatewayConnectPeerAssociationsOutput) SetNextToken(v string) *GetTransitGatewayConnectPeerAssociationsOutput { + s.NextToken = &v + return s +} + +// SetTransitGatewayConnectPeerAssociations sets the TransitGatewayConnectPeerAssociations field's value. +func (s *GetTransitGatewayConnectPeerAssociationsOutput) SetTransitGatewayConnectPeerAssociations(v []*TransitGatewayConnectPeerAssociation) *GetTransitGatewayConnectPeerAssociationsOutput { + s.TransitGatewayConnectPeerAssociations = v + return s +} + type GetTransitGatewayRegistrationsInput struct { _ struct{} `type:"structure"` @@ -5767,7 +7334,7 @@ func (s *ListTagsForResourceOutput) SetTagList(v []*Tag) *ListTagsForResourceOut // Describes a location. type Location struct { - _ struct{} `type:"structure"` + _ struct{} `type:"structure" sensitive:"true"` // The physical address. Address *string `type:"string"` @@ -6039,7 +7606,7 @@ type Site struct { GlobalNetworkId *string `type:"string"` // The location of the site. - Location *Location `type:"structure"` + Location *Location `type:"structure" sensitive:"true"` // The Amazon Resource Name (ARN) of the site. SiteArn *string `type:"string"` @@ -6277,6 +7844,66 @@ func (s *ThrottlingException) RequestID() string { return s.RespMetadata.RequestID } +// Describes a transit gateway Connect peer association. +type TransitGatewayConnectPeerAssociation struct { + _ struct{} `type:"structure"` + + // The ID of the device. + DeviceId *string `type:"string"` + + // The ID of the global network. + GlobalNetworkId *string `type:"string"` + + // The ID of the link. + LinkId *string `type:"string"` + + // The state of the association. + State *string `type:"string" enum:"TransitGatewayConnectPeerAssociationState"` + + // The Amazon Resource Name (ARN) of the transit gateway Connect peer. + TransitGatewayConnectPeerArn *string `type:"string"` +} + +// String returns the string representation +func (s TransitGatewayConnectPeerAssociation) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TransitGatewayConnectPeerAssociation) GoString() string { + return s.String() +} + +// SetDeviceId sets the DeviceId field's value. +func (s *TransitGatewayConnectPeerAssociation) SetDeviceId(v string) *TransitGatewayConnectPeerAssociation { + s.DeviceId = &v + return s +} + +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *TransitGatewayConnectPeerAssociation) SetGlobalNetworkId(v string) *TransitGatewayConnectPeerAssociation { + s.GlobalNetworkId = &v + return s +} + +// SetLinkId sets the LinkId field's value. +func (s *TransitGatewayConnectPeerAssociation) SetLinkId(v string) *TransitGatewayConnectPeerAssociation { + s.LinkId = &v + return s +} + +// SetState sets the State field's value. +func (s *TransitGatewayConnectPeerAssociation) SetState(v string) *TransitGatewayConnectPeerAssociation { + s.State = &v + return s +} + +// SetTransitGatewayConnectPeerArn sets the TransitGatewayConnectPeerArn field's value. +func (s *TransitGatewayConnectPeerAssociation) SetTransitGatewayConnectPeerArn(v string) *TransitGatewayConnectPeerAssociation { + s.TransitGatewayConnectPeerArn = &v + return s +} + // Describes the registration of a transit gateway to a global network. type TransitGatewayRegistration struct { _ struct{} `type:"structure"` @@ -6421,9 +8048,122 @@ func (s UntagResourceOutput) GoString() string { return s.String() } +type UpdateConnectionInput struct { + _ struct{} `type:"structure"` + + // The ID of the link for the second device in the connection. + ConnectedLinkId *string `type:"string"` + + // The ID of the connection. + // + // ConnectionId is a required field + ConnectionId *string `location:"uri" locationName:"connectionId" type:"string" required:"true"` + + // A description of the connection. + // + // Length Constraints: Maximum length of 256 characters. + Description *string `type:"string"` + + // The ID of the global network. + // + // GlobalNetworkId is a required field + GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"` + + // The ID of the link for the first device in the connection. + LinkId *string `type:"string"` +} + +// String returns the string representation +func (s UpdateConnectionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConnectionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateConnectionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateConnectionInput"} + if s.ConnectionId == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectionId")) + } + if s.ConnectionId != nil && len(*s.ConnectionId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ConnectionId", 1)) + } + if s.GlobalNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("GlobalNetworkId")) + } + if s.GlobalNetworkId != nil && len(*s.GlobalNetworkId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GlobalNetworkId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectedLinkId sets the ConnectedLinkId field's value. +func (s *UpdateConnectionInput) SetConnectedLinkId(v string) *UpdateConnectionInput { + s.ConnectedLinkId = &v + return s +} + +// SetConnectionId sets the ConnectionId field's value. +func (s *UpdateConnectionInput) SetConnectionId(v string) *UpdateConnectionInput { + s.ConnectionId = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *UpdateConnectionInput) SetDescription(v string) *UpdateConnectionInput { + s.Description = &v + return s +} + +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *UpdateConnectionInput) SetGlobalNetworkId(v string) *UpdateConnectionInput { + s.GlobalNetworkId = &v + return s +} + +// SetLinkId sets the LinkId field's value. +func (s *UpdateConnectionInput) SetLinkId(v string) *UpdateConnectionInput { + s.LinkId = &v + return s +} + +type UpdateConnectionOutput struct { + _ struct{} `type:"structure"` + + // Information about the connection. + Connection *Connection `type:"structure"` +} + +// String returns the string representation +func (s UpdateConnectionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConnectionOutput) GoString() string { + return s.String() +} + +// SetConnection sets the Connection field's value. +func (s *UpdateConnectionOutput) SetConnection(v *Connection) *UpdateConnectionOutput { + s.Connection = v + return s +} + type UpdateDeviceInput struct { _ struct{} `type:"structure"` + // The AWS location of the device. + AWSLocation *AWSLocation `type:"structure"` + // A description of the device. // // Length Constraints: Maximum length of 256 characters. @@ -6440,7 +8180,7 @@ type UpdateDeviceInput struct { GlobalNetworkId *string `location:"uri" locationName:"globalNetworkId" type:"string" required:"true"` // Describes a location. - Location *Location `type:"structure"` + Location *Location `type:"structure" sensitive:"true"` // The model of the device. // @@ -6496,6 +8236,12 @@ func (s *UpdateDeviceInput) Validate() error { return nil } +// SetAWSLocation sets the AWSLocation field's value. +func (s *UpdateDeviceInput) SetAWSLocation(v *AWSLocation) *UpdateDeviceInput { + s.AWSLocation = v + return s +} + // SetDescription sets the Description field's value. func (s *UpdateDeviceInput) SetDescription(v string) *UpdateDeviceInput { s.Description = &v @@ -6791,7 +8537,7 @@ type UpdateSiteInput struct { // * Latitude: The latitude of the site. // // * Longitude: The longitude of the site. - Location *Location `type:"structure"` + Location *Location `type:"structure" sensitive:"true"` // The ID of your site. // @@ -6977,6 +8723,30 @@ func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField { return s } +const ( + // ConnectionStatePending is a ConnectionState enum value + ConnectionStatePending = "PENDING" + + // ConnectionStateAvailable is a ConnectionState enum value + ConnectionStateAvailable = "AVAILABLE" + + // ConnectionStateDeleting is a ConnectionState enum value + ConnectionStateDeleting = "DELETING" + + // ConnectionStateUpdating is a ConnectionState enum value + ConnectionStateUpdating = "UPDATING" +) + +// ConnectionState_Values returns all elements of the ConnectionState enum +func ConnectionState_Values() []string { + return []string{ + ConnectionStatePending, + ConnectionStateAvailable, + ConnectionStateDeleting, + ConnectionStateUpdating, + } +} + const ( // CustomerGatewayAssociationStatePending is a CustomerGatewayAssociationState enum value CustomerGatewayAssociationStatePending = "PENDING" @@ -7121,6 +8891,30 @@ func SiteState_Values() []string { } } +const ( + // TransitGatewayConnectPeerAssociationStatePending is a TransitGatewayConnectPeerAssociationState enum value + TransitGatewayConnectPeerAssociationStatePending = "PENDING" + + // TransitGatewayConnectPeerAssociationStateAvailable is a TransitGatewayConnectPeerAssociationState enum value + TransitGatewayConnectPeerAssociationStateAvailable = "AVAILABLE" + + // TransitGatewayConnectPeerAssociationStateDeleting is a TransitGatewayConnectPeerAssociationState enum value + TransitGatewayConnectPeerAssociationStateDeleting = "DELETING" + + // TransitGatewayConnectPeerAssociationStateDeleted is a TransitGatewayConnectPeerAssociationState enum value + TransitGatewayConnectPeerAssociationStateDeleted = "DELETED" +) + +// TransitGatewayConnectPeerAssociationState_Values returns all elements of the TransitGatewayConnectPeerAssociationState enum +func TransitGatewayConnectPeerAssociationState_Values() []string { + return []string{ + TransitGatewayConnectPeerAssociationStatePending, + TransitGatewayConnectPeerAssociationStateAvailable, + TransitGatewayConnectPeerAssociationStateDeleting, + TransitGatewayConnectPeerAssociationStateDeleted, + } +} + const ( // TransitGatewayRegistrationStatePending is a TransitGatewayRegistrationState enum value TransitGatewayRegistrationStatePending = "PENDING" diff --git a/service/networkmanager/doc.go b/service/networkmanager/doc.go index 65cd8cb7a9e..4beb2180a33 100644 --- a/service/networkmanager/doc.go +++ b/service/networkmanager/doc.go @@ -7,6 +7,9 @@ // global network, in which you can monitor your AWS and on-premises networks // that are built around transit gateways. // +// The Network Manager APIs are supported in the US West (Oregon) Region only. +// You must specify the us-west-2 Region in all requests made to Network Manager. +// // See https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05 for more information on this service. // // See networkmanager package documentation for more information. diff --git a/service/networkmanager/networkmanageriface/interface.go b/service/networkmanager/networkmanageriface/interface.go index d82a7f0df4b..aceaa02d425 100644 --- a/service/networkmanager/networkmanageriface/interface.go +++ b/service/networkmanager/networkmanageriface/interface.go @@ -68,6 +68,14 @@ type NetworkManagerAPI interface { AssociateLinkWithContext(aws.Context, *networkmanager.AssociateLinkInput, ...request.Option) (*networkmanager.AssociateLinkOutput, error) AssociateLinkRequest(*networkmanager.AssociateLinkInput) (*request.Request, *networkmanager.AssociateLinkOutput) + AssociateTransitGatewayConnectPeer(*networkmanager.AssociateTransitGatewayConnectPeerInput) (*networkmanager.AssociateTransitGatewayConnectPeerOutput, error) + AssociateTransitGatewayConnectPeerWithContext(aws.Context, *networkmanager.AssociateTransitGatewayConnectPeerInput, ...request.Option) (*networkmanager.AssociateTransitGatewayConnectPeerOutput, error) + AssociateTransitGatewayConnectPeerRequest(*networkmanager.AssociateTransitGatewayConnectPeerInput) (*request.Request, *networkmanager.AssociateTransitGatewayConnectPeerOutput) + + CreateConnection(*networkmanager.CreateConnectionInput) (*networkmanager.CreateConnectionOutput, error) + CreateConnectionWithContext(aws.Context, *networkmanager.CreateConnectionInput, ...request.Option) (*networkmanager.CreateConnectionOutput, error) + CreateConnectionRequest(*networkmanager.CreateConnectionInput) (*request.Request, *networkmanager.CreateConnectionOutput) + CreateDevice(*networkmanager.CreateDeviceInput) (*networkmanager.CreateDeviceOutput, error) CreateDeviceWithContext(aws.Context, *networkmanager.CreateDeviceInput, ...request.Option) (*networkmanager.CreateDeviceOutput, error) CreateDeviceRequest(*networkmanager.CreateDeviceInput) (*request.Request, *networkmanager.CreateDeviceOutput) @@ -84,6 +92,10 @@ type NetworkManagerAPI interface { CreateSiteWithContext(aws.Context, *networkmanager.CreateSiteInput, ...request.Option) (*networkmanager.CreateSiteOutput, error) CreateSiteRequest(*networkmanager.CreateSiteInput) (*request.Request, *networkmanager.CreateSiteOutput) + DeleteConnection(*networkmanager.DeleteConnectionInput) (*networkmanager.DeleteConnectionOutput, error) + DeleteConnectionWithContext(aws.Context, *networkmanager.DeleteConnectionInput, ...request.Option) (*networkmanager.DeleteConnectionOutput, error) + DeleteConnectionRequest(*networkmanager.DeleteConnectionInput) (*request.Request, *networkmanager.DeleteConnectionOutput) + DeleteDevice(*networkmanager.DeleteDeviceInput) (*networkmanager.DeleteDeviceOutput, error) DeleteDeviceWithContext(aws.Context, *networkmanager.DeleteDeviceInput, ...request.Option) (*networkmanager.DeleteDeviceOutput, error) DeleteDeviceRequest(*networkmanager.DeleteDeviceInput) (*request.Request, *networkmanager.DeleteDeviceOutput) @@ -119,6 +131,17 @@ type NetworkManagerAPI interface { DisassociateLinkWithContext(aws.Context, *networkmanager.DisassociateLinkInput, ...request.Option) (*networkmanager.DisassociateLinkOutput, error) DisassociateLinkRequest(*networkmanager.DisassociateLinkInput) (*request.Request, *networkmanager.DisassociateLinkOutput) + DisassociateTransitGatewayConnectPeer(*networkmanager.DisassociateTransitGatewayConnectPeerInput) (*networkmanager.DisassociateTransitGatewayConnectPeerOutput, error) + DisassociateTransitGatewayConnectPeerWithContext(aws.Context, *networkmanager.DisassociateTransitGatewayConnectPeerInput, ...request.Option) (*networkmanager.DisassociateTransitGatewayConnectPeerOutput, error) + DisassociateTransitGatewayConnectPeerRequest(*networkmanager.DisassociateTransitGatewayConnectPeerInput) (*request.Request, *networkmanager.DisassociateTransitGatewayConnectPeerOutput) + + GetConnections(*networkmanager.GetConnectionsInput) (*networkmanager.GetConnectionsOutput, error) + GetConnectionsWithContext(aws.Context, *networkmanager.GetConnectionsInput, ...request.Option) (*networkmanager.GetConnectionsOutput, error) + GetConnectionsRequest(*networkmanager.GetConnectionsInput) (*request.Request, *networkmanager.GetConnectionsOutput) + + GetConnectionsPages(*networkmanager.GetConnectionsInput, func(*networkmanager.GetConnectionsOutput, bool) bool) error + GetConnectionsPagesWithContext(aws.Context, *networkmanager.GetConnectionsInput, func(*networkmanager.GetConnectionsOutput, bool) bool, ...request.Option) error + GetCustomerGatewayAssociations(*networkmanager.GetCustomerGatewayAssociationsInput) (*networkmanager.GetCustomerGatewayAssociationsOutput, error) GetCustomerGatewayAssociationsWithContext(aws.Context, *networkmanager.GetCustomerGatewayAssociationsInput, ...request.Option) (*networkmanager.GetCustomerGatewayAssociationsOutput, error) GetCustomerGatewayAssociationsRequest(*networkmanager.GetCustomerGatewayAssociationsInput) (*request.Request, *networkmanager.GetCustomerGatewayAssociationsOutput) @@ -154,6 +177,13 @@ type NetworkManagerAPI interface { GetSitesPages(*networkmanager.GetSitesInput, func(*networkmanager.GetSitesOutput, bool) bool) error GetSitesPagesWithContext(aws.Context, *networkmanager.GetSitesInput, func(*networkmanager.GetSitesOutput, bool) bool, ...request.Option) error + GetTransitGatewayConnectPeerAssociations(*networkmanager.GetTransitGatewayConnectPeerAssociationsInput) (*networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, error) + GetTransitGatewayConnectPeerAssociationsWithContext(aws.Context, *networkmanager.GetTransitGatewayConnectPeerAssociationsInput, ...request.Option) (*networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, error) + GetTransitGatewayConnectPeerAssociationsRequest(*networkmanager.GetTransitGatewayConnectPeerAssociationsInput) (*request.Request, *networkmanager.GetTransitGatewayConnectPeerAssociationsOutput) + + GetTransitGatewayConnectPeerAssociationsPages(*networkmanager.GetTransitGatewayConnectPeerAssociationsInput, func(*networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, bool) bool) error + GetTransitGatewayConnectPeerAssociationsPagesWithContext(aws.Context, *networkmanager.GetTransitGatewayConnectPeerAssociationsInput, func(*networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, bool) bool, ...request.Option) error + GetTransitGatewayRegistrations(*networkmanager.GetTransitGatewayRegistrationsInput) (*networkmanager.GetTransitGatewayRegistrationsOutput, error) GetTransitGatewayRegistrationsWithContext(aws.Context, *networkmanager.GetTransitGatewayRegistrationsInput, ...request.Option) (*networkmanager.GetTransitGatewayRegistrationsOutput, error) GetTransitGatewayRegistrationsRequest(*networkmanager.GetTransitGatewayRegistrationsInput) (*request.Request, *networkmanager.GetTransitGatewayRegistrationsOutput) @@ -177,6 +207,10 @@ type NetworkManagerAPI interface { UntagResourceWithContext(aws.Context, *networkmanager.UntagResourceInput, ...request.Option) (*networkmanager.UntagResourceOutput, error) UntagResourceRequest(*networkmanager.UntagResourceInput) (*request.Request, *networkmanager.UntagResourceOutput) + UpdateConnection(*networkmanager.UpdateConnectionInput) (*networkmanager.UpdateConnectionOutput, error) + UpdateConnectionWithContext(aws.Context, *networkmanager.UpdateConnectionInput, ...request.Option) (*networkmanager.UpdateConnectionOutput, error) + UpdateConnectionRequest(*networkmanager.UpdateConnectionInput) (*request.Request, *networkmanager.UpdateConnectionOutput) + UpdateDevice(*networkmanager.UpdateDeviceInput) (*networkmanager.UpdateDeviceOutput, error) UpdateDeviceWithContext(aws.Context, *networkmanager.UpdateDeviceInput, ...request.Option) (*networkmanager.UpdateDeviceOutput, error) UpdateDeviceRequest(*networkmanager.UpdateDeviceInput) (*request.Request, *networkmanager.UpdateDeviceOutput)