From d6ec7a32b14b828a036e9fdba9182ea46a5cbe9b Mon Sep 17 00:00:00 2001 From: aws-sdk-go-automation <43143561+aws-sdk-go-automation@users.noreply.github.com> Date: Tue, 12 Jul 2022 11:44:03 -0700 Subject: [PATCH] Release v1.44.53 (2022-07-12) (#4477) Release v1.44.53 (2022-07-12) === ### Service Client Updates * `service/networkmanager`: Updates service API, documentation, and paginators --- CHANGELOG.md | 6 + aws/endpoints/defaults.go | 227 ++ aws/version.go | 2 +- .../apis/networkmanager/2019-07-05/api-2.json | 385 ++- .../networkmanager/2019-07-05/docs-2.json | 246 +- .../2019-07-05/paginators-1.json | 12 + models/endpoints/endpoints.json | 111 + service/networkmanager/api.go | 2386 +++++++++++++++-- .../networkmanageriface/interface.go | 34 + 9 files changed, 3152 insertions(+), 257 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08bd40b3b1a..c6668e58ffb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Release v1.44.53 (2022-07-12) +=== + +### Service Client Updates +* `service/networkmanager`: Updates service API, documentation, and paginators + Release v1.44.52 (2022-07-11) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 94394b4a00f..a5b051ff774 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -2020,6 +2020,76 @@ var awsPartition = partition{ }: endpoint{}, }, }, + "appconfig": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, + endpointKey{ + Region: "ap-east-1", + }: endpoint{}, + endpointKey{ + Region: "ap-northeast-1", + }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-1", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-2", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + }: endpoint{}, + endpointKey{ + Region: "eu-north-1", + }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + }: endpoint{}, + endpointKey{ + Region: "eu-west-1", + }: endpoint{}, + endpointKey{ + Region: "eu-west-2", + }: endpoint{}, + endpointKey{ + Region: "eu-west-3", + }: endpoint{}, + endpointKey{ + Region: "me-south-1", + }: endpoint{}, + endpointKey{ + Region: "sa-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-east-2", + }: endpoint{}, + endpointKey{ + Region: "us-west-1", + }: endpoint{}, + endpointKey{ + Region: "us-west-2", + }: endpoint{}, + }, + }, "appconfigdata": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -6276,6 +6346,76 @@ var awsPartition = partition{ }: endpoint{}, }, }, + "dlm": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{}, + endpointKey{ + Region: "ap-east-1", + }: endpoint{}, + endpointKey{ + Region: "ap-northeast-1", + }: endpoint{}, + endpointKey{ + Region: "ap-northeast-2", + }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, + endpointKey{ + Region: "ap-south-1", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-1", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-2", + }: endpoint{}, + endpointKey{ + Region: "ap-southeast-3", + }: endpoint{}, + endpointKey{ + Region: "ca-central-1", + }: endpoint{}, + endpointKey{ + Region: "eu-central-1", + }: endpoint{}, + endpointKey{ + Region: "eu-north-1", + }: endpoint{}, + endpointKey{ + Region: "eu-south-1", + }: endpoint{}, + endpointKey{ + Region: "eu-west-1", + }: endpoint{}, + endpointKey{ + Region: "eu-west-2", + }: endpoint{}, + endpointKey{ + Region: "eu-west-3", + }: endpoint{}, + endpointKey{ + Region: "me-south-1", + }: endpoint{}, + endpointKey{ + Region: "sa-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-east-2", + }: endpoint{}, + endpointKey{ + Region: "us-west-1", + }: endpoint{}, + endpointKey{ + Region: "us-west-2", + }: endpoint{}, + }, + }, "dms": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -24166,6 +24306,16 @@ var awscnPartition = partition{ }: endpoint{}, }, }, + "appconfig": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "cn-north-1", + }: endpoint{}, + endpointKey{ + Region: "cn-northwest-1", + }: endpoint{}, + }, + }, "appconfigdata": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -24508,6 +24658,16 @@ var awscnPartition = partition{ }: endpoint{}, }, }, + "dlm": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "cn-north-1", + }: endpoint{}, + endpointKey{ + Region: "cn-northwest-1", + }: endpoint{}, + }, + }, "dms": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -26126,6 +26286,46 @@ var awsusgovPartition = partition{ }: endpoint{}, }, }, + "appconfig": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "fips-us-gov-east-1", + }: endpoint{ + Hostname: "appconfig.us-gov-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-east-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "fips-us-gov-west-1", + }: endpoint{ + Hostname: "appconfig.us-gov-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-gov-west-1", + }, + Deprecated: boxedTrue, + }, + endpointKey{ + Region: "us-gov-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "appconfig.us-gov-east-1.amazonaws.com", + }, + endpointKey{ + Region: "us-gov-west-1", + }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + Variant: fipsVariant, + }: endpoint{ + Hostname: "appconfig.us-gov-west-1.amazonaws.com", + }, + }, + }, "appconfigdata": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -26952,6 +27152,16 @@ var awsusgovPartition = partition{ }, }, }, + "dlm": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-gov-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-gov-west-1", + }: endpoint{}, + }, + }, "dms": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{}, @@ -30702,6 +30912,16 @@ var awsisoPartition = partition{ }: endpoint{}, }, }, + "appconfig": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-iso-east-1", + }: endpoint{}, + endpointKey{ + Region: "us-iso-west-1", + }: endpoint{}, + }, + }, "appconfigdata": service{ Endpoints: serviceEndpoints{ endpointKey{ @@ -31449,6 +31669,13 @@ var awsisobPartition = partition{ }, }, }, + "appconfig": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-isob-east-1", + }: endpoint{}, + }, + }, "application-autoscaling": service{ Defaults: endpointDefaults{ defaultKey{}: endpoint{ diff --git a/aws/version.go b/aws/version.go index 34c7cdb8f56..f6676b08ec1 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.44.52" +const SDKVersion = "1.44.53" diff --git a/models/apis/networkmanager/2019-07-05/api-2.json b/models/apis/networkmanager/2019-07-05/api-2.json index 703be305494..18be9576f34 100644 --- a/models/apis/networkmanager/2019-07-05/api-2.json +++ b/models/apis/networkmanager/2019-07-05/api-2.json @@ -259,6 +259,40 @@ {"shape":"InternalServerException"} ] }, + "CreateTransitGatewayPeering":{ + "name":"CreateTransitGatewayPeering", + "http":{ + "method":"POST", + "requestUri":"/transit-gateway-peerings" + }, + "input":{"shape":"CreateTransitGatewayPeeringRequest"}, + "output":{"shape":"CreateTransitGatewayPeeringResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, + "CreateTransitGatewayRouteTableAttachment":{ + "name":"CreateTransitGatewayRouteTableAttachment", + "http":{ + "method":"POST", + "requestUri":"/transit-gateway-route-table-attachments" + }, + "input":{"shape":"CreateTransitGatewayRouteTableAttachmentRequest"}, + "output":{"shape":"CreateTransitGatewayRouteTableAttachmentResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "CreateVpcAttachment":{ "name":"CreateVpcAttachment", "http":{ @@ -412,6 +446,23 @@ {"shape":"InternalServerException"} ] }, + "DeletePeering":{ + "name":"DeletePeering", + "http":{ + "method":"DELETE", + "requestUri":"/peerings/{peeringId}" + }, + "input":{"shape":"DeletePeeringRequest"}, + "output":{"shape":"DeletePeeringResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ConflictException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "DeleteResourcePolicy":{ "name":"DeleteResourcePolicy", "http":{ @@ -644,6 +695,22 @@ {"shape":"InternalServerException"} ] }, + "GetCoreNetworkChangeEvents":{ + "name":"GetCoreNetworkChangeEvents", + "http":{ + "method":"GET", + "requestUri":"/core-networks/{coreNetworkId}/core-network-change-events/{policyVersionId}" + }, + "input":{"shape":"GetCoreNetworkChangeEventsRequest"}, + "output":{"shape":"GetCoreNetworkChangeEventsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "GetCoreNetworkChangeSet":{ "name":"GetCoreNetworkChangeSet", "http":{ @@ -900,6 +967,22 @@ {"shape":"InternalServerException"} ] }, + "GetTransitGatewayPeering":{ + "name":"GetTransitGatewayPeering", + "http":{ + "method":"GET", + "requestUri":"/transit-gateway-peerings/{peeringId}" + }, + "input":{"shape":"GetTransitGatewayPeeringRequest"}, + "output":{"shape":"GetTransitGatewayPeeringResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "GetTransitGatewayRegistrations":{ "name":"GetTransitGatewayRegistrations", "http":{ @@ -916,6 +999,22 @@ {"shape":"InternalServerException"} ] }, + "GetTransitGatewayRouteTableAttachment":{ + "name":"GetTransitGatewayRouteTableAttachment", + "http":{ + "method":"GET", + "requestUri":"/transit-gateway-route-table-attachments/{attachmentId}" + }, + "input":{"shape":"GetTransitGatewayRouteTableAttachmentRequest"}, + "output":{"shape":"GetTransitGatewayRouteTableAttachmentResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "GetVpcAttachment":{ "name":"GetVpcAttachment", "http":{ @@ -1002,6 +1101,21 @@ "input":{"shape":"ListOrganizationServiceAccessStatusRequest"}, "output":{"shape":"ListOrganizationServiceAccessStatusResponse"} }, + "ListPeerings":{ + "name":"ListPeerings", + "http":{ + "method":"GET", + "requestUri":"/peerings" + }, + "input":{"shape":"ListPeeringsRequest"}, + "output":{"shape":"ListPeeringsResponse"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServerException"} + ] + }, "ListTagsForResource":{ "name":"ListTagsForResource", "http":{ @@ -1515,7 +1629,8 @@ "enum":[ "CONNECT", "SITE_TO_SITE_VPN", - "VPC" + "VPC", + "TRANSIT_GATEWAY_ROUTE_TABLE" ] }, "Bandwidth":{ @@ -1551,6 +1666,15 @@ "OUT_OF_DATE" ] }, + "ChangeStatus":{ + "type":"string", + "enum":[ + "NOT_STARTED", + "IN_PROGRESS", + "COMPLETE", + "FAILED" + ] + }, "ChangeType":{ "type":"string", "enum":[ @@ -1558,7 +1682,11 @@ "CORE_NETWORK_EDGE", "ATTACHMENT_MAPPING", "ATTACHMENT_ROUTE_PROPAGATION", - "ATTACHMENT_ROUTE_STATIC" + "ATTACHMENT_ROUTE_STATIC", + "CORE_NETWORK_CONFIGURATION", + "SEGMENTS_CONFIGURATION", + "SEGMENT_ACTIONS_CONFIGURATION", + "ATTACHMENT_POLICIES_CONFIGURATION" ] }, "ClientToken":{ @@ -1794,7 +1922,32 @@ "Action":{"shape":"ChangeAction"}, "Identifier":{"shape":"ConstrainedString"}, "PreviousValues":{"shape":"CoreNetworkChangeValues"}, - "NewValues":{"shape":"CoreNetworkChangeValues"} + "NewValues":{"shape":"CoreNetworkChangeValues"}, + "IdentifierPath":{"shape":"ConstrainedString"} + } + }, + "CoreNetworkChangeEvent":{ + "type":"structure", + "members":{ + "Type":{"shape":"ChangeType"}, + "Action":{"shape":"ChangeAction"}, + "IdentifierPath":{"shape":"ConstrainedString"}, + "EventTime":{"shape":"DateTime"}, + "Status":{"shape":"ChangeStatus"}, + "Values":{"shape":"CoreNetworkChangeEventValues"} + } + }, + "CoreNetworkChangeEventList":{ + "type":"list", + "member":{"shape":"CoreNetworkChangeEvent"} + }, + "CoreNetworkChangeEventValues":{ + "type":"structure", + "members":{ + "EdgeLocation":{"shape":"ExternalRegionCode"}, + "SegmentName":{"shape":"ConstrainedString"}, + "AttachmentId":{"shape":"AttachmentId"}, + "Cidr":{"shape":"ConstrainedString"} } }, "CoreNetworkChangeList":{ @@ -2153,6 +2306,50 @@ "SiteToSiteVpnAttachment":{"shape":"SiteToSiteVpnAttachment"} } }, + "CreateTransitGatewayPeeringRequest":{ + "type":"structure", + "required":[ + "CoreNetworkId", + "TransitGatewayArn" + ], + "members":{ + "CoreNetworkId":{"shape":"CoreNetworkId"}, + "TransitGatewayArn":{"shape":"TransitGatewayArn"}, + "Tags":{"shape":"TagList"}, + "ClientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } + } + }, + "CreateTransitGatewayPeeringResponse":{ + "type":"structure", + "members":{ + "TransitGatewayPeering":{"shape":"TransitGatewayPeering"} + } + }, + "CreateTransitGatewayRouteTableAttachmentRequest":{ + "type":"structure", + "required":[ + "PeeringId", + "TransitGatewayRouteTableArn" + ], + "members":{ + "PeeringId":{"shape":"PeeringId"}, + "TransitGatewayRouteTableArn":{"shape":"TransitGatewayRouteTableArn"}, + "Tags":{"shape":"TagList"}, + "ClientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } + } + }, + "CreateTransitGatewayRouteTableAttachmentResponse":{ + "type":"structure", + "members":{ + "TransitGatewayRouteTableAttachment":{"shape":"TransitGatewayRouteTableAttachment"} + } + }, "CreateVpcAttachmentRequest":{ "type":"structure", "required":[ @@ -2380,6 +2577,23 @@ "Link":{"shape":"Link"} } }, + "DeletePeeringRequest":{ + "type":"structure", + "required":["PeeringId"], + "members":{ + "PeeringId":{ + "shape":"PeeringId", + "location":"uri", + "locationName":"peeringId" + } + } + }, + "DeletePeeringResponse":{ + "type":"structure", + "members":{ + "Peering":{"shape":"Peering"} + } + }, "DeleteResourcePolicyRequest":{ "type":"structure", "required":["ResourceArn"], @@ -2792,6 +3006,42 @@ "NextToken":{"shape":"NextToken"} } }, + "GetCoreNetworkChangeEventsRequest":{ + "type":"structure", + "required":[ + "CoreNetworkId", + "PolicyVersionId" + ], + "members":{ + "CoreNetworkId":{ + "shape":"CoreNetworkId", + "location":"uri", + "locationName":"coreNetworkId" + }, + "PolicyVersionId":{ + "shape":"Integer", + "location":"uri", + "locationName":"policyVersionId" + }, + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "GetCoreNetworkChangeEventsResponse":{ + "type":"structure", + "members":{ + "CoreNetworkChangeEvents":{"shape":"CoreNetworkChangeEventList"}, + "NextToken":{"shape":"NextToken"} + } + }, "GetCoreNetworkChangeSetRequest":{ "type":"structure", "required":[ @@ -3397,6 +3647,23 @@ "NextToken":{"shape":"NextToken"} } }, + "GetTransitGatewayPeeringRequest":{ + "type":"structure", + "required":["PeeringId"], + "members":{ + "PeeringId":{ + "shape":"PeeringId", + "location":"uri", + "locationName":"peeringId" + } + } + }, + "GetTransitGatewayPeeringResponse":{ + "type":"structure", + "members":{ + "TransitGatewayPeering":{"shape":"TransitGatewayPeering"} + } + }, "GetTransitGatewayRegistrationsRequest":{ "type":"structure", "required":["GlobalNetworkId"], @@ -3430,6 +3697,23 @@ "NextToken":{"shape":"NextToken"} } }, + "GetTransitGatewayRouteTableAttachmentRequest":{ + "type":"structure", + "required":["AttachmentId"], + "members":{ + "AttachmentId":{ + "shape":"AttachmentId", + "location":"uri", + "locationName":"attachmentId" + } + } + }, + "GetTransitGatewayRouteTableAttachmentResponse":{ + "type":"structure", + "members":{ + "TransitGatewayRouteTableAttachment":{"shape":"TransitGatewayRouteTableAttachment"} + } + }, "GetVpcAttachmentRequest":{ "type":"structure", "required":["AttachmentId"], @@ -3722,6 +4006,48 @@ "NextToken":{"shape":"NextToken"} } }, + "ListPeeringsRequest":{ + "type":"structure", + "members":{ + "CoreNetworkId":{ + "shape":"CoreNetworkId", + "location":"querystring", + "locationName":"coreNetworkId" + }, + "PeeringType":{ + "shape":"PeeringType", + "location":"querystring", + "locationName":"peeringType" + }, + "EdgeLocation":{ + "shape":"ExternalRegionCode", + "location":"querystring", + "locationName":"edgeLocation" + }, + "State":{ + "shape":"PeeringState", + "location":"querystring", + "locationName":"state" + }, + "MaxResults":{ + "shape":"MaxResults", + "location":"querystring", + "locationName":"maxResults" + }, + "NextToken":{ + "shape":"NextToken", + "location":"querystring", + "locationName":"nextToken" + } + } + }, + "ListPeeringsResponse":{ + "type":"structure", + "members":{ + "Peerings":{"shape":"PeeringList"}, + "NextToken":{"shape":"NextToken"} + } + }, "ListTagsForResourceRequest":{ "type":"structure", "required":["ResourceArn"], @@ -3886,6 +4212,44 @@ "type":"list", "member":{"shape":"PathComponent"} }, + "Peering":{ + "type":"structure", + "members":{ + "CoreNetworkId":{"shape":"CoreNetworkId"}, + "CoreNetworkArn":{"shape":"CoreNetworkArn"}, + "PeeringId":{"shape":"PeeringId"}, + "OwnerAccountId":{"shape":"AWSAccountId"}, + "PeeringType":{"shape":"PeeringType"}, + "State":{"shape":"PeeringState"}, + "EdgeLocation":{"shape":"ExternalRegionCode"}, + "ResourceArn":{"shape":"ResourceArn"}, + "Tags":{"shape":"TagList"}, + "CreatedAt":{"shape":"DateTime"} + } + }, + "PeeringId":{ + "type":"string", + "max":50, + "min":0, + "pattern":"^peering-([0-9a-f]{8,17})$" + }, + "PeeringList":{ + "type":"list", + "member":{"shape":"Peering"} + }, + "PeeringState":{ + "type":"string", + "enum":[ + "CREATING", + "FAILED", + "AVAILABLE", + "DELETING" + ] + }, + "PeeringType":{ + "type":"string", + "enum":["TRANSIT_GATEWAY"] + }, "ProposedSegmentChange":{ "type":"structure", "members":{ @@ -4421,6 +4785,13 @@ "DELETED" ] }, + "TransitGatewayPeering":{ + "type":"structure", + "members":{ + "Peering":{"shape":"Peering"}, + "TransitGatewayArn":{"shape":"TransitGatewayArn"} + } + }, "TransitGatewayRegistration":{ "type":"structure", "members":{ @@ -4456,6 +4827,14 @@ "min":0, "pattern":"[\\s\\S]*" }, + "TransitGatewayRouteTableAttachment":{ + "type":"structure", + "members":{ + "Attachment":{"shape":"Attachment"}, + "PeeringId":{"shape":"PeeringId"}, + "TransitGatewayRouteTableArn":{"shape":"TransitGatewayRouteTableArn"} + } + }, "TunnelProtocol":{ "type":"string", "enum":["GRE"] diff --git a/models/apis/networkmanager/2019-07-05/docs-2.json b/models/apis/networkmanager/2019-07-05/docs-2.json index ed4af3cc18c..eb85dc6143f 100644 --- a/models/apis/networkmanager/2019-07-05/docs-2.json +++ b/models/apis/networkmanager/2019-07-05/docs-2.json @@ -16,6 +16,8 @@ "CreateLink": "

Creates a new link for a specified site.

", "CreateSite": "

Creates a new site in a global network.

", "CreateSiteToSiteVpnAttachment": "

Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.

", + "CreateTransitGatewayPeering": "

Creates a transit gateway peering connection.

", + "CreateTransitGatewayRouteTableAttachment": "

Creates a transit gateway route table attachment.

", "CreateVpcAttachment": "

Creates a VPC attachment on an edge location of a core network.

", "DeleteAttachment": "

Deletes an attachment. Supports all attachment types.

", "DeleteConnectPeer": "

Deletes a Connect peer.

", @@ -25,6 +27,7 @@ "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), deregister all transit gateways, and delete any core networks.

", "DeleteLink": "

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

", + "DeletePeering": "

Deletes an existing peering connection.

", "DeleteResourcePolicy": "

Deletes a resource policy for the specified resource. This revokes the access of the principals specified in the resource policy.

", "DeleteSite": "

Deletes an existing site. The site cannot be associated with any device or link.

", "DeregisterTransitGateway": "

Deregisters a transit gateway from your global network. This action does not delete your transit gateway, or modify any of its attachments. This action removes any customer gateway associations.

", @@ -39,8 +42,9 @@ "GetConnectPeerAssociations": "

Returns information about a core network Connect peer associations.

", "GetConnections": "

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

", "GetCoreNetwork": "

Returns information about the LIVE policy for a core network.

", + "GetCoreNetworkChangeEvents": "

Returns information about a core network change event.

", "GetCoreNetworkChangeSet": "

Returns a change set between the LIVE core network policy and a submitted policy.

", - "GetCoreNetworkPolicy": "

Gets details about a core network policy. You can get details about your current live policy or any previous policy version.

", + "GetCoreNetworkPolicy": "

Returns details about a core network policy. You can get details about your current live policy or any previous policy version.

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

", @@ -55,20 +59,23 @@ "GetSiteToSiteVpnAttachment": "

Returns information about a site-to-site VPN attachment.

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

", + "GetTransitGatewayPeering": "

Returns information about a transit gateway peer.

", "GetTransitGatewayRegistrations": "

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

", + "GetTransitGatewayRouteTableAttachment": "

Returns information about a transit gateway route table attachment.

", "GetVpcAttachment": "

Returns information about a VPC attachment.

", "ListAttachments": "

Returns a list of core network attachments.

", "ListConnectPeers": "

Returns a list of core network Connect peers.

", "ListCoreNetworkPolicyVersions": "

Returns a list of core network policy versions.

", "ListCoreNetworks": "

Returns a list of owned and shared core networks.

", - "ListOrganizationServiceAccessStatus": null, + "ListOrganizationServiceAccessStatus": "

Gets the status of the Service Linked Role (SLR) deployment for the accounts in a given Amazon Web Services Organization.

", + "ListPeerings": "

Lists the peerings for a core network.

", "ListTagsForResource": "

Lists the tags for a specified resource.

", "PutCoreNetworkPolicy": "

Creates a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and the submitted policy.

", "PutResourcePolicy": "

Creates or updates a resource policy.

", "RegisterTransitGateway": "

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

", "RejectAttachment": "

Rejects a core network attachment request.

", "RestoreCoreNetworkPolicyVersion": "

Restores a previous policy version as a new, immutable version of a core network policy. A subsequent change set is created showing the differences between the LIVE policy and restored policy.

", - "StartOrganizationServiceAccessUpdate": null, + "StartOrganizationServiceAccessUpdate": "

Enables for the Network Manager service for an Amazon Web Services Organization. This can only be called by a management account within the organization.

", "StartRouteAnalysis": "

Starts analyzing the routing path between the specified source and destination. For more information, see Route Analyzer.

", "TagResource": "

Tags a specified resource.

", "UntagResource": "

Removes tags from a specified resource.

", @@ -92,6 +99,7 @@ "GetNetworkTelemetryRequest$AccountId": "

The Amazon Web Services account ID.

", "NetworkResource$AccountId": "

The Amazon Web Services account ID.

", "NetworkTelemetry$AccountId": "

The Amazon Web Services account ID.

", + "Peering$OwnerAccountId": "

The ID of the account owner.

", "RouteAnalysis$OwnerAccountId": "

The ID of the AWS account that created the route analysis.

" } }, @@ -121,11 +129,11 @@ "AccountId": { "base": null, "refs": { - "AccountStatus$AccountId": null + "AccountStatus$AccountId": "

The ID of an account within the Amazon Web Services Organization.

" } }, "AccountStatus": { - "base": null, + "base": "

Describes the current status of an account within an Amazon Web Services Organization, including service-linked roles (SLRs).

", "refs": { "AccountStatusList$member": null } @@ -133,13 +141,13 @@ "AccountStatusList": { "base": null, "refs": { - "OrganizationStatus$AccountStatusList": null + "OrganizationStatus$AccountStatusList": "

The current service-linked role (SLR) deployment status for an Amazon Web Services Organization's accounts. This will be either SUCCEEDED or IN_PROGRESS.

" } }, "Action": { "base": null, "refs": { - "StartOrganizationServiceAccessUpdateRequest$Action": null + "StartOrganizationServiceAccessUpdateRequest$Action": "

The action to take for the update request. This can be either ENABLE or DISABLE.

" } }, "AssociateConnectPeerRequest": { @@ -191,6 +199,7 @@ "DeleteAttachmentResponse$Attachment": "

Information about the deleted attachment.

", "RejectAttachmentResponse$Attachment": "

Describes the rejected attachment request.

", "SiteToSiteVpnAttachment$Attachment": "

Provides details about a site-to-site VPN attachment.

", + "TransitGatewayRouteTableAttachment$Attachment": null, "VpcAttachment$Attachment": "

Provides details about the VPC attachment.

" } }, @@ -202,11 +211,13 @@ "ConnectAttachment$TransportAttachmentId": "

The ID of the transport attachment.

", "ConnectPeer$ConnectAttachmentId": "

The ID of the attachment to connect.

", "ConnectPeerSummary$ConnectAttachmentId": "

The ID of a Connect peer attachment.

", + "CoreNetworkChangeEventValues$AttachmentId": "

The ID of the attachment if the change event is associated with an attachment.

", "CreateConnectAttachmentRequest$TransportAttachmentId": "

The ID of the attachment between the two connections.

", "CreateConnectPeerRequest$ConnectAttachmentId": "

The ID of the connection attachment.

", "DeleteAttachmentRequest$AttachmentId": "

The ID of the attachment to delete.

", "GetConnectAttachmentRequest$AttachmentId": "

The ID of the attachment.

", "GetSiteToSiteVpnAttachmentRequest$AttachmentId": "

The ID of the attachment.

", + "GetTransitGatewayRouteTableAttachmentRequest$AttachmentId": "

The ID of the transit gateway route table attachment.

", "GetVpcAttachmentRequest$AttachmentId": "

The ID of the attachment.

", "ListConnectPeersRequest$ConnectAttachmentId": "

The ID of the attachment.

", "NetworkRouteDestination$CoreNetworkAttachmentId": "

The ID of a core network attachment.

", @@ -262,7 +273,8 @@ "ChangeAction": { "base": null, "refs": { - "CoreNetworkChange$Action": "

The action to take for a core network.

" + "CoreNetworkChange$Action": "

The action to take for a core network.

", + "CoreNetworkChangeEvent$Action": "

The action taken for the change event.

" } }, "ChangeSetState": { @@ -272,10 +284,17 @@ "CoreNetworkPolicyVersion$ChangeSetState": "

The status of the policy version change set.

" } }, + "ChangeStatus": { + "base": null, + "refs": { + "CoreNetworkChangeEvent$Status": "

The status of the core network change event.

" + } + }, "ChangeType": { "base": null, "refs": { - "CoreNetworkChange$Type": "

The type of change.

" + "CoreNetworkChange$Type": "

The type of change.

", + "CoreNetworkChangeEvent$Type": "

Describes the type of change event.

" } }, "ClientToken": { @@ -285,6 +304,8 @@ "CreateConnectPeerRequest$ClientToken": "

The client token associated with the request.

", "CreateCoreNetworkRequest$ClientToken": "

The client token associated with a core network request.

", "CreateSiteToSiteVpnAttachmentRequest$ClientToken": "

The client token associated with the request.

", + "CreateTransitGatewayPeeringRequest$ClientToken": "

The client token associated with the request.

", + "CreateTransitGatewayRouteTableAttachmentRequest$ClientToken": "

The client token associated with the request.

", "CreateVpcAttachmentRequest$ClientToken": "

The client token associated with the request.

", "PutCoreNetworkPolicyRequest$ClientToken": "

The client token associated with the request.

" } @@ -461,6 +482,10 @@ "ConstrainedStringList$member": null, "CoreNetwork$Description": "

The description of a core network.

", "CoreNetworkChange$Identifier": "

The resource identifier.

", + "CoreNetworkChange$IdentifierPath": "

Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath for a core network segment change might be \"CORE_NETWORK_SEGMENT/us-east-1/devsegment\".

", + "CoreNetworkChangeEvent$IdentifierPath": "

Uniquely identifies the path for a change within the changeset. For example, the IdentifierPath for a core network segment change might be \"CORE_NETWORK_SEGMENT/us-east-1/devsegment\".

", + "CoreNetworkChangeEventValues$SegmentName": "

The segment name if the change event is associated with a segment.

", + "CoreNetworkChangeEventValues$Cidr": "

For a STATIC_ROUTE event, this is the IP address.

", "CoreNetworkChangeValues$SegmentName": "

The names of the segments in a core network.

", "CoreNetworkChangeValues$Cidr": "

The IP addresses used for a core network.

", "CoreNetworkChangeValues$DestinationIdentifier": "

The ID of the destination.

", @@ -569,7 +594,8 @@ "refs": { "Attachment$CoreNetworkArn": "

The ARN of a core network.

", "CoreNetwork$CoreNetworkArn": "

The ARN of a core network.

", - "CoreNetworkSummary$CoreNetworkArn": "

a core network ARN.

" + "CoreNetworkSummary$CoreNetworkArn": "

a core network ARN.

", + "Peering$CoreNetworkArn": "

The ARN of a core network.

" } }, "CoreNetworkChange": { @@ -578,6 +604,24 @@ "CoreNetworkChangeList$member": null } }, + "CoreNetworkChangeEvent": { + "base": "

Describes a core network change event. This can be a change to a segment, attachment, route, etc.

", + "refs": { + "CoreNetworkChangeEventList$member": null + } + }, + "CoreNetworkChangeEventList": { + "base": null, + "refs": { + "GetCoreNetworkChangeEventsResponse$CoreNetworkChangeEvents": "

The response to GetCoreNetworkChangeEventsRequest.

" + } + }, + "CoreNetworkChangeEventValues": { + "base": "

Describes a core network change event.

", + "refs": { + "CoreNetworkChangeEvent$Values": "

Details of the change event.

" + } + }, "CoreNetworkChangeList": { "base": null, "refs": { @@ -606,7 +650,7 @@ "CoreNetworkId": { "base": null, "refs": { - "Attachment$CoreNetworkId": "

A core network ID.

", + "Attachment$CoreNetworkId": "

The ID of a core network.

", "ConnectPeer$CoreNetworkId": "

The ID of a core network.

", "ConnectPeerSummary$CoreNetworkId": "

The ID of a core network.

", "CoreNetwork$CoreNetworkId": "

The ID of a core network.

", @@ -616,10 +660,12 @@ "CoreNetworkSummary$CoreNetworkId": "

The ID of a core network.

", "CreateConnectAttachmentRequest$CoreNetworkId": "

The ID of a core network where you want to create the attachment.

", "CreateSiteToSiteVpnAttachmentRequest$CoreNetworkId": "

The ID of a core network where you're creating a site-to-site VPN attachment.

", + "CreateTransitGatewayPeeringRequest$CoreNetworkId": "

The ID of a core network.

", "CreateVpcAttachmentRequest$CoreNetworkId": "

The ID of a core network for the VPC attachment.

", "DeleteCoreNetworkPolicyVersionRequest$CoreNetworkId": "

The ID of a core network for the deleted policy.

", "DeleteCoreNetworkRequest$CoreNetworkId": "

The network ID of the deleted core network.

", "ExecuteCoreNetworkChangeSetRequest$CoreNetworkId": "

The ID of a core network.

", + "GetCoreNetworkChangeEventsRequest$CoreNetworkId": "

The ID of a core network.

", "GetCoreNetworkChangeSetRequest$CoreNetworkId": "

The ID of a core network.

", "GetCoreNetworkPolicyRequest$CoreNetworkId": "

The ID of a core network.

", "GetCoreNetworkRequest$CoreNetworkId": "

The ID of a core network.

", @@ -629,8 +675,10 @@ "ListAttachmentsRequest$CoreNetworkId": "

The ID of a core network.

", "ListConnectPeersRequest$CoreNetworkId": "

The ID of a core network.

", "ListCoreNetworkPolicyVersionsRequest$CoreNetworkId": "

The ID of a core network.

", - "NetworkResource$CoreNetworkId": "

a core network ID.

", + "ListPeeringsRequest$CoreNetworkId": "

The ID of a core network.

", + "NetworkResource$CoreNetworkId": "

The ID of a core network.

", "NetworkTelemetry$CoreNetworkId": "

The ID of a core network.

", + "Peering$CoreNetworkId": "

The ID of the core network for the peering request.

", "PutCoreNetworkPolicyRequest$CoreNetworkId": "

The ID of a core network.

", "RestoreCoreNetworkPolicyVersionRequest$CoreNetworkId": "

The ID of a core network.

", "UpdateCoreNetworkRequest$CoreNetworkId": "

The ID of a core network.

" @@ -819,6 +867,26 @@ "refs": { } }, + "CreateTransitGatewayPeeringRequest": { + "base": null, + "refs": { + } + }, + "CreateTransitGatewayPeeringResponse": { + "base": null, + "refs": { + } + }, + "CreateTransitGatewayRouteTableAttachmentRequest": { + "base": null, + "refs": { + } + }, + "CreateTransitGatewayRouteTableAttachmentResponse": { + "base": null, + "refs": { + } + }, "CreateVpcAttachmentRequest": { "base": null, "refs": { @@ -874,6 +942,7 @@ "Connection$CreatedAt": "

The date and time that the connection was created.

", "ConnectionHealth$Timestamp": "

The time the status was last updated.

", "CoreNetwork$CreatedAt": "

The timestamp when a core network was created.

", + "CoreNetworkChangeEvent$EventTime": "

The timestamp for an event change in status.

", "CoreNetworkPolicy$CreatedAt": "

The timestamp when a core network policy was created.

", "CoreNetworkPolicyVersion$CreatedAt": "

The timestamp when a core network policy version was created.

", "Device$CreatedAt": "

The date and time that the site was created.

", @@ -881,6 +950,7 @@ "GlobalNetwork$CreatedAt": "

The date and time that the global network was created.

", "Link$CreatedAt": "

The date and time that the link was created.

", "NetworkResource$DefinitionTimestamp": "

The time that the resource definition was retrieved.

", + "Peering$CreatedAt": "

The timestamp when the attachment peer was created.

", "RouteAnalysis$StartTimestamp": "

The time that the analysis started.

", "Site$CreatedAt": "

The date and time that the site was created.

" } @@ -965,6 +1035,16 @@ "refs": { } }, + "DeletePeeringRequest": { + "base": null, + "refs": { + } + }, + "DeletePeeringResponse": { + "base": null, + "refs": { + } + }, "DeleteResourcePolicyRequest": { "base": null, "refs": { @@ -1136,6 +1216,7 @@ "Attachment$EdgeLocation": "

The Region where the edge is located.

", "ConnectPeer$EdgeLocation": "

The Connect peer Regions where edges are located.

", "ConnectPeerSummary$EdgeLocation": "

The Region where the edge is located.

", + "CoreNetworkChangeEventValues$EdgeLocation": "

The edge location for the core network change event.

", "CoreNetworkEdge$EdgeLocation": "

The Region where a core network edge is located.

", "CoreNetworkSegmentEdgeIdentifier$EdgeLocation": "

The Region where the segment edge is located.

", "CreateConnectAttachmentRequest$EdgeLocation": "

The Region where the edge is located.

", @@ -1144,9 +1225,11 @@ "GetNetworkResourcesRequest$AwsRegion": "

The Amazon Web Services Region.

", "GetNetworkTelemetryRequest$AwsRegion": "

The Amazon Web Services Region.

", "ListAttachmentsRequest$EdgeLocation": "

The Region where the edge is located.

", + "ListPeeringsRequest$EdgeLocation": "

Returns a list edge locations for the

", "NetworkResource$AwsRegion": "

The Amazon Web Services Region.

", "NetworkRouteDestination$EdgeLocation": "

The edge location for the network destination.

", - "NetworkTelemetry$AwsRegion": "

The Amazon Web Services Region.

" + "NetworkTelemetry$AwsRegion": "

The Amazon Web Services Region.

", + "Peering$EdgeLocation": "

The edge location for the peer.

" } }, "ExternalRegionCodeList": { @@ -1220,6 +1303,16 @@ "refs": { } }, + "GetCoreNetworkChangeEventsRequest": { + "base": null, + "refs": { + } + }, + "GetCoreNetworkChangeEventsResponse": { + "base": null, + "refs": { + } + }, "GetCoreNetworkChangeSetRequest": { "base": null, "refs": { @@ -1390,6 +1483,16 @@ "refs": { } }, + "GetTransitGatewayPeeringRequest": { + "base": null, + "refs": { + } + }, + "GetTransitGatewayPeeringResponse": { + "base": null, + "refs": { + } + }, "GetTransitGatewayRegistrationsRequest": { "base": null, "refs": { @@ -1400,6 +1503,16 @@ "refs": { } }, + "GetTransitGatewayRouteTableAttachmentRequest": { + "base": null, + "refs": { + } + }, + "GetTransitGatewayRouteTableAttachmentResponse": { + "base": null, + "refs": { + } + }, "GetVpcAttachmentRequest": { "base": null, "refs": { @@ -1527,6 +1640,7 @@ "CoreNetworkPolicyVersion$PolicyVersionId": "

The ID of the policy version.

", "DeleteCoreNetworkPolicyVersionRequest$PolicyVersionId": "

The version ID of the deleted policy.

", "ExecuteCoreNetworkChangeSetRequest$PolicyVersionId": "

The ID of the policy version.

", + "GetCoreNetworkChangeEventsRequest$PolicyVersionId": "

The ID of the policy version.

", "GetCoreNetworkChangeSetRequest$PolicyVersionId": "

The ID of the policy version.

", "GetCoreNetworkPolicyRequest$PolicyVersionId": "

The ID of a core network policy version.

", "NetworkResourceCount$Count": "

The resource count.

", @@ -1669,6 +1783,16 @@ "refs": { } }, + "ListPeeringsRequest": { + "base": null, + "refs": { + } + }, + "ListPeeringsResponse": { + "base": null, + "refs": { + } + }, "ListTagsForResourceRequest": { "base": null, "refs": { @@ -1706,6 +1830,7 @@ "DescribeGlobalNetworksRequest$MaxResults": "

The maximum number of results to return.

", "GetConnectPeerAssociationsRequest$MaxResults": "

The maximum number of results to return.

", "GetConnectionsRequest$MaxResults": "

The maximum number of results to return.

", + "GetCoreNetworkChangeEventsRequest$MaxResults": "

The maximum number of results to return.

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

", @@ -1722,7 +1847,8 @@ "ListConnectPeersRequest$MaxResults": "

The maximum number of results to return.

", "ListCoreNetworkPolicyVersionsRequest$MaxResults": "

The maximum number of results to return.

", "ListCoreNetworksRequest$MaxResults": "

The maximum number of results to return.

", - "ListOrganizationServiceAccessStatusRequest$MaxResults": null + "ListOrganizationServiceAccessStatusRequest$MaxResults": "

The maximum number of results to return.

", + "ListPeeringsRequest$MaxResults": "

The maximum number of results to return.

" } }, "NetworkResource": { @@ -1808,6 +1934,8 @@ "GetConnectPeerAssociationsResponse$NextToken": "

The token for the next page of results.

", "GetConnectionsRequest$NextToken": "

The token for the next page of results.

", "GetConnectionsResponse$NextToken": "

The token to use for the next page of results.

", + "GetCoreNetworkChangeEventsRequest$NextToken": "

The token for the next page of results.

", + "GetCoreNetworkChangeEventsResponse$NextToken": "

The token for the next page of results.

", "GetCoreNetworkChangeSetRequest$NextToken": "

The token for the next page of results.

", "GetCoreNetworkChangeSetResponse$NextToken": "

The token for the next page of results.

", "GetCustomerGatewayAssociationsRequest$NextToken": "

The token for the next page of results.

", @@ -1840,27 +1968,29 @@ "ListCoreNetworkPolicyVersionsResponse$NextToken": "

The token for the next page of results.

", "ListCoreNetworksRequest$NextToken": "

The token for the next page of results.

", "ListCoreNetworksResponse$NextToken": "

The token for the next page of results.

", - "ListOrganizationServiceAccessStatusRequest$NextToken": null, - "ListOrganizationServiceAccessStatusResponse$NextToken": null + "ListOrganizationServiceAccessStatusRequest$NextToken": "

The token for the next page of results.

", + "ListOrganizationServiceAccessStatusResponse$NextToken": "

The token for the next page of results.

", + "ListPeeringsRequest$NextToken": "

The token for the next page of results.

", + "ListPeeringsResponse$NextToken": "

The token for the next page of results.

" } }, "OrganizationAwsServiceAccessStatus": { "base": null, "refs": { - "OrganizationStatus$OrganizationAwsServiceAccessStatus": null + "OrganizationStatus$OrganizationAwsServiceAccessStatus": "

The status of the organization's AWS service access. This will be ENABLED or DISABLED.

" } }, "OrganizationId": { "base": null, "refs": { - "OrganizationStatus$OrganizationId": null + "OrganizationStatus$OrganizationId": "

The ID of an Amazon Web Services Organization.

" } }, "OrganizationStatus": { - "base": null, + "base": "

The status of an Amazon Web Services Organization and the accounts within that organization.

", "refs": { - "ListOrganizationServiceAccessStatusResponse$OrganizationStatus": null, - "StartOrganizationServiceAccessUpdateResponse$OrganizationStatus": null + "ListOrganizationServiceAccessStatusResponse$OrganizationStatus": "

Displays the status of an Amazon Web Services Organization.

", + "StartOrganizationServiceAccessUpdateResponse$OrganizationStatus": "

The status of the service access update request for an Amazon Web Services Organization.

" } }, "PathComponent": { @@ -1875,6 +2005,44 @@ "RouteAnalysisPath$Path": "

The route analysis path.

" } }, + "Peering": { + "base": "

Describes a peering connection.

", + "refs": { + "DeletePeeringResponse$Peering": "

Information about a deleted peering connection.

", + "PeeringList$member": null, + "TransitGatewayPeering$Peering": "

Describes a transit gateway peer connection.

" + } + }, + "PeeringId": { + "base": null, + "refs": { + "CreateTransitGatewayRouteTableAttachmentRequest$PeeringId": "

The ID of the peer for the

", + "DeletePeeringRequest$PeeringId": "

The ID of the peering connection to delete.

", + "GetTransitGatewayPeeringRequest$PeeringId": "

The ID of the peering request.

", + "Peering$PeeringId": "

The ID of the peering attachment.

", + "TransitGatewayRouteTableAttachment$PeeringId": "

The ID of the peering attachment.

" + } + }, + "PeeringList": { + "base": null, + "refs": { + "ListPeeringsResponse$Peerings": "

Lists the transit gateway peerings for the ListPeerings request.

" + } + }, + "PeeringState": { + "base": null, + "refs": { + "ListPeeringsRequest$State": "

Returns a list of the peering request states.

", + "Peering$State": "

The current state of the peering connection.

" + } + }, + "PeeringType": { + "base": null, + "refs": { + "ListPeeringsRequest$PeeringType": "

Returns a list of a peering requests.

", + "Peering$PeeringType": "

The type of peering. This will be TRANSIT_GATEWAY.

" + } + }, "ProposedSegmentChange": { "base": "

Describes a proposed segment change. In some cases, the segment change must first be evaluated and accepted.

", "refs": { @@ -1971,6 +2139,7 @@ "NetworkResourceSummary$ResourceArn": "

The ARN of the resource.

", "NetworkTelemetry$RegisteredGatewayArn": "

The ARN of the gateway.

", "NetworkTelemetry$ResourceArn": "

The ARN of the resource.

", + "Peering$ResourceArn": "

The resource ARN of the peer.

", "PutResourcePolicyRequest$ResourceArn": "

The ARN of the resource policy.

", "TagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource.

", "UntagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource.

", @@ -2100,8 +2269,8 @@ "SLRDeploymentStatus": { "base": null, "refs": { - "AccountStatus$SLRDeploymentStatus": null, - "OrganizationStatus$SLRDeploymentStatus": null + "AccountStatus$SLRDeploymentStatus": "

The status of SLR deployment for the account.

", + "OrganizationStatus$SLRDeploymentStatus": "

The status of the SLR deployment for the account. This will be either SUCCEEDED or IN_PROGRESS.

" } }, "ServerSideString": { @@ -2250,10 +2419,10 @@ "base": null, "refs": { "Attachment$Tags": "

The tags associated with the attachment.

", - "ConnectPeer$Tags": "

The tags associated with the Connect peer.

", - "ConnectPeerSummary$Tags": "

The tags associated with a Connect peer summary.

", + "ConnectPeer$Tags": "

The list of key-value tags associated with the Connect peer.

", + "ConnectPeerSummary$Tags": "

The list of key-value tags associated with the Connect peer summary.

", "Connection$Tags": "

The tags for the connection.

", - "CoreNetwork$Tags": "

The tags associated with a core network.

", + "CoreNetwork$Tags": "

The list of key-value tags associated with a core network.

", "CoreNetworkSummary$Tags": "

The key-value tags associated with a core network summary.

", "CreateConnectAttachmentRequest$Tags": "

The list of key-value tags associated with the request.

", "CreateConnectPeerRequest$Tags": "

The tags associated with the peer request.

", @@ -2264,13 +2433,16 @@ "CreateLinkRequest$Tags": "

The tags to apply to the resource during creation.

", "CreateSiteRequest$Tags": "

The tags to apply to the resource during creation.

", "CreateSiteToSiteVpnAttachmentRequest$Tags": "

The tags associated with the request.

", + "CreateTransitGatewayPeeringRequest$Tags": "

The list of key-value tags associated with the request.

", + "CreateTransitGatewayRouteTableAttachmentRequest$Tags": "

The list of key-value tags associated with the request.

", "CreateVpcAttachmentRequest$Tags": "

The key-value tags associated with the request.

", "Device$Tags": "

The tags for the device.

", "GlobalNetwork$Tags": "

The tags for the global network.

", "Link$Tags": "

The tags for the link.

", "ListTagsForResourceResponse$TagList": "

The list of tags.

", "NetworkResource$Tags": "

The tags.

", - "ProposedSegmentChange$Tags": "

The key-value tags that changed for the segment.

", + "Peering$Tags": "

The list of key-value tags associated with the peering.

", + "ProposedSegmentChange$Tags": "

The list of key-value tags that changed for the segment.

", "Site$Tags": "

The tags for the site.

", "TagResourceRequest$Tags": "

The tags to apply to the specified resource.

" } @@ -2299,10 +2471,12 @@ "TransitGatewayArn": { "base": null, "refs": { + "CreateTransitGatewayPeeringRequest$TransitGatewayArn": "

The ARN of the transit gateway for the peering request.

", "DeregisterTransitGatewayRequest$TransitGatewayArn": "

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

", "RegisterTransitGatewayRequest$TransitGatewayArn": "

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

", "RouteAnalysisEndpointOptions$TransitGatewayArn": "

The ARN of the transit gateway.

", "TransitGatewayArnList$member": null, + "TransitGatewayPeering$TransitGatewayArn": "

The ARN of the transit gateway.

", "TransitGatewayRegistration$TransitGatewayArn": "

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

" } }, @@ -2360,6 +2534,13 @@ "TransitGatewayConnectPeerAssociation$State": "

The state of the association.

" } }, + "TransitGatewayPeering": { + "base": "

Describes a transit gateway peering attachment.

", + "refs": { + "CreateTransitGatewayPeeringResponse$TransitGatewayPeering": "

Returns information about the transit gateway peering connection request.

", + "GetTransitGatewayPeeringResponse$TransitGatewayPeering": "

Returns information about a transit gateway peering.

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

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

", "refs": { @@ -2389,7 +2570,16 @@ "TransitGatewayRouteTableArn": { "base": null, "refs": { - "RouteTableIdentifier$TransitGatewayRouteTableArn": "

The ARN of the transit gateway route table.

" + "CreateTransitGatewayRouteTableAttachmentRequest$TransitGatewayRouteTableArn": "

The ARN of the transit gateway route table for the attachment request.

", + "RouteTableIdentifier$TransitGatewayRouteTableArn": "

The ARN of the transit gateway route table.

", + "TransitGatewayRouteTableAttachment$TransitGatewayRouteTableArn": "

The ARN of the transit gateway attachment route table.

" + } + }, + "TransitGatewayRouteTableAttachment": { + "base": "

Describes a transit gateway route table attachment.

", + "refs": { + "CreateTransitGatewayRouteTableAttachmentResponse$TransitGatewayRouteTableAttachment": "

The route table associated with the create transit gateway route table attachment request.

", + "GetTransitGatewayRouteTableAttachmentResponse$TransitGatewayRouteTableAttachment": "

Returns information about the transit gateway route table attachment.

" } }, "TunnelProtocol": { diff --git a/models/apis/networkmanager/2019-07-05/paginators-1.json b/models/apis/networkmanager/2019-07-05/paginators-1.json index ac27f382dde..8f5cac81b69 100644 --- a/models/apis/networkmanager/2019-07-05/paginators-1.json +++ b/models/apis/networkmanager/2019-07-05/paginators-1.json @@ -18,6 +18,12 @@ "limit_key": "MaxResults", "result_key": "Connections" }, + "GetCoreNetworkChangeEvents": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "CoreNetworkChangeEvents" + }, "GetCoreNetworkChangeSet": { "input_token": "NextToken", "output_token": "NextToken", @@ -113,6 +119,12 @@ "output_token": "NextToken", "limit_key": "MaxResults", "result_key": "CoreNetworks" + }, + "ListPeerings": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults", + "result_key": "Peerings" } } } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index db4b319cdc1..e186122a2f2 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1159,6 +1159,32 @@ "us-west-2" : { } } }, + "appconfig" : { + "endpoints" : { + "af-south-1" : { }, + "ap-east-1" : { }, + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-northeast-3" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "ap-southeast-3" : { }, + "ca-central-1" : { }, + "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-south-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "eu-west-3" : { }, + "me-south-1" : { }, + "sa-east-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-1" : { }, + "us-west-2" : { } + } + }, "appconfigdata" : { "endpoints" : { "af-south-1" : { }, @@ -3555,6 +3581,32 @@ "us-west-2" : { } } }, + "dlm" : { + "endpoints" : { + "af-south-1" : { }, + "ap-east-1" : { }, + "ap-northeast-1" : { }, + "ap-northeast-2" : { }, + "ap-northeast-3" : { }, + "ap-south-1" : { }, + "ap-southeast-1" : { }, + "ap-southeast-2" : { }, + "ap-southeast-3" : { }, + "ca-central-1" : { }, + "eu-central-1" : { }, + "eu-north-1" : { }, + "eu-south-1" : { }, + "eu-west-1" : { }, + "eu-west-2" : { }, + "eu-west-3" : { }, + "me-south-1" : { }, + "sa-east-1" : { }, + "us-east-1" : { }, + "us-east-2" : { }, + "us-west-1" : { }, + "us-west-2" : { } + } + }, "dms" : { "endpoints" : { "af-south-1" : { }, @@ -14155,6 +14207,12 @@ "cn-northwest-1" : { } } }, + "appconfig" : { + "endpoints" : { + "cn-north-1" : { }, + "cn-northwest-1" : { } + } + }, "appconfigdata" : { "endpoints" : { "cn-north-1" : { }, @@ -14393,6 +14451,12 @@ "cn-northwest-1" : { } } }, + "dlm" : { + "endpoints" : { + "cn-north-1" : { }, + "cn-northwest-1" : { } + } + }, "dms" : { "endpoints" : { "cn-north-1" : { }, @@ -15473,6 +15537,36 @@ "us-gov-west-1" : { } } }, + "appconfig" : { + "endpoints" : { + "fips-us-gov-east-1" : { + "credentialScope" : { + "region" : "us-gov-east-1" + }, + "deprecated" : true, + "hostname" : "appconfig.us-gov-east-1.amazonaws.com" + }, + "fips-us-gov-west-1" : { + "credentialScope" : { + "region" : "us-gov-west-1" + }, + "deprecated" : true, + "hostname" : "appconfig.us-gov-west-1.amazonaws.com" + }, + "us-gov-east-1" : { + "variants" : [ { + "hostname" : "appconfig.us-gov-east-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + }, + "us-gov-west-1" : { + "variants" : [ { + "hostname" : "appconfig.us-gov-west-1.amazonaws.com", + "tags" : [ "fips" ] + } ] + } + } + }, "appconfigdata" : { "endpoints" : { "us-gov-east-1" : { }, @@ -16121,6 +16215,12 @@ } } }, + "dlm" : { + "endpoints" : { + "us-gov-east-1" : { }, + "us-gov-west-1" : { } + } + }, "dms" : { "defaults" : { "variants" : [ { @@ -18844,6 +18944,12 @@ "us-iso-east-1" : { } } }, + "appconfig" : { + "endpoints" : { + "us-iso-east-1" : { }, + "us-iso-west-1" : { } + } + }, "appconfigdata" : { "endpoints" : { "us-iso-west-1" : { } @@ -19351,6 +19457,11 @@ } } }, + "appconfig" : { + "endpoints" : { + "us-isob-east-1" : { } + } + }, "application-autoscaling" : { "defaults" : { "protocols" : [ "http", "https" ] diff --git a/service/networkmanager/api.go b/service/networkmanager/api.go index 7862c826ba5..58153a62d9f 100644 --- a/service/networkmanager/api.go +++ b/service/networkmanager/api.go @@ -1410,6 +1410,196 @@ func (c *NetworkManager) CreateSiteToSiteVpnAttachmentWithContext(ctx aws.Contex return out, req.Send() } +const opCreateTransitGatewayPeering = "CreateTransitGatewayPeering" + +// CreateTransitGatewayPeeringRequest generates a "aws/request.Request" representing the +// client's request for the CreateTransitGatewayPeering 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 CreateTransitGatewayPeering for more information on using the CreateTransitGatewayPeering +// 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 CreateTransitGatewayPeeringRequest method. +// req, resp := client.CreateTransitGatewayPeeringRequest(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/CreateTransitGatewayPeering +func (c *NetworkManager) CreateTransitGatewayPeeringRequest(input *CreateTransitGatewayPeeringInput) (req *request.Request, output *CreateTransitGatewayPeeringOutput) { + op := &request.Operation{ + Name: opCreateTransitGatewayPeering, + HTTPMethod: "POST", + HTTPPath: "/transit-gateway-peerings", + } + + if input == nil { + input = &CreateTransitGatewayPeeringInput{} + } + + output = &CreateTransitGatewayPeeringOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateTransitGatewayPeering API operation for AWS Network Manager. +// +// Creates a transit gateway peering connection. +// +// 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 CreateTransitGatewayPeering 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/CreateTransitGatewayPeering +func (c *NetworkManager) CreateTransitGatewayPeering(input *CreateTransitGatewayPeeringInput) (*CreateTransitGatewayPeeringOutput, error) { + req, out := c.CreateTransitGatewayPeeringRequest(input) + return out, req.Send() +} + +// CreateTransitGatewayPeeringWithContext is the same as CreateTransitGatewayPeering with the addition of +// the ability to pass a context and additional request options. +// +// See CreateTransitGatewayPeering 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) CreateTransitGatewayPeeringWithContext(ctx aws.Context, input *CreateTransitGatewayPeeringInput, opts ...request.Option) (*CreateTransitGatewayPeeringOutput, error) { + req, out := c.CreateTransitGatewayPeeringRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opCreateTransitGatewayRouteTableAttachment = "CreateTransitGatewayRouteTableAttachment" + +// CreateTransitGatewayRouteTableAttachmentRequest generates a "aws/request.Request" representing the +// client's request for the CreateTransitGatewayRouteTableAttachment 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 CreateTransitGatewayRouteTableAttachment for more information on using the CreateTransitGatewayRouteTableAttachment +// 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 CreateTransitGatewayRouteTableAttachmentRequest method. +// req, resp := client.CreateTransitGatewayRouteTableAttachmentRequest(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/CreateTransitGatewayRouteTableAttachment +func (c *NetworkManager) CreateTransitGatewayRouteTableAttachmentRequest(input *CreateTransitGatewayRouteTableAttachmentInput) (req *request.Request, output *CreateTransitGatewayRouteTableAttachmentOutput) { + op := &request.Operation{ + Name: opCreateTransitGatewayRouteTableAttachment, + HTTPMethod: "POST", + HTTPPath: "/transit-gateway-route-table-attachments", + } + + if input == nil { + input = &CreateTransitGatewayRouteTableAttachmentInput{} + } + + output = &CreateTransitGatewayRouteTableAttachmentOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateTransitGatewayRouteTableAttachment API operation for AWS Network Manager. +// +// Creates a transit gateway route table 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 AWS Network Manager's +// API operation CreateTransitGatewayRouteTableAttachment 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/CreateTransitGatewayRouteTableAttachment +func (c *NetworkManager) CreateTransitGatewayRouteTableAttachment(input *CreateTransitGatewayRouteTableAttachmentInput) (*CreateTransitGatewayRouteTableAttachmentOutput, error) { + req, out := c.CreateTransitGatewayRouteTableAttachmentRequest(input) + return out, req.Send() +} + +// CreateTransitGatewayRouteTableAttachmentWithContext is the same as CreateTransitGatewayRouteTableAttachment with the addition of +// the ability to pass a context and additional request options. +// +// See CreateTransitGatewayRouteTableAttachment 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) CreateTransitGatewayRouteTableAttachmentWithContext(ctx aws.Context, input *CreateTransitGatewayRouteTableAttachmentInput, opts ...request.Option) (*CreateTransitGatewayRouteTableAttachmentOutput, error) { + req, out := c.CreateTransitGatewayRouteTableAttachmentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateVpcAttachment = "CreateVpcAttachment" // CreateVpcAttachmentRequest generates a "aws/request.Request" representing the @@ -2271,6 +2461,101 @@ func (c *NetworkManager) DeleteLinkWithContext(ctx aws.Context, input *DeleteLin return out, req.Send() } +const opDeletePeering = "DeletePeering" + +// DeletePeeringRequest generates a "aws/request.Request" representing the +// client's request for the DeletePeering 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 DeletePeering for more information on using the DeletePeering +// 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 DeletePeeringRequest method. +// req, resp := client.DeletePeeringRequest(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/DeletePeering +func (c *NetworkManager) DeletePeeringRequest(input *DeletePeeringInput) (req *request.Request, output *DeletePeeringOutput) { + op := &request.Operation{ + Name: opDeletePeering, + HTTPMethod: "DELETE", + HTTPPath: "/peerings/{peeringId}", + } + + if input == nil { + input = &DeletePeeringInput{} + } + + output = &DeletePeeringOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeletePeering API operation for AWS Network Manager. +// +// Deletes an existing peering connection. +// +// 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 DeletePeering 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/DeletePeering +func (c *NetworkManager) DeletePeering(input *DeletePeeringInput) (*DeletePeeringOutput, error) { + req, out := c.DeletePeeringRequest(input) + return out, req.Send() +} + +// DeletePeeringWithContext is the same as DeletePeering with the addition of +// the ability to pass a context and additional request options. +// +// See DeletePeering 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) DeletePeeringWithContext(ctx aws.Context, input *DeletePeeringInput, opts ...request.Option) (*DeletePeeringOutput, error) { + req, out := c.DeletePeeringRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteResourcePolicy = "DeleteResourcePolicy" // DeleteResourcePolicyRequest generates a "aws/request.Request" representing the @@ -3763,37 +4048,37 @@ func (c *NetworkManager) GetCoreNetworkWithContext(ctx aws.Context, input *GetCo return out, req.Send() } -const opGetCoreNetworkChangeSet = "GetCoreNetworkChangeSet" +const opGetCoreNetworkChangeEvents = "GetCoreNetworkChangeEvents" -// GetCoreNetworkChangeSetRequest generates a "aws/request.Request" representing the -// client's request for the GetCoreNetworkChangeSet operation. The "output" return +// GetCoreNetworkChangeEventsRequest generates a "aws/request.Request" representing the +// client's request for the GetCoreNetworkChangeEvents 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 GetCoreNetworkChangeSet for more information on using the GetCoreNetworkChangeSet +// See GetCoreNetworkChangeEvents for more information on using the GetCoreNetworkChangeEvents // 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 GetCoreNetworkChangeSetRequest method. -// req, resp := client.GetCoreNetworkChangeSetRequest(params) +// // Example sending a request using the GetCoreNetworkChangeEventsRequest method. +// req, resp := client.GetCoreNetworkChangeEventsRequest(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/GetCoreNetworkChangeSet -func (c *NetworkManager) GetCoreNetworkChangeSetRequest(input *GetCoreNetworkChangeSetInput) (req *request.Request, output *GetCoreNetworkChangeSetOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkChangeEvents +func (c *NetworkManager) GetCoreNetworkChangeEventsRequest(input *GetCoreNetworkChangeEventsInput) (req *request.Request, output *GetCoreNetworkChangeEventsOutput) { op := &request.Operation{ - Name: opGetCoreNetworkChangeSet, + Name: opGetCoreNetworkChangeEvents, HTTPMethod: "GET", - HTTPPath: "/core-networks/{coreNetworkId}/core-network-change-sets/{policyVersionId}", + HTTPPath: "/core-networks/{coreNetworkId}/core-network-change-events/{policyVersionId}", Paginator: &request.Paginator{ InputTokens: []string{"NextToken"}, OutputTokens: []string{"NextToken"}, @@ -3803,25 +4088,24 @@ func (c *NetworkManager) GetCoreNetworkChangeSetRequest(input *GetCoreNetworkCha } if input == nil { - input = &GetCoreNetworkChangeSetInput{} + input = &GetCoreNetworkChangeEventsInput{} } - output = &GetCoreNetworkChangeSetOutput{} + output = &GetCoreNetworkChangeEventsOutput{} req = c.newRequest(op, input, output) return } -// GetCoreNetworkChangeSet API operation for AWS Network Manager. +// GetCoreNetworkChangeEvents API operation for AWS Network Manager. // -// Returns a change set between the LIVE core network policy and a submitted -// policy. +// Returns information about a core network change event. // // 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 GetCoreNetworkChangeSet for usage and error information. +// API operation GetCoreNetworkChangeEvents for usage and error information. // // Returned Error Types: // * ValidationException @@ -3839,65 +4123,65 @@ func (c *NetworkManager) GetCoreNetworkChangeSetRequest(input *GetCoreNetworkCha // * InternalServerException // The request has failed due to an internal error. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkChangeSet -func (c *NetworkManager) GetCoreNetworkChangeSet(input *GetCoreNetworkChangeSetInput) (*GetCoreNetworkChangeSetOutput, error) { - req, out := c.GetCoreNetworkChangeSetRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkChangeEvents +func (c *NetworkManager) GetCoreNetworkChangeEvents(input *GetCoreNetworkChangeEventsInput) (*GetCoreNetworkChangeEventsOutput, error) { + req, out := c.GetCoreNetworkChangeEventsRequest(input) return out, req.Send() } -// GetCoreNetworkChangeSetWithContext is the same as GetCoreNetworkChangeSet with the addition of +// GetCoreNetworkChangeEventsWithContext is the same as GetCoreNetworkChangeEvents with the addition of // the ability to pass a context and additional request options. // -// See GetCoreNetworkChangeSet for details on how to use this API operation. +// See GetCoreNetworkChangeEvents 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) GetCoreNetworkChangeSetWithContext(ctx aws.Context, input *GetCoreNetworkChangeSetInput, opts ...request.Option) (*GetCoreNetworkChangeSetOutput, error) { - req, out := c.GetCoreNetworkChangeSetRequest(input) +func (c *NetworkManager) GetCoreNetworkChangeEventsWithContext(ctx aws.Context, input *GetCoreNetworkChangeEventsInput, opts ...request.Option) (*GetCoreNetworkChangeEventsOutput, error) { + req, out := c.GetCoreNetworkChangeEventsRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// GetCoreNetworkChangeSetPages iterates over the pages of a GetCoreNetworkChangeSet operation, +// GetCoreNetworkChangeEventsPages iterates over the pages of a GetCoreNetworkChangeEvents operation, // calling the "fn" function with the response data for each page. To stop // iterating, return false from the fn function. // -// See GetCoreNetworkChangeSet method for more information on how to use this operation. +// See GetCoreNetworkChangeEvents 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 GetCoreNetworkChangeSet operation. +// // Example iterating over at most 3 pages of a GetCoreNetworkChangeEvents operation. // pageNum := 0 -// err := client.GetCoreNetworkChangeSetPages(params, -// func(page *networkmanager.GetCoreNetworkChangeSetOutput, lastPage bool) bool { +// err := client.GetCoreNetworkChangeEventsPages(params, +// func(page *networkmanager.GetCoreNetworkChangeEventsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 // }) // -func (c *NetworkManager) GetCoreNetworkChangeSetPages(input *GetCoreNetworkChangeSetInput, fn func(*GetCoreNetworkChangeSetOutput, bool) bool) error { - return c.GetCoreNetworkChangeSetPagesWithContext(aws.BackgroundContext(), input, fn) +func (c *NetworkManager) GetCoreNetworkChangeEventsPages(input *GetCoreNetworkChangeEventsInput, fn func(*GetCoreNetworkChangeEventsOutput, bool) bool) error { + return c.GetCoreNetworkChangeEventsPagesWithContext(aws.BackgroundContext(), input, fn) } -// GetCoreNetworkChangeSetPagesWithContext same as GetCoreNetworkChangeSetPages except +// GetCoreNetworkChangeEventsPagesWithContext same as GetCoreNetworkChangeEventsPages 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) GetCoreNetworkChangeSetPagesWithContext(ctx aws.Context, input *GetCoreNetworkChangeSetInput, fn func(*GetCoreNetworkChangeSetOutput, bool) bool, opts ...request.Option) error { +func (c *NetworkManager) GetCoreNetworkChangeEventsPagesWithContext(ctx aws.Context, input *GetCoreNetworkChangeEventsInput, fn func(*GetCoreNetworkChangeEventsOutput, bool) bool, opts ...request.Option) error { p := request.Pagination{ NewRequest: func() (*request.Request, error) { - var inCpy *GetCoreNetworkChangeSetInput + var inCpy *GetCoreNetworkChangeEventsInput if input != nil { tmp := *input inCpy = &tmp } - req, _ := c.GetCoreNetworkChangeSetRequest(inCpy) + req, _ := c.GetCoreNetworkChangeEventsRequest(inCpy) req.SetContext(ctx) req.ApplyOptions(opts...) return req, nil @@ -3905,7 +4189,7 @@ func (c *NetworkManager) GetCoreNetworkChangeSetPagesWithContext(ctx aws.Context } for p.Next() { - if !fn(p.Page().(*GetCoreNetworkChangeSetOutput), !p.HasNextPage()) { + if !fn(p.Page().(*GetCoreNetworkChangeEventsOutput), !p.HasNextPage()) { break } } @@ -3913,7 +4197,157 @@ func (c *NetworkManager) GetCoreNetworkChangeSetPagesWithContext(ctx aws.Context return p.Err() } -const opGetCoreNetworkPolicy = "GetCoreNetworkPolicy" +const opGetCoreNetworkChangeSet = "GetCoreNetworkChangeSet" + +// GetCoreNetworkChangeSetRequest generates a "aws/request.Request" representing the +// client's request for the GetCoreNetworkChangeSet 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 GetCoreNetworkChangeSet for more information on using the GetCoreNetworkChangeSet +// 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 GetCoreNetworkChangeSetRequest method. +// req, resp := client.GetCoreNetworkChangeSetRequest(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/GetCoreNetworkChangeSet +func (c *NetworkManager) GetCoreNetworkChangeSetRequest(input *GetCoreNetworkChangeSetInput) (req *request.Request, output *GetCoreNetworkChangeSetOutput) { + op := &request.Operation{ + Name: opGetCoreNetworkChangeSet, + HTTPMethod: "GET", + HTTPPath: "/core-networks/{coreNetworkId}/core-network-change-sets/{policyVersionId}", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetCoreNetworkChangeSetInput{} + } + + output = &GetCoreNetworkChangeSetOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetCoreNetworkChangeSet API operation for AWS Network Manager. +// +// Returns a change set between the LIVE core network policy and a submitted +// policy. +// +// 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 GetCoreNetworkChangeSet 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/GetCoreNetworkChangeSet +func (c *NetworkManager) GetCoreNetworkChangeSet(input *GetCoreNetworkChangeSetInput) (*GetCoreNetworkChangeSetOutput, error) { + req, out := c.GetCoreNetworkChangeSetRequest(input) + return out, req.Send() +} + +// GetCoreNetworkChangeSetWithContext is the same as GetCoreNetworkChangeSet with the addition of +// the ability to pass a context and additional request options. +// +// See GetCoreNetworkChangeSet 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) GetCoreNetworkChangeSetWithContext(ctx aws.Context, input *GetCoreNetworkChangeSetInput, opts ...request.Option) (*GetCoreNetworkChangeSetOutput, error) { + req, out := c.GetCoreNetworkChangeSetRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetCoreNetworkChangeSetPages iterates over the pages of a GetCoreNetworkChangeSet operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetCoreNetworkChangeSet 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 GetCoreNetworkChangeSet operation. +// pageNum := 0 +// err := client.GetCoreNetworkChangeSetPages(params, +// func(page *networkmanager.GetCoreNetworkChangeSetOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *NetworkManager) GetCoreNetworkChangeSetPages(input *GetCoreNetworkChangeSetInput, fn func(*GetCoreNetworkChangeSetOutput, bool) bool) error { + return c.GetCoreNetworkChangeSetPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetCoreNetworkChangeSetPagesWithContext same as GetCoreNetworkChangeSetPages 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) GetCoreNetworkChangeSetPagesWithContext(ctx aws.Context, input *GetCoreNetworkChangeSetInput, fn func(*GetCoreNetworkChangeSetOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetCoreNetworkChangeSetInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetCoreNetworkChangeSetRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetCoreNetworkChangeSetOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opGetCoreNetworkPolicy = "GetCoreNetworkPolicy" // GetCoreNetworkPolicyRequest generates a "aws/request.Request" representing the // client's request for the GetCoreNetworkPolicy operation. The "output" return @@ -3957,7 +4391,7 @@ func (c *NetworkManager) GetCoreNetworkPolicyRequest(input *GetCoreNetworkPolicy // GetCoreNetworkPolicy API operation for AWS Network Manager. // -// Gets details about a core network policy. You can get details about your +// Returns details about a core network policy. You can get details about your // current live policy or any previous policy version. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -5871,6 +6305,97 @@ func (c *NetworkManager) GetTransitGatewayConnectPeerAssociationsPagesWithContex return p.Err() } +const opGetTransitGatewayPeering = "GetTransitGatewayPeering" + +// GetTransitGatewayPeeringRequest generates a "aws/request.Request" representing the +// client's request for the GetTransitGatewayPeering 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 GetTransitGatewayPeering for more information on using the GetTransitGatewayPeering +// 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 GetTransitGatewayPeeringRequest method. +// req, resp := client.GetTransitGatewayPeeringRequest(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/GetTransitGatewayPeering +func (c *NetworkManager) GetTransitGatewayPeeringRequest(input *GetTransitGatewayPeeringInput) (req *request.Request, output *GetTransitGatewayPeeringOutput) { + op := &request.Operation{ + Name: opGetTransitGatewayPeering, + HTTPMethod: "GET", + HTTPPath: "/transit-gateway-peerings/{peeringId}", + } + + if input == nil { + input = &GetTransitGatewayPeeringInput{} + } + + output = &GetTransitGatewayPeeringOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetTransitGatewayPeering API operation for AWS Network Manager. +// +// Returns information about a transit gateway 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 AWS Network Manager's +// API operation GetTransitGatewayPeering 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/GetTransitGatewayPeering +func (c *NetworkManager) GetTransitGatewayPeering(input *GetTransitGatewayPeeringInput) (*GetTransitGatewayPeeringOutput, error) { + req, out := c.GetTransitGatewayPeeringRequest(input) + return out, req.Send() +} + +// GetTransitGatewayPeeringWithContext is the same as GetTransitGatewayPeering with the addition of +// the ability to pass a context and additional request options. +// +// See GetTransitGatewayPeering 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) GetTransitGatewayPeeringWithContext(ctx aws.Context, input *GetTransitGatewayPeeringInput, opts ...request.Option) (*GetTransitGatewayPeeringOutput, error) { + req, out := c.GetTransitGatewayPeeringRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetTransitGatewayRegistrations = "GetTransitGatewayRegistrations" // GetTransitGatewayRegistrationsRequest generates a "aws/request.Request" representing the @@ -6021,58 +6546,58 @@ func (c *NetworkManager) GetTransitGatewayRegistrationsPagesWithContext(ctx aws. return p.Err() } -const opGetVpcAttachment = "GetVpcAttachment" +const opGetTransitGatewayRouteTableAttachment = "GetTransitGatewayRouteTableAttachment" -// GetVpcAttachmentRequest generates a "aws/request.Request" representing the -// client's request for the GetVpcAttachment operation. The "output" return +// GetTransitGatewayRouteTableAttachmentRequest generates a "aws/request.Request" representing the +// client's request for the GetTransitGatewayRouteTableAttachment 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 GetVpcAttachment for more information on using the GetVpcAttachment +// See GetTransitGatewayRouteTableAttachment for more information on using the GetTransitGatewayRouteTableAttachment // 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 GetVpcAttachmentRequest method. -// req, resp := client.GetVpcAttachmentRequest(params) +// // Example sending a request using the GetTransitGatewayRouteTableAttachmentRequest method. +// req, resp := client.GetTransitGatewayRouteTableAttachmentRequest(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/GetVpcAttachment -func (c *NetworkManager) GetVpcAttachmentRequest(input *GetVpcAttachmentInput) (req *request.Request, output *GetVpcAttachmentOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRouteTableAttachment +func (c *NetworkManager) GetTransitGatewayRouteTableAttachmentRequest(input *GetTransitGatewayRouteTableAttachmentInput) (req *request.Request, output *GetTransitGatewayRouteTableAttachmentOutput) { op := &request.Operation{ - Name: opGetVpcAttachment, + Name: opGetTransitGatewayRouteTableAttachment, HTTPMethod: "GET", - HTTPPath: "/vpc-attachments/{attachmentId}", + HTTPPath: "/transit-gateway-route-table-attachments/{attachmentId}", } if input == nil { - input = &GetVpcAttachmentInput{} + input = &GetTransitGatewayRouteTableAttachmentInput{} } - output = &GetVpcAttachmentOutput{} + output = &GetTransitGatewayRouteTableAttachmentOutput{} req = c.newRequest(op, input, output) return } -// GetVpcAttachment API operation for AWS Network Manager. +// GetTransitGatewayRouteTableAttachment API operation for AWS Network Manager. // -// Returns information about a VPC attachment. +// Returns information about a transit gateway route table 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 AWS Network Manager's -// API operation GetVpcAttachment for usage and error information. +// API operation GetTransitGatewayRouteTableAttachment for usage and error information. // // Returned Error Types: // * ValidationException @@ -6090,56 +6615,147 @@ func (c *NetworkManager) GetVpcAttachmentRequest(input *GetVpcAttachmentInput) ( // * InternalServerException // The request has failed due to an internal error. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetVpcAttachment -func (c *NetworkManager) GetVpcAttachment(input *GetVpcAttachmentInput) (*GetVpcAttachmentOutput, error) { - req, out := c.GetVpcAttachmentRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRouteTableAttachment +func (c *NetworkManager) GetTransitGatewayRouteTableAttachment(input *GetTransitGatewayRouteTableAttachmentInput) (*GetTransitGatewayRouteTableAttachmentOutput, error) { + req, out := c.GetTransitGatewayRouteTableAttachmentRequest(input) return out, req.Send() } -// GetVpcAttachmentWithContext is the same as GetVpcAttachment with the addition of +// GetTransitGatewayRouteTableAttachmentWithContext is the same as GetTransitGatewayRouteTableAttachment with the addition of // the ability to pass a context and additional request options. // -// See GetVpcAttachment for details on how to use this API operation. +// See GetTransitGatewayRouteTableAttachment 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) GetVpcAttachmentWithContext(ctx aws.Context, input *GetVpcAttachmentInput, opts ...request.Option) (*GetVpcAttachmentOutput, error) { - req, out := c.GetVpcAttachmentRequest(input) +func (c *NetworkManager) GetTransitGatewayRouteTableAttachmentWithContext(ctx aws.Context, input *GetTransitGatewayRouteTableAttachmentInput, opts ...request.Option) (*GetTransitGatewayRouteTableAttachmentOutput, error) { + req, out := c.GetTransitGatewayRouteTableAttachmentRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opListAttachments = "ListAttachments" +const opGetVpcAttachment = "GetVpcAttachment" -// ListAttachmentsRequest generates a "aws/request.Request" representing the -// client's request for the ListAttachments operation. The "output" return +// GetVpcAttachmentRequest generates a "aws/request.Request" representing the +// client's request for the GetVpcAttachment 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 ListAttachments for more information on using the ListAttachments +// See GetVpcAttachment for more information on using the GetVpcAttachment // 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 ListAttachmentsRequest method. -// req, resp := client.ListAttachmentsRequest(params) +// // Example sending a request using the GetVpcAttachmentRequest method. +// req, resp := client.GetVpcAttachmentRequest(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/ListAttachments -func (c *NetworkManager) ListAttachmentsRequest(input *ListAttachmentsInput) (req *request.Request, output *ListAttachmentsOutput) { - op := &request.Operation{ +// See also, https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetVpcAttachment +func (c *NetworkManager) GetVpcAttachmentRequest(input *GetVpcAttachmentInput) (req *request.Request, output *GetVpcAttachmentOutput) { + op := &request.Operation{ + Name: opGetVpcAttachment, + HTTPMethod: "GET", + HTTPPath: "/vpc-attachments/{attachmentId}", + } + + if input == nil { + input = &GetVpcAttachmentInput{} + } + + output = &GetVpcAttachmentOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetVpcAttachment API operation for AWS Network Manager. +// +// Returns information about a VPC 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 AWS Network Manager's +// API operation GetVpcAttachment 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/GetVpcAttachment +func (c *NetworkManager) GetVpcAttachment(input *GetVpcAttachmentInput) (*GetVpcAttachmentOutput, error) { + req, out := c.GetVpcAttachmentRequest(input) + return out, req.Send() +} + +// GetVpcAttachmentWithContext is the same as GetVpcAttachment with the addition of +// the ability to pass a context and additional request options. +// +// See GetVpcAttachment 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) GetVpcAttachmentWithContext(ctx aws.Context, input *GetVpcAttachmentInput, opts ...request.Option) (*GetVpcAttachmentOutput, error) { + req, out := c.GetVpcAttachmentRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opListAttachments = "ListAttachments" + +// ListAttachmentsRequest generates a "aws/request.Request" representing the +// client's request for the ListAttachments 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 ListAttachments for more information on using the ListAttachments +// 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 ListAttachmentsRequest method. +// req, resp := client.ListAttachmentsRequest(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/ListAttachments +func (c *NetworkManager) ListAttachmentsRequest(input *ListAttachmentsInput) (req *request.Request, output *ListAttachmentsOutput) { + op := &request.Operation{ Name: opListAttachments, HTTPMethod: "GET", HTTPPath: "/attachments", @@ -6743,6 +7359,9 @@ func (c *NetworkManager) ListOrganizationServiceAccessStatusRequest(input *ListO // ListOrganizationServiceAccessStatus API operation for AWS Network Manager. // +// Gets the status of the Service Linked Role (SLR) deployment for the accounts +// in a given Amazon Web Services Organization. +// // 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. @@ -6771,6 +7390,152 @@ func (c *NetworkManager) ListOrganizationServiceAccessStatusWithContext(ctx aws. return out, req.Send() } +const opListPeerings = "ListPeerings" + +// ListPeeringsRequest generates a "aws/request.Request" representing the +// client's request for the ListPeerings 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 ListPeerings for more information on using the ListPeerings +// 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 ListPeeringsRequest method. +// req, resp := client.ListPeeringsRequest(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/ListPeerings +func (c *NetworkManager) ListPeeringsRequest(input *ListPeeringsInput) (req *request.Request, output *ListPeeringsOutput) { + op := &request.Operation{ + Name: opListPeerings, + HTTPMethod: "GET", + HTTPPath: "/peerings", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListPeeringsInput{} + } + + output = &ListPeeringsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListPeerings API operation for AWS Network Manager. +// +// Lists the peerings for a core 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 ListPeerings 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. +// +// * 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/ListPeerings +func (c *NetworkManager) ListPeerings(input *ListPeeringsInput) (*ListPeeringsOutput, error) { + req, out := c.ListPeeringsRequest(input) + return out, req.Send() +} + +// ListPeeringsWithContext is the same as ListPeerings with the addition of +// the ability to pass a context and additional request options. +// +// See ListPeerings 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) ListPeeringsWithContext(ctx aws.Context, input *ListPeeringsInput, opts ...request.Option) (*ListPeeringsOutput, error) { + req, out := c.ListPeeringsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListPeeringsPages iterates over the pages of a ListPeerings operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListPeerings 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 ListPeerings operation. +// pageNum := 0 +// err := client.ListPeeringsPages(params, +// func(page *networkmanager.ListPeeringsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *NetworkManager) ListPeeringsPages(input *ListPeeringsInput, fn func(*ListPeeringsOutput, bool) bool) error { + return c.ListPeeringsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListPeeringsPagesWithContext same as ListPeeringsPages 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) ListPeeringsPagesWithContext(ctx aws.Context, input *ListPeeringsInput, fn func(*ListPeeringsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListPeeringsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListPeeringsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListPeeringsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListTagsForResource = "ListTagsForResource" // ListTagsForResourceRequest generates a "aws/request.Request" representing the @@ -7392,6 +8157,9 @@ func (c *NetworkManager) StartOrganizationServiceAccessUpdateRequest(input *Star // StartOrganizationServiceAccessUpdate API operation for AWS Network Manager. // +// Enables for the Network Manager service for an Amazon Web Services Organization. +// This can only be called by a management account within the organization. +// // 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. @@ -8686,11 +9454,15 @@ func (s *AccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } +// Describes the current status of an account within an Amazon Web Services +// Organization, including service-linked roles (SLRs). type AccountStatus struct { _ struct{} `type:"structure"` + // The ID of an account within the Amazon Web Services Organization. AccountId *string `type:"string"` + // The status of SLR deployment for the account. SLRDeploymentStatus *string `type:"string"` } @@ -9199,7 +9971,7 @@ type Attachment struct { // The ARN of a core network. CoreNetworkArn *string `type:"string"` - // A core network ID. + // The ID of a core network. CoreNetworkId *string `type:"string"` // The timestamp when the attachment was created. @@ -9587,7 +10359,7 @@ type ConnectPeer struct { // The state of the Connect peer. State *string `type:"string" enum:"ConnectPeerState"` - // The tags associated with the Connect peer. + // The list of key-value tags associated with the Connect peer. Tags []*Tag `type:"list"` } @@ -9874,7 +10646,7 @@ type ConnectPeerSummary struct { // The Region where the edge is located. EdgeLocation *string `min:"1" type:"string"` - // The tags associated with a Connect peer summary. + // The list of key-value tags associated with the Connect peer summary. Tags []*Tag `type:"list"` } @@ -10138,7 +10910,7 @@ type CoreNetwork struct { // The current state of a core network. State *string `type:"string" enum:"CoreNetworkState"` - // The tags associated with a core network. + // The list of key-value tags associated with a core network. Tags []*Tag `type:"list"` } @@ -10224,6 +10996,10 @@ type CoreNetworkChange struct { // The resource identifier. Identifier *string `type:"string"` + // Uniquely identifies the path for a change within the changeset. For example, + // the IdentifierPath for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment". + IdentifierPath *string `type:"string"` + // The new value for a core network NewValues *CoreNetworkChangeValues `type:"structure"` @@ -10264,6 +11040,12 @@ func (s *CoreNetworkChange) SetIdentifier(v string) *CoreNetworkChange { return s } +// SetIdentifierPath sets the IdentifierPath field's value. +func (s *CoreNetworkChange) SetIdentifierPath(v string) *CoreNetworkChange { + s.IdentifierPath = &v + return s +} + // SetNewValues sets the NewValues field's value. func (s *CoreNetworkChange) SetNewValues(v *CoreNetworkChangeValues) *CoreNetworkChange { s.NewValues = v @@ -10282,30 +11064,29 @@ func (s *CoreNetworkChange) SetType(v string) *CoreNetworkChange { return s } -// Describes a core network change. -type CoreNetworkChangeValues struct { +// Describes a core network change event. This can be a change to a segment, +// attachment, route, etc. +type CoreNetworkChangeEvent struct { _ struct{} `type:"structure"` - // The ASN of a core network. - Asn *int64 `type:"long"` - - // The IP addresses used for a core network. - Cidr *string `type:"string"` + // The action taken for the change event. + Action *string `type:"string" enum:"ChangeAction"` - // The ID of the destination. - DestinationIdentifier *string `type:"string"` + // The timestamp for an event change in status. + EventTime *time.Time `type:"timestamp"` - // The Regions where edges are located in a core network. - EdgeLocations []*string `type:"list"` + // Uniquely identifies the path for a change within the changeset. For example, + // the IdentifierPath for a core network segment change might be "CORE_NETWORK_SEGMENT/us-east-1/devsegment". + IdentifierPath *string `type:"string"` - // The inside IP addresses used for core network change values. - InsideCidrBlocks []*string `type:"list"` + // The status of the core network change event. + Status *string `type:"string" enum:"ChangeStatus"` - // The names of the segments in a core network. - SegmentName *string `type:"string"` + // Describes the type of change event. + Type *string `type:"string" enum:"ChangeType"` - // The shared segments for a core network change value. - SharedSegments []*string `type:"list"` + // Details of the change event. + Values *CoreNetworkChangeEventValues `type:"structure"` } // String returns the string representation. @@ -10313,7 +11094,7 @@ type CoreNetworkChangeValues struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CoreNetworkChangeValues) String() string { +func (s CoreNetworkChangeEvent) String() string { return awsutil.Prettify(s) } @@ -10322,41 +11103,180 @@ func (s CoreNetworkChangeValues) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CoreNetworkChangeValues) GoString() string { +func (s CoreNetworkChangeEvent) GoString() string { return s.String() } -// SetAsn sets the Asn field's value. -func (s *CoreNetworkChangeValues) SetAsn(v int64) *CoreNetworkChangeValues { - s.Asn = &v +// SetAction sets the Action field's value. +func (s *CoreNetworkChangeEvent) SetAction(v string) *CoreNetworkChangeEvent { + s.Action = &v return s } -// SetCidr sets the Cidr field's value. -func (s *CoreNetworkChangeValues) SetCidr(v string) *CoreNetworkChangeValues { - s.Cidr = &v +// SetEventTime sets the EventTime field's value. +func (s *CoreNetworkChangeEvent) SetEventTime(v time.Time) *CoreNetworkChangeEvent { + s.EventTime = &v return s } -// SetDestinationIdentifier sets the DestinationIdentifier field's value. -func (s *CoreNetworkChangeValues) SetDestinationIdentifier(v string) *CoreNetworkChangeValues { - s.DestinationIdentifier = &v +// SetIdentifierPath sets the IdentifierPath field's value. +func (s *CoreNetworkChangeEvent) SetIdentifierPath(v string) *CoreNetworkChangeEvent { + s.IdentifierPath = &v return s } -// SetEdgeLocations sets the EdgeLocations field's value. -func (s *CoreNetworkChangeValues) SetEdgeLocations(v []*string) *CoreNetworkChangeValues { - s.EdgeLocations = v +// SetStatus sets the Status field's value. +func (s *CoreNetworkChangeEvent) SetStatus(v string) *CoreNetworkChangeEvent { + s.Status = &v return s } -// SetInsideCidrBlocks sets the InsideCidrBlocks field's value. -func (s *CoreNetworkChangeValues) SetInsideCidrBlocks(v []*string) *CoreNetworkChangeValues { - s.InsideCidrBlocks = v +// SetType sets the Type field's value. +func (s *CoreNetworkChangeEvent) SetType(v string) *CoreNetworkChangeEvent { + s.Type = &v return s } -// SetSegmentName sets the SegmentName field's value. +// SetValues sets the Values field's value. +func (s *CoreNetworkChangeEvent) SetValues(v *CoreNetworkChangeEventValues) *CoreNetworkChangeEvent { + s.Values = v + return s +} + +// Describes a core network change event. +type CoreNetworkChangeEventValues struct { + _ struct{} `type:"structure"` + + // The ID of the attachment if the change event is associated with an attachment. + AttachmentId *string `type:"string"` + + // For a STATIC_ROUTE event, this is the IP address. + Cidr *string `type:"string"` + + // The edge location for the core network change event. + EdgeLocation *string `min:"1" type:"string"` + + // The segment name if the change event is associated with a segment. + SegmentName *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CoreNetworkChangeEventValues) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CoreNetworkChangeEventValues) GoString() string { + return s.String() +} + +// SetAttachmentId sets the AttachmentId field's value. +func (s *CoreNetworkChangeEventValues) SetAttachmentId(v string) *CoreNetworkChangeEventValues { + s.AttachmentId = &v + return s +} + +// SetCidr sets the Cidr field's value. +func (s *CoreNetworkChangeEventValues) SetCidr(v string) *CoreNetworkChangeEventValues { + s.Cidr = &v + return s +} + +// SetEdgeLocation sets the EdgeLocation field's value. +func (s *CoreNetworkChangeEventValues) SetEdgeLocation(v string) *CoreNetworkChangeEventValues { + s.EdgeLocation = &v + return s +} + +// SetSegmentName sets the SegmentName field's value. +func (s *CoreNetworkChangeEventValues) SetSegmentName(v string) *CoreNetworkChangeEventValues { + s.SegmentName = &v + return s +} + +// Describes a core network change. +type CoreNetworkChangeValues struct { + _ struct{} `type:"structure"` + + // The ASN of a core network. + Asn *int64 `type:"long"` + + // The IP addresses used for a core network. + Cidr *string `type:"string"` + + // The ID of the destination. + DestinationIdentifier *string `type:"string"` + + // The Regions where edges are located in a core network. + EdgeLocations []*string `type:"list"` + + // The inside IP addresses used for core network change values. + InsideCidrBlocks []*string `type:"list"` + + // The names of the segments in a core network. + SegmentName *string `type:"string"` + + // The shared segments for a core network change value. + SharedSegments []*string `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CoreNetworkChangeValues) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CoreNetworkChangeValues) GoString() string { + return s.String() +} + +// SetAsn sets the Asn field's value. +func (s *CoreNetworkChangeValues) SetAsn(v int64) *CoreNetworkChangeValues { + s.Asn = &v + return s +} + +// SetCidr sets the Cidr field's value. +func (s *CoreNetworkChangeValues) SetCidr(v string) *CoreNetworkChangeValues { + s.Cidr = &v + return s +} + +// SetDestinationIdentifier sets the DestinationIdentifier field's value. +func (s *CoreNetworkChangeValues) SetDestinationIdentifier(v string) *CoreNetworkChangeValues { + s.DestinationIdentifier = &v + return s +} + +// SetEdgeLocations sets the EdgeLocations field's value. +func (s *CoreNetworkChangeValues) SetEdgeLocations(v []*string) *CoreNetworkChangeValues { + s.EdgeLocations = v + return s +} + +// SetInsideCidrBlocks sets the InsideCidrBlocks field's value. +func (s *CoreNetworkChangeValues) SetInsideCidrBlocks(v []*string) *CoreNetworkChangeValues { + s.InsideCidrBlocks = v + return s +} + +// SetSegmentName sets the SegmentName field's value. func (s *CoreNetworkChangeValues) SetSegmentName(v string) *CoreNetworkChangeValues { s.SegmentName = &v return s @@ -11895,7 +12815,225 @@ type CreateSiteInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateSiteInput) String() string { +func (s CreateSiteInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSiteInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateSiteInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateSiteInput"} + 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 +} + +// SetDescription sets the Description field's value. +func (s *CreateSiteInput) SetDescription(v string) *CreateSiteInput { + s.Description = &v + return s +} + +// SetGlobalNetworkId sets the GlobalNetworkId field's value. +func (s *CreateSiteInput) SetGlobalNetworkId(v string) *CreateSiteInput { + s.GlobalNetworkId = &v + return s +} + +// SetLocation sets the Location field's value. +func (s *CreateSiteInput) SetLocation(v *Location) *CreateSiteInput { + s.Location = v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateSiteInput) SetTags(v []*Tag) *CreateSiteInput { + s.Tags = v + return s +} + +type CreateSiteOutput struct { + _ struct{} `type:"structure"` + + // Information about the site. + Site *Site `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSiteOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSiteOutput) GoString() string { + return s.String() +} + +// SetSite sets the Site field's value. +func (s *CreateSiteOutput) SetSite(v *Site) *CreateSiteOutput { + s.Site = v + return s +} + +type CreateSiteToSiteVpnAttachmentInput struct { + _ struct{} `type:"structure"` + + // The client token associated with the request. + ClientToken *string `type:"string" idempotencyToken:"true"` + + // The ID of a core network where you're creating a site-to-site VPN attachment. + // + // CoreNetworkId is a required field + CoreNetworkId *string `type:"string" required:"true"` + + // The tags associated with the request. + Tags []*Tag `type:"list"` + + // The ARN identifying the VPN attachment. + // + // VpnConnectionArn is a required field + VpnConnectionArn *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSiteToSiteVpnAttachmentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSiteToSiteVpnAttachmentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateSiteToSiteVpnAttachmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateSiteToSiteVpnAttachmentInput"} + if s.CoreNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("CoreNetworkId")) + } + if s.VpnConnectionArn == nil { + invalidParams.Add(request.NewErrParamRequired("VpnConnectionArn")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateSiteToSiteVpnAttachmentInput) SetClientToken(v string) *CreateSiteToSiteVpnAttachmentInput { + s.ClientToken = &v + return s +} + +// SetCoreNetworkId sets the CoreNetworkId field's value. +func (s *CreateSiteToSiteVpnAttachmentInput) SetCoreNetworkId(v string) *CreateSiteToSiteVpnAttachmentInput { + s.CoreNetworkId = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *CreateSiteToSiteVpnAttachmentInput) SetTags(v []*Tag) *CreateSiteToSiteVpnAttachmentInput { + s.Tags = v + return s +} + +// SetVpnConnectionArn sets the VpnConnectionArn field's value. +func (s *CreateSiteToSiteVpnAttachmentInput) SetVpnConnectionArn(v string) *CreateSiteToSiteVpnAttachmentInput { + s.VpnConnectionArn = &v + return s +} + +type CreateSiteToSiteVpnAttachmentOutput struct { + _ struct{} `type:"structure"` + + // Details about a site-to-site VPN attachment. + SiteToSiteVpnAttachment *SiteToSiteVpnAttachment `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSiteToSiteVpnAttachmentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateSiteToSiteVpnAttachmentOutput) GoString() string { + return s.String() +} + +// SetSiteToSiteVpnAttachment sets the SiteToSiteVpnAttachment field's value. +func (s *CreateSiteToSiteVpnAttachmentOutput) SetSiteToSiteVpnAttachment(v *SiteToSiteVpnAttachment) *CreateSiteToSiteVpnAttachmentOutput { + s.SiteToSiteVpnAttachment = v + return s +} + +type CreateTransitGatewayPeeringInput struct { + _ struct{} `type:"structure"` + + // The client token associated with the request. + ClientToken *string `type:"string" idempotencyToken:"true"` + + // The ID of a core network. + // + // CoreNetworkId is a required field + CoreNetworkId *string `type:"string" required:"true"` + + // The list of key-value tags associated with the request. + Tags []*Tag `type:"list"` + + // The ARN of the transit gateway for the peering request. + // + // TransitGatewayArn is a required field + TransitGatewayArn *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateTransitGatewayPeeringInput) String() string { return awsutil.Prettify(s) } @@ -11904,18 +13042,18 @@ func (s CreateSiteInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateSiteInput) GoString() string { +func (s CreateTransitGatewayPeeringInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateSiteInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateSiteInput"} - if s.GlobalNetworkId == nil { - invalidParams.Add(request.NewErrParamRequired("GlobalNetworkId")) +func (s *CreateTransitGatewayPeeringInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTransitGatewayPeeringInput"} + if s.CoreNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("CoreNetworkId")) } - if s.GlobalNetworkId != nil && len(*s.GlobalNetworkId) < 1 { - invalidParams.Add(request.NewErrParamMinLen("GlobalNetworkId", 1)) + if s.TransitGatewayArn == nil { + invalidParams.Add(request.NewErrParamRequired("TransitGatewayArn")) } if invalidParams.Len() > 0 { @@ -11924,35 +13062,35 @@ func (s *CreateSiteInput) Validate() error { return nil } -// SetDescription sets the Description field's value. -func (s *CreateSiteInput) SetDescription(v string) *CreateSiteInput { - s.Description = &v +// SetClientToken sets the ClientToken field's value. +func (s *CreateTransitGatewayPeeringInput) SetClientToken(v string) *CreateTransitGatewayPeeringInput { + s.ClientToken = &v return s } -// SetGlobalNetworkId sets the GlobalNetworkId field's value. -func (s *CreateSiteInput) SetGlobalNetworkId(v string) *CreateSiteInput { - s.GlobalNetworkId = &v +// SetCoreNetworkId sets the CoreNetworkId field's value. +func (s *CreateTransitGatewayPeeringInput) SetCoreNetworkId(v string) *CreateTransitGatewayPeeringInput { + s.CoreNetworkId = &v return s } -// SetLocation sets the Location field's value. -func (s *CreateSiteInput) SetLocation(v *Location) *CreateSiteInput { - s.Location = v +// SetTags sets the Tags field's value. +func (s *CreateTransitGatewayPeeringInput) SetTags(v []*Tag) *CreateTransitGatewayPeeringInput { + s.Tags = v return s } -// SetTags sets the Tags field's value. -func (s *CreateSiteInput) SetTags(v []*Tag) *CreateSiteInput { - s.Tags = v +// SetTransitGatewayArn sets the TransitGatewayArn field's value. +func (s *CreateTransitGatewayPeeringInput) SetTransitGatewayArn(v string) *CreateTransitGatewayPeeringInput { + s.TransitGatewayArn = &v return s } -type CreateSiteOutput struct { +type CreateTransitGatewayPeeringOutput struct { _ struct{} `type:"structure"` - // Information about the site. - Site *Site `type:"structure"` + // Returns information about the transit gateway peering connection request. + TransitGatewayPeering *TransitGatewayPeering `type:"structure"` } // String returns the string representation. @@ -11960,7 +13098,7 @@ type CreateSiteOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateSiteOutput) String() string { +func (s CreateTransitGatewayPeeringOutput) String() string { return awsutil.Prettify(s) } @@ -11969,34 +13107,34 @@ func (s CreateSiteOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateSiteOutput) GoString() string { +func (s CreateTransitGatewayPeeringOutput) GoString() string { return s.String() } -// SetSite sets the Site field's value. -func (s *CreateSiteOutput) SetSite(v *Site) *CreateSiteOutput { - s.Site = v +// SetTransitGatewayPeering sets the TransitGatewayPeering field's value. +func (s *CreateTransitGatewayPeeringOutput) SetTransitGatewayPeering(v *TransitGatewayPeering) *CreateTransitGatewayPeeringOutput { + s.TransitGatewayPeering = v return s } -type CreateSiteToSiteVpnAttachmentInput struct { +type CreateTransitGatewayRouteTableAttachmentInput struct { _ struct{} `type:"structure"` // The client token associated with the request. ClientToken *string `type:"string" idempotencyToken:"true"` - // The ID of a core network where you're creating a site-to-site VPN attachment. + // The ID of the peer for the // - // CoreNetworkId is a required field - CoreNetworkId *string `type:"string" required:"true"` + // PeeringId is a required field + PeeringId *string `type:"string" required:"true"` - // The tags associated with the request. + // The list of key-value tags associated with the request. Tags []*Tag `type:"list"` - // The ARN identifying the VPN attachment. + // The ARN of the transit gateway route table for the attachment request. // - // VpnConnectionArn is a required field - VpnConnectionArn *string `type:"string" required:"true"` + // TransitGatewayRouteTableArn is a required field + TransitGatewayRouteTableArn *string `type:"string" required:"true"` } // String returns the string representation. @@ -12004,7 +13142,7 @@ type CreateSiteToSiteVpnAttachmentInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateSiteToSiteVpnAttachmentInput) String() string { +func (s CreateTransitGatewayRouteTableAttachmentInput) String() string { return awsutil.Prettify(s) } @@ -12013,18 +13151,18 @@ func (s CreateSiteToSiteVpnAttachmentInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateSiteToSiteVpnAttachmentInput) GoString() string { +func (s CreateTransitGatewayRouteTableAttachmentInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateSiteToSiteVpnAttachmentInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateSiteToSiteVpnAttachmentInput"} - if s.CoreNetworkId == nil { - invalidParams.Add(request.NewErrParamRequired("CoreNetworkId")) +func (s *CreateTransitGatewayRouteTableAttachmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateTransitGatewayRouteTableAttachmentInput"} + if s.PeeringId == nil { + invalidParams.Add(request.NewErrParamRequired("PeeringId")) } - if s.VpnConnectionArn == nil { - invalidParams.Add(request.NewErrParamRequired("VpnConnectionArn")) + if s.TransitGatewayRouteTableArn == nil { + invalidParams.Add(request.NewErrParamRequired("TransitGatewayRouteTableArn")) } if invalidParams.Len() > 0 { @@ -12034,34 +13172,35 @@ func (s *CreateSiteToSiteVpnAttachmentInput) Validate() error { } // SetClientToken sets the ClientToken field's value. -func (s *CreateSiteToSiteVpnAttachmentInput) SetClientToken(v string) *CreateSiteToSiteVpnAttachmentInput { +func (s *CreateTransitGatewayRouteTableAttachmentInput) SetClientToken(v string) *CreateTransitGatewayRouteTableAttachmentInput { s.ClientToken = &v return s } -// SetCoreNetworkId sets the CoreNetworkId field's value. -func (s *CreateSiteToSiteVpnAttachmentInput) SetCoreNetworkId(v string) *CreateSiteToSiteVpnAttachmentInput { - s.CoreNetworkId = &v +// SetPeeringId sets the PeeringId field's value. +func (s *CreateTransitGatewayRouteTableAttachmentInput) SetPeeringId(v string) *CreateTransitGatewayRouteTableAttachmentInput { + s.PeeringId = &v return s } // SetTags sets the Tags field's value. -func (s *CreateSiteToSiteVpnAttachmentInput) SetTags(v []*Tag) *CreateSiteToSiteVpnAttachmentInput { +func (s *CreateTransitGatewayRouteTableAttachmentInput) SetTags(v []*Tag) *CreateTransitGatewayRouteTableAttachmentInput { s.Tags = v return s } -// SetVpnConnectionArn sets the VpnConnectionArn field's value. -func (s *CreateSiteToSiteVpnAttachmentInput) SetVpnConnectionArn(v string) *CreateSiteToSiteVpnAttachmentInput { - s.VpnConnectionArn = &v +// SetTransitGatewayRouteTableArn sets the TransitGatewayRouteTableArn field's value. +func (s *CreateTransitGatewayRouteTableAttachmentInput) SetTransitGatewayRouteTableArn(v string) *CreateTransitGatewayRouteTableAttachmentInput { + s.TransitGatewayRouteTableArn = &v return s } -type CreateSiteToSiteVpnAttachmentOutput struct { +type CreateTransitGatewayRouteTableAttachmentOutput struct { _ struct{} `type:"structure"` - // Details about a site-to-site VPN attachment. - SiteToSiteVpnAttachment *SiteToSiteVpnAttachment `type:"structure"` + // The route table associated with the create transit gateway route table attachment + // request. + TransitGatewayRouteTableAttachment *TransitGatewayRouteTableAttachment `type:"structure"` } // String returns the string representation. @@ -12069,7 +13208,7 @@ type CreateSiteToSiteVpnAttachmentOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateSiteToSiteVpnAttachmentOutput) String() string { +func (s CreateTransitGatewayRouteTableAttachmentOutput) String() string { return awsutil.Prettify(s) } @@ -12078,13 +13217,13 @@ func (s CreateSiteToSiteVpnAttachmentOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s CreateSiteToSiteVpnAttachmentOutput) GoString() string { +func (s CreateTransitGatewayRouteTableAttachmentOutput) GoString() string { return s.String() } -// SetSiteToSiteVpnAttachment sets the SiteToSiteVpnAttachment field's value. -func (s *CreateSiteToSiteVpnAttachmentOutput) SetSiteToSiteVpnAttachment(v *SiteToSiteVpnAttachment) *CreateSiteToSiteVpnAttachmentOutput { - s.SiteToSiteVpnAttachment = v +// SetTransitGatewayRouteTableAttachment sets the TransitGatewayRouteTableAttachment field's value. +func (s *CreateTransitGatewayRouteTableAttachmentOutput) SetTransitGatewayRouteTableAttachment(v *TransitGatewayRouteTableAttachment) *CreateTransitGatewayRouteTableAttachmentOutput { + s.TransitGatewayRouteTableAttachment = v return s } @@ -12993,6 +14132,86 @@ func (s *DeleteLinkOutput) SetLink(v *Link) *DeleteLinkOutput { return s } +type DeletePeeringInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the peering connection to delete. + // + // PeeringId is a required field + PeeringId *string `location:"uri" locationName:"peeringId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeletePeeringInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeletePeeringInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeletePeeringInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeletePeeringInput"} + if s.PeeringId == nil { + invalidParams.Add(request.NewErrParamRequired("PeeringId")) + } + if s.PeeringId != nil && len(*s.PeeringId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PeeringId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPeeringId sets the PeeringId field's value. +func (s *DeletePeeringInput) SetPeeringId(v string) *DeletePeeringInput { + s.PeeringId = &v + return s +} + +type DeletePeeringOutput struct { + _ struct{} `type:"structure"` + + // Information about a deleted peering connection. + Peering *Peering `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeletePeeringOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeletePeeringOutput) GoString() string { + return s.String() +} + +// SetPeering sets the Peering field's value. +func (s *DeletePeeringOutput) SetPeering(v *Peering) *DeletePeeringOutput { + s.Peering = v + return s +} + type DeleteResourcePolicyInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -14321,12 +15540,142 @@ func (s *GetConnectionsInput) Validate() error { 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.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 *GetConnectionsInput) SetGlobalNetworkId(v string) *GetConnectionsInput { + s.GlobalNetworkId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput { + s.MaxResults = &v + return s +} + +// 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 connections. + Connections []*Connection `type:"list"` + + // The token to use for the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetConnectionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetConnectionsOutput) GoString() string { + return s.String() +} + +// 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 +} + +type GetCoreNetworkChangeEventsInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of a core network. + // + // CoreNetworkId is a required field + CoreNetworkId *string `location:"uri" locationName:"coreNetworkId" 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"` + + // The ID of the policy version. + // + // PolicyVersionId is a required field + PolicyVersionId *int64 `location:"uri" locationName:"policyVersionId" type:"integer" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetCoreNetworkChangeEventsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetCoreNetworkChangeEventsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCoreNetworkChangeEventsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCoreNetworkChangeEventsInput"} + if s.CoreNetworkId == nil { + invalidParams.Add(request.NewErrParamRequired("CoreNetworkId")) + } + if s.CoreNetworkId != nil && len(*s.CoreNetworkId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CoreNetworkId", 1)) } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } + if s.PolicyVersionId == nil { + invalidParams.Add(request.NewErrParamRequired("PolicyVersionId")) + } if invalidParams.Len() > 0 { return invalidParams @@ -14334,43 +15683,37 @@ func (s *GetConnectionsInput) Validate() error { 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 *GetConnectionsInput) SetGlobalNetworkId(v string) *GetConnectionsInput { - s.GlobalNetworkId = &v +// SetCoreNetworkId sets the CoreNetworkId field's value. +func (s *GetCoreNetworkChangeEventsInput) SetCoreNetworkId(v string) *GetCoreNetworkChangeEventsInput { + s.CoreNetworkId = &v return s } // SetMaxResults sets the MaxResults field's value. -func (s *GetConnectionsInput) SetMaxResults(v int64) *GetConnectionsInput { +func (s *GetCoreNetworkChangeEventsInput) SetMaxResults(v int64) *GetCoreNetworkChangeEventsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *GetConnectionsInput) SetNextToken(v string) *GetConnectionsInput { +func (s *GetCoreNetworkChangeEventsInput) SetNextToken(v string) *GetCoreNetworkChangeEventsInput { s.NextToken = &v return s } -type GetConnectionsOutput struct { +// SetPolicyVersionId sets the PolicyVersionId field's value. +func (s *GetCoreNetworkChangeEventsInput) SetPolicyVersionId(v int64) *GetCoreNetworkChangeEventsInput { + s.PolicyVersionId = &v + return s +} + +type GetCoreNetworkChangeEventsOutput struct { _ struct{} `type:"structure"` - // Information about the connections. - Connections []*Connection `type:"list"` + // The response to GetCoreNetworkChangeEventsRequest. + CoreNetworkChangeEvents []*CoreNetworkChangeEvent `type:"list"` - // The token to use for the next page of results. + // The token for the next page of results. NextToken *string `type:"string"` } @@ -14379,7 +15722,7 @@ type GetConnectionsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetConnectionsOutput) String() string { +func (s GetCoreNetworkChangeEventsOutput) String() string { return awsutil.Prettify(s) } @@ -14388,18 +15731,18 @@ func (s GetConnectionsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetConnectionsOutput) GoString() string { +func (s GetCoreNetworkChangeEventsOutput) GoString() string { return s.String() } -// SetConnections sets the Connections field's value. -func (s *GetConnectionsOutput) SetConnections(v []*Connection) *GetConnectionsOutput { - s.Connections = v +// SetCoreNetworkChangeEvents sets the CoreNetworkChangeEvents field's value. +func (s *GetCoreNetworkChangeEventsOutput) SetCoreNetworkChangeEvents(v []*CoreNetworkChangeEvent) *GetCoreNetworkChangeEventsOutput { + s.CoreNetworkChangeEvents = v return s } // SetNextToken sets the NextToken field's value. -func (s *GetConnectionsOutput) SetNextToken(v string) *GetConnectionsOutput { +func (s *GetCoreNetworkChangeEventsOutput) SetNextToken(v string) *GetCoreNetworkChangeEventsOutput { s.NextToken = &v return s } @@ -16692,6 +18035,86 @@ func (s *GetTransitGatewayConnectPeerAssociationsOutput) SetTransitGatewayConnec return s } +type GetTransitGatewayPeeringInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the peering request. + // + // PeeringId is a required field + PeeringId *string `location:"uri" locationName:"peeringId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTransitGatewayPeeringInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTransitGatewayPeeringInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTransitGatewayPeeringInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTransitGatewayPeeringInput"} + if s.PeeringId == nil { + invalidParams.Add(request.NewErrParamRequired("PeeringId")) + } + if s.PeeringId != nil && len(*s.PeeringId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PeeringId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPeeringId sets the PeeringId field's value. +func (s *GetTransitGatewayPeeringInput) SetPeeringId(v string) *GetTransitGatewayPeeringInput { + s.PeeringId = &v + return s +} + +type GetTransitGatewayPeeringOutput struct { + _ struct{} `type:"structure"` + + // Returns information about a transit gateway peering. + TransitGatewayPeering *TransitGatewayPeering `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTransitGatewayPeeringOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTransitGatewayPeeringOutput) GoString() string { + return s.String() +} + +// SetTransitGatewayPeering sets the TransitGatewayPeering field's value. +func (s *GetTransitGatewayPeeringOutput) SetTransitGatewayPeering(v *TransitGatewayPeering) *GetTransitGatewayPeeringOutput { + s.TransitGatewayPeering = v + return s +} + type GetTransitGatewayRegistrationsInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -16812,6 +18235,86 @@ func (s *GetTransitGatewayRegistrationsOutput) SetTransitGatewayRegistrations(v return s } +type GetTransitGatewayRouteTableAttachmentInput struct { + _ struct{} `type:"structure" nopayload:"true"` + + // The ID of the transit gateway route table attachment. + // + // AttachmentId is a required field + AttachmentId *string `location:"uri" locationName:"attachmentId" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTransitGatewayRouteTableAttachmentInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTransitGatewayRouteTableAttachmentInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetTransitGatewayRouteTableAttachmentInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetTransitGatewayRouteTableAttachmentInput"} + if s.AttachmentId == nil { + invalidParams.Add(request.NewErrParamRequired("AttachmentId")) + } + if s.AttachmentId != nil && len(*s.AttachmentId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AttachmentId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAttachmentId sets the AttachmentId field's value. +func (s *GetTransitGatewayRouteTableAttachmentInput) SetAttachmentId(v string) *GetTransitGatewayRouteTableAttachmentInput { + s.AttachmentId = &v + return s +} + +type GetTransitGatewayRouteTableAttachmentOutput struct { + _ struct{} `type:"structure"` + + // Returns information about the transit gateway route table attachment. + TransitGatewayRouteTableAttachment *TransitGatewayRouteTableAttachment `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTransitGatewayRouteTableAttachmentOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetTransitGatewayRouteTableAttachmentOutput) GoString() string { + return s.String() +} + +// SetTransitGatewayRouteTableAttachment sets the TransitGatewayRouteTableAttachment field's value. +func (s *GetTransitGatewayRouteTableAttachmentOutput) SetTransitGatewayRouteTableAttachment(v *TransitGatewayRouteTableAttachment) *GetTransitGatewayRouteTableAttachmentOutput { + s.TransitGatewayRouteTableAttachment = v + return s +} + type GetVpcAttachmentInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -17625,14 +19128,107 @@ func (s *ListCoreNetworksInput) SetNextToken(v string) *ListCoreNetworksInput { return s } -type ListCoreNetworksOutput struct { +type ListCoreNetworksOutput struct { + _ struct{} `type:"structure"` + + // Describes the list of core networks. + CoreNetworks []*CoreNetworkSummary `type:"list"` + + // The token for the next page of results. + NextToken *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListCoreNetworksOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListCoreNetworksOutput) GoString() string { + return s.String() +} + +// SetCoreNetworks sets the CoreNetworks field's value. +func (s *ListCoreNetworksOutput) SetCoreNetworks(v []*CoreNetworkSummary) *ListCoreNetworksOutput { + s.CoreNetworks = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListCoreNetworksOutput) SetNextToken(v string) *ListCoreNetworksOutput { + s.NextToken = &v + return s +} + +type ListOrganizationServiceAccessStatusInput struct { + _ struct{} `type:"structure" nopayload:"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. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListOrganizationServiceAccessStatusInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ListOrganizationServiceAccessStatusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListOrganizationServiceAccessStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListOrganizationServiceAccessStatusInput"} + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMaxResults sets the MaxResults field's value. +func (s *ListOrganizationServiceAccessStatusInput) SetMaxResults(v int64) *ListOrganizationServiceAccessStatusInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ListOrganizationServiceAccessStatusInput) SetNextToken(v string) *ListOrganizationServiceAccessStatusInput { + s.NextToken = &v + return s +} + +type ListOrganizationServiceAccessStatusOutput struct { _ struct{} `type:"structure"` - // Describes the list of core networks. - CoreNetworks []*CoreNetworkSummary `type:"list"` - // The token for the next page of results. NextToken *string `type:"string"` + + // Displays the status of an Amazon Web Services Organization. + OrganizationStatus *OrganizationStatus `type:"structure"` } // String returns the string representation. @@ -17640,7 +19236,7 @@ type ListCoreNetworksOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListCoreNetworksOutput) String() string { +func (s ListOrganizationServiceAccessStatusOutput) String() string { return awsutil.Prettify(s) } @@ -17649,28 +19245,42 @@ func (s ListCoreNetworksOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListCoreNetworksOutput) GoString() string { +func (s ListOrganizationServiceAccessStatusOutput) GoString() string { return s.String() } -// SetCoreNetworks sets the CoreNetworks field's value. -func (s *ListCoreNetworksOutput) SetCoreNetworks(v []*CoreNetworkSummary) *ListCoreNetworksOutput { - s.CoreNetworks = v +// SetNextToken sets the NextToken field's value. +func (s *ListOrganizationServiceAccessStatusOutput) SetNextToken(v string) *ListOrganizationServiceAccessStatusOutput { + s.NextToken = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *ListCoreNetworksOutput) SetNextToken(v string) *ListCoreNetworksOutput { - s.NextToken = &v +// SetOrganizationStatus sets the OrganizationStatus field's value. +func (s *ListOrganizationServiceAccessStatusOutput) SetOrganizationStatus(v *OrganizationStatus) *ListOrganizationServiceAccessStatusOutput { + s.OrganizationStatus = v return s } -type ListOrganizationServiceAccessStatusInput struct { +type ListPeeringsInput struct { _ struct{} `type:"structure" nopayload:"true"` + // The ID of a core network. + CoreNetworkId *string `location:"querystring" locationName:"coreNetworkId" type:"string"` + + // Returns a list edge locations for the + EdgeLocation *string `location:"querystring" locationName:"edgeLocation" min:"1" type:"string"` + + // 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"` + + // Returns a list of a peering requests. + PeeringType *string `location:"querystring" locationName:"peeringType" type:"string" enum:"PeeringType"` + + // Returns a list of the peering request states. + State *string `location:"querystring" locationName:"state" type:"string" enum:"PeeringState"` } // String returns the string representation. @@ -17678,7 +19288,7 @@ type ListOrganizationServiceAccessStatusInput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListOrganizationServiceAccessStatusInput) String() string { +func (s ListPeeringsInput) String() string { return awsutil.Prettify(s) } @@ -17687,13 +19297,16 @@ func (s ListOrganizationServiceAccessStatusInput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListOrganizationServiceAccessStatusInput) GoString() string { +func (s ListPeeringsInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *ListOrganizationServiceAccessStatusInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "ListOrganizationServiceAccessStatusInput"} +func (s *ListPeeringsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListPeeringsInput"} + if s.EdgeLocation != nil && len(*s.EdgeLocation) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EdgeLocation", 1)) + } if s.MaxResults != nil && *s.MaxResults < 1 { invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) } @@ -17704,24 +19317,50 @@ func (s *ListOrganizationServiceAccessStatusInput) Validate() error { return nil } +// SetCoreNetworkId sets the CoreNetworkId field's value. +func (s *ListPeeringsInput) SetCoreNetworkId(v string) *ListPeeringsInput { + s.CoreNetworkId = &v + return s +} + +// SetEdgeLocation sets the EdgeLocation field's value. +func (s *ListPeeringsInput) SetEdgeLocation(v string) *ListPeeringsInput { + s.EdgeLocation = &v + return s +} + // SetMaxResults sets the MaxResults field's value. -func (s *ListOrganizationServiceAccessStatusInput) SetMaxResults(v int64) *ListOrganizationServiceAccessStatusInput { +func (s *ListPeeringsInput) SetMaxResults(v int64) *ListPeeringsInput { s.MaxResults = &v return s } // SetNextToken sets the NextToken field's value. -func (s *ListOrganizationServiceAccessStatusInput) SetNextToken(v string) *ListOrganizationServiceAccessStatusInput { +func (s *ListPeeringsInput) SetNextToken(v string) *ListPeeringsInput { s.NextToken = &v return s } -type ListOrganizationServiceAccessStatusOutput struct { +// SetPeeringType sets the PeeringType field's value. +func (s *ListPeeringsInput) SetPeeringType(v string) *ListPeeringsInput { + s.PeeringType = &v + return s +} + +// SetState sets the State field's value. +func (s *ListPeeringsInput) SetState(v string) *ListPeeringsInput { + s.State = &v + return s +} + +type ListPeeringsOutput struct { _ struct{} `type:"structure"` + // The token for the next page of results. NextToken *string `type:"string"` - OrganizationStatus *OrganizationStatus `type:"structure"` + // Lists the transit gateway peerings for the ListPeerings request. + Peerings []*Peering `type:"list"` } // String returns the string representation. @@ -17729,7 +19368,7 @@ type ListOrganizationServiceAccessStatusOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListOrganizationServiceAccessStatusOutput) String() string { +func (s ListPeeringsOutput) String() string { return awsutil.Prettify(s) } @@ -17738,19 +19377,19 @@ func (s ListOrganizationServiceAccessStatusOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ListOrganizationServiceAccessStatusOutput) GoString() string { +func (s ListPeeringsOutput) GoString() string { return s.String() } // SetNextToken sets the NextToken field's value. -func (s *ListOrganizationServiceAccessStatusOutput) SetNextToken(v string) *ListOrganizationServiceAccessStatusOutput { +func (s *ListPeeringsOutput) SetNextToken(v string) *ListPeeringsOutput { s.NextToken = &v return s } -// SetOrganizationStatus sets the OrganizationStatus field's value. -func (s *ListOrganizationServiceAccessStatusOutput) SetOrganizationStatus(v *OrganizationStatus) *ListOrganizationServiceAccessStatusOutput { - s.OrganizationStatus = v +// SetPeerings sets the Peerings field's value. +func (s *ListPeeringsOutput) SetPeerings(v []*Peering) *ListPeeringsOutput { + s.Peerings = v return s } @@ -17894,7 +19533,7 @@ type NetworkResource struct { // The Amazon Web Services Region. AwsRegion *string `min:"1" type:"string"` - // a core network ID. + // The ID of a core network. CoreNetworkId *string `type:"string"` // Information about the resource, in JSON format. Network Manager gets this @@ -18407,15 +20046,24 @@ func (s *NetworkTelemetry) SetResourceType(v string) *NetworkTelemetry { return s } +// The status of an Amazon Web Services Organization and the accounts within +// that organization. type OrganizationStatus struct { _ struct{} `type:"structure"` + // The current service-linked role (SLR) deployment status for an Amazon Web + // Services Organization's accounts. This will be either SUCCEEDED or IN_PROGRESS. AccountStatusList []*AccountStatus `type:"list"` + // The status of the organization's AWS service access. This will be ENABLED + // or DISABLED. OrganizationAwsServiceAccessStatus *string `type:"string"` + // The ID of an Amazon Web Services Organization. OrganizationId *string `type:"string"` + // The status of the SLR deployment for the account. This will be either SUCCEEDED + // or IN_PROGRESS. SLRDeploymentStatus *string `type:"string"` } @@ -18511,6 +20159,119 @@ func (s *PathComponent) SetSequence(v int64) *PathComponent { return s } +// Describes a peering connection. +type Peering struct { + _ struct{} `type:"structure"` + + // The ARN of a core network. + CoreNetworkArn *string `type:"string"` + + // The ID of the core network for the peering request. + CoreNetworkId *string `type:"string"` + + // The timestamp when the attachment peer was created. + CreatedAt *time.Time `type:"timestamp"` + + // The edge location for the peer. + EdgeLocation *string `min:"1" type:"string"` + + // The ID of the account owner. + OwnerAccountId *string `min:"12" type:"string"` + + // The ID of the peering attachment. + PeeringId *string `type:"string"` + + // The type of peering. This will be TRANSIT_GATEWAY. + PeeringType *string `type:"string" enum:"PeeringType"` + + // The resource ARN of the peer. + ResourceArn *string `type:"string"` + + // The current state of the peering connection. + State *string `type:"string" enum:"PeeringState"` + + // The list of key-value tags associated with the peering. + Tags []*Tag `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Peering) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Peering) GoString() string { + return s.String() +} + +// SetCoreNetworkArn sets the CoreNetworkArn field's value. +func (s *Peering) SetCoreNetworkArn(v string) *Peering { + s.CoreNetworkArn = &v + return s +} + +// SetCoreNetworkId sets the CoreNetworkId field's value. +func (s *Peering) SetCoreNetworkId(v string) *Peering { + s.CoreNetworkId = &v + return s +} + +// SetCreatedAt sets the CreatedAt field's value. +func (s *Peering) SetCreatedAt(v time.Time) *Peering { + s.CreatedAt = &v + return s +} + +// SetEdgeLocation sets the EdgeLocation field's value. +func (s *Peering) SetEdgeLocation(v string) *Peering { + s.EdgeLocation = &v + return s +} + +// SetOwnerAccountId sets the OwnerAccountId field's value. +func (s *Peering) SetOwnerAccountId(v string) *Peering { + s.OwnerAccountId = &v + return s +} + +// SetPeeringId sets the PeeringId field's value. +func (s *Peering) SetPeeringId(v string) *Peering { + s.PeeringId = &v + return s +} + +// SetPeeringType sets the PeeringType field's value. +func (s *Peering) SetPeeringType(v string) *Peering { + s.PeeringType = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *Peering) SetResourceArn(v string) *Peering { + s.ResourceArn = &v + return s +} + +// SetState sets the State field's value. +func (s *Peering) SetState(v string) *Peering { + s.State = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *Peering) SetTags(v []*Tag) *Peering { + s.Tags = v + return s +} + // Describes a proposed segment change. In some cases, the segment change must // first be evaluated and accepted. type ProposedSegmentChange struct { @@ -18522,7 +20283,7 @@ type ProposedSegmentChange struct { // The name of the segment to change. SegmentName *string `type:"string"` - // The key-value tags that changed for the segment. + // The list of key-value tags that changed for the segment. Tags []*Tag `type:"list"` } @@ -19780,6 +21541,8 @@ func (s *SiteToSiteVpnAttachment) SetVpnConnectionArn(v string) *SiteToSiteVpnAt type StartOrganizationServiceAccessUpdateInput struct { _ struct{} `type:"structure"` + // The action to take for the update request. This can be either ENABLE or DISABLE. + // // Action is a required field Action *string `type:"string" required:"true"` } @@ -19824,6 +21587,8 @@ func (s *StartOrganizationServiceAccessUpdateInput) SetAction(v string) *StartOr type StartOrganizationServiceAccessUpdateOutput struct { _ struct{} `type:"structure"` + // The status of the service access update request for an Amazon Web Services + // Organization. OrganizationStatus *OrganizationStatus `type:"structure"` } @@ -20253,6 +22018,47 @@ func (s *TransitGatewayConnectPeerAssociation) SetTransitGatewayConnectPeerArn(v return s } +// Describes a transit gateway peering attachment. +type TransitGatewayPeering struct { + _ struct{} `type:"structure"` + + // Describes a transit gateway peer connection. + Peering *Peering `type:"structure"` + + // The ARN of the transit gateway. + TransitGatewayArn *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TransitGatewayPeering) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TransitGatewayPeering) GoString() string { + return s.String() +} + +// SetPeering sets the Peering field's value. +func (s *TransitGatewayPeering) SetPeering(v *Peering) *TransitGatewayPeering { + s.Peering = v + return s +} + +// SetTransitGatewayArn sets the TransitGatewayArn field's value. +func (s *TransitGatewayPeering) SetTransitGatewayArn(v string) *TransitGatewayPeering { + s.TransitGatewayArn = &v + return s +} + // Describes the registration of a transit gateway to a global network. type TransitGatewayRegistration struct { _ struct{} `type:"structure"` @@ -20344,6 +22150,56 @@ func (s *TransitGatewayRegistrationStateReason) SetMessage(v string) *TransitGat return s } +// Describes a transit gateway route table attachment. +type TransitGatewayRouteTableAttachment struct { + _ struct{} `type:"structure"` + + // Describes a core network attachment. + Attachment *Attachment `type:"structure"` + + // The ID of the peering attachment. + PeeringId *string `type:"string"` + + // The ARN of the transit gateway attachment route table. + TransitGatewayRouteTableArn *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TransitGatewayRouteTableAttachment) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TransitGatewayRouteTableAttachment) GoString() string { + return s.String() +} + +// SetAttachment sets the Attachment field's value. +func (s *TransitGatewayRouteTableAttachment) SetAttachment(v *Attachment) *TransitGatewayRouteTableAttachment { + s.Attachment = v + return s +} + +// SetPeeringId sets the PeeringId field's value. +func (s *TransitGatewayRouteTableAttachment) SetPeeringId(v string) *TransitGatewayRouteTableAttachment { + s.PeeringId = &v + return s +} + +// SetTransitGatewayRouteTableArn sets the TransitGatewayRouteTableArn field's value. +func (s *TransitGatewayRouteTableAttachment) SetTransitGatewayRouteTableArn(v string) *TransitGatewayRouteTableAttachment { + s.TransitGatewayRouteTableArn = &v + return s +} + type UntagResourceInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -21660,6 +23516,9 @@ const ( // AttachmentTypeVpc is a AttachmentType enum value AttachmentTypeVpc = "VPC" + + // AttachmentTypeTransitGatewayRouteTable is a AttachmentType enum value + AttachmentTypeTransitGatewayRouteTable = "TRANSIT_GATEWAY_ROUTE_TABLE" ) // AttachmentType_Values returns all elements of the AttachmentType enum @@ -21668,6 +23527,7 @@ func AttachmentType_Values() []string { AttachmentTypeConnect, AttachmentTypeSiteToSiteVpn, AttachmentTypeVpc, + AttachmentTypeTransitGatewayRouteTable, } } @@ -21723,6 +23583,30 @@ func ChangeSetState_Values() []string { } } +const ( + // ChangeStatusNotStarted is a ChangeStatus enum value + ChangeStatusNotStarted = "NOT_STARTED" + + // ChangeStatusInProgress is a ChangeStatus enum value + ChangeStatusInProgress = "IN_PROGRESS" + + // ChangeStatusComplete is a ChangeStatus enum value + ChangeStatusComplete = "COMPLETE" + + // ChangeStatusFailed is a ChangeStatus enum value + ChangeStatusFailed = "FAILED" +) + +// ChangeStatus_Values returns all elements of the ChangeStatus enum +func ChangeStatus_Values() []string { + return []string{ + ChangeStatusNotStarted, + ChangeStatusInProgress, + ChangeStatusComplete, + ChangeStatusFailed, + } +} + const ( // ChangeTypeCoreNetworkSegment is a ChangeType enum value ChangeTypeCoreNetworkSegment = "CORE_NETWORK_SEGMENT" @@ -21738,6 +23622,18 @@ const ( // ChangeTypeAttachmentRouteStatic is a ChangeType enum value ChangeTypeAttachmentRouteStatic = "ATTACHMENT_ROUTE_STATIC" + + // ChangeTypeCoreNetworkConfiguration is a ChangeType enum value + ChangeTypeCoreNetworkConfiguration = "CORE_NETWORK_CONFIGURATION" + + // ChangeTypeSegmentsConfiguration is a ChangeType enum value + ChangeTypeSegmentsConfiguration = "SEGMENTS_CONFIGURATION" + + // ChangeTypeSegmentActionsConfiguration is a ChangeType enum value + ChangeTypeSegmentActionsConfiguration = "SEGMENT_ACTIONS_CONFIGURATION" + + // ChangeTypeAttachmentPoliciesConfiguration is a ChangeType enum value + ChangeTypeAttachmentPoliciesConfiguration = "ATTACHMENT_POLICIES_CONFIGURATION" ) // ChangeType_Values returns all elements of the ChangeType enum @@ -21748,6 +23644,10 @@ func ChangeType_Values() []string { ChangeTypeAttachmentMapping, ChangeTypeAttachmentRoutePropagation, ChangeTypeAttachmentRouteStatic, + ChangeTypeCoreNetworkConfiguration, + ChangeTypeSegmentsConfiguration, + ChangeTypeSegmentActionsConfiguration, + ChangeTypeAttachmentPoliciesConfiguration, } } @@ -22015,6 +23915,42 @@ func LinkState_Values() []string { } } +const ( + // PeeringStateCreating is a PeeringState enum value + PeeringStateCreating = "CREATING" + + // PeeringStateFailed is a PeeringState enum value + PeeringStateFailed = "FAILED" + + // PeeringStateAvailable is a PeeringState enum value + PeeringStateAvailable = "AVAILABLE" + + // PeeringStateDeleting is a PeeringState enum value + PeeringStateDeleting = "DELETING" +) + +// PeeringState_Values returns all elements of the PeeringState enum +func PeeringState_Values() []string { + return []string{ + PeeringStateCreating, + PeeringStateFailed, + PeeringStateAvailable, + PeeringStateDeleting, + } +} + +const ( + // PeeringTypeTransitGateway is a PeeringType enum value + PeeringTypeTransitGateway = "TRANSIT_GATEWAY" +) + +// PeeringType_Values returns all elements of the PeeringType enum +func PeeringType_Values() []string { + return []string{ + PeeringTypeTransitGateway, + } +} + const ( // RouteAnalysisCompletionReasonCodeTransitGatewayAttachmentNotFound is a RouteAnalysisCompletionReasonCode enum value RouteAnalysisCompletionReasonCodeTransitGatewayAttachmentNotFound = "TRANSIT_GATEWAY_ATTACHMENT_NOT_FOUND" diff --git a/service/networkmanager/networkmanageriface/interface.go b/service/networkmanager/networkmanageriface/interface.go index d94ce38da22..555d9e950ef 100644 --- a/service/networkmanager/networkmanageriface/interface.go +++ b/service/networkmanager/networkmanageriface/interface.go @@ -116,6 +116,14 @@ type NetworkManagerAPI interface { CreateSiteToSiteVpnAttachmentWithContext(aws.Context, *networkmanager.CreateSiteToSiteVpnAttachmentInput, ...request.Option) (*networkmanager.CreateSiteToSiteVpnAttachmentOutput, error) CreateSiteToSiteVpnAttachmentRequest(*networkmanager.CreateSiteToSiteVpnAttachmentInput) (*request.Request, *networkmanager.CreateSiteToSiteVpnAttachmentOutput) + CreateTransitGatewayPeering(*networkmanager.CreateTransitGatewayPeeringInput) (*networkmanager.CreateTransitGatewayPeeringOutput, error) + CreateTransitGatewayPeeringWithContext(aws.Context, *networkmanager.CreateTransitGatewayPeeringInput, ...request.Option) (*networkmanager.CreateTransitGatewayPeeringOutput, error) + CreateTransitGatewayPeeringRequest(*networkmanager.CreateTransitGatewayPeeringInput) (*request.Request, *networkmanager.CreateTransitGatewayPeeringOutput) + + CreateTransitGatewayRouteTableAttachment(*networkmanager.CreateTransitGatewayRouteTableAttachmentInput) (*networkmanager.CreateTransitGatewayRouteTableAttachmentOutput, error) + CreateTransitGatewayRouteTableAttachmentWithContext(aws.Context, *networkmanager.CreateTransitGatewayRouteTableAttachmentInput, ...request.Option) (*networkmanager.CreateTransitGatewayRouteTableAttachmentOutput, error) + CreateTransitGatewayRouteTableAttachmentRequest(*networkmanager.CreateTransitGatewayRouteTableAttachmentInput) (*request.Request, *networkmanager.CreateTransitGatewayRouteTableAttachmentOutput) + CreateVpcAttachment(*networkmanager.CreateVpcAttachmentInput) (*networkmanager.CreateVpcAttachmentOutput, error) CreateVpcAttachmentWithContext(aws.Context, *networkmanager.CreateVpcAttachmentInput, ...request.Option) (*networkmanager.CreateVpcAttachmentOutput, error) CreateVpcAttachmentRequest(*networkmanager.CreateVpcAttachmentInput) (*request.Request, *networkmanager.CreateVpcAttachmentOutput) @@ -152,6 +160,10 @@ type NetworkManagerAPI interface { DeleteLinkWithContext(aws.Context, *networkmanager.DeleteLinkInput, ...request.Option) (*networkmanager.DeleteLinkOutput, error) DeleteLinkRequest(*networkmanager.DeleteLinkInput) (*request.Request, *networkmanager.DeleteLinkOutput) + DeletePeering(*networkmanager.DeletePeeringInput) (*networkmanager.DeletePeeringOutput, error) + DeletePeeringWithContext(aws.Context, *networkmanager.DeletePeeringInput, ...request.Option) (*networkmanager.DeletePeeringOutput, error) + DeletePeeringRequest(*networkmanager.DeletePeeringInput) (*request.Request, *networkmanager.DeletePeeringOutput) + DeleteResourcePolicy(*networkmanager.DeleteResourcePolicyInput) (*networkmanager.DeleteResourcePolicyOutput, error) DeleteResourcePolicyWithContext(aws.Context, *networkmanager.DeleteResourcePolicyInput, ...request.Option) (*networkmanager.DeleteResourcePolicyOutput, error) DeleteResourcePolicyRequest(*networkmanager.DeleteResourcePolicyInput) (*request.Request, *networkmanager.DeleteResourcePolicyOutput) @@ -217,6 +229,13 @@ type NetworkManagerAPI interface { GetCoreNetworkWithContext(aws.Context, *networkmanager.GetCoreNetworkInput, ...request.Option) (*networkmanager.GetCoreNetworkOutput, error) GetCoreNetworkRequest(*networkmanager.GetCoreNetworkInput) (*request.Request, *networkmanager.GetCoreNetworkOutput) + GetCoreNetworkChangeEvents(*networkmanager.GetCoreNetworkChangeEventsInput) (*networkmanager.GetCoreNetworkChangeEventsOutput, error) + GetCoreNetworkChangeEventsWithContext(aws.Context, *networkmanager.GetCoreNetworkChangeEventsInput, ...request.Option) (*networkmanager.GetCoreNetworkChangeEventsOutput, error) + GetCoreNetworkChangeEventsRequest(*networkmanager.GetCoreNetworkChangeEventsInput) (*request.Request, *networkmanager.GetCoreNetworkChangeEventsOutput) + + GetCoreNetworkChangeEventsPages(*networkmanager.GetCoreNetworkChangeEventsInput, func(*networkmanager.GetCoreNetworkChangeEventsOutput, bool) bool) error + GetCoreNetworkChangeEventsPagesWithContext(aws.Context, *networkmanager.GetCoreNetworkChangeEventsInput, func(*networkmanager.GetCoreNetworkChangeEventsOutput, bool) bool, ...request.Option) error + GetCoreNetworkChangeSet(*networkmanager.GetCoreNetworkChangeSetInput) (*networkmanager.GetCoreNetworkChangeSetOutput, error) GetCoreNetworkChangeSetWithContext(aws.Context, *networkmanager.GetCoreNetworkChangeSetInput, ...request.Option) (*networkmanager.GetCoreNetworkChangeSetOutput, error) GetCoreNetworkChangeSetRequest(*networkmanager.GetCoreNetworkChangeSetInput) (*request.Request, *networkmanager.GetCoreNetworkChangeSetOutput) @@ -314,6 +333,10 @@ type NetworkManagerAPI interface { GetTransitGatewayConnectPeerAssociationsPages(*networkmanager.GetTransitGatewayConnectPeerAssociationsInput, func(*networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, bool) bool) error GetTransitGatewayConnectPeerAssociationsPagesWithContext(aws.Context, *networkmanager.GetTransitGatewayConnectPeerAssociationsInput, func(*networkmanager.GetTransitGatewayConnectPeerAssociationsOutput, bool) bool, ...request.Option) error + GetTransitGatewayPeering(*networkmanager.GetTransitGatewayPeeringInput) (*networkmanager.GetTransitGatewayPeeringOutput, error) + GetTransitGatewayPeeringWithContext(aws.Context, *networkmanager.GetTransitGatewayPeeringInput, ...request.Option) (*networkmanager.GetTransitGatewayPeeringOutput, error) + GetTransitGatewayPeeringRequest(*networkmanager.GetTransitGatewayPeeringInput) (*request.Request, *networkmanager.GetTransitGatewayPeeringOutput) + GetTransitGatewayRegistrations(*networkmanager.GetTransitGatewayRegistrationsInput) (*networkmanager.GetTransitGatewayRegistrationsOutput, error) GetTransitGatewayRegistrationsWithContext(aws.Context, *networkmanager.GetTransitGatewayRegistrationsInput, ...request.Option) (*networkmanager.GetTransitGatewayRegistrationsOutput, error) GetTransitGatewayRegistrationsRequest(*networkmanager.GetTransitGatewayRegistrationsInput) (*request.Request, *networkmanager.GetTransitGatewayRegistrationsOutput) @@ -321,6 +344,10 @@ type NetworkManagerAPI interface { GetTransitGatewayRegistrationsPages(*networkmanager.GetTransitGatewayRegistrationsInput, func(*networkmanager.GetTransitGatewayRegistrationsOutput, bool) bool) error GetTransitGatewayRegistrationsPagesWithContext(aws.Context, *networkmanager.GetTransitGatewayRegistrationsInput, func(*networkmanager.GetTransitGatewayRegistrationsOutput, bool) bool, ...request.Option) error + GetTransitGatewayRouteTableAttachment(*networkmanager.GetTransitGatewayRouteTableAttachmentInput) (*networkmanager.GetTransitGatewayRouteTableAttachmentOutput, error) + GetTransitGatewayRouteTableAttachmentWithContext(aws.Context, *networkmanager.GetTransitGatewayRouteTableAttachmentInput, ...request.Option) (*networkmanager.GetTransitGatewayRouteTableAttachmentOutput, error) + GetTransitGatewayRouteTableAttachmentRequest(*networkmanager.GetTransitGatewayRouteTableAttachmentInput) (*request.Request, *networkmanager.GetTransitGatewayRouteTableAttachmentOutput) + GetVpcAttachment(*networkmanager.GetVpcAttachmentInput) (*networkmanager.GetVpcAttachmentOutput, error) GetVpcAttachmentWithContext(aws.Context, *networkmanager.GetVpcAttachmentInput, ...request.Option) (*networkmanager.GetVpcAttachmentOutput, error) GetVpcAttachmentRequest(*networkmanager.GetVpcAttachmentInput) (*request.Request, *networkmanager.GetVpcAttachmentOutput) @@ -357,6 +384,13 @@ type NetworkManagerAPI interface { ListOrganizationServiceAccessStatusWithContext(aws.Context, *networkmanager.ListOrganizationServiceAccessStatusInput, ...request.Option) (*networkmanager.ListOrganizationServiceAccessStatusOutput, error) ListOrganizationServiceAccessStatusRequest(*networkmanager.ListOrganizationServiceAccessStatusInput) (*request.Request, *networkmanager.ListOrganizationServiceAccessStatusOutput) + ListPeerings(*networkmanager.ListPeeringsInput) (*networkmanager.ListPeeringsOutput, error) + ListPeeringsWithContext(aws.Context, *networkmanager.ListPeeringsInput, ...request.Option) (*networkmanager.ListPeeringsOutput, error) + ListPeeringsRequest(*networkmanager.ListPeeringsInput) (*request.Request, *networkmanager.ListPeeringsOutput) + + ListPeeringsPages(*networkmanager.ListPeeringsInput, func(*networkmanager.ListPeeringsOutput, bool) bool) error + ListPeeringsPagesWithContext(aws.Context, *networkmanager.ListPeeringsInput, func(*networkmanager.ListPeeringsOutput, bool) bool, ...request.Option) error + ListTagsForResource(*networkmanager.ListTagsForResourceInput) (*networkmanager.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *networkmanager.ListTagsForResourceInput, ...request.Option) (*networkmanager.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*networkmanager.ListTagsForResourceInput) (*request.Request, *networkmanager.ListTagsForResourceOutput)