aws-sdk-networkmanager 1.18.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkmanager/client.rb +1904 -171
- data/lib/aws-sdk-networkmanager/client_api.rb +1379 -272
- data/lib/aws-sdk-networkmanager/errors.rb +21 -0
- data/lib/aws-sdk-networkmanager/types.rb +2620 -310
- data/lib/aws-sdk-networkmanager.rb +2 -2
- metadata +2 -2
@@ -338,6 +338,105 @@ module Aws::NetworkManager
|
|
338
338
|
|
339
339
|
# @!group API Operations
|
340
340
|
|
341
|
+
# Accepts a core network attachment request.
|
342
|
+
#
|
343
|
+
# Once the attachment request is accepted by a core network owner, the
|
344
|
+
# attachment is created and connected to a core network.
|
345
|
+
#
|
346
|
+
# @option params [required, String] :attachment_id
|
347
|
+
# The ID of the attachment.
|
348
|
+
#
|
349
|
+
# @return [Types::AcceptAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
350
|
+
#
|
351
|
+
# * {Types::AcceptAttachmentResponse#attachment #attachment} => Types::Attachment
|
352
|
+
#
|
353
|
+
# @example Request syntax with placeholder values
|
354
|
+
#
|
355
|
+
# resp = client.accept_attachment({
|
356
|
+
# attachment_id: "AttachmentId", # required
|
357
|
+
# })
|
358
|
+
#
|
359
|
+
# @example Response structure
|
360
|
+
#
|
361
|
+
# resp.attachment.core_network_id #=> String
|
362
|
+
# resp.attachment.core_network_arn #=> String
|
363
|
+
# resp.attachment.attachment_id #=> String
|
364
|
+
# resp.attachment.owner_account_id #=> String
|
365
|
+
# resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
366
|
+
# resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
367
|
+
# resp.attachment.edge_location #=> String
|
368
|
+
# resp.attachment.resource_arn #=> String
|
369
|
+
# resp.attachment.attachment_policy_rule_number #=> Integer
|
370
|
+
# resp.attachment.segment_name #=> String
|
371
|
+
# resp.attachment.tags #=> Array
|
372
|
+
# resp.attachment.tags[0].key #=> String
|
373
|
+
# resp.attachment.tags[0].value #=> String
|
374
|
+
# resp.attachment.proposed_segment_change.tags #=> Array
|
375
|
+
# resp.attachment.proposed_segment_change.tags[0].key #=> String
|
376
|
+
# resp.attachment.proposed_segment_change.tags[0].value #=> String
|
377
|
+
# resp.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
378
|
+
# resp.attachment.proposed_segment_change.segment_name #=> String
|
379
|
+
# resp.attachment.created_at #=> Time
|
380
|
+
# resp.attachment.updated_at #=> Time
|
381
|
+
#
|
382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AcceptAttachment AWS API Documentation
|
383
|
+
#
|
384
|
+
# @overload accept_attachment(params = {})
|
385
|
+
# @param [Hash] params ({})
|
386
|
+
def accept_attachment(params = {}, options = {})
|
387
|
+
req = build_request(:accept_attachment, params)
|
388
|
+
req.send_request(options)
|
389
|
+
end
|
390
|
+
|
391
|
+
# Associates a core network Connect peer with a device and optionally,
|
392
|
+
# with a link.
|
393
|
+
#
|
394
|
+
# If you specify a link, it must be associated with the specified
|
395
|
+
# device. You can only associate core network Connect peers that have
|
396
|
+
# been created on a core network Connect attachment on a core network.
|
397
|
+
#
|
398
|
+
# @option params [required, String] :global_network_id
|
399
|
+
# The ID of your global network.
|
400
|
+
#
|
401
|
+
# @option params [required, String] :connect_peer_id
|
402
|
+
# The ID of the Connect peer.
|
403
|
+
#
|
404
|
+
# @option params [required, String] :device_id
|
405
|
+
# The ID of the device.
|
406
|
+
#
|
407
|
+
# @option params [String] :link_id
|
408
|
+
# The ID of the link.
|
409
|
+
#
|
410
|
+
# @return [Types::AssociateConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
411
|
+
#
|
412
|
+
# * {Types::AssociateConnectPeerResponse#connect_peer_association #connect_peer_association} => Types::ConnectPeerAssociation
|
413
|
+
#
|
414
|
+
# @example Request syntax with placeholder values
|
415
|
+
#
|
416
|
+
# resp = client.associate_connect_peer({
|
417
|
+
# global_network_id: "GlobalNetworkId", # required
|
418
|
+
# connect_peer_id: "ConnectPeerId", # required
|
419
|
+
# device_id: "DeviceId", # required
|
420
|
+
# link_id: "LinkId",
|
421
|
+
# })
|
422
|
+
#
|
423
|
+
# @example Response structure
|
424
|
+
#
|
425
|
+
# resp.connect_peer_association.connect_peer_id #=> String
|
426
|
+
# resp.connect_peer_association.global_network_id #=> String
|
427
|
+
# resp.connect_peer_association.device_id #=> String
|
428
|
+
# resp.connect_peer_association.link_id #=> String
|
429
|
+
# resp.connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
|
430
|
+
#
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateConnectPeer AWS API Documentation
|
432
|
+
#
|
433
|
+
# @overload associate_connect_peer(params = {})
|
434
|
+
# @param [Hash] params ({})
|
435
|
+
def associate_connect_peer(params = {}, options = {})
|
436
|
+
req = build_request(:associate_connect_peer, params)
|
437
|
+
req.send_request(options)
|
438
|
+
end
|
439
|
+
|
341
440
|
# Associates a customer gateway with a device and optionally, with a
|
342
441
|
# link. If you specify a link, it must be associated with the specified
|
343
442
|
# device.
|
@@ -377,10 +476,10 @@ module Aws::NetworkManager
|
|
377
476
|
# @example Request syntax with placeholder values
|
378
477
|
#
|
379
478
|
# resp = client.associate_customer_gateway({
|
380
|
-
# customer_gateway_arn: "
|
381
|
-
# global_network_id: "
|
382
|
-
# device_id: "
|
383
|
-
# link_id: "
|
479
|
+
# customer_gateway_arn: "CustomerGatewayArn", # required
|
480
|
+
# global_network_id: "GlobalNetworkId", # required
|
481
|
+
# device_id: "DeviceId", # required
|
482
|
+
# link_id: "LinkId",
|
384
483
|
# })
|
385
484
|
#
|
386
485
|
# @example Response structure
|
@@ -420,9 +519,9 @@ module Aws::NetworkManager
|
|
420
519
|
# @example Request syntax with placeholder values
|
421
520
|
#
|
422
521
|
# resp = client.associate_link({
|
423
|
-
# global_network_id: "
|
424
|
-
# device_id: "
|
425
|
-
# link_id: "
|
522
|
+
# global_network_id: "GlobalNetworkId", # required
|
523
|
+
# device_id: "DeviceId", # required
|
524
|
+
# link_id: "LinkId", # required
|
426
525
|
# })
|
427
526
|
#
|
428
527
|
# @example Response structure
|
@@ -471,10 +570,10 @@ module Aws::NetworkManager
|
|
471
570
|
# @example Request syntax with placeholder values
|
472
571
|
#
|
473
572
|
# resp = client.associate_transit_gateway_connect_peer({
|
474
|
-
# global_network_id: "
|
475
|
-
# transit_gateway_connect_peer_arn: "
|
476
|
-
# device_id: "
|
477
|
-
# link_id: "
|
573
|
+
# global_network_id: "GlobalNetworkId", # required
|
574
|
+
# transit_gateway_connect_peer_arn: "TransitGatewayConnectPeerArn", # required
|
575
|
+
# device_id: "DeviceId", # required
|
576
|
+
# link_id: "LinkId",
|
478
577
|
# })
|
479
578
|
#
|
480
579
|
# @example Response structure
|
@@ -494,6 +593,174 @@ module Aws::NetworkManager
|
|
494
593
|
req.send_request(options)
|
495
594
|
end
|
496
595
|
|
596
|
+
# Creates a core network Connect attachment from a specified core
|
597
|
+
# network attachment.
|
598
|
+
#
|
599
|
+
# A core network Connect attachment is a GRE-based tunnel attachment
|
600
|
+
# that you can use to establish a connection between a core network and
|
601
|
+
# an appliance. A core network Connect attachment uses an existing VPC
|
602
|
+
# attachment as the underlying transport mechanism.
|
603
|
+
#
|
604
|
+
# @option params [required, String] :core_network_id
|
605
|
+
# The ID of a core network where you want to create the attachment.
|
606
|
+
#
|
607
|
+
# @option params [required, String] :edge_location
|
608
|
+
# The Region where the edge is located.
|
609
|
+
#
|
610
|
+
# @option params [required, String] :transport_attachment_id
|
611
|
+
# The ID of the attachment between the two connections.
|
612
|
+
#
|
613
|
+
# @option params [required, Types::ConnectAttachmentOptions] :options
|
614
|
+
# Options for creating an attachment.
|
615
|
+
#
|
616
|
+
# @option params [Array<Types::Tag>] :tags
|
617
|
+
# The list of key-value tags associated with the request.
|
618
|
+
#
|
619
|
+
# @option params [String] :client_token
|
620
|
+
# The client token associated with the request.
|
621
|
+
#
|
622
|
+
# **A suitable default value is auto-generated.** You should normally
|
623
|
+
# not need to pass this option.**
|
624
|
+
#
|
625
|
+
# @return [Types::CreateConnectAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
626
|
+
#
|
627
|
+
# * {Types::CreateConnectAttachmentResponse#connect_attachment #connect_attachment} => Types::ConnectAttachment
|
628
|
+
#
|
629
|
+
# @example Request syntax with placeholder values
|
630
|
+
#
|
631
|
+
# resp = client.create_connect_attachment({
|
632
|
+
# core_network_id: "CoreNetworkId", # required
|
633
|
+
# edge_location: "ExternalRegionCode", # required
|
634
|
+
# transport_attachment_id: "AttachmentId", # required
|
635
|
+
# options: { # required
|
636
|
+
# protocol: "GRE", # accepts GRE
|
637
|
+
# },
|
638
|
+
# tags: [
|
639
|
+
# {
|
640
|
+
# key: "TagKey",
|
641
|
+
# value: "TagValue",
|
642
|
+
# },
|
643
|
+
# ],
|
644
|
+
# client_token: "ClientToken",
|
645
|
+
# })
|
646
|
+
#
|
647
|
+
# @example Response structure
|
648
|
+
#
|
649
|
+
# resp.connect_attachment.attachment.core_network_id #=> String
|
650
|
+
# resp.connect_attachment.attachment.core_network_arn #=> String
|
651
|
+
# resp.connect_attachment.attachment.attachment_id #=> String
|
652
|
+
# resp.connect_attachment.attachment.owner_account_id #=> String
|
653
|
+
# resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
654
|
+
# resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
655
|
+
# resp.connect_attachment.attachment.edge_location #=> String
|
656
|
+
# resp.connect_attachment.attachment.resource_arn #=> String
|
657
|
+
# resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
|
658
|
+
# resp.connect_attachment.attachment.segment_name #=> String
|
659
|
+
# resp.connect_attachment.attachment.tags #=> Array
|
660
|
+
# resp.connect_attachment.attachment.tags[0].key #=> String
|
661
|
+
# resp.connect_attachment.attachment.tags[0].value #=> String
|
662
|
+
# resp.connect_attachment.attachment.proposed_segment_change.tags #=> Array
|
663
|
+
# resp.connect_attachment.attachment.proposed_segment_change.tags[0].key #=> String
|
664
|
+
# resp.connect_attachment.attachment.proposed_segment_change.tags[0].value #=> String
|
665
|
+
# resp.connect_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
666
|
+
# resp.connect_attachment.attachment.proposed_segment_change.segment_name #=> String
|
667
|
+
# resp.connect_attachment.attachment.created_at #=> Time
|
668
|
+
# resp.connect_attachment.attachment.updated_at #=> Time
|
669
|
+
# resp.connect_attachment.transport_attachment_id #=> String
|
670
|
+
# resp.connect_attachment.options.protocol #=> String, one of "GRE"
|
671
|
+
#
|
672
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectAttachment AWS API Documentation
|
673
|
+
#
|
674
|
+
# @overload create_connect_attachment(params = {})
|
675
|
+
# @param [Hash] params ({})
|
676
|
+
def create_connect_attachment(params = {}, options = {})
|
677
|
+
req = build_request(:create_connect_attachment, params)
|
678
|
+
req.send_request(options)
|
679
|
+
end
|
680
|
+
|
681
|
+
# Creates a core network connect peer for a specified core network
|
682
|
+
# connect attachment between a core network and an appliance. The peer
|
683
|
+
# address and transit gateway address must be the same IP address family
|
684
|
+
# (IPv4 or IPv6).
|
685
|
+
#
|
686
|
+
# @option params [required, String] :connect_attachment_id
|
687
|
+
# The ID of the connection attachment.
|
688
|
+
#
|
689
|
+
# @option params [String] :core_network_address
|
690
|
+
# A Connect peer core network address.
|
691
|
+
#
|
692
|
+
# @option params [required, String] :peer_address
|
693
|
+
# The Connect peer address.
|
694
|
+
#
|
695
|
+
# @option params [Types::BgpOptions] :bgp_options
|
696
|
+
# The Connect peer BGP options.
|
697
|
+
#
|
698
|
+
# @option params [required, Array<String>] :inside_cidr_blocks
|
699
|
+
# The inside IP addresses used for BGP peering.
|
700
|
+
#
|
701
|
+
# @option params [Array<Types::Tag>] :tags
|
702
|
+
# The tags associated with the peer request.
|
703
|
+
#
|
704
|
+
# @option params [String] :client_token
|
705
|
+
# The client token associated with the request.
|
706
|
+
#
|
707
|
+
# **A suitable default value is auto-generated.** You should normally
|
708
|
+
# not need to pass this option.**
|
709
|
+
#
|
710
|
+
# @return [Types::CreateConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
711
|
+
#
|
712
|
+
# * {Types::CreateConnectPeerResponse#connect_peer #connect_peer} => Types::ConnectPeer
|
713
|
+
#
|
714
|
+
# @example Request syntax with placeholder values
|
715
|
+
#
|
716
|
+
# resp = client.create_connect_peer({
|
717
|
+
# connect_attachment_id: "AttachmentId", # required
|
718
|
+
# core_network_address: "IPAddress",
|
719
|
+
# peer_address: "IPAddress", # required
|
720
|
+
# bgp_options: {
|
721
|
+
# peer_asn: 1,
|
722
|
+
# },
|
723
|
+
# inside_cidr_blocks: ["ConstrainedString"], # required
|
724
|
+
# tags: [
|
725
|
+
# {
|
726
|
+
# key: "TagKey",
|
727
|
+
# value: "TagValue",
|
728
|
+
# },
|
729
|
+
# ],
|
730
|
+
# client_token: "ClientToken",
|
731
|
+
# })
|
732
|
+
#
|
733
|
+
# @example Response structure
|
734
|
+
#
|
735
|
+
# resp.connect_peer.core_network_id #=> String
|
736
|
+
# resp.connect_peer.connect_attachment_id #=> String
|
737
|
+
# resp.connect_peer.connect_peer_id #=> String
|
738
|
+
# resp.connect_peer.edge_location #=> String
|
739
|
+
# resp.connect_peer.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
|
740
|
+
# resp.connect_peer.created_at #=> Time
|
741
|
+
# resp.connect_peer.configuration.core_network_address #=> String
|
742
|
+
# resp.connect_peer.configuration.peer_address #=> String
|
743
|
+
# resp.connect_peer.configuration.inside_cidr_blocks #=> Array
|
744
|
+
# resp.connect_peer.configuration.inside_cidr_blocks[0] #=> String
|
745
|
+
# resp.connect_peer.configuration.protocol #=> String, one of "GRE"
|
746
|
+
# resp.connect_peer.configuration.bgp_configurations #=> Array
|
747
|
+
# resp.connect_peer.configuration.bgp_configurations[0].core_network_asn #=> Integer
|
748
|
+
# resp.connect_peer.configuration.bgp_configurations[0].peer_asn #=> Integer
|
749
|
+
# resp.connect_peer.configuration.bgp_configurations[0].core_network_address #=> String
|
750
|
+
# resp.connect_peer.configuration.bgp_configurations[0].peer_address #=> String
|
751
|
+
# resp.connect_peer.tags #=> Array
|
752
|
+
# resp.connect_peer.tags[0].key #=> String
|
753
|
+
# resp.connect_peer.tags[0].value #=> String
|
754
|
+
#
|
755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectPeer AWS API Documentation
|
756
|
+
#
|
757
|
+
# @overload create_connect_peer(params = {})
|
758
|
+
# @param [Hash] params ({})
|
759
|
+
def create_connect_peer(params = {}, options = {})
|
760
|
+
req = build_request(:create_connect_peer, params)
|
761
|
+
req.send_request(options)
|
762
|
+
end
|
763
|
+
|
497
764
|
# Creates a connection between two devices. The devices can be a
|
498
765
|
# physical or virtual appliance that connects to a third-party appliance
|
499
766
|
# in a VPC, or a physical appliance that connects to another physical
|
@@ -529,12 +796,12 @@ module Aws::NetworkManager
|
|
529
796
|
# @example Request syntax with placeholder values
|
530
797
|
#
|
531
798
|
# resp = client.create_connection({
|
532
|
-
# global_network_id: "
|
533
|
-
# device_id: "
|
534
|
-
# connected_device_id: "
|
535
|
-
# link_id: "
|
536
|
-
# connected_link_id: "
|
537
|
-
# description: "
|
799
|
+
# global_network_id: "GlobalNetworkId", # required
|
800
|
+
# device_id: "DeviceId", # required
|
801
|
+
# connected_device_id: "DeviceId", # required
|
802
|
+
# link_id: "LinkId",
|
803
|
+
# connected_link_id: "LinkId",
|
804
|
+
# description: "ConstrainedString",
|
538
805
|
# tags: [
|
539
806
|
# {
|
540
807
|
# key: "TagKey",
|
@@ -568,6 +835,78 @@ module Aws::NetworkManager
|
|
568
835
|
req.send_request(options)
|
569
836
|
end
|
570
837
|
|
838
|
+
# Creates a core network as part of your global network, and optionally,
|
839
|
+
# with a core network policy.
|
840
|
+
#
|
841
|
+
# @option params [required, String] :global_network_id
|
842
|
+
# The ID of the global network that a core network will be a part of.
|
843
|
+
#
|
844
|
+
# @option params [String] :description
|
845
|
+
# The description of a core network.
|
846
|
+
#
|
847
|
+
# @option params [Array<Types::Tag>] :tags
|
848
|
+
# Key-value tags associated with a core network request.
|
849
|
+
#
|
850
|
+
# @option params [String] :policy_document
|
851
|
+
# The policy document for creating a core network.
|
852
|
+
#
|
853
|
+
# @option params [String] :client_token
|
854
|
+
# The client token associated with a core network request.
|
855
|
+
#
|
856
|
+
# **A suitable default value is auto-generated.** You should normally
|
857
|
+
# not need to pass this option.**
|
858
|
+
#
|
859
|
+
# @return [Types::CreateCoreNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
860
|
+
#
|
861
|
+
# * {Types::CreateCoreNetworkResponse#core_network #core_network} => Types::CoreNetwork
|
862
|
+
#
|
863
|
+
# @example Request syntax with placeholder values
|
864
|
+
#
|
865
|
+
# resp = client.create_core_network({
|
866
|
+
# global_network_id: "GlobalNetworkId", # required
|
867
|
+
# description: "ConstrainedString",
|
868
|
+
# tags: [
|
869
|
+
# {
|
870
|
+
# key: "TagKey",
|
871
|
+
# value: "TagValue",
|
872
|
+
# },
|
873
|
+
# ],
|
874
|
+
# policy_document: "CoreNetworkPolicyDocument",
|
875
|
+
# client_token: "ClientToken",
|
876
|
+
# })
|
877
|
+
#
|
878
|
+
# @example Response structure
|
879
|
+
#
|
880
|
+
# resp.core_network.global_network_id #=> String
|
881
|
+
# resp.core_network.core_network_id #=> String
|
882
|
+
# resp.core_network.core_network_arn #=> String
|
883
|
+
# resp.core_network.description #=> String
|
884
|
+
# resp.core_network.created_at #=> Time
|
885
|
+
# resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
|
886
|
+
# resp.core_network.segments #=> Array
|
887
|
+
# resp.core_network.segments[0].name #=> String
|
888
|
+
# resp.core_network.segments[0].edge_locations #=> Array
|
889
|
+
# resp.core_network.segments[0].edge_locations[0] #=> String
|
890
|
+
# resp.core_network.segments[0].shared_segments #=> Array
|
891
|
+
# resp.core_network.segments[0].shared_segments[0] #=> String
|
892
|
+
# resp.core_network.edges #=> Array
|
893
|
+
# resp.core_network.edges[0].edge_location #=> String
|
894
|
+
# resp.core_network.edges[0].asn #=> Integer
|
895
|
+
# resp.core_network.edges[0].inside_cidr_blocks #=> Array
|
896
|
+
# resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
|
897
|
+
# resp.core_network.tags #=> Array
|
898
|
+
# resp.core_network.tags[0].key #=> String
|
899
|
+
# resp.core_network.tags[0].value #=> String
|
900
|
+
#
|
901
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateCoreNetwork AWS API Documentation
|
902
|
+
#
|
903
|
+
# @overload create_core_network(params = {})
|
904
|
+
# @param [Hash] params ({})
|
905
|
+
def create_core_network(params = {}, options = {})
|
906
|
+
req = build_request(:create_core_network, params)
|
907
|
+
req.send_request(options)
|
908
|
+
end
|
909
|
+
|
571
910
|
# Creates a new device in a global network. If you specify both a site
|
572
911
|
# ID and a location, the location of the site is used for visualization
|
573
912
|
# in the Network Manager console.
|
@@ -618,22 +957,22 @@ module Aws::NetworkManager
|
|
618
957
|
# @example Request syntax with placeholder values
|
619
958
|
#
|
620
959
|
# resp = client.create_device({
|
621
|
-
# global_network_id: "
|
960
|
+
# global_network_id: "GlobalNetworkId", # required
|
622
961
|
# aws_location: {
|
623
|
-
# zone: "
|
624
|
-
# subnet_arn: "
|
962
|
+
# zone: "ConstrainedString",
|
963
|
+
# subnet_arn: "SubnetArn",
|
625
964
|
# },
|
626
|
-
# description: "
|
627
|
-
# type: "
|
628
|
-
# vendor: "
|
629
|
-
# model: "
|
630
|
-
# serial_number: "
|
965
|
+
# description: "ConstrainedString",
|
966
|
+
# type: "ConstrainedString",
|
967
|
+
# vendor: "ConstrainedString",
|
968
|
+
# model: "ConstrainedString",
|
969
|
+
# serial_number: "ConstrainedString",
|
631
970
|
# location: {
|
632
|
-
# address: "
|
633
|
-
# latitude: "
|
634
|
-
# longitude: "
|
971
|
+
# address: "ConstrainedString",
|
972
|
+
# latitude: "ConstrainedString",
|
973
|
+
# longitude: "ConstrainedString",
|
635
974
|
# },
|
636
|
-
# site_id: "
|
975
|
+
# site_id: "SiteId",
|
637
976
|
# tags: [
|
638
977
|
# {
|
639
978
|
# key: "TagKey",
|
@@ -690,7 +1029,7 @@ module Aws::NetworkManager
|
|
690
1029
|
# @example Request syntax with placeholder values
|
691
1030
|
#
|
692
1031
|
# resp = client.create_global_network({
|
693
|
-
# description: "
|
1032
|
+
# description: "ConstrainedString",
|
694
1033
|
# tags: [
|
695
1034
|
# {
|
696
1035
|
# key: "TagKey",
|
@@ -757,15 +1096,15 @@ module Aws::NetworkManager
|
|
757
1096
|
# @example Request syntax with placeholder values
|
758
1097
|
#
|
759
1098
|
# resp = client.create_link({
|
760
|
-
# global_network_id: "
|
761
|
-
# description: "
|
762
|
-
# type: "
|
1099
|
+
# global_network_id: "GlobalNetworkId", # required
|
1100
|
+
# description: "ConstrainedString",
|
1101
|
+
# type: "ConstrainedString",
|
763
1102
|
# bandwidth: { # required
|
764
1103
|
# upload_speed: 1,
|
765
1104
|
# download_speed: 1,
|
766
1105
|
# },
|
767
|
-
# provider: "
|
768
|
-
# site_id: "
|
1106
|
+
# provider: "ConstrainedString",
|
1107
|
+
# site_id: "SiteId", # required
|
769
1108
|
# tags: [
|
770
1109
|
# {
|
771
1110
|
# key: "TagKey",
|
@@ -831,12 +1170,12 @@ module Aws::NetworkManager
|
|
831
1170
|
# @example Request syntax with placeholder values
|
832
1171
|
#
|
833
1172
|
# resp = client.create_site({
|
834
|
-
# global_network_id: "
|
835
|
-
# description: "
|
1173
|
+
# global_network_id: "GlobalNetworkId", # required
|
1174
|
+
# description: "ConstrainedString",
|
836
1175
|
# location: {
|
837
|
-
# address: "
|
838
|
-
# latitude: "
|
839
|
-
# longitude: "
|
1176
|
+
# address: "ConstrainedString",
|
1177
|
+
# latitude: "ConstrainedString",
|
1178
|
+
# longitude: "ConstrainedString",
|
840
1179
|
# },
|
841
1180
|
# tags: [
|
842
1181
|
# {
|
@@ -870,6 +1209,249 @@ module Aws::NetworkManager
|
|
870
1209
|
req.send_request(options)
|
871
1210
|
end
|
872
1211
|
|
1212
|
+
# Creates a site-to-site VPN attachment on an edge location of a core
|
1213
|
+
# network.
|
1214
|
+
#
|
1215
|
+
# @option params [required, String] :core_network_id
|
1216
|
+
# The ID of a core network where you're creating a site-to-site VPN
|
1217
|
+
# attachment.
|
1218
|
+
#
|
1219
|
+
# @option params [required, String] :vpn_connection_arn
|
1220
|
+
# The ARN identifying the VPN attachment.
|
1221
|
+
#
|
1222
|
+
# @option params [Array<Types::Tag>] :tags
|
1223
|
+
# The tags associated with the request.
|
1224
|
+
#
|
1225
|
+
# @option params [String] :client_token
|
1226
|
+
# The client token associated with the request.
|
1227
|
+
#
|
1228
|
+
# **A suitable default value is auto-generated.** You should normally
|
1229
|
+
# not need to pass this option.**
|
1230
|
+
#
|
1231
|
+
# @return [Types::CreateSiteToSiteVpnAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1232
|
+
#
|
1233
|
+
# * {Types::CreateSiteToSiteVpnAttachmentResponse#site_to_site_vpn_attachment #site_to_site_vpn_attachment} => Types::SiteToSiteVpnAttachment
|
1234
|
+
#
|
1235
|
+
# @example Request syntax with placeholder values
|
1236
|
+
#
|
1237
|
+
# resp = client.create_site_to_site_vpn_attachment({
|
1238
|
+
# core_network_id: "CoreNetworkId", # required
|
1239
|
+
# vpn_connection_arn: "VpnConnectionArn", # required
|
1240
|
+
# tags: [
|
1241
|
+
# {
|
1242
|
+
# key: "TagKey",
|
1243
|
+
# value: "TagValue",
|
1244
|
+
# },
|
1245
|
+
# ],
|
1246
|
+
# client_token: "ClientToken",
|
1247
|
+
# })
|
1248
|
+
#
|
1249
|
+
# @example Response structure
|
1250
|
+
#
|
1251
|
+
# resp.site_to_site_vpn_attachment.attachment.core_network_id #=> String
|
1252
|
+
# resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
|
1253
|
+
# resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
|
1254
|
+
# resp.site_to_site_vpn_attachment.attachment.owner_account_id #=> String
|
1255
|
+
# resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
1256
|
+
# resp.site_to_site_vpn_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
1257
|
+
# resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
|
1258
|
+
# resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
|
1259
|
+
# resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
|
1260
|
+
# resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
|
1261
|
+
# resp.site_to_site_vpn_attachment.attachment.tags #=> Array
|
1262
|
+
# resp.site_to_site_vpn_attachment.attachment.tags[0].key #=> String
|
1263
|
+
# resp.site_to_site_vpn_attachment.attachment.tags[0].value #=> String
|
1264
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags #=> Array
|
1265
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].key #=> String
|
1266
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].value #=> String
|
1267
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
1268
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.segment_name #=> String
|
1269
|
+
# resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
|
1270
|
+
# resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
|
1271
|
+
# resp.site_to_site_vpn_attachment.vpn_connection_arn #=> String
|
1272
|
+
#
|
1273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSiteToSiteVpnAttachment AWS API Documentation
|
1274
|
+
#
|
1275
|
+
# @overload create_site_to_site_vpn_attachment(params = {})
|
1276
|
+
# @param [Hash] params ({})
|
1277
|
+
def create_site_to_site_vpn_attachment(params = {}, options = {})
|
1278
|
+
req = build_request(:create_site_to_site_vpn_attachment, params)
|
1279
|
+
req.send_request(options)
|
1280
|
+
end
|
1281
|
+
|
1282
|
+
# Creates a VPC attachment on an edge location of a core network.
|
1283
|
+
#
|
1284
|
+
# @option params [required, String] :core_network_id
|
1285
|
+
# The ID of a core network for the VPC attachment.
|
1286
|
+
#
|
1287
|
+
# @option params [required, String] :vpc_arn
|
1288
|
+
# The ARN of the VPC.
|
1289
|
+
#
|
1290
|
+
# @option params [required, Array<String>] :subnet_arns
|
1291
|
+
# The subnet ARN of the VPC attachment.
|
1292
|
+
#
|
1293
|
+
# @option params [Types::VpcOptions] :options
|
1294
|
+
# Options for the VPC attachment.
|
1295
|
+
#
|
1296
|
+
# @option params [Array<Types::Tag>] :tags
|
1297
|
+
# The key-value tags associated with the request.
|
1298
|
+
#
|
1299
|
+
# @option params [String] :client_token
|
1300
|
+
# The client token associated with the request.
|
1301
|
+
#
|
1302
|
+
# **A suitable default value is auto-generated.** You should normally
|
1303
|
+
# not need to pass this option.**
|
1304
|
+
#
|
1305
|
+
# @return [Types::CreateVpcAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1306
|
+
#
|
1307
|
+
# * {Types::CreateVpcAttachmentResponse#vpc_attachment #vpc_attachment} => Types::VpcAttachment
|
1308
|
+
#
|
1309
|
+
# @example Request syntax with placeholder values
|
1310
|
+
#
|
1311
|
+
# resp = client.create_vpc_attachment({
|
1312
|
+
# core_network_id: "CoreNetworkId", # required
|
1313
|
+
# vpc_arn: "VpcArn", # required
|
1314
|
+
# subnet_arns: ["SubnetArn"], # required
|
1315
|
+
# options: {
|
1316
|
+
# ipv_6_support: false,
|
1317
|
+
# },
|
1318
|
+
# tags: [
|
1319
|
+
# {
|
1320
|
+
# key: "TagKey",
|
1321
|
+
# value: "TagValue",
|
1322
|
+
# },
|
1323
|
+
# ],
|
1324
|
+
# client_token: "ClientToken",
|
1325
|
+
# })
|
1326
|
+
#
|
1327
|
+
# @example Response structure
|
1328
|
+
#
|
1329
|
+
# resp.vpc_attachment.attachment.core_network_id #=> String
|
1330
|
+
# resp.vpc_attachment.attachment.core_network_arn #=> String
|
1331
|
+
# resp.vpc_attachment.attachment.attachment_id #=> String
|
1332
|
+
# resp.vpc_attachment.attachment.owner_account_id #=> String
|
1333
|
+
# resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
1334
|
+
# resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
1335
|
+
# resp.vpc_attachment.attachment.edge_location #=> String
|
1336
|
+
# resp.vpc_attachment.attachment.resource_arn #=> String
|
1337
|
+
# resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
|
1338
|
+
# resp.vpc_attachment.attachment.segment_name #=> String
|
1339
|
+
# resp.vpc_attachment.attachment.tags #=> Array
|
1340
|
+
# resp.vpc_attachment.attachment.tags[0].key #=> String
|
1341
|
+
# resp.vpc_attachment.attachment.tags[0].value #=> String
|
1342
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.tags #=> Array
|
1343
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.tags[0].key #=> String
|
1344
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.tags[0].value #=> String
|
1345
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
1346
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.segment_name #=> String
|
1347
|
+
# resp.vpc_attachment.attachment.created_at #=> Time
|
1348
|
+
# resp.vpc_attachment.attachment.updated_at #=> Time
|
1349
|
+
# resp.vpc_attachment.subnet_arns #=> Array
|
1350
|
+
# resp.vpc_attachment.subnet_arns[0] #=> String
|
1351
|
+
# resp.vpc_attachment.options.ipv_6_support #=> Boolean
|
1352
|
+
#
|
1353
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateVpcAttachment AWS API Documentation
|
1354
|
+
#
|
1355
|
+
# @overload create_vpc_attachment(params = {})
|
1356
|
+
# @param [Hash] params ({})
|
1357
|
+
def create_vpc_attachment(params = {}, options = {})
|
1358
|
+
req = build_request(:create_vpc_attachment, params)
|
1359
|
+
req.send_request(options)
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# Deletes an attachment. Supports all attachment types.
|
1363
|
+
#
|
1364
|
+
# @option params [required, String] :attachment_id
|
1365
|
+
# The ID of the attachment to delete.
|
1366
|
+
#
|
1367
|
+
# @return [Types::DeleteAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1368
|
+
#
|
1369
|
+
# * {Types::DeleteAttachmentResponse#attachment #attachment} => Types::Attachment
|
1370
|
+
#
|
1371
|
+
# @example Request syntax with placeholder values
|
1372
|
+
#
|
1373
|
+
# resp = client.delete_attachment({
|
1374
|
+
# attachment_id: "AttachmentId", # required
|
1375
|
+
# })
|
1376
|
+
#
|
1377
|
+
# @example Response structure
|
1378
|
+
#
|
1379
|
+
# resp.attachment.core_network_id #=> String
|
1380
|
+
# resp.attachment.core_network_arn #=> String
|
1381
|
+
# resp.attachment.attachment_id #=> String
|
1382
|
+
# resp.attachment.owner_account_id #=> String
|
1383
|
+
# resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
1384
|
+
# resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
1385
|
+
# resp.attachment.edge_location #=> String
|
1386
|
+
# resp.attachment.resource_arn #=> String
|
1387
|
+
# resp.attachment.attachment_policy_rule_number #=> Integer
|
1388
|
+
# resp.attachment.segment_name #=> String
|
1389
|
+
# resp.attachment.tags #=> Array
|
1390
|
+
# resp.attachment.tags[0].key #=> String
|
1391
|
+
# resp.attachment.tags[0].value #=> String
|
1392
|
+
# resp.attachment.proposed_segment_change.tags #=> Array
|
1393
|
+
# resp.attachment.proposed_segment_change.tags[0].key #=> String
|
1394
|
+
# resp.attachment.proposed_segment_change.tags[0].value #=> String
|
1395
|
+
# resp.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
1396
|
+
# resp.attachment.proposed_segment_change.segment_name #=> String
|
1397
|
+
# resp.attachment.created_at #=> Time
|
1398
|
+
# resp.attachment.updated_at #=> Time
|
1399
|
+
#
|
1400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteAttachment AWS API Documentation
|
1401
|
+
#
|
1402
|
+
# @overload delete_attachment(params = {})
|
1403
|
+
# @param [Hash] params ({})
|
1404
|
+
def delete_attachment(params = {}, options = {})
|
1405
|
+
req = build_request(:delete_attachment, params)
|
1406
|
+
req.send_request(options)
|
1407
|
+
end
|
1408
|
+
|
1409
|
+
# Deletes a Connect peer.
|
1410
|
+
#
|
1411
|
+
# @option params [required, String] :connect_peer_id
|
1412
|
+
# The ID of the deleted Connect peer.
|
1413
|
+
#
|
1414
|
+
# @return [Types::DeleteConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1415
|
+
#
|
1416
|
+
# * {Types::DeleteConnectPeerResponse#connect_peer #connect_peer} => Types::ConnectPeer
|
1417
|
+
#
|
1418
|
+
# @example Request syntax with placeholder values
|
1419
|
+
#
|
1420
|
+
# resp = client.delete_connect_peer({
|
1421
|
+
# connect_peer_id: "ConnectPeerId", # required
|
1422
|
+
# })
|
1423
|
+
#
|
1424
|
+
# @example Response structure
|
1425
|
+
#
|
1426
|
+
# resp.connect_peer.core_network_id #=> String
|
1427
|
+
# resp.connect_peer.connect_attachment_id #=> String
|
1428
|
+
# resp.connect_peer.connect_peer_id #=> String
|
1429
|
+
# resp.connect_peer.edge_location #=> String
|
1430
|
+
# resp.connect_peer.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
|
1431
|
+
# resp.connect_peer.created_at #=> Time
|
1432
|
+
# resp.connect_peer.configuration.core_network_address #=> String
|
1433
|
+
# resp.connect_peer.configuration.peer_address #=> String
|
1434
|
+
# resp.connect_peer.configuration.inside_cidr_blocks #=> Array
|
1435
|
+
# resp.connect_peer.configuration.inside_cidr_blocks[0] #=> String
|
1436
|
+
# resp.connect_peer.configuration.protocol #=> String, one of "GRE"
|
1437
|
+
# resp.connect_peer.configuration.bgp_configurations #=> Array
|
1438
|
+
# resp.connect_peer.configuration.bgp_configurations[0].core_network_asn #=> Integer
|
1439
|
+
# resp.connect_peer.configuration.bgp_configurations[0].peer_asn #=> Integer
|
1440
|
+
# resp.connect_peer.configuration.bgp_configurations[0].core_network_address #=> String
|
1441
|
+
# resp.connect_peer.configuration.bgp_configurations[0].peer_address #=> String
|
1442
|
+
# resp.connect_peer.tags #=> Array
|
1443
|
+
# resp.connect_peer.tags[0].key #=> String
|
1444
|
+
# resp.connect_peer.tags[0].value #=> String
|
1445
|
+
#
|
1446
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnectPeer AWS API Documentation
|
1447
|
+
#
|
1448
|
+
# @overload delete_connect_peer(params = {})
|
1449
|
+
# @param [Hash] params ({})
|
1450
|
+
def delete_connect_peer(params = {}, options = {})
|
1451
|
+
req = build_request(:delete_connect_peer, params)
|
1452
|
+
req.send_request(options)
|
1453
|
+
end
|
1454
|
+
|
873
1455
|
# Deletes the specified connection in your global network.
|
874
1456
|
#
|
875
1457
|
# @option params [required, String] :global_network_id
|
@@ -885,8 +1467,8 @@ module Aws::NetworkManager
|
|
885
1467
|
# @example Request syntax with placeholder values
|
886
1468
|
#
|
887
1469
|
# resp = client.delete_connection({
|
888
|
-
# global_network_id: "
|
889
|
-
# connection_id: "
|
1470
|
+
# global_network_id: "GlobalNetworkId", # required
|
1471
|
+
# connection_id: "ConnectionId", # required
|
890
1472
|
# })
|
891
1473
|
#
|
892
1474
|
# @example Response structure
|
@@ -914,6 +1496,97 @@ module Aws::NetworkManager
|
|
914
1496
|
req.send_request(options)
|
915
1497
|
end
|
916
1498
|
|
1499
|
+
# Deletes a core network along with all core network policies. This can
|
1500
|
+
# only be done if there are no attachments on a core network.
|
1501
|
+
#
|
1502
|
+
# @option params [required, String] :core_network_id
|
1503
|
+
# The network ID of the deleted core network.
|
1504
|
+
#
|
1505
|
+
# @return [Types::DeleteCoreNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1506
|
+
#
|
1507
|
+
# * {Types::DeleteCoreNetworkResponse#core_network #core_network} => Types::CoreNetwork
|
1508
|
+
#
|
1509
|
+
# @example Request syntax with placeholder values
|
1510
|
+
#
|
1511
|
+
# resp = client.delete_core_network({
|
1512
|
+
# core_network_id: "CoreNetworkId", # required
|
1513
|
+
# })
|
1514
|
+
#
|
1515
|
+
# @example Response structure
|
1516
|
+
#
|
1517
|
+
# resp.core_network.global_network_id #=> String
|
1518
|
+
# resp.core_network.core_network_id #=> String
|
1519
|
+
# resp.core_network.core_network_arn #=> String
|
1520
|
+
# resp.core_network.description #=> String
|
1521
|
+
# resp.core_network.created_at #=> Time
|
1522
|
+
# resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
|
1523
|
+
# resp.core_network.segments #=> Array
|
1524
|
+
# resp.core_network.segments[0].name #=> String
|
1525
|
+
# resp.core_network.segments[0].edge_locations #=> Array
|
1526
|
+
# resp.core_network.segments[0].edge_locations[0] #=> String
|
1527
|
+
# resp.core_network.segments[0].shared_segments #=> Array
|
1528
|
+
# resp.core_network.segments[0].shared_segments[0] #=> String
|
1529
|
+
# resp.core_network.edges #=> Array
|
1530
|
+
# resp.core_network.edges[0].edge_location #=> String
|
1531
|
+
# resp.core_network.edges[0].asn #=> Integer
|
1532
|
+
# resp.core_network.edges[0].inside_cidr_blocks #=> Array
|
1533
|
+
# resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
|
1534
|
+
# resp.core_network.tags #=> Array
|
1535
|
+
# resp.core_network.tags[0].key #=> String
|
1536
|
+
# resp.core_network.tags[0].value #=> String
|
1537
|
+
#
|
1538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteCoreNetwork AWS API Documentation
|
1539
|
+
#
|
1540
|
+
# @overload delete_core_network(params = {})
|
1541
|
+
# @param [Hash] params ({})
|
1542
|
+
def delete_core_network(params = {}, options = {})
|
1543
|
+
req = build_request(:delete_core_network, params)
|
1544
|
+
req.send_request(options)
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
# Deletes a policy version from a core network. You can't delete the
|
1548
|
+
# current LIVE policy.
|
1549
|
+
#
|
1550
|
+
# @option params [required, String] :core_network_id
|
1551
|
+
# The ID of a core network for the deleted policy.
|
1552
|
+
#
|
1553
|
+
# @option params [required, Integer] :policy_version_id
|
1554
|
+
# The version ID of the deleted policy.
|
1555
|
+
#
|
1556
|
+
# @return [Types::DeleteCoreNetworkPolicyVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1557
|
+
#
|
1558
|
+
# * {Types::DeleteCoreNetworkPolicyVersionResponse#core_network_policy #core_network_policy} => Types::CoreNetworkPolicy
|
1559
|
+
#
|
1560
|
+
# @example Request syntax with placeholder values
|
1561
|
+
#
|
1562
|
+
# resp = client.delete_core_network_policy_version({
|
1563
|
+
# core_network_id: "CoreNetworkId", # required
|
1564
|
+
# policy_version_id: 1, # required
|
1565
|
+
# })
|
1566
|
+
#
|
1567
|
+
# @example Response structure
|
1568
|
+
#
|
1569
|
+
# resp.core_network_policy.core_network_id #=> String
|
1570
|
+
# resp.core_network_policy.policy_version_id #=> Integer
|
1571
|
+
# resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
|
1572
|
+
# resp.core_network_policy.description #=> String
|
1573
|
+
# resp.core_network_policy.created_at #=> Time
|
1574
|
+
# resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
|
1575
|
+
# resp.core_network_policy.policy_errors #=> Array
|
1576
|
+
# resp.core_network_policy.policy_errors[0].error_code #=> String
|
1577
|
+
# resp.core_network_policy.policy_errors[0].message #=> String
|
1578
|
+
# resp.core_network_policy.policy_errors[0].path #=> String
|
1579
|
+
# resp.core_network_policy.policy_document #=> String
|
1580
|
+
#
|
1581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteCoreNetworkPolicyVersion AWS API Documentation
|
1582
|
+
#
|
1583
|
+
# @overload delete_core_network_policy_version(params = {})
|
1584
|
+
# @param [Hash] params ({})
|
1585
|
+
def delete_core_network_policy_version(params = {}, options = {})
|
1586
|
+
req = build_request(:delete_core_network_policy_version, params)
|
1587
|
+
req.send_request(options)
|
1588
|
+
end
|
1589
|
+
|
917
1590
|
# Deletes an existing device. You must first disassociate the device
|
918
1591
|
# from any links and customer gateways.
|
919
1592
|
#
|
@@ -930,8 +1603,8 @@ module Aws::NetworkManager
|
|
930
1603
|
# @example Request syntax with placeholder values
|
931
1604
|
#
|
932
1605
|
# resp = client.delete_device({
|
933
|
-
# global_network_id: "
|
934
|
-
# device_id: "
|
1606
|
+
# global_network_id: "GlobalNetworkId", # required
|
1607
|
+
# device_id: "DeviceId", # required
|
935
1608
|
# })
|
936
1609
|
#
|
937
1610
|
# @example Response structure
|
@@ -979,7 +1652,7 @@ module Aws::NetworkManager
|
|
979
1652
|
# @example Request syntax with placeholder values
|
980
1653
|
#
|
981
1654
|
# resp = client.delete_global_network({
|
982
|
-
# global_network_id: "
|
1655
|
+
# global_network_id: "GlobalNetworkId", # required
|
983
1656
|
# })
|
984
1657
|
#
|
985
1658
|
# @example Response structure
|
@@ -1018,8 +1691,8 @@ module Aws::NetworkManager
|
|
1018
1691
|
# @example Request syntax with placeholder values
|
1019
1692
|
#
|
1020
1693
|
# resp = client.delete_link({
|
1021
|
-
# global_network_id: "
|
1022
|
-
# link_id: "
|
1694
|
+
# global_network_id: "GlobalNetworkId", # required
|
1695
|
+
# link_id: "LinkId", # required
|
1023
1696
|
# })
|
1024
1697
|
#
|
1025
1698
|
# @example Response structure
|
@@ -1048,6 +1721,29 @@ module Aws::NetworkManager
|
|
1048
1721
|
req.send_request(options)
|
1049
1722
|
end
|
1050
1723
|
|
1724
|
+
# Deletes a resource policy for the specified resource. This revokes the
|
1725
|
+
# access of the principals specified in the resource policy.
|
1726
|
+
#
|
1727
|
+
# @option params [required, String] :resource_arn
|
1728
|
+
# The ARN of the policy to delete.
|
1729
|
+
#
|
1730
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1731
|
+
#
|
1732
|
+
# @example Request syntax with placeholder values
|
1733
|
+
#
|
1734
|
+
# resp = client.delete_resource_policy({
|
1735
|
+
# resource_arn: "ResourceArn", # required
|
1736
|
+
# })
|
1737
|
+
#
|
1738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteResourcePolicy AWS API Documentation
|
1739
|
+
#
|
1740
|
+
# @overload delete_resource_policy(params = {})
|
1741
|
+
# @param [Hash] params ({})
|
1742
|
+
def delete_resource_policy(params = {}, options = {})
|
1743
|
+
req = build_request(:delete_resource_policy, params)
|
1744
|
+
req.send_request(options)
|
1745
|
+
end
|
1746
|
+
|
1051
1747
|
# Deletes an existing site. The site cannot be associated with any
|
1052
1748
|
# device or link.
|
1053
1749
|
#
|
@@ -1064,8 +1760,8 @@ module Aws::NetworkManager
|
|
1064
1760
|
# @example Request syntax with placeholder values
|
1065
1761
|
#
|
1066
1762
|
# resp = client.delete_site({
|
1067
|
-
# global_network_id: "
|
1068
|
-
# site_id: "
|
1763
|
+
# global_network_id: "GlobalNetworkId", # required
|
1764
|
+
# site_id: "SiteId", # required
|
1069
1765
|
# })
|
1070
1766
|
#
|
1071
1767
|
# @example Response structure
|
@@ -1109,8 +1805,8 @@ module Aws::NetworkManager
|
|
1109
1805
|
# @example Request syntax with placeholder values
|
1110
1806
|
#
|
1111
1807
|
# resp = client.deregister_transit_gateway({
|
1112
|
-
# global_network_id: "
|
1113
|
-
# transit_gateway_arn: "
|
1808
|
+
# global_network_id: "GlobalNetworkId", # required
|
1809
|
+
# transit_gateway_arn: "TransitGatewayArn", # required
|
1114
1810
|
# })
|
1115
1811
|
#
|
1116
1812
|
# @example Response structure
|
@@ -1154,9 +1850,9 @@ module Aws::NetworkManager
|
|
1154
1850
|
# @example Request syntax with placeholder values
|
1155
1851
|
#
|
1156
1852
|
# resp = client.describe_global_networks({
|
1157
|
-
# global_network_ids: ["
|
1853
|
+
# global_network_ids: ["GlobalNetworkId"],
|
1158
1854
|
# max_results: 1,
|
1159
|
-
# next_token: "
|
1855
|
+
# next_token: "NextToken",
|
1160
1856
|
# })
|
1161
1857
|
#
|
1162
1858
|
# @example Response structure
|
@@ -1181,6 +1877,42 @@ module Aws::NetworkManager
|
|
1181
1877
|
req.send_request(options)
|
1182
1878
|
end
|
1183
1879
|
|
1880
|
+
# Disassociates a core network Connect peer from a device and a link.
|
1881
|
+
#
|
1882
|
+
# @option params [required, String] :global_network_id
|
1883
|
+
# The ID of the global network.
|
1884
|
+
#
|
1885
|
+
# @option params [required, String] :connect_peer_id
|
1886
|
+
# The ID of the Connect peer to disassociate from a device.
|
1887
|
+
#
|
1888
|
+
# @return [Types::DisassociateConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1889
|
+
#
|
1890
|
+
# * {Types::DisassociateConnectPeerResponse#connect_peer_association #connect_peer_association} => Types::ConnectPeerAssociation
|
1891
|
+
#
|
1892
|
+
# @example Request syntax with placeholder values
|
1893
|
+
#
|
1894
|
+
# resp = client.disassociate_connect_peer({
|
1895
|
+
# global_network_id: "GlobalNetworkId", # required
|
1896
|
+
# connect_peer_id: "ConnectPeerId", # required
|
1897
|
+
# })
|
1898
|
+
#
|
1899
|
+
# @example Response structure
|
1900
|
+
#
|
1901
|
+
# resp.connect_peer_association.connect_peer_id #=> String
|
1902
|
+
# resp.connect_peer_association.global_network_id #=> String
|
1903
|
+
# resp.connect_peer_association.device_id #=> String
|
1904
|
+
# resp.connect_peer_association.link_id #=> String
|
1905
|
+
# resp.connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
|
1906
|
+
#
|
1907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateConnectPeer AWS API Documentation
|
1908
|
+
#
|
1909
|
+
# @overload disassociate_connect_peer(params = {})
|
1910
|
+
# @param [Hash] params ({})
|
1911
|
+
def disassociate_connect_peer(params = {}, options = {})
|
1912
|
+
req = build_request(:disassociate_connect_peer, params)
|
1913
|
+
req.send_request(options)
|
1914
|
+
end
|
1915
|
+
|
1184
1916
|
# Disassociates a customer gateway from a device and a link.
|
1185
1917
|
#
|
1186
1918
|
# @option params [required, String] :global_network_id
|
@@ -1196,8 +1928,8 @@ module Aws::NetworkManager
|
|
1196
1928
|
# @example Request syntax with placeholder values
|
1197
1929
|
#
|
1198
1930
|
# resp = client.disassociate_customer_gateway({
|
1199
|
-
# global_network_id: "
|
1200
|
-
# customer_gateway_arn: "
|
1931
|
+
# global_network_id: "GlobalNetworkId", # required
|
1932
|
+
# customer_gateway_arn: "CustomerGatewayArn", # required
|
1201
1933
|
# })
|
1202
1934
|
#
|
1203
1935
|
# @example Response structure
|
@@ -1236,9 +1968,9 @@ module Aws::NetworkManager
|
|
1236
1968
|
# @example Request syntax with placeholder values
|
1237
1969
|
#
|
1238
1970
|
# resp = client.disassociate_link({
|
1239
|
-
# global_network_id: "
|
1240
|
-
# device_id: "
|
1241
|
-
# link_id: "
|
1971
|
+
# global_network_id: "GlobalNetworkId", # required
|
1972
|
+
# device_id: "DeviceId", # required
|
1973
|
+
# link_id: "LinkId", # required
|
1242
1974
|
# })
|
1243
1975
|
#
|
1244
1976
|
# @example Response structure
|
@@ -1272,8 +2004,8 @@ module Aws::NetworkManager
|
|
1272
2004
|
# @example Request syntax with placeholder values
|
1273
2005
|
#
|
1274
2006
|
# resp = client.disassociate_transit_gateway_connect_peer({
|
1275
|
-
# global_network_id: "
|
1276
|
-
# transit_gateway_connect_peer_arn: "
|
2007
|
+
# global_network_id: "GlobalNetworkId", # required
|
2008
|
+
# transit_gateway_connect_peer_arn: "TransitGatewayConnectPeerArn", # required
|
1277
2009
|
# })
|
1278
2010
|
#
|
1279
2011
|
# @example Response structure
|
@@ -1293,6 +2025,177 @@ module Aws::NetworkManager
|
|
1293
2025
|
req.send_request(options)
|
1294
2026
|
end
|
1295
2027
|
|
2028
|
+
# Executes a change set on your core network. Deploys changes globally
|
2029
|
+
# based on the policy submitted..
|
2030
|
+
#
|
2031
|
+
# @option params [required, String] :core_network_id
|
2032
|
+
# The ID of a core network.
|
2033
|
+
#
|
2034
|
+
# @option params [required, Integer] :policy_version_id
|
2035
|
+
# The ID of the policy version.
|
2036
|
+
#
|
2037
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2038
|
+
#
|
2039
|
+
# @example Request syntax with placeholder values
|
2040
|
+
#
|
2041
|
+
# resp = client.execute_core_network_change_set({
|
2042
|
+
# core_network_id: "CoreNetworkId", # required
|
2043
|
+
# policy_version_id: 1, # required
|
2044
|
+
# })
|
2045
|
+
#
|
2046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ExecuteCoreNetworkChangeSet AWS API Documentation
|
2047
|
+
#
|
2048
|
+
# @overload execute_core_network_change_set(params = {})
|
2049
|
+
# @param [Hash] params ({})
|
2050
|
+
def execute_core_network_change_set(params = {}, options = {})
|
2051
|
+
req = build_request(:execute_core_network_change_set, params)
|
2052
|
+
req.send_request(options)
|
2053
|
+
end
|
2054
|
+
|
2055
|
+
# Returns information about a core network Connect attachment.
|
2056
|
+
#
|
2057
|
+
# @option params [required, String] :attachment_id
|
2058
|
+
# The ID of the attachment.
|
2059
|
+
#
|
2060
|
+
# @return [Types::GetConnectAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2061
|
+
#
|
2062
|
+
# * {Types::GetConnectAttachmentResponse#connect_attachment #connect_attachment} => Types::ConnectAttachment
|
2063
|
+
#
|
2064
|
+
# @example Request syntax with placeholder values
|
2065
|
+
#
|
2066
|
+
# resp = client.get_connect_attachment({
|
2067
|
+
# attachment_id: "AttachmentId", # required
|
2068
|
+
# })
|
2069
|
+
#
|
2070
|
+
# @example Response structure
|
2071
|
+
#
|
2072
|
+
# resp.connect_attachment.attachment.core_network_id #=> String
|
2073
|
+
# resp.connect_attachment.attachment.core_network_arn #=> String
|
2074
|
+
# resp.connect_attachment.attachment.attachment_id #=> String
|
2075
|
+
# resp.connect_attachment.attachment.owner_account_id #=> String
|
2076
|
+
# resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
2077
|
+
# resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
2078
|
+
# resp.connect_attachment.attachment.edge_location #=> String
|
2079
|
+
# resp.connect_attachment.attachment.resource_arn #=> String
|
2080
|
+
# resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
|
2081
|
+
# resp.connect_attachment.attachment.segment_name #=> String
|
2082
|
+
# resp.connect_attachment.attachment.tags #=> Array
|
2083
|
+
# resp.connect_attachment.attachment.tags[0].key #=> String
|
2084
|
+
# resp.connect_attachment.attachment.tags[0].value #=> String
|
2085
|
+
# resp.connect_attachment.attachment.proposed_segment_change.tags #=> Array
|
2086
|
+
# resp.connect_attachment.attachment.proposed_segment_change.tags[0].key #=> String
|
2087
|
+
# resp.connect_attachment.attachment.proposed_segment_change.tags[0].value #=> String
|
2088
|
+
# resp.connect_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
2089
|
+
# resp.connect_attachment.attachment.proposed_segment_change.segment_name #=> String
|
2090
|
+
# resp.connect_attachment.attachment.created_at #=> Time
|
2091
|
+
# resp.connect_attachment.attachment.updated_at #=> Time
|
2092
|
+
# resp.connect_attachment.transport_attachment_id #=> String
|
2093
|
+
# resp.connect_attachment.options.protocol #=> String, one of "GRE"
|
2094
|
+
#
|
2095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectAttachment AWS API Documentation
|
2096
|
+
#
|
2097
|
+
# @overload get_connect_attachment(params = {})
|
2098
|
+
# @param [Hash] params ({})
|
2099
|
+
def get_connect_attachment(params = {}, options = {})
|
2100
|
+
req = build_request(:get_connect_attachment, params)
|
2101
|
+
req.send_request(options)
|
2102
|
+
end
|
2103
|
+
|
2104
|
+
# Returns information about a core network Connect peer.
|
2105
|
+
#
|
2106
|
+
# @option params [required, String] :connect_peer_id
|
2107
|
+
# The ID of the Connect peer.
|
2108
|
+
#
|
2109
|
+
# @return [Types::GetConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2110
|
+
#
|
2111
|
+
# * {Types::GetConnectPeerResponse#connect_peer #connect_peer} => Types::ConnectPeer
|
2112
|
+
#
|
2113
|
+
# @example Request syntax with placeholder values
|
2114
|
+
#
|
2115
|
+
# resp = client.get_connect_peer({
|
2116
|
+
# connect_peer_id: "ConnectPeerId", # required
|
2117
|
+
# })
|
2118
|
+
#
|
2119
|
+
# @example Response structure
|
2120
|
+
#
|
2121
|
+
# resp.connect_peer.core_network_id #=> String
|
2122
|
+
# resp.connect_peer.connect_attachment_id #=> String
|
2123
|
+
# resp.connect_peer.connect_peer_id #=> String
|
2124
|
+
# resp.connect_peer.edge_location #=> String
|
2125
|
+
# resp.connect_peer.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
|
2126
|
+
# resp.connect_peer.created_at #=> Time
|
2127
|
+
# resp.connect_peer.configuration.core_network_address #=> String
|
2128
|
+
# resp.connect_peer.configuration.peer_address #=> String
|
2129
|
+
# resp.connect_peer.configuration.inside_cidr_blocks #=> Array
|
2130
|
+
# resp.connect_peer.configuration.inside_cidr_blocks[0] #=> String
|
2131
|
+
# resp.connect_peer.configuration.protocol #=> String, one of "GRE"
|
2132
|
+
# resp.connect_peer.configuration.bgp_configurations #=> Array
|
2133
|
+
# resp.connect_peer.configuration.bgp_configurations[0].core_network_asn #=> Integer
|
2134
|
+
# resp.connect_peer.configuration.bgp_configurations[0].peer_asn #=> Integer
|
2135
|
+
# resp.connect_peer.configuration.bgp_configurations[0].core_network_address #=> String
|
2136
|
+
# resp.connect_peer.configuration.bgp_configurations[0].peer_address #=> String
|
2137
|
+
# resp.connect_peer.tags #=> Array
|
2138
|
+
# resp.connect_peer.tags[0].key #=> String
|
2139
|
+
# resp.connect_peer.tags[0].value #=> String
|
2140
|
+
#
|
2141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectPeer AWS API Documentation
|
2142
|
+
#
|
2143
|
+
# @overload get_connect_peer(params = {})
|
2144
|
+
# @param [Hash] params ({})
|
2145
|
+
def get_connect_peer(params = {}, options = {})
|
2146
|
+
req = build_request(:get_connect_peer, params)
|
2147
|
+
req.send_request(options)
|
2148
|
+
end
|
2149
|
+
|
2150
|
+
# Returns information about a core network Connect peer associations.
|
2151
|
+
#
|
2152
|
+
# @option params [required, String] :global_network_id
|
2153
|
+
# The ID of the global network.
|
2154
|
+
#
|
2155
|
+
# @option params [Array<String>] :connect_peer_ids
|
2156
|
+
# The IDs of the Connect peers.
|
2157
|
+
#
|
2158
|
+
# @option params [Integer] :max_results
|
2159
|
+
# The maximum number of results to return.
|
2160
|
+
#
|
2161
|
+
# @option params [String] :next_token
|
2162
|
+
# The token for the next page of results.
|
2163
|
+
#
|
2164
|
+
# @return [Types::GetConnectPeerAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2165
|
+
#
|
2166
|
+
# * {Types::GetConnectPeerAssociationsResponse#connect_peer_associations #connect_peer_associations} => Array<Types::ConnectPeerAssociation>
|
2167
|
+
# * {Types::GetConnectPeerAssociationsResponse#next_token #next_token} => String
|
2168
|
+
#
|
2169
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2170
|
+
#
|
2171
|
+
# @example Request syntax with placeholder values
|
2172
|
+
#
|
2173
|
+
# resp = client.get_connect_peer_associations({
|
2174
|
+
# global_network_id: "GlobalNetworkId", # required
|
2175
|
+
# connect_peer_ids: ["ConnectPeerId"],
|
2176
|
+
# max_results: 1,
|
2177
|
+
# next_token: "NextToken",
|
2178
|
+
# })
|
2179
|
+
#
|
2180
|
+
# @example Response structure
|
2181
|
+
#
|
2182
|
+
# resp.connect_peer_associations #=> Array
|
2183
|
+
# resp.connect_peer_associations[0].connect_peer_id #=> String
|
2184
|
+
# resp.connect_peer_associations[0].global_network_id #=> String
|
2185
|
+
# resp.connect_peer_associations[0].device_id #=> String
|
2186
|
+
# resp.connect_peer_associations[0].link_id #=> String
|
2187
|
+
# resp.connect_peer_associations[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
|
2188
|
+
# resp.next_token #=> String
|
2189
|
+
#
|
2190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectPeerAssociations AWS API Documentation
|
2191
|
+
#
|
2192
|
+
# @overload get_connect_peer_associations(params = {})
|
2193
|
+
# @param [Hash] params ({})
|
2194
|
+
def get_connect_peer_associations(params = {}, options = {})
|
2195
|
+
req = build_request(:get_connect_peer_associations, params)
|
2196
|
+
req.send_request(options)
|
2197
|
+
end
|
2198
|
+
|
1296
2199
|
# Gets information about one or more of your connections in a global
|
1297
2200
|
# network.
|
1298
2201
|
#
|
@@ -1321,11 +2224,11 @@ module Aws::NetworkManager
|
|
1321
2224
|
# @example Request syntax with placeholder values
|
1322
2225
|
#
|
1323
2226
|
# resp = client.get_connections({
|
1324
|
-
# global_network_id: "
|
1325
|
-
# connection_ids: ["
|
1326
|
-
# device_id: "
|
2227
|
+
# global_network_id: "GlobalNetworkId", # required
|
2228
|
+
# connection_ids: ["ConnectionId"],
|
2229
|
+
# device_id: "DeviceId",
|
1327
2230
|
# max_results: 1,
|
1328
|
-
# next_token: "
|
2231
|
+
# next_token: "NextToken",
|
1329
2232
|
# })
|
1330
2233
|
#
|
1331
2234
|
# @example Response structure
|
@@ -1355,6 +2258,169 @@ module Aws::NetworkManager
|
|
1355
2258
|
req.send_request(options)
|
1356
2259
|
end
|
1357
2260
|
|
2261
|
+
# Returns information about a core network. By default it returns the
|
2262
|
+
# LIVE policy.
|
2263
|
+
#
|
2264
|
+
# @option params [required, String] :core_network_id
|
2265
|
+
# The ID of a core network.
|
2266
|
+
#
|
2267
|
+
# @return [Types::GetCoreNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2268
|
+
#
|
2269
|
+
# * {Types::GetCoreNetworkResponse#core_network #core_network} => Types::CoreNetwork
|
2270
|
+
#
|
2271
|
+
# @example Request syntax with placeholder values
|
2272
|
+
#
|
2273
|
+
# resp = client.get_core_network({
|
2274
|
+
# core_network_id: "CoreNetworkId", # required
|
2275
|
+
# })
|
2276
|
+
#
|
2277
|
+
# @example Response structure
|
2278
|
+
#
|
2279
|
+
# resp.core_network.global_network_id #=> String
|
2280
|
+
# resp.core_network.core_network_id #=> String
|
2281
|
+
# resp.core_network.core_network_arn #=> String
|
2282
|
+
# resp.core_network.description #=> String
|
2283
|
+
# resp.core_network.created_at #=> Time
|
2284
|
+
# resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
|
2285
|
+
# resp.core_network.segments #=> Array
|
2286
|
+
# resp.core_network.segments[0].name #=> String
|
2287
|
+
# resp.core_network.segments[0].edge_locations #=> Array
|
2288
|
+
# resp.core_network.segments[0].edge_locations[0] #=> String
|
2289
|
+
# resp.core_network.segments[0].shared_segments #=> Array
|
2290
|
+
# resp.core_network.segments[0].shared_segments[0] #=> String
|
2291
|
+
# resp.core_network.edges #=> Array
|
2292
|
+
# resp.core_network.edges[0].edge_location #=> String
|
2293
|
+
# resp.core_network.edges[0].asn #=> Integer
|
2294
|
+
# resp.core_network.edges[0].inside_cidr_blocks #=> Array
|
2295
|
+
# resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
|
2296
|
+
# resp.core_network.tags #=> Array
|
2297
|
+
# resp.core_network.tags[0].key #=> String
|
2298
|
+
# resp.core_network.tags[0].value #=> String
|
2299
|
+
#
|
2300
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetwork AWS API Documentation
|
2301
|
+
#
|
2302
|
+
# @overload get_core_network(params = {})
|
2303
|
+
# @param [Hash] params ({})
|
2304
|
+
def get_core_network(params = {}, options = {})
|
2305
|
+
req = build_request(:get_core_network, params)
|
2306
|
+
req.send_request(options)
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
# Returns a change set between the LIVE core network policy and a
|
2310
|
+
# submitted policy.
|
2311
|
+
#
|
2312
|
+
# @option params [required, String] :core_network_id
|
2313
|
+
# The ID of a core network.
|
2314
|
+
#
|
2315
|
+
# @option params [required, Integer] :policy_version_id
|
2316
|
+
# The ID of the policy version.
|
2317
|
+
#
|
2318
|
+
# @option params [Integer] :max_results
|
2319
|
+
# The maximum number of results to return.
|
2320
|
+
#
|
2321
|
+
# @option params [String] :next_token
|
2322
|
+
# The token for the next page of results.
|
2323
|
+
#
|
2324
|
+
# @return [Types::GetCoreNetworkChangeSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2325
|
+
#
|
2326
|
+
# * {Types::GetCoreNetworkChangeSetResponse#core_network_changes #core_network_changes} => Array<Types::CoreNetworkChange>
|
2327
|
+
# * {Types::GetCoreNetworkChangeSetResponse#next_token #next_token} => String
|
2328
|
+
#
|
2329
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2330
|
+
#
|
2331
|
+
# @example Request syntax with placeholder values
|
2332
|
+
#
|
2333
|
+
# resp = client.get_core_network_change_set({
|
2334
|
+
# core_network_id: "CoreNetworkId", # required
|
2335
|
+
# policy_version_id: 1, # required
|
2336
|
+
# max_results: 1,
|
2337
|
+
# next_token: "NextToken",
|
2338
|
+
# })
|
2339
|
+
#
|
2340
|
+
# @example Response structure
|
2341
|
+
#
|
2342
|
+
# resp.core_network_changes #=> Array
|
2343
|
+
# resp.core_network_changes[0].type #=> String, one of "CORE_NETWORK_SEGMENT", "CORE_NETWORK_EDGE", "ATTACHMENT_MAPPING", "ATTACHMENT_ROUTE_PROPAGATION", "ATTACHMENT_ROUTE_STATIC"
|
2344
|
+
# resp.core_network_changes[0].action #=> String, one of "ADD", "MODIFY", "REMOVE"
|
2345
|
+
# resp.core_network_changes[0].identifier #=> String
|
2346
|
+
# resp.core_network_changes[0].previous_values.segment_name #=> String
|
2347
|
+
# resp.core_network_changes[0].previous_values.edge_locations #=> Array
|
2348
|
+
# resp.core_network_changes[0].previous_values.edge_locations[0] #=> String
|
2349
|
+
# resp.core_network_changes[0].previous_values.asn #=> Integer
|
2350
|
+
# resp.core_network_changes[0].previous_values.cidr #=> String
|
2351
|
+
# resp.core_network_changes[0].previous_values.destination_identifier #=> String
|
2352
|
+
# resp.core_network_changes[0].previous_values.inside_cidr_blocks #=> Array
|
2353
|
+
# resp.core_network_changes[0].previous_values.inside_cidr_blocks[0] #=> String
|
2354
|
+
# resp.core_network_changes[0].previous_values.shared_segments #=> Array
|
2355
|
+
# resp.core_network_changes[0].previous_values.shared_segments[0] #=> String
|
2356
|
+
# resp.core_network_changes[0].new_values.segment_name #=> String
|
2357
|
+
# resp.core_network_changes[0].new_values.edge_locations #=> Array
|
2358
|
+
# resp.core_network_changes[0].new_values.edge_locations[0] #=> String
|
2359
|
+
# resp.core_network_changes[0].new_values.asn #=> Integer
|
2360
|
+
# resp.core_network_changes[0].new_values.cidr #=> String
|
2361
|
+
# resp.core_network_changes[0].new_values.destination_identifier #=> String
|
2362
|
+
# resp.core_network_changes[0].new_values.inside_cidr_blocks #=> Array
|
2363
|
+
# resp.core_network_changes[0].new_values.inside_cidr_blocks[0] #=> String
|
2364
|
+
# resp.core_network_changes[0].new_values.shared_segments #=> Array
|
2365
|
+
# resp.core_network_changes[0].new_values.shared_segments[0] #=> String
|
2366
|
+
# resp.next_token #=> String
|
2367
|
+
#
|
2368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkChangeSet AWS API Documentation
|
2369
|
+
#
|
2370
|
+
# @overload get_core_network_change_set(params = {})
|
2371
|
+
# @param [Hash] params ({})
|
2372
|
+
def get_core_network_change_set(params = {}, options = {})
|
2373
|
+
req = build_request(:get_core_network_change_set, params)
|
2374
|
+
req.send_request(options)
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
# Gets details about a core network policy. You can get details about
|
2378
|
+
# your current live policy or any previous policy version.
|
2379
|
+
#
|
2380
|
+
# @option params [required, String] :core_network_id
|
2381
|
+
# The ID of a core network.
|
2382
|
+
#
|
2383
|
+
# @option params [Integer] :policy_version_id
|
2384
|
+
# The ID of a core network policy version.
|
2385
|
+
#
|
2386
|
+
# @option params [String] :alias
|
2387
|
+
# The alias of a core network policy
|
2388
|
+
#
|
2389
|
+
# @return [Types::GetCoreNetworkPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2390
|
+
#
|
2391
|
+
# * {Types::GetCoreNetworkPolicyResponse#core_network_policy #core_network_policy} => Types::CoreNetworkPolicy
|
2392
|
+
#
|
2393
|
+
# @example Request syntax with placeholder values
|
2394
|
+
#
|
2395
|
+
# resp = client.get_core_network_policy({
|
2396
|
+
# core_network_id: "CoreNetworkId", # required
|
2397
|
+
# policy_version_id: 1,
|
2398
|
+
# alias: "LIVE", # accepts LIVE, LATEST
|
2399
|
+
# })
|
2400
|
+
#
|
2401
|
+
# @example Response structure
|
2402
|
+
#
|
2403
|
+
# resp.core_network_policy.core_network_id #=> String
|
2404
|
+
# resp.core_network_policy.policy_version_id #=> Integer
|
2405
|
+
# resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
|
2406
|
+
# resp.core_network_policy.description #=> String
|
2407
|
+
# resp.core_network_policy.created_at #=> Time
|
2408
|
+
# resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
|
2409
|
+
# resp.core_network_policy.policy_errors #=> Array
|
2410
|
+
# resp.core_network_policy.policy_errors[0].error_code #=> String
|
2411
|
+
# resp.core_network_policy.policy_errors[0].message #=> String
|
2412
|
+
# resp.core_network_policy.policy_errors[0].path #=> String
|
2413
|
+
# resp.core_network_policy.policy_document #=> String
|
2414
|
+
#
|
2415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkPolicy AWS API Documentation
|
2416
|
+
#
|
2417
|
+
# @overload get_core_network_policy(params = {})
|
2418
|
+
# @param [Hash] params ({})
|
2419
|
+
def get_core_network_policy(params = {}, options = {})
|
2420
|
+
req = build_request(:get_core_network_policy, params)
|
2421
|
+
req.send_request(options)
|
2422
|
+
end
|
2423
|
+
|
1358
2424
|
# Gets the association information for customer gateways that are
|
1359
2425
|
# associated with devices and links in your global network.
|
1360
2426
|
#
|
@@ -1381,10 +2447,10 @@ module Aws::NetworkManager
|
|
1381
2447
|
# @example Request syntax with placeholder values
|
1382
2448
|
#
|
1383
2449
|
# resp = client.get_customer_gateway_associations({
|
1384
|
-
# global_network_id: "
|
1385
|
-
# customer_gateway_arns: ["
|
2450
|
+
# global_network_id: "GlobalNetworkId", # required
|
2451
|
+
# customer_gateway_arns: ["CustomerGatewayArn"],
|
1386
2452
|
# max_results: 1,
|
1387
|
-
# next_token: "
|
2453
|
+
# next_token: "NextToken",
|
1388
2454
|
# })
|
1389
2455
|
#
|
1390
2456
|
# @example Response structure
|
@@ -1434,11 +2500,11 @@ module Aws::NetworkManager
|
|
1434
2500
|
# @example Request syntax with placeholder values
|
1435
2501
|
#
|
1436
2502
|
# resp = client.get_devices({
|
1437
|
-
# global_network_id: "
|
1438
|
-
# device_ids: ["
|
1439
|
-
# site_id: "
|
2503
|
+
# global_network_id: "GlobalNetworkId", # required
|
2504
|
+
# device_ids: ["DeviceId"],
|
2505
|
+
# site_id: "SiteId",
|
1440
2506
|
# max_results: 1,
|
1441
|
-
# next_token: "
|
2507
|
+
# next_token: "NextToken",
|
1442
2508
|
# })
|
1443
2509
|
#
|
1444
2510
|
# @example Response structure
|
@@ -1502,11 +2568,11 @@ module Aws::NetworkManager
|
|
1502
2568
|
# @example Request syntax with placeholder values
|
1503
2569
|
#
|
1504
2570
|
# resp = client.get_link_associations({
|
1505
|
-
# global_network_id: "
|
1506
|
-
# device_id: "
|
1507
|
-
# link_id: "
|
2571
|
+
# global_network_id: "GlobalNetworkId", # required
|
2572
|
+
# device_id: "DeviceId",
|
2573
|
+
# link_id: "LinkId",
|
1508
2574
|
# max_results: 1,
|
1509
|
-
# next_token: "
|
2575
|
+
# next_token: "NextToken",
|
1510
2576
|
# })
|
1511
2577
|
#
|
1512
2578
|
# @example Response structure
|
@@ -1565,13 +2631,13 @@ module Aws::NetworkManager
|
|
1565
2631
|
# @example Request syntax with placeholder values
|
1566
2632
|
#
|
1567
2633
|
# resp = client.get_links({
|
1568
|
-
# global_network_id: "
|
1569
|
-
# link_ids: ["
|
1570
|
-
# site_id: "
|
1571
|
-
# type: "
|
1572
|
-
# provider: "
|
2634
|
+
# global_network_id: "GlobalNetworkId", # required
|
2635
|
+
# link_ids: ["LinkId"],
|
2636
|
+
# site_id: "SiteId",
|
2637
|
+
# type: "ConstrainedString",
|
2638
|
+
# provider: "ConstrainedString",
|
1573
2639
|
# max_results: 1,
|
1574
|
-
# next_token: "
|
2640
|
+
# next_token: "NextToken",
|
1575
2641
|
# })
|
1576
2642
|
#
|
1577
2643
|
# @example Response structure
|
@@ -1659,10 +2725,10 @@ module Aws::NetworkManager
|
|
1659
2725
|
# @example Request syntax with placeholder values
|
1660
2726
|
#
|
1661
2727
|
# resp = client.get_network_resource_counts({
|
1662
|
-
# global_network_id: "
|
1663
|
-
# resource_type: "
|
2728
|
+
# global_network_id: "GlobalNetworkId", # required
|
2729
|
+
# resource_type: "ConstrainedString",
|
1664
2730
|
# max_results: 1,
|
1665
|
-
# next_token: "
|
2731
|
+
# next_token: "NextToken",
|
1666
2732
|
# })
|
1667
2733
|
#
|
1668
2734
|
# @example Response structure
|
@@ -1687,6 +2753,9 @@ module Aws::NetworkManager
|
|
1687
2753
|
# @option params [required, String] :global_network_id
|
1688
2754
|
# The ID of the global network.
|
1689
2755
|
#
|
2756
|
+
# @option params [String] :core_network_id
|
2757
|
+
# The ID of a core network.
|
2758
|
+
#
|
1690
2759
|
# @option params [String] :registered_gateway_arn
|
1691
2760
|
# The ARN of the registered gateway.
|
1692
2761
|
#
|
@@ -1750,14 +2819,15 @@ module Aws::NetworkManager
|
|
1750
2819
|
# @example Request syntax with placeholder values
|
1751
2820
|
#
|
1752
2821
|
# resp = client.get_network_resource_relationships({
|
1753
|
-
# global_network_id: "
|
1754
|
-
#
|
1755
|
-
#
|
1756
|
-
#
|
1757
|
-
#
|
1758
|
-
#
|
2822
|
+
# global_network_id: "GlobalNetworkId", # required
|
2823
|
+
# core_network_id: "CoreNetworkId",
|
2824
|
+
# registered_gateway_arn: "ResourceArn",
|
2825
|
+
# aws_region: "ExternalRegionCode",
|
2826
|
+
# account_id: "AWSAccountId",
|
2827
|
+
# resource_type: "ConstrainedString",
|
2828
|
+
# resource_arn: "ResourceArn",
|
1759
2829
|
# max_results: 1,
|
1760
|
-
# next_token: "
|
2830
|
+
# next_token: "NextToken",
|
1761
2831
|
# })
|
1762
2832
|
#
|
1763
2833
|
# @example Response structure
|
@@ -1785,6 +2855,9 @@ module Aws::NetworkManager
|
|
1785
2855
|
# @option params [required, String] :global_network_id
|
1786
2856
|
# The ID of the global network.
|
1787
2857
|
#
|
2858
|
+
# @option params [String] :core_network_id
|
2859
|
+
# The ID of a core network.
|
2860
|
+
#
|
1788
2861
|
# @option params [String] :registered_gateway_arn
|
1789
2862
|
# The ARN of the gateway.
|
1790
2863
|
#
|
@@ -1867,20 +2940,22 @@ module Aws::NetworkManager
|
|
1867
2940
|
# @example Request syntax with placeholder values
|
1868
2941
|
#
|
1869
2942
|
# resp = client.get_network_resources({
|
1870
|
-
# global_network_id: "
|
1871
|
-
#
|
1872
|
-
#
|
1873
|
-
#
|
1874
|
-
#
|
1875
|
-
#
|
2943
|
+
# global_network_id: "GlobalNetworkId", # required
|
2944
|
+
# core_network_id: "CoreNetworkId",
|
2945
|
+
# registered_gateway_arn: "ResourceArn",
|
2946
|
+
# aws_region: "ExternalRegionCode",
|
2947
|
+
# account_id: "AWSAccountId",
|
2948
|
+
# resource_type: "ConstrainedString",
|
2949
|
+
# resource_arn: "ResourceArn",
|
1876
2950
|
# max_results: 1,
|
1877
|
-
# next_token: "
|
2951
|
+
# next_token: "NextToken",
|
1878
2952
|
# })
|
1879
2953
|
#
|
1880
2954
|
# @example Response structure
|
1881
2955
|
#
|
1882
2956
|
# resp.network_resources #=> Array
|
1883
2957
|
# resp.network_resources[0].registered_gateway_arn #=> String
|
2958
|
+
# resp.network_resources[0].core_network_id #=> String
|
1884
2959
|
# resp.network_resources[0].aws_region #=> String
|
1885
2960
|
# resp.network_resources[0].account_id #=> String
|
1886
2961
|
# resp.network_resources[0].resource_type #=> String
|
@@ -1892,7 +2967,7 @@ module Aws::NetworkManager
|
|
1892
2967
|
# resp.network_resources[0].tags[0].key #=> String
|
1893
2968
|
# resp.network_resources[0].tags[0].value #=> String
|
1894
2969
|
# resp.network_resources[0].metadata #=> Hash
|
1895
|
-
# resp.network_resources[0].metadata["
|
2970
|
+
# resp.network_resources[0].metadata["ConstrainedString"] #=> String
|
1896
2971
|
# resp.next_token #=> String
|
1897
2972
|
#
|
1898
2973
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResources AWS API Documentation
|
@@ -1942,6 +3017,7 @@ module Aws::NetworkManager
|
|
1942
3017
|
# @return [Types::GetNetworkRoutesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1943
3018
|
#
|
1944
3019
|
# * {Types::GetNetworkRoutesResponse#route_table_arn #route_table_arn} => String
|
3020
|
+
# * {Types::GetNetworkRoutesResponse#core_network_segment_edge #core_network_segment_edge} => Types::CoreNetworkSegmentEdgeIdentifier
|
1945
3021
|
# * {Types::GetNetworkRoutesResponse#route_table_type #route_table_type} => String
|
1946
3022
|
# * {Types::GetNetworkRoutesResponse#route_table_timestamp #route_table_timestamp} => Time
|
1947
3023
|
# * {Types::GetNetworkRoutesResponse#network_routes #network_routes} => Array<Types::NetworkRoute>
|
@@ -1949,15 +3025,20 @@ module Aws::NetworkManager
|
|
1949
3025
|
# @example Request syntax with placeholder values
|
1950
3026
|
#
|
1951
3027
|
# resp = client.get_network_routes({
|
1952
|
-
# global_network_id: "
|
3028
|
+
# global_network_id: "GlobalNetworkId", # required
|
1953
3029
|
# route_table_identifier: { # required
|
1954
|
-
# transit_gateway_route_table_arn: "
|
3030
|
+
# transit_gateway_route_table_arn: "TransitGatewayRouteTableArn",
|
3031
|
+
# core_network_segment_edge: {
|
3032
|
+
# core_network_id: "CoreNetworkId",
|
3033
|
+
# segment_name: "ConstrainedString",
|
3034
|
+
# edge_location: "ExternalRegionCode",
|
3035
|
+
# },
|
1955
3036
|
# },
|
1956
|
-
# exact_cidr_matches: ["
|
1957
|
-
# longest_prefix_matches: ["
|
1958
|
-
# subnet_of_matches: ["
|
1959
|
-
# supernet_of_matches: ["
|
1960
|
-
# prefix_list_ids: ["
|
3037
|
+
# exact_cidr_matches: ["ConstrainedString"],
|
3038
|
+
# longest_prefix_matches: ["ConstrainedString"],
|
3039
|
+
# subnet_of_matches: ["ConstrainedString"],
|
3040
|
+
# supernet_of_matches: ["ConstrainedString"],
|
3041
|
+
# prefix_list_ids: ["ConstrainedString"],
|
1961
3042
|
# states: ["ACTIVE"], # accepts ACTIVE, BLACKHOLE
|
1962
3043
|
# types: ["PROPAGATED"], # accepts PROPAGATED, STATIC
|
1963
3044
|
# destination_filters: {
|
@@ -1968,12 +3049,18 @@ module Aws::NetworkManager
|
|
1968
3049
|
# @example Response structure
|
1969
3050
|
#
|
1970
3051
|
# resp.route_table_arn #=> String
|
1971
|
-
# resp.
|
3052
|
+
# resp.core_network_segment_edge.core_network_id #=> String
|
3053
|
+
# resp.core_network_segment_edge.segment_name #=> String
|
3054
|
+
# resp.core_network_segment_edge.edge_location #=> String
|
3055
|
+
# resp.route_table_type #=> String, one of "TRANSIT_GATEWAY_ROUTE_TABLE", "CORE_NETWORK_SEGMENT"
|
1972
3056
|
# resp.route_table_timestamp #=> Time
|
1973
3057
|
# resp.network_routes #=> Array
|
1974
3058
|
# resp.network_routes[0].destination_cidr_block #=> String
|
1975
3059
|
# resp.network_routes[0].destinations #=> Array
|
3060
|
+
# resp.network_routes[0].destinations[0].core_network_attachment_id #=> String
|
1976
3061
|
# resp.network_routes[0].destinations[0].transit_gateway_attachment_id #=> String
|
3062
|
+
# resp.network_routes[0].destinations[0].segment_name #=> String
|
3063
|
+
# resp.network_routes[0].destinations[0].edge_location #=> String
|
1977
3064
|
# resp.network_routes[0].destinations[0].resource_type #=> String
|
1978
3065
|
# resp.network_routes[0].destinations[0].resource_id #=> String
|
1979
3066
|
# resp.network_routes[0].prefix_list_id #=> String
|
@@ -1994,6 +3081,9 @@ module Aws::NetworkManager
|
|
1994
3081
|
# @option params [required, String] :global_network_id
|
1995
3082
|
# The ID of the global network.
|
1996
3083
|
#
|
3084
|
+
# @option params [String] :core_network_id
|
3085
|
+
# The ID of a core network.
|
3086
|
+
#
|
1997
3087
|
# @option params [String] :registered_gateway_arn
|
1998
3088
|
# The ARN of the gateway.
|
1999
3089
|
#
|
@@ -2057,20 +3147,22 @@ module Aws::NetworkManager
|
|
2057
3147
|
# @example Request syntax with placeholder values
|
2058
3148
|
#
|
2059
3149
|
# resp = client.get_network_telemetry({
|
2060
|
-
# global_network_id: "
|
2061
|
-
#
|
2062
|
-
#
|
2063
|
-
#
|
2064
|
-
#
|
2065
|
-
#
|
3150
|
+
# global_network_id: "GlobalNetworkId", # required
|
3151
|
+
# core_network_id: "CoreNetworkId",
|
3152
|
+
# registered_gateway_arn: "ResourceArn",
|
3153
|
+
# aws_region: "ExternalRegionCode",
|
3154
|
+
# account_id: "AWSAccountId",
|
3155
|
+
# resource_type: "ConstrainedString",
|
3156
|
+
# resource_arn: "ResourceArn",
|
2066
3157
|
# max_results: 1,
|
2067
|
-
# next_token: "
|
3158
|
+
# next_token: "NextToken",
|
2068
3159
|
# })
|
2069
3160
|
#
|
2070
3161
|
# @example Response structure
|
2071
3162
|
#
|
2072
3163
|
# resp.network_telemetry #=> Array
|
2073
3164
|
# resp.network_telemetry[0].registered_gateway_arn #=> String
|
3165
|
+
# resp.network_telemetry[0].core_network_id #=> String
|
2074
3166
|
# resp.network_telemetry[0].aws_region #=> String
|
2075
3167
|
# resp.network_telemetry[0].account_id #=> String
|
2076
3168
|
# resp.network_telemetry[0].resource_type #=> String
|
@@ -2091,6 +3183,34 @@ module Aws::NetworkManager
|
|
2091
3183
|
req.send_request(options)
|
2092
3184
|
end
|
2093
3185
|
|
3186
|
+
# Returns information about a resource policy.
|
3187
|
+
#
|
3188
|
+
# @option params [required, String] :resource_arn
|
3189
|
+
# The ARN of the resource.
|
3190
|
+
#
|
3191
|
+
# @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3192
|
+
#
|
3193
|
+
# * {Types::GetResourcePolicyResponse#policy_document #policy_document} => String
|
3194
|
+
#
|
3195
|
+
# @example Request syntax with placeholder values
|
3196
|
+
#
|
3197
|
+
# resp = client.get_resource_policy({
|
3198
|
+
# resource_arn: "ResourceArn", # required
|
3199
|
+
# })
|
3200
|
+
#
|
3201
|
+
# @example Response structure
|
3202
|
+
#
|
3203
|
+
# resp.policy_document #=> String
|
3204
|
+
#
|
3205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetResourcePolicy AWS API Documentation
|
3206
|
+
#
|
3207
|
+
# @overload get_resource_policy(params = {})
|
3208
|
+
# @param [Hash] params ({})
|
3209
|
+
def get_resource_policy(params = {}, options = {})
|
3210
|
+
req = build_request(:get_resource_policy, params)
|
3211
|
+
req.send_request(options)
|
3212
|
+
end
|
3213
|
+
|
2094
3214
|
# Gets information about the specified route analysis.
|
2095
3215
|
#
|
2096
3216
|
# @option params [required, String] :global_network_id
|
@@ -2106,8 +3226,8 @@ module Aws::NetworkManager
|
|
2106
3226
|
# @example Request syntax with placeholder values
|
2107
3227
|
#
|
2108
3228
|
# resp = client.get_route_analysis({
|
2109
|
-
# global_network_id: "
|
2110
|
-
# route_analysis_id: "
|
3229
|
+
# global_network_id: "GlobalNetworkId", # required
|
3230
|
+
# route_analysis_id: "ConstrainedString", # required
|
2111
3231
|
# })
|
2112
3232
|
#
|
2113
3233
|
# @example Response structure
|
@@ -2161,6 +3281,54 @@ module Aws::NetworkManager
|
|
2161
3281
|
req.send_request(options)
|
2162
3282
|
end
|
2163
3283
|
|
3284
|
+
# Returns information about a site-to-site VPN attachment.
|
3285
|
+
#
|
3286
|
+
# @option params [required, String] :attachment_id
|
3287
|
+
# The ID of the attachment.
|
3288
|
+
#
|
3289
|
+
# @return [Types::GetSiteToSiteVpnAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3290
|
+
#
|
3291
|
+
# * {Types::GetSiteToSiteVpnAttachmentResponse#site_to_site_vpn_attachment #site_to_site_vpn_attachment} => Types::SiteToSiteVpnAttachment
|
3292
|
+
#
|
3293
|
+
# @example Request syntax with placeholder values
|
3294
|
+
#
|
3295
|
+
# resp = client.get_site_to_site_vpn_attachment({
|
3296
|
+
# attachment_id: "AttachmentId", # required
|
3297
|
+
# })
|
3298
|
+
#
|
3299
|
+
# @example Response structure
|
3300
|
+
#
|
3301
|
+
# resp.site_to_site_vpn_attachment.attachment.core_network_id #=> String
|
3302
|
+
# resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
|
3303
|
+
# resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
|
3304
|
+
# resp.site_to_site_vpn_attachment.attachment.owner_account_id #=> String
|
3305
|
+
# resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
3306
|
+
# resp.site_to_site_vpn_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
3307
|
+
# resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
|
3308
|
+
# resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
|
3309
|
+
# resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
|
3310
|
+
# resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
|
3311
|
+
# resp.site_to_site_vpn_attachment.attachment.tags #=> Array
|
3312
|
+
# resp.site_to_site_vpn_attachment.attachment.tags[0].key #=> String
|
3313
|
+
# resp.site_to_site_vpn_attachment.attachment.tags[0].value #=> String
|
3314
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags #=> Array
|
3315
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].key #=> String
|
3316
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].value #=> String
|
3317
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
3318
|
+
# resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.segment_name #=> String
|
3319
|
+
# resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
|
3320
|
+
# resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
|
3321
|
+
# resp.site_to_site_vpn_attachment.vpn_connection_arn #=> String
|
3322
|
+
#
|
3323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSiteToSiteVpnAttachment AWS API Documentation
|
3324
|
+
#
|
3325
|
+
# @overload get_site_to_site_vpn_attachment(params = {})
|
3326
|
+
# @param [Hash] params ({})
|
3327
|
+
def get_site_to_site_vpn_attachment(params = {}, options = {})
|
3328
|
+
req = build_request(:get_site_to_site_vpn_attachment, params)
|
3329
|
+
req.send_request(options)
|
3330
|
+
end
|
3331
|
+
|
2164
3332
|
# Gets information about one or more of your sites in a global network.
|
2165
3333
|
#
|
2166
3334
|
# @option params [required, String] :global_network_id
|
@@ -2185,10 +3353,10 @@ module Aws::NetworkManager
|
|
2185
3353
|
# @example Request syntax with placeholder values
|
2186
3354
|
#
|
2187
3355
|
# resp = client.get_sites({
|
2188
|
-
# global_network_id: "
|
2189
|
-
# site_ids: ["
|
3356
|
+
# global_network_id: "GlobalNetworkId", # required
|
3357
|
+
# site_ids: ["SiteId"],
|
2190
3358
|
# max_results: 1,
|
2191
|
-
# next_token: "
|
3359
|
+
# next_token: "NextToken",
|
2192
3360
|
# })
|
2193
3361
|
#
|
2194
3362
|
# @example Response structure
|
@@ -2242,10 +3410,10 @@ module Aws::NetworkManager
|
|
2242
3410
|
# @example Request syntax with placeholder values
|
2243
3411
|
#
|
2244
3412
|
# resp = client.get_transit_gateway_connect_peer_associations({
|
2245
|
-
# global_network_id: "
|
2246
|
-
# transit_gateway_connect_peer_arns: ["
|
3413
|
+
# global_network_id: "GlobalNetworkId", # required
|
3414
|
+
# transit_gateway_connect_peer_arns: ["TransitGatewayConnectPeerArn"],
|
2247
3415
|
# max_results: 1,
|
2248
|
-
# next_token: "
|
3416
|
+
# next_token: "NextToken",
|
2249
3417
|
# })
|
2250
3418
|
#
|
2251
3419
|
# @example Response structure
|
@@ -2293,10 +3461,10 @@ module Aws::NetworkManager
|
|
2293
3461
|
# @example Request syntax with placeholder values
|
2294
3462
|
#
|
2295
3463
|
# resp = client.get_transit_gateway_registrations({
|
2296
|
-
# global_network_id: "
|
2297
|
-
# transit_gateway_arns: ["
|
3464
|
+
# global_network_id: "GlobalNetworkId", # required
|
3465
|
+
# transit_gateway_arns: ["TransitGatewayArn"],
|
2298
3466
|
# max_results: 1,
|
2299
|
-
# next_token: "
|
3467
|
+
# next_token: "NextToken",
|
2300
3468
|
# })
|
2301
3469
|
#
|
2302
3470
|
# @example Response structure
|
@@ -2317,6 +3485,272 @@ module Aws::NetworkManager
|
|
2317
3485
|
req.send_request(options)
|
2318
3486
|
end
|
2319
3487
|
|
3488
|
+
# Returns information about a VPC attachment.
|
3489
|
+
#
|
3490
|
+
# @option params [required, String] :attachment_id
|
3491
|
+
# The ID of the attachment.
|
3492
|
+
#
|
3493
|
+
# @return [Types::GetVpcAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3494
|
+
#
|
3495
|
+
# * {Types::GetVpcAttachmentResponse#vpc_attachment #vpc_attachment} => Types::VpcAttachment
|
3496
|
+
#
|
3497
|
+
# @example Request syntax with placeholder values
|
3498
|
+
#
|
3499
|
+
# resp = client.get_vpc_attachment({
|
3500
|
+
# attachment_id: "AttachmentId", # required
|
3501
|
+
# })
|
3502
|
+
#
|
3503
|
+
# @example Response structure
|
3504
|
+
#
|
3505
|
+
# resp.vpc_attachment.attachment.core_network_id #=> String
|
3506
|
+
# resp.vpc_attachment.attachment.core_network_arn #=> String
|
3507
|
+
# resp.vpc_attachment.attachment.attachment_id #=> String
|
3508
|
+
# resp.vpc_attachment.attachment.owner_account_id #=> String
|
3509
|
+
# resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
3510
|
+
# resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
3511
|
+
# resp.vpc_attachment.attachment.edge_location #=> String
|
3512
|
+
# resp.vpc_attachment.attachment.resource_arn #=> String
|
3513
|
+
# resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
|
3514
|
+
# resp.vpc_attachment.attachment.segment_name #=> String
|
3515
|
+
# resp.vpc_attachment.attachment.tags #=> Array
|
3516
|
+
# resp.vpc_attachment.attachment.tags[0].key #=> String
|
3517
|
+
# resp.vpc_attachment.attachment.tags[0].value #=> String
|
3518
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.tags #=> Array
|
3519
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.tags[0].key #=> String
|
3520
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.tags[0].value #=> String
|
3521
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
3522
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.segment_name #=> String
|
3523
|
+
# resp.vpc_attachment.attachment.created_at #=> Time
|
3524
|
+
# resp.vpc_attachment.attachment.updated_at #=> Time
|
3525
|
+
# resp.vpc_attachment.subnet_arns #=> Array
|
3526
|
+
# resp.vpc_attachment.subnet_arns[0] #=> String
|
3527
|
+
# resp.vpc_attachment.options.ipv_6_support #=> Boolean
|
3528
|
+
#
|
3529
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetVpcAttachment AWS API Documentation
|
3530
|
+
#
|
3531
|
+
# @overload get_vpc_attachment(params = {})
|
3532
|
+
# @param [Hash] params ({})
|
3533
|
+
def get_vpc_attachment(params = {}, options = {})
|
3534
|
+
req = build_request(:get_vpc_attachment, params)
|
3535
|
+
req.send_request(options)
|
3536
|
+
end
|
3537
|
+
|
3538
|
+
# Returns a list of core network attachments.
|
3539
|
+
#
|
3540
|
+
# @option params [String] :core_network_id
|
3541
|
+
# The ID of a core network.
|
3542
|
+
#
|
3543
|
+
# @option params [String] :attachment_type
|
3544
|
+
# The type of attachment.
|
3545
|
+
#
|
3546
|
+
# @option params [String] :edge_location
|
3547
|
+
# The Region where the edge is located.
|
3548
|
+
#
|
3549
|
+
# @option params [String] :state
|
3550
|
+
# The state of the attachment.
|
3551
|
+
#
|
3552
|
+
# @option params [Integer] :max_results
|
3553
|
+
# The maximum number of results to return.
|
3554
|
+
#
|
3555
|
+
# @option params [String] :next_token
|
3556
|
+
# The token for the next page of results.
|
3557
|
+
#
|
3558
|
+
# @return [Types::ListAttachmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3559
|
+
#
|
3560
|
+
# * {Types::ListAttachmentsResponse#attachments #attachments} => Array<Types::Attachment>
|
3561
|
+
# * {Types::ListAttachmentsResponse#next_token #next_token} => String
|
3562
|
+
#
|
3563
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3564
|
+
#
|
3565
|
+
# @example Request syntax with placeholder values
|
3566
|
+
#
|
3567
|
+
# resp = client.list_attachments({
|
3568
|
+
# core_network_id: "CoreNetworkId",
|
3569
|
+
# attachment_type: "CONNECT", # accepts CONNECT, SITE_TO_SITE_VPN, VPC
|
3570
|
+
# edge_location: "ExternalRegionCode",
|
3571
|
+
# state: "REJECTED", # accepts REJECTED, PENDING_ATTACHMENT_ACCEPTANCE, CREATING, FAILED, AVAILABLE, UPDATING, PENDING_NETWORK_UPDATE, PENDING_TAG_ACCEPTANCE, DELETING
|
3572
|
+
# max_results: 1,
|
3573
|
+
# next_token: "NextToken",
|
3574
|
+
# })
|
3575
|
+
#
|
3576
|
+
# @example Response structure
|
3577
|
+
#
|
3578
|
+
# resp.attachments #=> Array
|
3579
|
+
# resp.attachments[0].core_network_id #=> String
|
3580
|
+
# resp.attachments[0].core_network_arn #=> String
|
3581
|
+
# resp.attachments[0].attachment_id #=> String
|
3582
|
+
# resp.attachments[0].owner_account_id #=> String
|
3583
|
+
# resp.attachments[0].attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
3584
|
+
# resp.attachments[0].state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
3585
|
+
# resp.attachments[0].edge_location #=> String
|
3586
|
+
# resp.attachments[0].resource_arn #=> String
|
3587
|
+
# resp.attachments[0].attachment_policy_rule_number #=> Integer
|
3588
|
+
# resp.attachments[0].segment_name #=> String
|
3589
|
+
# resp.attachments[0].tags #=> Array
|
3590
|
+
# resp.attachments[0].tags[0].key #=> String
|
3591
|
+
# resp.attachments[0].tags[0].value #=> String
|
3592
|
+
# resp.attachments[0].proposed_segment_change.tags #=> Array
|
3593
|
+
# resp.attachments[0].proposed_segment_change.tags[0].key #=> String
|
3594
|
+
# resp.attachments[0].proposed_segment_change.tags[0].value #=> String
|
3595
|
+
# resp.attachments[0].proposed_segment_change.attachment_policy_rule_number #=> Integer
|
3596
|
+
# resp.attachments[0].proposed_segment_change.segment_name #=> String
|
3597
|
+
# resp.attachments[0].created_at #=> Time
|
3598
|
+
# resp.attachments[0].updated_at #=> Time
|
3599
|
+
# resp.next_token #=> String
|
3600
|
+
#
|
3601
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListAttachments AWS API Documentation
|
3602
|
+
#
|
3603
|
+
# @overload list_attachments(params = {})
|
3604
|
+
# @param [Hash] params ({})
|
3605
|
+
def list_attachments(params = {}, options = {})
|
3606
|
+
req = build_request(:list_attachments, params)
|
3607
|
+
req.send_request(options)
|
3608
|
+
end
|
3609
|
+
|
3610
|
+
# Returns a list of core network Connect peers.
|
3611
|
+
#
|
3612
|
+
# @option params [String] :core_network_id
|
3613
|
+
# The ID of a core network.
|
3614
|
+
#
|
3615
|
+
# @option params [String] :connect_attachment_id
|
3616
|
+
# The ID of the attachment.
|
3617
|
+
#
|
3618
|
+
# @option params [Integer] :max_results
|
3619
|
+
# The maximum number of results to return.
|
3620
|
+
#
|
3621
|
+
# @option params [String] :next_token
|
3622
|
+
# The token for the next page of results.
|
3623
|
+
#
|
3624
|
+
# @return [Types::ListConnectPeersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3625
|
+
#
|
3626
|
+
# * {Types::ListConnectPeersResponse#connect_peers #connect_peers} => Array<Types::ConnectPeerSummary>
|
3627
|
+
# * {Types::ListConnectPeersResponse#next_token #next_token} => String
|
3628
|
+
#
|
3629
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3630
|
+
#
|
3631
|
+
# @example Request syntax with placeholder values
|
3632
|
+
#
|
3633
|
+
# resp = client.list_connect_peers({
|
3634
|
+
# core_network_id: "CoreNetworkId",
|
3635
|
+
# connect_attachment_id: "AttachmentId",
|
3636
|
+
# max_results: 1,
|
3637
|
+
# next_token: "NextToken",
|
3638
|
+
# })
|
3639
|
+
#
|
3640
|
+
# @example Response structure
|
3641
|
+
#
|
3642
|
+
# resp.connect_peers #=> Array
|
3643
|
+
# resp.connect_peers[0].core_network_id #=> String
|
3644
|
+
# resp.connect_peers[0].connect_attachment_id #=> String
|
3645
|
+
# resp.connect_peers[0].connect_peer_id #=> String
|
3646
|
+
# resp.connect_peers[0].edge_location #=> String
|
3647
|
+
# resp.connect_peers[0].connect_peer_state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
|
3648
|
+
# resp.connect_peers[0].created_at #=> Time
|
3649
|
+
# resp.connect_peers[0].tags #=> Array
|
3650
|
+
# resp.connect_peers[0].tags[0].key #=> String
|
3651
|
+
# resp.connect_peers[0].tags[0].value #=> String
|
3652
|
+
# resp.next_token #=> String
|
3653
|
+
#
|
3654
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListConnectPeers AWS API Documentation
|
3655
|
+
#
|
3656
|
+
# @overload list_connect_peers(params = {})
|
3657
|
+
# @param [Hash] params ({})
|
3658
|
+
def list_connect_peers(params = {}, options = {})
|
3659
|
+
req = build_request(:list_connect_peers, params)
|
3660
|
+
req.send_request(options)
|
3661
|
+
end
|
3662
|
+
|
3663
|
+
# Returns a list of core network policy versions.
|
3664
|
+
#
|
3665
|
+
# @option params [required, String] :core_network_id
|
3666
|
+
# The ID of a core network.
|
3667
|
+
#
|
3668
|
+
# @option params [Integer] :max_results
|
3669
|
+
# The maximum number of results to return.
|
3670
|
+
#
|
3671
|
+
# @option params [String] :next_token
|
3672
|
+
# The token for the next page of results.
|
3673
|
+
#
|
3674
|
+
# @return [Types::ListCoreNetworkPolicyVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3675
|
+
#
|
3676
|
+
# * {Types::ListCoreNetworkPolicyVersionsResponse#core_network_policy_versions #core_network_policy_versions} => Array<Types::CoreNetworkPolicyVersion>
|
3677
|
+
# * {Types::ListCoreNetworkPolicyVersionsResponse#next_token #next_token} => String
|
3678
|
+
#
|
3679
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3680
|
+
#
|
3681
|
+
# @example Request syntax with placeholder values
|
3682
|
+
#
|
3683
|
+
# resp = client.list_core_network_policy_versions({
|
3684
|
+
# core_network_id: "CoreNetworkId", # required
|
3685
|
+
# max_results: 1,
|
3686
|
+
# next_token: "NextToken",
|
3687
|
+
# })
|
3688
|
+
#
|
3689
|
+
# @example Response structure
|
3690
|
+
#
|
3691
|
+
# resp.core_network_policy_versions #=> Array
|
3692
|
+
# resp.core_network_policy_versions[0].core_network_id #=> String
|
3693
|
+
# resp.core_network_policy_versions[0].policy_version_id #=> Integer
|
3694
|
+
# resp.core_network_policy_versions[0].alias #=> String, one of "LIVE", "LATEST"
|
3695
|
+
# resp.core_network_policy_versions[0].description #=> String
|
3696
|
+
# resp.core_network_policy_versions[0].created_at #=> Time
|
3697
|
+
# resp.core_network_policy_versions[0].change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
|
3698
|
+
# resp.next_token #=> String
|
3699
|
+
#
|
3700
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListCoreNetworkPolicyVersions AWS API Documentation
|
3701
|
+
#
|
3702
|
+
# @overload list_core_network_policy_versions(params = {})
|
3703
|
+
# @param [Hash] params ({})
|
3704
|
+
def list_core_network_policy_versions(params = {}, options = {})
|
3705
|
+
req = build_request(:list_core_network_policy_versions, params)
|
3706
|
+
req.send_request(options)
|
3707
|
+
end
|
3708
|
+
|
3709
|
+
# Returns a list of owned and shared core networks.
|
3710
|
+
#
|
3711
|
+
# @option params [Integer] :max_results
|
3712
|
+
# The maximum number of results to return.
|
3713
|
+
#
|
3714
|
+
# @option params [String] :next_token
|
3715
|
+
# The token for the next page of results.
|
3716
|
+
#
|
3717
|
+
# @return [Types::ListCoreNetworksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3718
|
+
#
|
3719
|
+
# * {Types::ListCoreNetworksResponse#core_networks #core_networks} => Array<Types::CoreNetworkSummary>
|
3720
|
+
# * {Types::ListCoreNetworksResponse#next_token #next_token} => String
|
3721
|
+
#
|
3722
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3723
|
+
#
|
3724
|
+
# @example Request syntax with placeholder values
|
3725
|
+
#
|
3726
|
+
# resp = client.list_core_networks({
|
3727
|
+
# max_results: 1,
|
3728
|
+
# next_token: "NextToken",
|
3729
|
+
# })
|
3730
|
+
#
|
3731
|
+
# @example Response structure
|
3732
|
+
#
|
3733
|
+
# resp.core_networks #=> Array
|
3734
|
+
# resp.core_networks[0].core_network_id #=> String
|
3735
|
+
# resp.core_networks[0].core_network_arn #=> String
|
3736
|
+
# resp.core_networks[0].global_network_id #=> String
|
3737
|
+
# resp.core_networks[0].owner_account_id #=> String
|
3738
|
+
# resp.core_networks[0].state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
|
3739
|
+
# resp.core_networks[0].description #=> String
|
3740
|
+
# resp.core_networks[0].tags #=> Array
|
3741
|
+
# resp.core_networks[0].tags[0].key #=> String
|
3742
|
+
# resp.core_networks[0].tags[0].value #=> String
|
3743
|
+
# resp.next_token #=> String
|
3744
|
+
#
|
3745
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListCoreNetworks AWS API Documentation
|
3746
|
+
#
|
3747
|
+
# @overload list_core_networks(params = {})
|
3748
|
+
# @param [Hash] params ({})
|
3749
|
+
def list_core_networks(params = {}, options = {})
|
3750
|
+
req = build_request(:list_core_networks, params)
|
3751
|
+
req.send_request(options)
|
3752
|
+
end
|
3753
|
+
|
2320
3754
|
# Lists the tags for a specified resource.
|
2321
3755
|
#
|
2322
3756
|
# @option params [required, String] :resource_arn
|
@@ -2329,7 +3763,7 @@ module Aws::NetworkManager
|
|
2329
3763
|
# @example Request syntax with placeholder values
|
2330
3764
|
#
|
2331
3765
|
# resp = client.list_tags_for_resource({
|
2332
|
-
# resource_arn: "
|
3766
|
+
# resource_arn: "ResourceArn", # required
|
2333
3767
|
# })
|
2334
3768
|
#
|
2335
3769
|
# @example Response structure
|
@@ -2347,6 +3781,99 @@ module Aws::NetworkManager
|
|
2347
3781
|
req.send_request(options)
|
2348
3782
|
end
|
2349
3783
|
|
3784
|
+
# Creates a new, immutable version of a core network policy. A
|
3785
|
+
# subsequent change set is created showing the differences between the
|
3786
|
+
# LIVE policy and the submitted policy.
|
3787
|
+
#
|
3788
|
+
# @option params [required, String] :core_network_id
|
3789
|
+
# The ID of a core network.
|
3790
|
+
#
|
3791
|
+
# @option params [required, String] :policy_document
|
3792
|
+
# The policy document.
|
3793
|
+
#
|
3794
|
+
# **SDK automatically handles json encoding and base64 encoding for you
|
3795
|
+
# when the required value (Hash, Array, etc.) is provided according to
|
3796
|
+
# the description.**
|
3797
|
+
#
|
3798
|
+
# @option params [String] :description
|
3799
|
+
# a core network policy description.
|
3800
|
+
#
|
3801
|
+
# @option params [Integer] :latest_version_id
|
3802
|
+
# The ID of a core network policy.
|
3803
|
+
#
|
3804
|
+
# @option params [String] :client_token
|
3805
|
+
# The client token associated with the request.
|
3806
|
+
#
|
3807
|
+
# **A suitable default value is auto-generated.** You should normally
|
3808
|
+
# not need to pass this option.**
|
3809
|
+
#
|
3810
|
+
# @return [Types::PutCoreNetworkPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3811
|
+
#
|
3812
|
+
# * {Types::PutCoreNetworkPolicyResponse#core_network_policy #core_network_policy} => Types::CoreNetworkPolicy
|
3813
|
+
#
|
3814
|
+
# @example Request syntax with placeholder values
|
3815
|
+
#
|
3816
|
+
# resp = client.put_core_network_policy({
|
3817
|
+
# core_network_id: "CoreNetworkId", # required
|
3818
|
+
# policy_document: "CoreNetworkPolicyDocument", # required
|
3819
|
+
# description: "ConstrainedString",
|
3820
|
+
# latest_version_id: 1,
|
3821
|
+
# client_token: "ClientToken",
|
3822
|
+
# })
|
3823
|
+
#
|
3824
|
+
# @example Response structure
|
3825
|
+
#
|
3826
|
+
# resp.core_network_policy.core_network_id #=> String
|
3827
|
+
# resp.core_network_policy.policy_version_id #=> Integer
|
3828
|
+
# resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
|
3829
|
+
# resp.core_network_policy.description #=> String
|
3830
|
+
# resp.core_network_policy.created_at #=> Time
|
3831
|
+
# resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
|
3832
|
+
# resp.core_network_policy.policy_errors #=> Array
|
3833
|
+
# resp.core_network_policy.policy_errors[0].error_code #=> String
|
3834
|
+
# resp.core_network_policy.policy_errors[0].message #=> String
|
3835
|
+
# resp.core_network_policy.policy_errors[0].path #=> String
|
3836
|
+
# resp.core_network_policy.policy_document #=> String
|
3837
|
+
#
|
3838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/PutCoreNetworkPolicy AWS API Documentation
|
3839
|
+
#
|
3840
|
+
# @overload put_core_network_policy(params = {})
|
3841
|
+
# @param [Hash] params ({})
|
3842
|
+
def put_core_network_policy(params = {}, options = {})
|
3843
|
+
req = build_request(:put_core_network_policy, params)
|
3844
|
+
req.send_request(options)
|
3845
|
+
end
|
3846
|
+
|
3847
|
+
# Creates or updates a resource policy.
|
3848
|
+
#
|
3849
|
+
# @option params [required, String] :policy_document
|
3850
|
+
# The JSON resource policy document.
|
3851
|
+
#
|
3852
|
+
# **SDK automatically handles json encoding and base64 encoding for you
|
3853
|
+
# when the required value (Hash, Array, etc.) is provided according to
|
3854
|
+
# the description.**
|
3855
|
+
#
|
3856
|
+
# @option params [required, String] :resource_arn
|
3857
|
+
# The ARN of the resource policy.
|
3858
|
+
#
|
3859
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3860
|
+
#
|
3861
|
+
# @example Request syntax with placeholder values
|
3862
|
+
#
|
3863
|
+
# resp = client.put_resource_policy({
|
3864
|
+
# policy_document: "ResourcePolicyDocument", # required
|
3865
|
+
# resource_arn: "ResourceArn", # required
|
3866
|
+
# })
|
3867
|
+
#
|
3868
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/PutResourcePolicy AWS API Documentation
|
3869
|
+
#
|
3870
|
+
# @overload put_resource_policy(params = {})
|
3871
|
+
# @param [Hash] params ({})
|
3872
|
+
def put_resource_policy(params = {}, options = {})
|
3873
|
+
req = build_request(:put_resource_policy, params)
|
3874
|
+
req.send_request(options)
|
3875
|
+
end
|
3876
|
+
|
2350
3877
|
# Registers a transit gateway in your global network. The transit
|
2351
3878
|
# gateway can be in any Amazon Web Services Region, but it must be owned
|
2352
3879
|
# by the same Amazon Web Services account that owns the global network.
|
@@ -2365,8 +3892,8 @@ module Aws::NetworkManager
|
|
2365
3892
|
# @example Request syntax with placeholder values
|
2366
3893
|
#
|
2367
3894
|
# resp = client.register_transit_gateway({
|
2368
|
-
# global_network_id: "
|
2369
|
-
# transit_gateway_arn: "
|
3895
|
+
# global_network_id: "GlobalNetworkId", # required
|
3896
|
+
# transit_gateway_arn: "TransitGatewayArn", # required
|
2370
3897
|
# })
|
2371
3898
|
#
|
2372
3899
|
# @example Response structure
|
@@ -2385,6 +3912,97 @@ module Aws::NetworkManager
|
|
2385
3912
|
req.send_request(options)
|
2386
3913
|
end
|
2387
3914
|
|
3915
|
+
# Rejects a core network attachment request.
|
3916
|
+
#
|
3917
|
+
# @option params [required, String] :attachment_id
|
3918
|
+
# The ID of the attachment.
|
3919
|
+
#
|
3920
|
+
# @return [Types::RejectAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3921
|
+
#
|
3922
|
+
# * {Types::RejectAttachmentResponse#attachment #attachment} => Types::Attachment
|
3923
|
+
#
|
3924
|
+
# @example Request syntax with placeholder values
|
3925
|
+
#
|
3926
|
+
# resp = client.reject_attachment({
|
3927
|
+
# attachment_id: "AttachmentId", # required
|
3928
|
+
# })
|
3929
|
+
#
|
3930
|
+
# @example Response structure
|
3931
|
+
#
|
3932
|
+
# resp.attachment.core_network_id #=> String
|
3933
|
+
# resp.attachment.core_network_arn #=> String
|
3934
|
+
# resp.attachment.attachment_id #=> String
|
3935
|
+
# resp.attachment.owner_account_id #=> String
|
3936
|
+
# resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
3937
|
+
# resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
3938
|
+
# resp.attachment.edge_location #=> String
|
3939
|
+
# resp.attachment.resource_arn #=> String
|
3940
|
+
# resp.attachment.attachment_policy_rule_number #=> Integer
|
3941
|
+
# resp.attachment.segment_name #=> String
|
3942
|
+
# resp.attachment.tags #=> Array
|
3943
|
+
# resp.attachment.tags[0].key #=> String
|
3944
|
+
# resp.attachment.tags[0].value #=> String
|
3945
|
+
# resp.attachment.proposed_segment_change.tags #=> Array
|
3946
|
+
# resp.attachment.proposed_segment_change.tags[0].key #=> String
|
3947
|
+
# resp.attachment.proposed_segment_change.tags[0].value #=> String
|
3948
|
+
# resp.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
3949
|
+
# resp.attachment.proposed_segment_change.segment_name #=> String
|
3950
|
+
# resp.attachment.created_at #=> Time
|
3951
|
+
# resp.attachment.updated_at #=> Time
|
3952
|
+
#
|
3953
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RejectAttachment AWS API Documentation
|
3954
|
+
#
|
3955
|
+
# @overload reject_attachment(params = {})
|
3956
|
+
# @param [Hash] params ({})
|
3957
|
+
def reject_attachment(params = {}, options = {})
|
3958
|
+
req = build_request(:reject_attachment, params)
|
3959
|
+
req.send_request(options)
|
3960
|
+
end
|
3961
|
+
|
3962
|
+
# Restores a previous policy version as a new, immutable version of a
|
3963
|
+
# core network policy. A subsequent change set is created showing the
|
3964
|
+
# differences between the LIVE policy and restored policy.
|
3965
|
+
#
|
3966
|
+
# @option params [required, String] :core_network_id
|
3967
|
+
# The ID of a core network.
|
3968
|
+
#
|
3969
|
+
# @option params [required, Integer] :policy_version_id
|
3970
|
+
# The ID of the policy version to restore.
|
3971
|
+
#
|
3972
|
+
# @return [Types::RestoreCoreNetworkPolicyVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3973
|
+
#
|
3974
|
+
# * {Types::RestoreCoreNetworkPolicyVersionResponse#core_network_policy #core_network_policy} => Types::CoreNetworkPolicy
|
3975
|
+
#
|
3976
|
+
# @example Request syntax with placeholder values
|
3977
|
+
#
|
3978
|
+
# resp = client.restore_core_network_policy_version({
|
3979
|
+
# core_network_id: "CoreNetworkId", # required
|
3980
|
+
# policy_version_id: 1, # required
|
3981
|
+
# })
|
3982
|
+
#
|
3983
|
+
# @example Response structure
|
3984
|
+
#
|
3985
|
+
# resp.core_network_policy.core_network_id #=> String
|
3986
|
+
# resp.core_network_policy.policy_version_id #=> Integer
|
3987
|
+
# resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
|
3988
|
+
# resp.core_network_policy.description #=> String
|
3989
|
+
# resp.core_network_policy.created_at #=> Time
|
3990
|
+
# resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
|
3991
|
+
# resp.core_network_policy.policy_errors #=> Array
|
3992
|
+
# resp.core_network_policy.policy_errors[0].error_code #=> String
|
3993
|
+
# resp.core_network_policy.policy_errors[0].message #=> String
|
3994
|
+
# resp.core_network_policy.policy_errors[0].path #=> String
|
3995
|
+
# resp.core_network_policy.policy_document #=> String
|
3996
|
+
#
|
3997
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RestoreCoreNetworkPolicyVersion AWS API Documentation
|
3998
|
+
#
|
3999
|
+
# @overload restore_core_network_policy_version(params = {})
|
4000
|
+
# @param [Hash] params ({})
|
4001
|
+
def restore_core_network_policy_version(params = {}, options = {})
|
4002
|
+
req = build_request(:restore_core_network_policy_version, params)
|
4003
|
+
req.send_request(options)
|
4004
|
+
end
|
4005
|
+
|
2388
4006
|
# Starts analyzing the routing path between the specified source and
|
2389
4007
|
# destination. For more information, see [Route Analyzer][1].
|
2390
4008
|
#
|
@@ -2415,14 +4033,14 @@ module Aws::NetworkManager
|
|
2415
4033
|
# @example Request syntax with placeholder values
|
2416
4034
|
#
|
2417
4035
|
# resp = client.start_route_analysis({
|
2418
|
-
# global_network_id: "
|
4036
|
+
# global_network_id: "GlobalNetworkId", # required
|
2419
4037
|
# source: { # required
|
2420
|
-
# transit_gateway_attachment_arn: "
|
2421
|
-
# ip_address: "
|
4038
|
+
# transit_gateway_attachment_arn: "TransitGatewayAttachmentArn",
|
4039
|
+
# ip_address: "IPAddress",
|
2422
4040
|
# },
|
2423
4041
|
# destination: { # required
|
2424
|
-
# transit_gateway_attachment_arn: "
|
2425
|
-
# ip_address: "
|
4042
|
+
# transit_gateway_attachment_arn: "TransitGatewayAttachmentArn",
|
4043
|
+
# ip_address: "IPAddress",
|
2426
4044
|
# },
|
2427
4045
|
# include_return_path: false,
|
2428
4046
|
# use_middleboxes: false,
|
@@ -2492,7 +4110,7 @@ module Aws::NetworkManager
|
|
2492
4110
|
# @example Request syntax with placeholder values
|
2493
4111
|
#
|
2494
4112
|
# resp = client.tag_resource({
|
2495
|
-
# resource_arn: "
|
4113
|
+
# resource_arn: "ResourceArn", # required
|
2496
4114
|
# tags: [ # required
|
2497
4115
|
# {
|
2498
4116
|
# key: "TagKey",
|
@@ -2523,7 +4141,7 @@ module Aws::NetworkManager
|
|
2523
4141
|
# @example Request syntax with placeholder values
|
2524
4142
|
#
|
2525
4143
|
# resp = client.untag_resource({
|
2526
|
-
# resource_arn: "
|
4144
|
+
# resource_arn: "ResourceArn", # required
|
2527
4145
|
# tag_keys: ["TagKey"], # required
|
2528
4146
|
# })
|
2529
4147
|
#
|
@@ -2563,11 +4181,11 @@ module Aws::NetworkManager
|
|
2563
4181
|
# @example Request syntax with placeholder values
|
2564
4182
|
#
|
2565
4183
|
# resp = client.update_connection({
|
2566
|
-
# global_network_id: "
|
2567
|
-
# connection_id: "
|
2568
|
-
# link_id: "
|
2569
|
-
# connected_link_id: "
|
2570
|
-
# description: "
|
4184
|
+
# global_network_id: "GlobalNetworkId", # required
|
4185
|
+
# connection_id: "ConnectionId", # required
|
4186
|
+
# link_id: "LinkId",
|
4187
|
+
# connected_link_id: "LinkId",
|
4188
|
+
# description: "ConstrainedString",
|
2571
4189
|
# })
|
2572
4190
|
#
|
2573
4191
|
# @example Response structure
|
@@ -2595,6 +4213,57 @@ module Aws::NetworkManager
|
|
2595
4213
|
req.send_request(options)
|
2596
4214
|
end
|
2597
4215
|
|
4216
|
+
# Updates the description of a core network.
|
4217
|
+
#
|
4218
|
+
# @option params [required, String] :core_network_id
|
4219
|
+
# The ID of a core network.
|
4220
|
+
#
|
4221
|
+
# @option params [String] :description
|
4222
|
+
# The description of the update.
|
4223
|
+
#
|
4224
|
+
# @return [Types::UpdateCoreNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4225
|
+
#
|
4226
|
+
# * {Types::UpdateCoreNetworkResponse#core_network #core_network} => Types::CoreNetwork
|
4227
|
+
#
|
4228
|
+
# @example Request syntax with placeholder values
|
4229
|
+
#
|
4230
|
+
# resp = client.update_core_network({
|
4231
|
+
# core_network_id: "CoreNetworkId", # required
|
4232
|
+
# description: "ConstrainedString",
|
4233
|
+
# })
|
4234
|
+
#
|
4235
|
+
# @example Response structure
|
4236
|
+
#
|
4237
|
+
# resp.core_network.global_network_id #=> String
|
4238
|
+
# resp.core_network.core_network_id #=> String
|
4239
|
+
# resp.core_network.core_network_arn #=> String
|
4240
|
+
# resp.core_network.description #=> String
|
4241
|
+
# resp.core_network.created_at #=> Time
|
4242
|
+
# resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
|
4243
|
+
# resp.core_network.segments #=> Array
|
4244
|
+
# resp.core_network.segments[0].name #=> String
|
4245
|
+
# resp.core_network.segments[0].edge_locations #=> Array
|
4246
|
+
# resp.core_network.segments[0].edge_locations[0] #=> String
|
4247
|
+
# resp.core_network.segments[0].shared_segments #=> Array
|
4248
|
+
# resp.core_network.segments[0].shared_segments[0] #=> String
|
4249
|
+
# resp.core_network.edges #=> Array
|
4250
|
+
# resp.core_network.edges[0].edge_location #=> String
|
4251
|
+
# resp.core_network.edges[0].asn #=> Integer
|
4252
|
+
# resp.core_network.edges[0].inside_cidr_blocks #=> Array
|
4253
|
+
# resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
|
4254
|
+
# resp.core_network.tags #=> Array
|
4255
|
+
# resp.core_network.tags[0].key #=> String
|
4256
|
+
# resp.core_network.tags[0].value #=> String
|
4257
|
+
#
|
4258
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateCoreNetwork AWS API Documentation
|
4259
|
+
#
|
4260
|
+
# @overload update_core_network(params = {})
|
4261
|
+
# @param [Hash] params ({})
|
4262
|
+
def update_core_network(params = {}, options = {})
|
4263
|
+
req = build_request(:update_core_network, params)
|
4264
|
+
req.send_request(options)
|
4265
|
+
end
|
4266
|
+
|
2598
4267
|
# Updates the details for an existing device. To remove information for
|
2599
4268
|
# any of the parameters, specify an empty string.
|
2600
4269
|
#
|
@@ -2644,23 +4313,23 @@ module Aws::NetworkManager
|
|
2644
4313
|
# @example Request syntax with placeholder values
|
2645
4314
|
#
|
2646
4315
|
# resp = client.update_device({
|
2647
|
-
# global_network_id: "
|
2648
|
-
# device_id: "
|
4316
|
+
# global_network_id: "GlobalNetworkId", # required
|
4317
|
+
# device_id: "DeviceId", # required
|
2649
4318
|
# aws_location: {
|
2650
|
-
# zone: "
|
2651
|
-
# subnet_arn: "
|
4319
|
+
# zone: "ConstrainedString",
|
4320
|
+
# subnet_arn: "SubnetArn",
|
2652
4321
|
# },
|
2653
|
-
# description: "
|
2654
|
-
# type: "
|
2655
|
-
# vendor: "
|
2656
|
-
# model: "
|
2657
|
-
# serial_number: "
|
4322
|
+
# description: "ConstrainedString",
|
4323
|
+
# type: "ConstrainedString",
|
4324
|
+
# vendor: "ConstrainedString",
|
4325
|
+
# model: "ConstrainedString",
|
4326
|
+
# serial_number: "ConstrainedString",
|
2658
4327
|
# location: {
|
2659
|
-
# address: "
|
2660
|
-
# latitude: "
|
2661
|
-
# longitude: "
|
4328
|
+
# address: "ConstrainedString",
|
4329
|
+
# latitude: "ConstrainedString",
|
4330
|
+
# longitude: "ConstrainedString",
|
2662
4331
|
# },
|
2663
|
-
# site_id: "
|
4332
|
+
# site_id: "SiteId",
|
2664
4333
|
# })
|
2665
4334
|
#
|
2666
4335
|
# @example Response structure
|
@@ -2712,8 +4381,8 @@ module Aws::NetworkManager
|
|
2712
4381
|
# @example Request syntax with placeholder values
|
2713
4382
|
#
|
2714
4383
|
# resp = client.update_global_network({
|
2715
|
-
# global_network_id: "
|
2716
|
-
# description: "
|
4384
|
+
# global_network_id: "GlobalNetworkId", # required
|
4385
|
+
# description: "ConstrainedString",
|
2717
4386
|
# })
|
2718
4387
|
#
|
2719
4388
|
# @example Response structure
|
@@ -2770,15 +4439,15 @@ module Aws::NetworkManager
|
|
2770
4439
|
# @example Request syntax with placeholder values
|
2771
4440
|
#
|
2772
4441
|
# resp = client.update_link({
|
2773
|
-
# global_network_id: "
|
2774
|
-
# link_id: "
|
2775
|
-
# description: "
|
2776
|
-
# type: "
|
4442
|
+
# global_network_id: "GlobalNetworkId", # required
|
4443
|
+
# link_id: "LinkId", # required
|
4444
|
+
# description: "ConstrainedString",
|
4445
|
+
# type: "ConstrainedString",
|
2777
4446
|
# bandwidth: {
|
2778
4447
|
# upload_speed: 1,
|
2779
4448
|
# download_speed: 1,
|
2780
4449
|
# },
|
2781
|
-
# provider: "
|
4450
|
+
# provider: "ConstrainedString",
|
2782
4451
|
# })
|
2783
4452
|
#
|
2784
4453
|
# @example Response structure
|
@@ -2826,10 +4495,10 @@ module Aws::NetworkManager
|
|
2826
4495
|
# @example Request syntax with placeholder values
|
2827
4496
|
#
|
2828
4497
|
# resp = client.update_network_resource_metadata({
|
2829
|
-
# global_network_id: "
|
2830
|
-
# resource_arn: "
|
4498
|
+
# global_network_id: "GlobalNetworkId", # required
|
4499
|
+
# resource_arn: "ResourceArn", # required
|
2831
4500
|
# metadata: { # required
|
2832
|
-
# "
|
4501
|
+
# "ConstrainedString" => "ConstrainedString",
|
2833
4502
|
# },
|
2834
4503
|
# })
|
2835
4504
|
#
|
@@ -2837,7 +4506,7 @@ module Aws::NetworkManager
|
|
2837
4506
|
#
|
2838
4507
|
# resp.resource_arn #=> String
|
2839
4508
|
# resp.metadata #=> Hash
|
2840
|
-
# resp.metadata["
|
4509
|
+
# resp.metadata["ConstrainedString"] #=> String
|
2841
4510
|
#
|
2842
4511
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateNetworkResourceMetadata AWS API Documentation
|
2843
4512
|
#
|
@@ -2878,13 +4547,13 @@ module Aws::NetworkManager
|
|
2878
4547
|
# @example Request syntax with placeholder values
|
2879
4548
|
#
|
2880
4549
|
# resp = client.update_site({
|
2881
|
-
# global_network_id: "
|
2882
|
-
# site_id: "
|
2883
|
-
# description: "
|
4550
|
+
# global_network_id: "GlobalNetworkId", # required
|
4551
|
+
# site_id: "SiteId", # required
|
4552
|
+
# description: "ConstrainedString",
|
2884
4553
|
# location: {
|
2885
|
-
# address: "
|
2886
|
-
# latitude: "
|
2887
|
-
# longitude: "
|
4554
|
+
# address: "ConstrainedString",
|
4555
|
+
# latitude: "ConstrainedString",
|
4556
|
+
# longitude: "ConstrainedString",
|
2888
4557
|
# },
|
2889
4558
|
# })
|
2890
4559
|
#
|
@@ -2912,6 +4581,70 @@ module Aws::NetworkManager
|
|
2912
4581
|
req.send_request(options)
|
2913
4582
|
end
|
2914
4583
|
|
4584
|
+
# Updates a VPC attachment.
|
4585
|
+
#
|
4586
|
+
# @option params [required, String] :attachment_id
|
4587
|
+
# The ID of the attachment.
|
4588
|
+
#
|
4589
|
+
# @option params [Array<String>] :add_subnet_arns
|
4590
|
+
# Adds a subnet ARN to the VPC attachment.
|
4591
|
+
#
|
4592
|
+
# @option params [Array<String>] :remove_subnet_arns
|
4593
|
+
# Removes a subnet ARN from the attachment.
|
4594
|
+
#
|
4595
|
+
# @option params [Types::VpcOptions] :options
|
4596
|
+
# Additional options for updating the VPC attachment.
|
4597
|
+
#
|
4598
|
+
# @return [Types::UpdateVpcAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4599
|
+
#
|
4600
|
+
# * {Types::UpdateVpcAttachmentResponse#vpc_attachment #vpc_attachment} => Types::VpcAttachment
|
4601
|
+
#
|
4602
|
+
# @example Request syntax with placeholder values
|
4603
|
+
#
|
4604
|
+
# resp = client.update_vpc_attachment({
|
4605
|
+
# attachment_id: "AttachmentId", # required
|
4606
|
+
# add_subnet_arns: ["SubnetArn"],
|
4607
|
+
# remove_subnet_arns: ["SubnetArn"],
|
4608
|
+
# options: {
|
4609
|
+
# ipv_6_support: false,
|
4610
|
+
# },
|
4611
|
+
# })
|
4612
|
+
#
|
4613
|
+
# @example Response structure
|
4614
|
+
#
|
4615
|
+
# resp.vpc_attachment.attachment.core_network_id #=> String
|
4616
|
+
# resp.vpc_attachment.attachment.core_network_arn #=> String
|
4617
|
+
# resp.vpc_attachment.attachment.attachment_id #=> String
|
4618
|
+
# resp.vpc_attachment.attachment.owner_account_id #=> String
|
4619
|
+
# resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
|
4620
|
+
# resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
|
4621
|
+
# resp.vpc_attachment.attachment.edge_location #=> String
|
4622
|
+
# resp.vpc_attachment.attachment.resource_arn #=> String
|
4623
|
+
# resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
|
4624
|
+
# resp.vpc_attachment.attachment.segment_name #=> String
|
4625
|
+
# resp.vpc_attachment.attachment.tags #=> Array
|
4626
|
+
# resp.vpc_attachment.attachment.tags[0].key #=> String
|
4627
|
+
# resp.vpc_attachment.attachment.tags[0].value #=> String
|
4628
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.tags #=> Array
|
4629
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.tags[0].key #=> String
|
4630
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.tags[0].value #=> String
|
4631
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
|
4632
|
+
# resp.vpc_attachment.attachment.proposed_segment_change.segment_name #=> String
|
4633
|
+
# resp.vpc_attachment.attachment.created_at #=> Time
|
4634
|
+
# resp.vpc_attachment.attachment.updated_at #=> Time
|
4635
|
+
# resp.vpc_attachment.subnet_arns #=> Array
|
4636
|
+
# resp.vpc_attachment.subnet_arns[0] #=> String
|
4637
|
+
# resp.vpc_attachment.options.ipv_6_support #=> Boolean
|
4638
|
+
#
|
4639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateVpcAttachment AWS API Documentation
|
4640
|
+
#
|
4641
|
+
# @overload update_vpc_attachment(params = {})
|
4642
|
+
# @param [Hash] params ({})
|
4643
|
+
def update_vpc_attachment(params = {}, options = {})
|
4644
|
+
req = build_request(:update_vpc_attachment, params)
|
4645
|
+
req.send_request(options)
|
4646
|
+
end
|
4647
|
+
|
2915
4648
|
# @!endgroup
|
2916
4649
|
|
2917
4650
|
# @param params ({})
|
@@ -2925,7 +4658,7 @@ module Aws::NetworkManager
|
|
2925
4658
|
params: params,
|
2926
4659
|
config: config)
|
2927
4660
|
context[:gem_name] = 'aws-sdk-networkmanager'
|
2928
|
-
context[:gem_version] = '1.
|
4661
|
+
context[:gem_version] = '1.19.0'
|
2929
4662
|
Seahorse::Client::Request.new(handlers, context)
|
2930
4663
|
end
|
2931
4664
|
|