NetworkManager.Paginator.
GetNetworkResourceRelationships
¶paginator = client.get_paginator('get_network_resource_relationships')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from NetworkManager.Client.get_network_resource_relationships()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
GlobalNetworkId='string',
CoreNetworkId='string',
RegisteredGatewayArn='string',
AwsRegion='string',
AccountId='string',
ResourceType='string',
ResourceArn='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the global network.
The resource type.
The following are the supported resource types for Direct Connect:
dxcon
dx-gateway
dx-vif
The following are the supported resource types for Network Manager:
connection
device
link
site
The following are the supported resource types for Amazon VPC:
customer-gateway
transit-gateway
transit-gateway-attachment
transit-gateway-connect-peer
transit-gateway-route-table
vpn-connection
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'Relationships': [
{
'From': 'string',
'To': 'string'
},
],
}
Response Structure
(dict) --
Relationships (list) --
The resource relationships.
(dict) --
Describes a resource relationship.
From (string) --
The ARN of the resource.
To (string) --
The ARN of the resource.