aws-sdk-networkmanager 1.17.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
31
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
30
32
  require 'aws-sdk-core/plugins/signature_v4.rb'
31
33
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
32
34
 
@@ -73,6 +75,8 @@ module Aws::NetworkManager
73
75
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
76
  add_plugin(Aws::Plugins::TransferEncoding)
75
77
  add_plugin(Aws::Plugins::HttpChecksum)
78
+ add_plugin(Aws::Plugins::DefaultsMode)
79
+ add_plugin(Aws::Plugins::RecursionDetection)
76
80
  add_plugin(Aws::Plugins::SignatureV4)
77
81
  add_plugin(Aws::Plugins::Protocols::RestJson)
78
82
 
@@ -119,7 +123,9 @@ module Aws::NetworkManager
119
123
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
124
  # are very aggressive. Construct and pass an instance of
121
125
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
126
+ # enable retries and extended timeouts. Instance profile credential
127
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
128
+ # to true.
123
129
  #
124
130
  # @option options [required, String] :region
125
131
  # The AWS region to connect to. The configured `:region` is
@@ -173,6 +179,10 @@ module Aws::NetworkManager
173
179
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
174
180
  # a clock skew correction and retry requests with skewed client clocks.
175
181
  #
182
+ # @option options [String] :defaults_mode ("legacy")
183
+ # See {Aws::DefaultsModeConfiguration} for a list of the
184
+ # accepted modes and the configuration defaults that are included.
185
+ #
176
186
  # @option options [Boolean] :disable_host_prefix_injection (false)
177
187
  # Set to true to disable SDK automatically adding host prefix
178
188
  # to default service endpoint when available.
@@ -295,7 +305,7 @@ module Aws::NetworkManager
295
305
  # seconds to wait when opening a HTTP session before raising a
296
306
  # `Timeout::Error`.
297
307
  #
298
- # @option options [Integer] :http_read_timeout (60) The default
308
+ # @option options [Float] :http_read_timeout (60) The default
299
309
  # number of seconds to wait for response data. This value can
300
310
  # safely be set per-request on the session.
301
311
  #
@@ -311,6 +321,9 @@ module Aws::NetworkManager
311
321
  # disables this behaviour. This value can safely be set per
312
322
  # request on the session.
313
323
  #
324
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
325
+ # in seconds.
326
+ #
314
327
  # @option options [Boolean] :http_wire_trace (false) When `true`,
315
328
  # HTTP debug output will be sent to the `:logger`.
316
329
  #
@@ -336,6 +349,105 @@ module Aws::NetworkManager
336
349
 
337
350
  # @!group API Operations
338
351
 
352
+ # Accepts a core network attachment request.
353
+ #
354
+ # Once the attachment request is accepted by a core network owner, the
355
+ # attachment is created and connected to a core network.
356
+ #
357
+ # @option params [required, String] :attachment_id
358
+ # The ID of the attachment.
359
+ #
360
+ # @return [Types::AcceptAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
361
+ #
362
+ # * {Types::AcceptAttachmentResponse#attachment #attachment} => Types::Attachment
363
+ #
364
+ # @example Request syntax with placeholder values
365
+ #
366
+ # resp = client.accept_attachment({
367
+ # attachment_id: "AttachmentId", # required
368
+ # })
369
+ #
370
+ # @example Response structure
371
+ #
372
+ # resp.attachment.core_network_id #=> String
373
+ # resp.attachment.core_network_arn #=> String
374
+ # resp.attachment.attachment_id #=> String
375
+ # resp.attachment.owner_account_id #=> String
376
+ # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
377
+ # resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
378
+ # resp.attachment.edge_location #=> String
379
+ # resp.attachment.resource_arn #=> String
380
+ # resp.attachment.attachment_policy_rule_number #=> Integer
381
+ # resp.attachment.segment_name #=> String
382
+ # resp.attachment.tags #=> Array
383
+ # resp.attachment.tags[0].key #=> String
384
+ # resp.attachment.tags[0].value #=> String
385
+ # resp.attachment.proposed_segment_change.tags #=> Array
386
+ # resp.attachment.proposed_segment_change.tags[0].key #=> String
387
+ # resp.attachment.proposed_segment_change.tags[0].value #=> String
388
+ # resp.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
389
+ # resp.attachment.proposed_segment_change.segment_name #=> String
390
+ # resp.attachment.created_at #=> Time
391
+ # resp.attachment.updated_at #=> Time
392
+ #
393
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AcceptAttachment AWS API Documentation
394
+ #
395
+ # @overload accept_attachment(params = {})
396
+ # @param [Hash] params ({})
397
+ def accept_attachment(params = {}, options = {})
398
+ req = build_request(:accept_attachment, params)
399
+ req.send_request(options)
400
+ end
401
+
402
+ # Associates a core network Connect peer with a device and optionally,
403
+ # with a link.
404
+ #
405
+ # If you specify a link, it must be associated with the specified
406
+ # device. You can only associate core network Connect peers that have
407
+ # been created on a core network Connect attachment on a core network.
408
+ #
409
+ # @option params [required, String] :global_network_id
410
+ # The ID of your global network.
411
+ #
412
+ # @option params [required, String] :connect_peer_id
413
+ # The ID of the Connect peer.
414
+ #
415
+ # @option params [required, String] :device_id
416
+ # The ID of the device.
417
+ #
418
+ # @option params [String] :link_id
419
+ # The ID of the link.
420
+ #
421
+ # @return [Types::AssociateConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
422
+ #
423
+ # * {Types::AssociateConnectPeerResponse#connect_peer_association #connect_peer_association} => Types::ConnectPeerAssociation
424
+ #
425
+ # @example Request syntax with placeholder values
426
+ #
427
+ # resp = client.associate_connect_peer({
428
+ # global_network_id: "GlobalNetworkId", # required
429
+ # connect_peer_id: "ConnectPeerId", # required
430
+ # device_id: "DeviceId", # required
431
+ # link_id: "LinkId",
432
+ # })
433
+ #
434
+ # @example Response structure
435
+ #
436
+ # resp.connect_peer_association.connect_peer_id #=> String
437
+ # resp.connect_peer_association.global_network_id #=> String
438
+ # resp.connect_peer_association.device_id #=> String
439
+ # resp.connect_peer_association.link_id #=> String
440
+ # resp.connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
441
+ #
442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateConnectPeer AWS API Documentation
443
+ #
444
+ # @overload associate_connect_peer(params = {})
445
+ # @param [Hash] params ({})
446
+ def associate_connect_peer(params = {}, options = {})
447
+ req = build_request(:associate_connect_peer, params)
448
+ req.send_request(options)
449
+ end
450
+
339
451
  # Associates a customer gateway with a device and optionally, with a
340
452
  # link. If you specify a link, it must be associated with the specified
341
453
  # device.
@@ -375,10 +487,10 @@ module Aws::NetworkManager
375
487
  # @example Request syntax with placeholder values
376
488
  #
377
489
  # resp = client.associate_customer_gateway({
378
- # customer_gateway_arn: "String", # required
379
- # global_network_id: "String", # required
380
- # device_id: "String", # required
381
- # link_id: "String",
490
+ # customer_gateway_arn: "CustomerGatewayArn", # required
491
+ # global_network_id: "GlobalNetworkId", # required
492
+ # device_id: "DeviceId", # required
493
+ # link_id: "LinkId",
382
494
  # })
383
495
  #
384
496
  # @example Response structure
@@ -418,9 +530,9 @@ module Aws::NetworkManager
418
530
  # @example Request syntax with placeholder values
419
531
  #
420
532
  # resp = client.associate_link({
421
- # global_network_id: "String", # required
422
- # device_id: "String", # required
423
- # link_id: "String", # required
533
+ # global_network_id: "GlobalNetworkId", # required
534
+ # device_id: "DeviceId", # required
535
+ # link_id: "LinkId", # required
424
536
  # })
425
537
  #
426
538
  # @example Response structure
@@ -469,10 +581,10 @@ module Aws::NetworkManager
469
581
  # @example Request syntax with placeholder values
470
582
  #
471
583
  # resp = client.associate_transit_gateway_connect_peer({
472
- # global_network_id: "String", # required
473
- # transit_gateway_connect_peer_arn: "String", # required
474
- # device_id: "String", # required
475
- # link_id: "String",
584
+ # global_network_id: "GlobalNetworkId", # required
585
+ # transit_gateway_connect_peer_arn: "TransitGatewayConnectPeerArn", # required
586
+ # device_id: "DeviceId", # required
587
+ # link_id: "LinkId",
476
588
  # })
477
589
  #
478
590
  # @example Response structure
@@ -492,6 +604,174 @@ module Aws::NetworkManager
492
604
  req.send_request(options)
493
605
  end
494
606
 
607
+ # Creates a core network Connect attachment from a specified core
608
+ # network attachment.
609
+ #
610
+ # A core network Connect attachment is a GRE-based tunnel attachment
611
+ # that you can use to establish a connection between a core network and
612
+ # an appliance. A core network Connect attachment uses an existing VPC
613
+ # attachment as the underlying transport mechanism.
614
+ #
615
+ # @option params [required, String] :core_network_id
616
+ # The ID of a core network where you want to create the attachment.
617
+ #
618
+ # @option params [required, String] :edge_location
619
+ # The Region where the edge is located.
620
+ #
621
+ # @option params [required, String] :transport_attachment_id
622
+ # The ID of the attachment between the two connections.
623
+ #
624
+ # @option params [required, Types::ConnectAttachmentOptions] :options
625
+ # Options for creating an attachment.
626
+ #
627
+ # @option params [Array<Types::Tag>] :tags
628
+ # The list of key-value tags associated with the request.
629
+ #
630
+ # @option params [String] :client_token
631
+ # The client token associated with the request.
632
+ #
633
+ # **A suitable default value is auto-generated.** You should normally
634
+ # not need to pass this option.**
635
+ #
636
+ # @return [Types::CreateConnectAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
637
+ #
638
+ # * {Types::CreateConnectAttachmentResponse#connect_attachment #connect_attachment} => Types::ConnectAttachment
639
+ #
640
+ # @example Request syntax with placeholder values
641
+ #
642
+ # resp = client.create_connect_attachment({
643
+ # core_network_id: "CoreNetworkId", # required
644
+ # edge_location: "ExternalRegionCode", # required
645
+ # transport_attachment_id: "AttachmentId", # required
646
+ # options: { # required
647
+ # protocol: "GRE", # accepts GRE
648
+ # },
649
+ # tags: [
650
+ # {
651
+ # key: "TagKey",
652
+ # value: "TagValue",
653
+ # },
654
+ # ],
655
+ # client_token: "ClientToken",
656
+ # })
657
+ #
658
+ # @example Response structure
659
+ #
660
+ # resp.connect_attachment.attachment.core_network_id #=> String
661
+ # resp.connect_attachment.attachment.core_network_arn #=> String
662
+ # resp.connect_attachment.attachment.attachment_id #=> String
663
+ # resp.connect_attachment.attachment.owner_account_id #=> String
664
+ # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
665
+ # resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
666
+ # resp.connect_attachment.attachment.edge_location #=> String
667
+ # resp.connect_attachment.attachment.resource_arn #=> String
668
+ # resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
669
+ # resp.connect_attachment.attachment.segment_name #=> String
670
+ # resp.connect_attachment.attachment.tags #=> Array
671
+ # resp.connect_attachment.attachment.tags[0].key #=> String
672
+ # resp.connect_attachment.attachment.tags[0].value #=> String
673
+ # resp.connect_attachment.attachment.proposed_segment_change.tags #=> Array
674
+ # resp.connect_attachment.attachment.proposed_segment_change.tags[0].key #=> String
675
+ # resp.connect_attachment.attachment.proposed_segment_change.tags[0].value #=> String
676
+ # resp.connect_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
677
+ # resp.connect_attachment.attachment.proposed_segment_change.segment_name #=> String
678
+ # resp.connect_attachment.attachment.created_at #=> Time
679
+ # resp.connect_attachment.attachment.updated_at #=> Time
680
+ # resp.connect_attachment.transport_attachment_id #=> String
681
+ # resp.connect_attachment.options.protocol #=> String, one of "GRE"
682
+ #
683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectAttachment AWS API Documentation
684
+ #
685
+ # @overload create_connect_attachment(params = {})
686
+ # @param [Hash] params ({})
687
+ def create_connect_attachment(params = {}, options = {})
688
+ req = build_request(:create_connect_attachment, params)
689
+ req.send_request(options)
690
+ end
691
+
692
+ # Creates a core network connect peer for a specified core network
693
+ # connect attachment between a core network and an appliance. The peer
694
+ # address and transit gateway address must be the same IP address family
695
+ # (IPv4 or IPv6).
696
+ #
697
+ # @option params [required, String] :connect_attachment_id
698
+ # The ID of the connection attachment.
699
+ #
700
+ # @option params [String] :core_network_address
701
+ # A Connect peer core network address.
702
+ #
703
+ # @option params [required, String] :peer_address
704
+ # The Connect peer address.
705
+ #
706
+ # @option params [Types::BgpOptions] :bgp_options
707
+ # The Connect peer BGP options.
708
+ #
709
+ # @option params [required, Array<String>] :inside_cidr_blocks
710
+ # The inside IP addresses used for BGP peering.
711
+ #
712
+ # @option params [Array<Types::Tag>] :tags
713
+ # The tags associated with the peer request.
714
+ #
715
+ # @option params [String] :client_token
716
+ # The client token associated with the request.
717
+ #
718
+ # **A suitable default value is auto-generated.** You should normally
719
+ # not need to pass this option.**
720
+ #
721
+ # @return [Types::CreateConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
722
+ #
723
+ # * {Types::CreateConnectPeerResponse#connect_peer #connect_peer} => Types::ConnectPeer
724
+ #
725
+ # @example Request syntax with placeholder values
726
+ #
727
+ # resp = client.create_connect_peer({
728
+ # connect_attachment_id: "AttachmentId", # required
729
+ # core_network_address: "IPAddress",
730
+ # peer_address: "IPAddress", # required
731
+ # bgp_options: {
732
+ # peer_asn: 1,
733
+ # },
734
+ # inside_cidr_blocks: ["ConstrainedString"], # required
735
+ # tags: [
736
+ # {
737
+ # key: "TagKey",
738
+ # value: "TagValue",
739
+ # },
740
+ # ],
741
+ # client_token: "ClientToken",
742
+ # })
743
+ #
744
+ # @example Response structure
745
+ #
746
+ # resp.connect_peer.core_network_id #=> String
747
+ # resp.connect_peer.connect_attachment_id #=> String
748
+ # resp.connect_peer.connect_peer_id #=> String
749
+ # resp.connect_peer.edge_location #=> String
750
+ # resp.connect_peer.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
751
+ # resp.connect_peer.created_at #=> Time
752
+ # resp.connect_peer.configuration.core_network_address #=> String
753
+ # resp.connect_peer.configuration.peer_address #=> String
754
+ # resp.connect_peer.configuration.inside_cidr_blocks #=> Array
755
+ # resp.connect_peer.configuration.inside_cidr_blocks[0] #=> String
756
+ # resp.connect_peer.configuration.protocol #=> String, one of "GRE"
757
+ # resp.connect_peer.configuration.bgp_configurations #=> Array
758
+ # resp.connect_peer.configuration.bgp_configurations[0].core_network_asn #=> Integer
759
+ # resp.connect_peer.configuration.bgp_configurations[0].peer_asn #=> Integer
760
+ # resp.connect_peer.configuration.bgp_configurations[0].core_network_address #=> String
761
+ # resp.connect_peer.configuration.bgp_configurations[0].peer_address #=> String
762
+ # resp.connect_peer.tags #=> Array
763
+ # resp.connect_peer.tags[0].key #=> String
764
+ # resp.connect_peer.tags[0].value #=> String
765
+ #
766
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectPeer AWS API Documentation
767
+ #
768
+ # @overload create_connect_peer(params = {})
769
+ # @param [Hash] params ({})
770
+ def create_connect_peer(params = {}, options = {})
771
+ req = build_request(:create_connect_peer, params)
772
+ req.send_request(options)
773
+ end
774
+
495
775
  # Creates a connection between two devices. The devices can be a
496
776
  # physical or virtual appliance that connects to a third-party appliance
497
777
  # in a VPC, or a physical appliance that connects to another physical
@@ -527,12 +807,12 @@ module Aws::NetworkManager
527
807
  # @example Request syntax with placeholder values
528
808
  #
529
809
  # resp = client.create_connection({
530
- # global_network_id: "String", # required
531
- # device_id: "String", # required
532
- # connected_device_id: "String", # required
533
- # link_id: "String",
534
- # connected_link_id: "String",
535
- # description: "String",
810
+ # global_network_id: "GlobalNetworkId", # required
811
+ # device_id: "DeviceId", # required
812
+ # connected_device_id: "DeviceId", # required
813
+ # link_id: "LinkId",
814
+ # connected_link_id: "LinkId",
815
+ # description: "ConstrainedString",
536
816
  # tags: [
537
817
  # {
538
818
  # key: "TagKey",
@@ -566,6 +846,78 @@ module Aws::NetworkManager
566
846
  req.send_request(options)
567
847
  end
568
848
 
849
+ # Creates a core network as part of your global network, and optionally,
850
+ # with a core network policy.
851
+ #
852
+ # @option params [required, String] :global_network_id
853
+ # The ID of the global network that a core network will be a part of.
854
+ #
855
+ # @option params [String] :description
856
+ # The description of a core network.
857
+ #
858
+ # @option params [Array<Types::Tag>] :tags
859
+ # Key-value tags associated with a core network request.
860
+ #
861
+ # @option params [String] :policy_document
862
+ # The policy document for creating a core network.
863
+ #
864
+ # @option params [String] :client_token
865
+ # The client token associated with a core network request.
866
+ #
867
+ # **A suitable default value is auto-generated.** You should normally
868
+ # not need to pass this option.**
869
+ #
870
+ # @return [Types::CreateCoreNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
871
+ #
872
+ # * {Types::CreateCoreNetworkResponse#core_network #core_network} => Types::CoreNetwork
873
+ #
874
+ # @example Request syntax with placeholder values
875
+ #
876
+ # resp = client.create_core_network({
877
+ # global_network_id: "GlobalNetworkId", # required
878
+ # description: "ConstrainedString",
879
+ # tags: [
880
+ # {
881
+ # key: "TagKey",
882
+ # value: "TagValue",
883
+ # },
884
+ # ],
885
+ # policy_document: "CoreNetworkPolicyDocument",
886
+ # client_token: "ClientToken",
887
+ # })
888
+ #
889
+ # @example Response structure
890
+ #
891
+ # resp.core_network.global_network_id #=> String
892
+ # resp.core_network.core_network_id #=> String
893
+ # resp.core_network.core_network_arn #=> String
894
+ # resp.core_network.description #=> String
895
+ # resp.core_network.created_at #=> Time
896
+ # resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
897
+ # resp.core_network.segments #=> Array
898
+ # resp.core_network.segments[0].name #=> String
899
+ # resp.core_network.segments[0].edge_locations #=> Array
900
+ # resp.core_network.segments[0].edge_locations[0] #=> String
901
+ # resp.core_network.segments[0].shared_segments #=> Array
902
+ # resp.core_network.segments[0].shared_segments[0] #=> String
903
+ # resp.core_network.edges #=> Array
904
+ # resp.core_network.edges[0].edge_location #=> String
905
+ # resp.core_network.edges[0].asn #=> Integer
906
+ # resp.core_network.edges[0].inside_cidr_blocks #=> Array
907
+ # resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
908
+ # resp.core_network.tags #=> Array
909
+ # resp.core_network.tags[0].key #=> String
910
+ # resp.core_network.tags[0].value #=> String
911
+ #
912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateCoreNetwork AWS API Documentation
913
+ #
914
+ # @overload create_core_network(params = {})
915
+ # @param [Hash] params ({})
916
+ def create_core_network(params = {}, options = {})
917
+ req = build_request(:create_core_network, params)
918
+ req.send_request(options)
919
+ end
920
+
569
921
  # Creates a new device in a global network. If you specify both a site
570
922
  # ID and a location, the location of the site is used for visualization
571
923
  # in the Network Manager console.
@@ -616,22 +968,22 @@ module Aws::NetworkManager
616
968
  # @example Request syntax with placeholder values
617
969
  #
618
970
  # resp = client.create_device({
619
- # global_network_id: "String", # required
971
+ # global_network_id: "GlobalNetworkId", # required
620
972
  # aws_location: {
621
- # zone: "String",
622
- # subnet_arn: "String",
973
+ # zone: "ConstrainedString",
974
+ # subnet_arn: "SubnetArn",
623
975
  # },
624
- # description: "String",
625
- # type: "String",
626
- # vendor: "String",
627
- # model: "String",
628
- # serial_number: "String",
976
+ # description: "ConstrainedString",
977
+ # type: "ConstrainedString",
978
+ # vendor: "ConstrainedString",
979
+ # model: "ConstrainedString",
980
+ # serial_number: "ConstrainedString",
629
981
  # location: {
630
- # address: "String",
631
- # latitude: "String",
632
- # longitude: "String",
982
+ # address: "ConstrainedString",
983
+ # latitude: "ConstrainedString",
984
+ # longitude: "ConstrainedString",
633
985
  # },
634
- # site_id: "String",
986
+ # site_id: "SiteId",
635
987
  # tags: [
636
988
  # {
637
989
  # key: "TagKey",
@@ -688,7 +1040,7 @@ module Aws::NetworkManager
688
1040
  # @example Request syntax with placeholder values
689
1041
  #
690
1042
  # resp = client.create_global_network({
691
- # description: "String",
1043
+ # description: "ConstrainedString",
692
1044
  # tags: [
693
1045
  # {
694
1046
  # key: "TagKey",
@@ -755,15 +1107,15 @@ module Aws::NetworkManager
755
1107
  # @example Request syntax with placeholder values
756
1108
  #
757
1109
  # resp = client.create_link({
758
- # global_network_id: "String", # required
759
- # description: "String",
760
- # type: "String",
1110
+ # global_network_id: "GlobalNetworkId", # required
1111
+ # description: "ConstrainedString",
1112
+ # type: "ConstrainedString",
761
1113
  # bandwidth: { # required
762
1114
  # upload_speed: 1,
763
1115
  # download_speed: 1,
764
1116
  # },
765
- # provider: "String",
766
- # site_id: "String", # required
1117
+ # provider: "ConstrainedString",
1118
+ # site_id: "SiteId", # required
767
1119
  # tags: [
768
1120
  # {
769
1121
  # key: "TagKey",
@@ -829,12 +1181,12 @@ module Aws::NetworkManager
829
1181
  # @example Request syntax with placeholder values
830
1182
  #
831
1183
  # resp = client.create_site({
832
- # global_network_id: "String", # required
833
- # description: "String",
1184
+ # global_network_id: "GlobalNetworkId", # required
1185
+ # description: "ConstrainedString",
834
1186
  # location: {
835
- # address: "String",
836
- # latitude: "String",
837
- # longitude: "String",
1187
+ # address: "ConstrainedString",
1188
+ # latitude: "ConstrainedString",
1189
+ # longitude: "ConstrainedString",
838
1190
  # },
839
1191
  # tags: [
840
1192
  # {
@@ -868,6 +1220,249 @@ module Aws::NetworkManager
868
1220
  req.send_request(options)
869
1221
  end
870
1222
 
1223
+ # Creates a site-to-site VPN attachment on an edge location of a core
1224
+ # network.
1225
+ #
1226
+ # @option params [required, String] :core_network_id
1227
+ # The ID of a core network where you're creating a site-to-site VPN
1228
+ # attachment.
1229
+ #
1230
+ # @option params [required, String] :vpn_connection_arn
1231
+ # The ARN identifying the VPN attachment.
1232
+ #
1233
+ # @option params [Array<Types::Tag>] :tags
1234
+ # The tags associated with the request.
1235
+ #
1236
+ # @option params [String] :client_token
1237
+ # The client token associated with the request.
1238
+ #
1239
+ # **A suitable default value is auto-generated.** You should normally
1240
+ # not need to pass this option.**
1241
+ #
1242
+ # @return [Types::CreateSiteToSiteVpnAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1243
+ #
1244
+ # * {Types::CreateSiteToSiteVpnAttachmentResponse#site_to_site_vpn_attachment #site_to_site_vpn_attachment} => Types::SiteToSiteVpnAttachment
1245
+ #
1246
+ # @example Request syntax with placeholder values
1247
+ #
1248
+ # resp = client.create_site_to_site_vpn_attachment({
1249
+ # core_network_id: "CoreNetworkId", # required
1250
+ # vpn_connection_arn: "VpnConnectionArn", # required
1251
+ # tags: [
1252
+ # {
1253
+ # key: "TagKey",
1254
+ # value: "TagValue",
1255
+ # },
1256
+ # ],
1257
+ # client_token: "ClientToken",
1258
+ # })
1259
+ #
1260
+ # @example Response structure
1261
+ #
1262
+ # resp.site_to_site_vpn_attachment.attachment.core_network_id #=> String
1263
+ # resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
1264
+ # resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
1265
+ # resp.site_to_site_vpn_attachment.attachment.owner_account_id #=> String
1266
+ # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
1267
+ # 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"
1268
+ # resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
1269
+ # resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
1270
+ # resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
1271
+ # resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
1272
+ # resp.site_to_site_vpn_attachment.attachment.tags #=> Array
1273
+ # resp.site_to_site_vpn_attachment.attachment.tags[0].key #=> String
1274
+ # resp.site_to_site_vpn_attachment.attachment.tags[0].value #=> String
1275
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags #=> Array
1276
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].key #=> String
1277
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].value #=> String
1278
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
1279
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.segment_name #=> String
1280
+ # resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
1281
+ # resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
1282
+ # resp.site_to_site_vpn_attachment.vpn_connection_arn #=> String
1283
+ #
1284
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSiteToSiteVpnAttachment AWS API Documentation
1285
+ #
1286
+ # @overload create_site_to_site_vpn_attachment(params = {})
1287
+ # @param [Hash] params ({})
1288
+ def create_site_to_site_vpn_attachment(params = {}, options = {})
1289
+ req = build_request(:create_site_to_site_vpn_attachment, params)
1290
+ req.send_request(options)
1291
+ end
1292
+
1293
+ # Creates a VPC attachment on an edge location of a core network.
1294
+ #
1295
+ # @option params [required, String] :core_network_id
1296
+ # The ID of a core network for the VPC attachment.
1297
+ #
1298
+ # @option params [required, String] :vpc_arn
1299
+ # The ARN of the VPC.
1300
+ #
1301
+ # @option params [required, Array<String>] :subnet_arns
1302
+ # The subnet ARN of the VPC attachment.
1303
+ #
1304
+ # @option params [Types::VpcOptions] :options
1305
+ # Options for the VPC attachment.
1306
+ #
1307
+ # @option params [Array<Types::Tag>] :tags
1308
+ # The key-value tags associated with the request.
1309
+ #
1310
+ # @option params [String] :client_token
1311
+ # The client token associated with the request.
1312
+ #
1313
+ # **A suitable default value is auto-generated.** You should normally
1314
+ # not need to pass this option.**
1315
+ #
1316
+ # @return [Types::CreateVpcAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1317
+ #
1318
+ # * {Types::CreateVpcAttachmentResponse#vpc_attachment #vpc_attachment} => Types::VpcAttachment
1319
+ #
1320
+ # @example Request syntax with placeholder values
1321
+ #
1322
+ # resp = client.create_vpc_attachment({
1323
+ # core_network_id: "CoreNetworkId", # required
1324
+ # vpc_arn: "VpcArn", # required
1325
+ # subnet_arns: ["SubnetArn"], # required
1326
+ # options: {
1327
+ # ipv_6_support: false,
1328
+ # },
1329
+ # tags: [
1330
+ # {
1331
+ # key: "TagKey",
1332
+ # value: "TagValue",
1333
+ # },
1334
+ # ],
1335
+ # client_token: "ClientToken",
1336
+ # })
1337
+ #
1338
+ # @example Response structure
1339
+ #
1340
+ # resp.vpc_attachment.attachment.core_network_id #=> String
1341
+ # resp.vpc_attachment.attachment.core_network_arn #=> String
1342
+ # resp.vpc_attachment.attachment.attachment_id #=> String
1343
+ # resp.vpc_attachment.attachment.owner_account_id #=> String
1344
+ # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
1345
+ # resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1346
+ # resp.vpc_attachment.attachment.edge_location #=> String
1347
+ # resp.vpc_attachment.attachment.resource_arn #=> String
1348
+ # resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
1349
+ # resp.vpc_attachment.attachment.segment_name #=> String
1350
+ # resp.vpc_attachment.attachment.tags #=> Array
1351
+ # resp.vpc_attachment.attachment.tags[0].key #=> String
1352
+ # resp.vpc_attachment.attachment.tags[0].value #=> String
1353
+ # resp.vpc_attachment.attachment.proposed_segment_change.tags #=> Array
1354
+ # resp.vpc_attachment.attachment.proposed_segment_change.tags[0].key #=> String
1355
+ # resp.vpc_attachment.attachment.proposed_segment_change.tags[0].value #=> String
1356
+ # resp.vpc_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
1357
+ # resp.vpc_attachment.attachment.proposed_segment_change.segment_name #=> String
1358
+ # resp.vpc_attachment.attachment.created_at #=> Time
1359
+ # resp.vpc_attachment.attachment.updated_at #=> Time
1360
+ # resp.vpc_attachment.subnet_arns #=> Array
1361
+ # resp.vpc_attachment.subnet_arns[0] #=> String
1362
+ # resp.vpc_attachment.options.ipv_6_support #=> Boolean
1363
+ #
1364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateVpcAttachment AWS API Documentation
1365
+ #
1366
+ # @overload create_vpc_attachment(params = {})
1367
+ # @param [Hash] params ({})
1368
+ def create_vpc_attachment(params = {}, options = {})
1369
+ req = build_request(:create_vpc_attachment, params)
1370
+ req.send_request(options)
1371
+ end
1372
+
1373
+ # Deletes an attachment. Supports all attachment types.
1374
+ #
1375
+ # @option params [required, String] :attachment_id
1376
+ # The ID of the attachment to delete.
1377
+ #
1378
+ # @return [Types::DeleteAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1379
+ #
1380
+ # * {Types::DeleteAttachmentResponse#attachment #attachment} => Types::Attachment
1381
+ #
1382
+ # @example Request syntax with placeholder values
1383
+ #
1384
+ # resp = client.delete_attachment({
1385
+ # attachment_id: "AttachmentId", # required
1386
+ # })
1387
+ #
1388
+ # @example Response structure
1389
+ #
1390
+ # resp.attachment.core_network_id #=> String
1391
+ # resp.attachment.core_network_arn #=> String
1392
+ # resp.attachment.attachment_id #=> String
1393
+ # resp.attachment.owner_account_id #=> String
1394
+ # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
1395
+ # resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
1396
+ # resp.attachment.edge_location #=> String
1397
+ # resp.attachment.resource_arn #=> String
1398
+ # resp.attachment.attachment_policy_rule_number #=> Integer
1399
+ # resp.attachment.segment_name #=> String
1400
+ # resp.attachment.tags #=> Array
1401
+ # resp.attachment.tags[0].key #=> String
1402
+ # resp.attachment.tags[0].value #=> String
1403
+ # resp.attachment.proposed_segment_change.tags #=> Array
1404
+ # resp.attachment.proposed_segment_change.tags[0].key #=> String
1405
+ # resp.attachment.proposed_segment_change.tags[0].value #=> String
1406
+ # resp.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
1407
+ # resp.attachment.proposed_segment_change.segment_name #=> String
1408
+ # resp.attachment.created_at #=> Time
1409
+ # resp.attachment.updated_at #=> Time
1410
+ #
1411
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteAttachment AWS API Documentation
1412
+ #
1413
+ # @overload delete_attachment(params = {})
1414
+ # @param [Hash] params ({})
1415
+ def delete_attachment(params = {}, options = {})
1416
+ req = build_request(:delete_attachment, params)
1417
+ req.send_request(options)
1418
+ end
1419
+
1420
+ # Deletes a Connect peer.
1421
+ #
1422
+ # @option params [required, String] :connect_peer_id
1423
+ # The ID of the deleted Connect peer.
1424
+ #
1425
+ # @return [Types::DeleteConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1426
+ #
1427
+ # * {Types::DeleteConnectPeerResponse#connect_peer #connect_peer} => Types::ConnectPeer
1428
+ #
1429
+ # @example Request syntax with placeholder values
1430
+ #
1431
+ # resp = client.delete_connect_peer({
1432
+ # connect_peer_id: "ConnectPeerId", # required
1433
+ # })
1434
+ #
1435
+ # @example Response structure
1436
+ #
1437
+ # resp.connect_peer.core_network_id #=> String
1438
+ # resp.connect_peer.connect_attachment_id #=> String
1439
+ # resp.connect_peer.connect_peer_id #=> String
1440
+ # resp.connect_peer.edge_location #=> String
1441
+ # resp.connect_peer.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
1442
+ # resp.connect_peer.created_at #=> Time
1443
+ # resp.connect_peer.configuration.core_network_address #=> String
1444
+ # resp.connect_peer.configuration.peer_address #=> String
1445
+ # resp.connect_peer.configuration.inside_cidr_blocks #=> Array
1446
+ # resp.connect_peer.configuration.inside_cidr_blocks[0] #=> String
1447
+ # resp.connect_peer.configuration.protocol #=> String, one of "GRE"
1448
+ # resp.connect_peer.configuration.bgp_configurations #=> Array
1449
+ # resp.connect_peer.configuration.bgp_configurations[0].core_network_asn #=> Integer
1450
+ # resp.connect_peer.configuration.bgp_configurations[0].peer_asn #=> Integer
1451
+ # resp.connect_peer.configuration.bgp_configurations[0].core_network_address #=> String
1452
+ # resp.connect_peer.configuration.bgp_configurations[0].peer_address #=> String
1453
+ # resp.connect_peer.tags #=> Array
1454
+ # resp.connect_peer.tags[0].key #=> String
1455
+ # resp.connect_peer.tags[0].value #=> String
1456
+ #
1457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnectPeer AWS API Documentation
1458
+ #
1459
+ # @overload delete_connect_peer(params = {})
1460
+ # @param [Hash] params ({})
1461
+ def delete_connect_peer(params = {}, options = {})
1462
+ req = build_request(:delete_connect_peer, params)
1463
+ req.send_request(options)
1464
+ end
1465
+
871
1466
  # Deletes the specified connection in your global network.
872
1467
  #
873
1468
  # @option params [required, String] :global_network_id
@@ -883,8 +1478,8 @@ module Aws::NetworkManager
883
1478
  # @example Request syntax with placeholder values
884
1479
  #
885
1480
  # resp = client.delete_connection({
886
- # global_network_id: "String", # required
887
- # connection_id: "String", # required
1481
+ # global_network_id: "GlobalNetworkId", # required
1482
+ # connection_id: "ConnectionId", # required
888
1483
  # })
889
1484
  #
890
1485
  # @example Response structure
@@ -912,6 +1507,97 @@ module Aws::NetworkManager
912
1507
  req.send_request(options)
913
1508
  end
914
1509
 
1510
+ # Deletes a core network along with all core network policies. This can
1511
+ # only be done if there are no attachments on a core network.
1512
+ #
1513
+ # @option params [required, String] :core_network_id
1514
+ # The network ID of the deleted core network.
1515
+ #
1516
+ # @return [Types::DeleteCoreNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1517
+ #
1518
+ # * {Types::DeleteCoreNetworkResponse#core_network #core_network} => Types::CoreNetwork
1519
+ #
1520
+ # @example Request syntax with placeholder values
1521
+ #
1522
+ # resp = client.delete_core_network({
1523
+ # core_network_id: "CoreNetworkId", # required
1524
+ # })
1525
+ #
1526
+ # @example Response structure
1527
+ #
1528
+ # resp.core_network.global_network_id #=> String
1529
+ # resp.core_network.core_network_id #=> String
1530
+ # resp.core_network.core_network_arn #=> String
1531
+ # resp.core_network.description #=> String
1532
+ # resp.core_network.created_at #=> Time
1533
+ # resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
1534
+ # resp.core_network.segments #=> Array
1535
+ # resp.core_network.segments[0].name #=> String
1536
+ # resp.core_network.segments[0].edge_locations #=> Array
1537
+ # resp.core_network.segments[0].edge_locations[0] #=> String
1538
+ # resp.core_network.segments[0].shared_segments #=> Array
1539
+ # resp.core_network.segments[0].shared_segments[0] #=> String
1540
+ # resp.core_network.edges #=> Array
1541
+ # resp.core_network.edges[0].edge_location #=> String
1542
+ # resp.core_network.edges[0].asn #=> Integer
1543
+ # resp.core_network.edges[0].inside_cidr_blocks #=> Array
1544
+ # resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
1545
+ # resp.core_network.tags #=> Array
1546
+ # resp.core_network.tags[0].key #=> String
1547
+ # resp.core_network.tags[0].value #=> String
1548
+ #
1549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteCoreNetwork AWS API Documentation
1550
+ #
1551
+ # @overload delete_core_network(params = {})
1552
+ # @param [Hash] params ({})
1553
+ def delete_core_network(params = {}, options = {})
1554
+ req = build_request(:delete_core_network, params)
1555
+ req.send_request(options)
1556
+ end
1557
+
1558
+ # Deletes a policy version from a core network. You can't delete the
1559
+ # current LIVE policy.
1560
+ #
1561
+ # @option params [required, String] :core_network_id
1562
+ # The ID of a core network for the deleted policy.
1563
+ #
1564
+ # @option params [required, Integer] :policy_version_id
1565
+ # The version ID of the deleted policy.
1566
+ #
1567
+ # @return [Types::DeleteCoreNetworkPolicyVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1568
+ #
1569
+ # * {Types::DeleteCoreNetworkPolicyVersionResponse#core_network_policy #core_network_policy} => Types::CoreNetworkPolicy
1570
+ #
1571
+ # @example Request syntax with placeholder values
1572
+ #
1573
+ # resp = client.delete_core_network_policy_version({
1574
+ # core_network_id: "CoreNetworkId", # required
1575
+ # policy_version_id: 1, # required
1576
+ # })
1577
+ #
1578
+ # @example Response structure
1579
+ #
1580
+ # resp.core_network_policy.core_network_id #=> String
1581
+ # resp.core_network_policy.policy_version_id #=> Integer
1582
+ # resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
1583
+ # resp.core_network_policy.description #=> String
1584
+ # resp.core_network_policy.created_at #=> Time
1585
+ # resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
1586
+ # resp.core_network_policy.policy_errors #=> Array
1587
+ # resp.core_network_policy.policy_errors[0].error_code #=> String
1588
+ # resp.core_network_policy.policy_errors[0].message #=> String
1589
+ # resp.core_network_policy.policy_errors[0].path #=> String
1590
+ # resp.core_network_policy.policy_document #=> String
1591
+ #
1592
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteCoreNetworkPolicyVersion AWS API Documentation
1593
+ #
1594
+ # @overload delete_core_network_policy_version(params = {})
1595
+ # @param [Hash] params ({})
1596
+ def delete_core_network_policy_version(params = {}, options = {})
1597
+ req = build_request(:delete_core_network_policy_version, params)
1598
+ req.send_request(options)
1599
+ end
1600
+
915
1601
  # Deletes an existing device. You must first disassociate the device
916
1602
  # from any links and customer gateways.
917
1603
  #
@@ -928,8 +1614,8 @@ module Aws::NetworkManager
928
1614
  # @example Request syntax with placeholder values
929
1615
  #
930
1616
  # resp = client.delete_device({
931
- # global_network_id: "String", # required
932
- # device_id: "String", # required
1617
+ # global_network_id: "GlobalNetworkId", # required
1618
+ # device_id: "DeviceId", # required
933
1619
  # })
934
1620
  #
935
1621
  # @example Response structure
@@ -977,7 +1663,7 @@ module Aws::NetworkManager
977
1663
  # @example Request syntax with placeholder values
978
1664
  #
979
1665
  # resp = client.delete_global_network({
980
- # global_network_id: "String", # required
1666
+ # global_network_id: "GlobalNetworkId", # required
981
1667
  # })
982
1668
  #
983
1669
  # @example Response structure
@@ -1016,8 +1702,8 @@ module Aws::NetworkManager
1016
1702
  # @example Request syntax with placeholder values
1017
1703
  #
1018
1704
  # resp = client.delete_link({
1019
- # global_network_id: "String", # required
1020
- # link_id: "String", # required
1705
+ # global_network_id: "GlobalNetworkId", # required
1706
+ # link_id: "LinkId", # required
1021
1707
  # })
1022
1708
  #
1023
1709
  # @example Response structure
@@ -1046,6 +1732,29 @@ module Aws::NetworkManager
1046
1732
  req.send_request(options)
1047
1733
  end
1048
1734
 
1735
+ # Deletes a resource policy for the specified resource. This revokes the
1736
+ # access of the principals specified in the resource policy.
1737
+ #
1738
+ # @option params [required, String] :resource_arn
1739
+ # The ARN of the policy to delete.
1740
+ #
1741
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1742
+ #
1743
+ # @example Request syntax with placeholder values
1744
+ #
1745
+ # resp = client.delete_resource_policy({
1746
+ # resource_arn: "ResourceArn", # required
1747
+ # })
1748
+ #
1749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteResourcePolicy AWS API Documentation
1750
+ #
1751
+ # @overload delete_resource_policy(params = {})
1752
+ # @param [Hash] params ({})
1753
+ def delete_resource_policy(params = {}, options = {})
1754
+ req = build_request(:delete_resource_policy, params)
1755
+ req.send_request(options)
1756
+ end
1757
+
1049
1758
  # Deletes an existing site. The site cannot be associated with any
1050
1759
  # device or link.
1051
1760
  #
@@ -1062,8 +1771,8 @@ module Aws::NetworkManager
1062
1771
  # @example Request syntax with placeholder values
1063
1772
  #
1064
1773
  # resp = client.delete_site({
1065
- # global_network_id: "String", # required
1066
- # site_id: "String", # required
1774
+ # global_network_id: "GlobalNetworkId", # required
1775
+ # site_id: "SiteId", # required
1067
1776
  # })
1068
1777
  #
1069
1778
  # @example Response structure
@@ -1107,8 +1816,8 @@ module Aws::NetworkManager
1107
1816
  # @example Request syntax with placeholder values
1108
1817
  #
1109
1818
  # resp = client.deregister_transit_gateway({
1110
- # global_network_id: "String", # required
1111
- # transit_gateway_arn: "String", # required
1819
+ # global_network_id: "GlobalNetworkId", # required
1820
+ # transit_gateway_arn: "TransitGatewayArn", # required
1112
1821
  # })
1113
1822
  #
1114
1823
  # @example Response structure
@@ -1152,9 +1861,9 @@ module Aws::NetworkManager
1152
1861
  # @example Request syntax with placeholder values
1153
1862
  #
1154
1863
  # resp = client.describe_global_networks({
1155
- # global_network_ids: ["String"],
1864
+ # global_network_ids: ["GlobalNetworkId"],
1156
1865
  # max_results: 1,
1157
- # next_token: "String",
1866
+ # next_token: "NextToken",
1158
1867
  # })
1159
1868
  #
1160
1869
  # @example Response structure
@@ -1179,6 +1888,42 @@ module Aws::NetworkManager
1179
1888
  req.send_request(options)
1180
1889
  end
1181
1890
 
1891
+ # Disassociates a core network Connect peer from a device and a link.
1892
+ #
1893
+ # @option params [required, String] :global_network_id
1894
+ # The ID of the global network.
1895
+ #
1896
+ # @option params [required, String] :connect_peer_id
1897
+ # The ID of the Connect peer to disassociate from a device.
1898
+ #
1899
+ # @return [Types::DisassociateConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1900
+ #
1901
+ # * {Types::DisassociateConnectPeerResponse#connect_peer_association #connect_peer_association} => Types::ConnectPeerAssociation
1902
+ #
1903
+ # @example Request syntax with placeholder values
1904
+ #
1905
+ # resp = client.disassociate_connect_peer({
1906
+ # global_network_id: "GlobalNetworkId", # required
1907
+ # connect_peer_id: "ConnectPeerId", # required
1908
+ # })
1909
+ #
1910
+ # @example Response structure
1911
+ #
1912
+ # resp.connect_peer_association.connect_peer_id #=> String
1913
+ # resp.connect_peer_association.global_network_id #=> String
1914
+ # resp.connect_peer_association.device_id #=> String
1915
+ # resp.connect_peer_association.link_id #=> String
1916
+ # resp.connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
1917
+ #
1918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateConnectPeer AWS API Documentation
1919
+ #
1920
+ # @overload disassociate_connect_peer(params = {})
1921
+ # @param [Hash] params ({})
1922
+ def disassociate_connect_peer(params = {}, options = {})
1923
+ req = build_request(:disassociate_connect_peer, params)
1924
+ req.send_request(options)
1925
+ end
1926
+
1182
1927
  # Disassociates a customer gateway from a device and a link.
1183
1928
  #
1184
1929
  # @option params [required, String] :global_network_id
@@ -1194,8 +1939,8 @@ module Aws::NetworkManager
1194
1939
  # @example Request syntax with placeholder values
1195
1940
  #
1196
1941
  # resp = client.disassociate_customer_gateway({
1197
- # global_network_id: "String", # required
1198
- # customer_gateway_arn: "String", # required
1942
+ # global_network_id: "GlobalNetworkId", # required
1943
+ # customer_gateway_arn: "CustomerGatewayArn", # required
1199
1944
  # })
1200
1945
  #
1201
1946
  # @example Response structure
@@ -1234,9 +1979,9 @@ module Aws::NetworkManager
1234
1979
  # @example Request syntax with placeholder values
1235
1980
  #
1236
1981
  # resp = client.disassociate_link({
1237
- # global_network_id: "String", # required
1238
- # device_id: "String", # required
1239
- # link_id: "String", # required
1982
+ # global_network_id: "GlobalNetworkId", # required
1983
+ # device_id: "DeviceId", # required
1984
+ # link_id: "LinkId", # required
1240
1985
  # })
1241
1986
  #
1242
1987
  # @example Response structure
@@ -1270,8 +2015,8 @@ module Aws::NetworkManager
1270
2015
  # @example Request syntax with placeholder values
1271
2016
  #
1272
2017
  # resp = client.disassociate_transit_gateway_connect_peer({
1273
- # global_network_id: "String", # required
1274
- # transit_gateway_connect_peer_arn: "String", # required
2018
+ # global_network_id: "GlobalNetworkId", # required
2019
+ # transit_gateway_connect_peer_arn: "TransitGatewayConnectPeerArn", # required
1275
2020
  # })
1276
2021
  #
1277
2022
  # @example Response structure
@@ -1291,6 +2036,177 @@ module Aws::NetworkManager
1291
2036
  req.send_request(options)
1292
2037
  end
1293
2038
 
2039
+ # Executes a change set on your core network. Deploys changes globally
2040
+ # based on the policy submitted..
2041
+ #
2042
+ # @option params [required, String] :core_network_id
2043
+ # The ID of a core network.
2044
+ #
2045
+ # @option params [required, Integer] :policy_version_id
2046
+ # The ID of the policy version.
2047
+ #
2048
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2049
+ #
2050
+ # @example Request syntax with placeholder values
2051
+ #
2052
+ # resp = client.execute_core_network_change_set({
2053
+ # core_network_id: "CoreNetworkId", # required
2054
+ # policy_version_id: 1, # required
2055
+ # })
2056
+ #
2057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ExecuteCoreNetworkChangeSet AWS API Documentation
2058
+ #
2059
+ # @overload execute_core_network_change_set(params = {})
2060
+ # @param [Hash] params ({})
2061
+ def execute_core_network_change_set(params = {}, options = {})
2062
+ req = build_request(:execute_core_network_change_set, params)
2063
+ req.send_request(options)
2064
+ end
2065
+
2066
+ # Returns information about a core network Connect attachment.
2067
+ #
2068
+ # @option params [required, String] :attachment_id
2069
+ # The ID of the attachment.
2070
+ #
2071
+ # @return [Types::GetConnectAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2072
+ #
2073
+ # * {Types::GetConnectAttachmentResponse#connect_attachment #connect_attachment} => Types::ConnectAttachment
2074
+ #
2075
+ # @example Request syntax with placeholder values
2076
+ #
2077
+ # resp = client.get_connect_attachment({
2078
+ # attachment_id: "AttachmentId", # required
2079
+ # })
2080
+ #
2081
+ # @example Response structure
2082
+ #
2083
+ # resp.connect_attachment.attachment.core_network_id #=> String
2084
+ # resp.connect_attachment.attachment.core_network_arn #=> String
2085
+ # resp.connect_attachment.attachment.attachment_id #=> String
2086
+ # resp.connect_attachment.attachment.owner_account_id #=> String
2087
+ # resp.connect_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
2088
+ # resp.connect_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
2089
+ # resp.connect_attachment.attachment.edge_location #=> String
2090
+ # resp.connect_attachment.attachment.resource_arn #=> String
2091
+ # resp.connect_attachment.attachment.attachment_policy_rule_number #=> Integer
2092
+ # resp.connect_attachment.attachment.segment_name #=> String
2093
+ # resp.connect_attachment.attachment.tags #=> Array
2094
+ # resp.connect_attachment.attachment.tags[0].key #=> String
2095
+ # resp.connect_attachment.attachment.tags[0].value #=> String
2096
+ # resp.connect_attachment.attachment.proposed_segment_change.tags #=> Array
2097
+ # resp.connect_attachment.attachment.proposed_segment_change.tags[0].key #=> String
2098
+ # resp.connect_attachment.attachment.proposed_segment_change.tags[0].value #=> String
2099
+ # resp.connect_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
2100
+ # resp.connect_attachment.attachment.proposed_segment_change.segment_name #=> String
2101
+ # resp.connect_attachment.attachment.created_at #=> Time
2102
+ # resp.connect_attachment.attachment.updated_at #=> Time
2103
+ # resp.connect_attachment.transport_attachment_id #=> String
2104
+ # resp.connect_attachment.options.protocol #=> String, one of "GRE"
2105
+ #
2106
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectAttachment AWS API Documentation
2107
+ #
2108
+ # @overload get_connect_attachment(params = {})
2109
+ # @param [Hash] params ({})
2110
+ def get_connect_attachment(params = {}, options = {})
2111
+ req = build_request(:get_connect_attachment, params)
2112
+ req.send_request(options)
2113
+ end
2114
+
2115
+ # Returns information about a core network Connect peer.
2116
+ #
2117
+ # @option params [required, String] :connect_peer_id
2118
+ # The ID of the Connect peer.
2119
+ #
2120
+ # @return [Types::GetConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2121
+ #
2122
+ # * {Types::GetConnectPeerResponse#connect_peer #connect_peer} => Types::ConnectPeer
2123
+ #
2124
+ # @example Request syntax with placeholder values
2125
+ #
2126
+ # resp = client.get_connect_peer({
2127
+ # connect_peer_id: "ConnectPeerId", # required
2128
+ # })
2129
+ #
2130
+ # @example Response structure
2131
+ #
2132
+ # resp.connect_peer.core_network_id #=> String
2133
+ # resp.connect_peer.connect_attachment_id #=> String
2134
+ # resp.connect_peer.connect_peer_id #=> String
2135
+ # resp.connect_peer.edge_location #=> String
2136
+ # resp.connect_peer.state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
2137
+ # resp.connect_peer.created_at #=> Time
2138
+ # resp.connect_peer.configuration.core_network_address #=> String
2139
+ # resp.connect_peer.configuration.peer_address #=> String
2140
+ # resp.connect_peer.configuration.inside_cidr_blocks #=> Array
2141
+ # resp.connect_peer.configuration.inside_cidr_blocks[0] #=> String
2142
+ # resp.connect_peer.configuration.protocol #=> String, one of "GRE"
2143
+ # resp.connect_peer.configuration.bgp_configurations #=> Array
2144
+ # resp.connect_peer.configuration.bgp_configurations[0].core_network_asn #=> Integer
2145
+ # resp.connect_peer.configuration.bgp_configurations[0].peer_asn #=> Integer
2146
+ # resp.connect_peer.configuration.bgp_configurations[0].core_network_address #=> String
2147
+ # resp.connect_peer.configuration.bgp_configurations[0].peer_address #=> String
2148
+ # resp.connect_peer.tags #=> Array
2149
+ # resp.connect_peer.tags[0].key #=> String
2150
+ # resp.connect_peer.tags[0].value #=> String
2151
+ #
2152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectPeer AWS API Documentation
2153
+ #
2154
+ # @overload get_connect_peer(params = {})
2155
+ # @param [Hash] params ({})
2156
+ def get_connect_peer(params = {}, options = {})
2157
+ req = build_request(:get_connect_peer, params)
2158
+ req.send_request(options)
2159
+ end
2160
+
2161
+ # Returns information about a core network Connect peer associations.
2162
+ #
2163
+ # @option params [required, String] :global_network_id
2164
+ # The ID of the global network.
2165
+ #
2166
+ # @option params [Array<String>] :connect_peer_ids
2167
+ # The IDs of the Connect peers.
2168
+ #
2169
+ # @option params [Integer] :max_results
2170
+ # The maximum number of results to return.
2171
+ #
2172
+ # @option params [String] :next_token
2173
+ # The token for the next page of results.
2174
+ #
2175
+ # @return [Types::GetConnectPeerAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2176
+ #
2177
+ # * {Types::GetConnectPeerAssociationsResponse#connect_peer_associations #connect_peer_associations} => Array&lt;Types::ConnectPeerAssociation&gt;
2178
+ # * {Types::GetConnectPeerAssociationsResponse#next_token #next_token} => String
2179
+ #
2180
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2181
+ #
2182
+ # @example Request syntax with placeholder values
2183
+ #
2184
+ # resp = client.get_connect_peer_associations({
2185
+ # global_network_id: "GlobalNetworkId", # required
2186
+ # connect_peer_ids: ["ConnectPeerId"],
2187
+ # max_results: 1,
2188
+ # next_token: "NextToken",
2189
+ # })
2190
+ #
2191
+ # @example Response structure
2192
+ #
2193
+ # resp.connect_peer_associations #=> Array
2194
+ # resp.connect_peer_associations[0].connect_peer_id #=> String
2195
+ # resp.connect_peer_associations[0].global_network_id #=> String
2196
+ # resp.connect_peer_associations[0].device_id #=> String
2197
+ # resp.connect_peer_associations[0].link_id #=> String
2198
+ # resp.connect_peer_associations[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
2199
+ # resp.next_token #=> String
2200
+ #
2201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectPeerAssociations AWS API Documentation
2202
+ #
2203
+ # @overload get_connect_peer_associations(params = {})
2204
+ # @param [Hash] params ({})
2205
+ def get_connect_peer_associations(params = {}, options = {})
2206
+ req = build_request(:get_connect_peer_associations, params)
2207
+ req.send_request(options)
2208
+ end
2209
+
1294
2210
  # Gets information about one or more of your connections in a global
1295
2211
  # network.
1296
2212
  #
@@ -1319,11 +2235,11 @@ module Aws::NetworkManager
1319
2235
  # @example Request syntax with placeholder values
1320
2236
  #
1321
2237
  # resp = client.get_connections({
1322
- # global_network_id: "String", # required
1323
- # connection_ids: ["String"],
1324
- # device_id: "String",
2238
+ # global_network_id: "GlobalNetworkId", # required
2239
+ # connection_ids: ["ConnectionId"],
2240
+ # device_id: "DeviceId",
1325
2241
  # max_results: 1,
1326
- # next_token: "String",
2242
+ # next_token: "NextToken",
1327
2243
  # })
1328
2244
  #
1329
2245
  # @example Response structure
@@ -1353,6 +2269,169 @@ module Aws::NetworkManager
1353
2269
  req.send_request(options)
1354
2270
  end
1355
2271
 
2272
+ # Returns information about a core network. By default it returns the
2273
+ # LIVE policy.
2274
+ #
2275
+ # @option params [required, String] :core_network_id
2276
+ # The ID of a core network.
2277
+ #
2278
+ # @return [Types::GetCoreNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2279
+ #
2280
+ # * {Types::GetCoreNetworkResponse#core_network #core_network} => Types::CoreNetwork
2281
+ #
2282
+ # @example Request syntax with placeholder values
2283
+ #
2284
+ # resp = client.get_core_network({
2285
+ # core_network_id: "CoreNetworkId", # required
2286
+ # })
2287
+ #
2288
+ # @example Response structure
2289
+ #
2290
+ # resp.core_network.global_network_id #=> String
2291
+ # resp.core_network.core_network_id #=> String
2292
+ # resp.core_network.core_network_arn #=> String
2293
+ # resp.core_network.description #=> String
2294
+ # resp.core_network.created_at #=> Time
2295
+ # resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
2296
+ # resp.core_network.segments #=> Array
2297
+ # resp.core_network.segments[0].name #=> String
2298
+ # resp.core_network.segments[0].edge_locations #=> Array
2299
+ # resp.core_network.segments[0].edge_locations[0] #=> String
2300
+ # resp.core_network.segments[0].shared_segments #=> Array
2301
+ # resp.core_network.segments[0].shared_segments[0] #=> String
2302
+ # resp.core_network.edges #=> Array
2303
+ # resp.core_network.edges[0].edge_location #=> String
2304
+ # resp.core_network.edges[0].asn #=> Integer
2305
+ # resp.core_network.edges[0].inside_cidr_blocks #=> Array
2306
+ # resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
2307
+ # resp.core_network.tags #=> Array
2308
+ # resp.core_network.tags[0].key #=> String
2309
+ # resp.core_network.tags[0].value #=> String
2310
+ #
2311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetwork AWS API Documentation
2312
+ #
2313
+ # @overload get_core_network(params = {})
2314
+ # @param [Hash] params ({})
2315
+ def get_core_network(params = {}, options = {})
2316
+ req = build_request(:get_core_network, params)
2317
+ req.send_request(options)
2318
+ end
2319
+
2320
+ # Returns a change set between the LIVE core network policy and a
2321
+ # submitted policy.
2322
+ #
2323
+ # @option params [required, String] :core_network_id
2324
+ # The ID of a core network.
2325
+ #
2326
+ # @option params [required, Integer] :policy_version_id
2327
+ # The ID of the policy version.
2328
+ #
2329
+ # @option params [Integer] :max_results
2330
+ # The maximum number of results to return.
2331
+ #
2332
+ # @option params [String] :next_token
2333
+ # The token for the next page of results.
2334
+ #
2335
+ # @return [Types::GetCoreNetworkChangeSetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2336
+ #
2337
+ # * {Types::GetCoreNetworkChangeSetResponse#core_network_changes #core_network_changes} => Array&lt;Types::CoreNetworkChange&gt;
2338
+ # * {Types::GetCoreNetworkChangeSetResponse#next_token #next_token} => String
2339
+ #
2340
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2341
+ #
2342
+ # @example Request syntax with placeholder values
2343
+ #
2344
+ # resp = client.get_core_network_change_set({
2345
+ # core_network_id: "CoreNetworkId", # required
2346
+ # policy_version_id: 1, # required
2347
+ # max_results: 1,
2348
+ # next_token: "NextToken",
2349
+ # })
2350
+ #
2351
+ # @example Response structure
2352
+ #
2353
+ # resp.core_network_changes #=> Array
2354
+ # resp.core_network_changes[0].type #=> String, one of "CORE_NETWORK_SEGMENT", "CORE_NETWORK_EDGE", "ATTACHMENT_MAPPING", "ATTACHMENT_ROUTE_PROPAGATION", "ATTACHMENT_ROUTE_STATIC"
2355
+ # resp.core_network_changes[0].action #=> String, one of "ADD", "MODIFY", "REMOVE"
2356
+ # resp.core_network_changes[0].identifier #=> String
2357
+ # resp.core_network_changes[0].previous_values.segment_name #=> String
2358
+ # resp.core_network_changes[0].previous_values.edge_locations #=> Array
2359
+ # resp.core_network_changes[0].previous_values.edge_locations[0] #=> String
2360
+ # resp.core_network_changes[0].previous_values.asn #=> Integer
2361
+ # resp.core_network_changes[0].previous_values.cidr #=> String
2362
+ # resp.core_network_changes[0].previous_values.destination_identifier #=> String
2363
+ # resp.core_network_changes[0].previous_values.inside_cidr_blocks #=> Array
2364
+ # resp.core_network_changes[0].previous_values.inside_cidr_blocks[0] #=> String
2365
+ # resp.core_network_changes[0].previous_values.shared_segments #=> Array
2366
+ # resp.core_network_changes[0].previous_values.shared_segments[0] #=> String
2367
+ # resp.core_network_changes[0].new_values.segment_name #=> String
2368
+ # resp.core_network_changes[0].new_values.edge_locations #=> Array
2369
+ # resp.core_network_changes[0].new_values.edge_locations[0] #=> String
2370
+ # resp.core_network_changes[0].new_values.asn #=> Integer
2371
+ # resp.core_network_changes[0].new_values.cidr #=> String
2372
+ # resp.core_network_changes[0].new_values.destination_identifier #=> String
2373
+ # resp.core_network_changes[0].new_values.inside_cidr_blocks #=> Array
2374
+ # resp.core_network_changes[0].new_values.inside_cidr_blocks[0] #=> String
2375
+ # resp.core_network_changes[0].new_values.shared_segments #=> Array
2376
+ # resp.core_network_changes[0].new_values.shared_segments[0] #=> String
2377
+ # resp.next_token #=> String
2378
+ #
2379
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkChangeSet AWS API Documentation
2380
+ #
2381
+ # @overload get_core_network_change_set(params = {})
2382
+ # @param [Hash] params ({})
2383
+ def get_core_network_change_set(params = {}, options = {})
2384
+ req = build_request(:get_core_network_change_set, params)
2385
+ req.send_request(options)
2386
+ end
2387
+
2388
+ # Gets details about a core network policy. You can get details about
2389
+ # your current live policy or any previous policy version.
2390
+ #
2391
+ # @option params [required, String] :core_network_id
2392
+ # The ID of a core network.
2393
+ #
2394
+ # @option params [Integer] :policy_version_id
2395
+ # The ID of a core network policy version.
2396
+ #
2397
+ # @option params [String] :alias
2398
+ # The alias of a core network policy
2399
+ #
2400
+ # @return [Types::GetCoreNetworkPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2401
+ #
2402
+ # * {Types::GetCoreNetworkPolicyResponse#core_network_policy #core_network_policy} => Types::CoreNetworkPolicy
2403
+ #
2404
+ # @example Request syntax with placeholder values
2405
+ #
2406
+ # resp = client.get_core_network_policy({
2407
+ # core_network_id: "CoreNetworkId", # required
2408
+ # policy_version_id: 1,
2409
+ # alias: "LIVE", # accepts LIVE, LATEST
2410
+ # })
2411
+ #
2412
+ # @example Response structure
2413
+ #
2414
+ # resp.core_network_policy.core_network_id #=> String
2415
+ # resp.core_network_policy.policy_version_id #=> Integer
2416
+ # resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
2417
+ # resp.core_network_policy.description #=> String
2418
+ # resp.core_network_policy.created_at #=> Time
2419
+ # resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
2420
+ # resp.core_network_policy.policy_errors #=> Array
2421
+ # resp.core_network_policy.policy_errors[0].error_code #=> String
2422
+ # resp.core_network_policy.policy_errors[0].message #=> String
2423
+ # resp.core_network_policy.policy_errors[0].path #=> String
2424
+ # resp.core_network_policy.policy_document #=> String
2425
+ #
2426
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCoreNetworkPolicy AWS API Documentation
2427
+ #
2428
+ # @overload get_core_network_policy(params = {})
2429
+ # @param [Hash] params ({})
2430
+ def get_core_network_policy(params = {}, options = {})
2431
+ req = build_request(:get_core_network_policy, params)
2432
+ req.send_request(options)
2433
+ end
2434
+
1356
2435
  # Gets the association information for customer gateways that are
1357
2436
  # associated with devices and links in your global network.
1358
2437
  #
@@ -1379,10 +2458,10 @@ module Aws::NetworkManager
1379
2458
  # @example Request syntax with placeholder values
1380
2459
  #
1381
2460
  # resp = client.get_customer_gateway_associations({
1382
- # global_network_id: "String", # required
1383
- # customer_gateway_arns: ["String"],
2461
+ # global_network_id: "GlobalNetworkId", # required
2462
+ # customer_gateway_arns: ["CustomerGatewayArn"],
1384
2463
  # max_results: 1,
1385
- # next_token: "String",
2464
+ # next_token: "NextToken",
1386
2465
  # })
1387
2466
  #
1388
2467
  # @example Response structure
@@ -1432,11 +2511,11 @@ module Aws::NetworkManager
1432
2511
  # @example Request syntax with placeholder values
1433
2512
  #
1434
2513
  # resp = client.get_devices({
1435
- # global_network_id: "String", # required
1436
- # device_ids: ["String"],
1437
- # site_id: "String",
2514
+ # global_network_id: "GlobalNetworkId", # required
2515
+ # device_ids: ["DeviceId"],
2516
+ # site_id: "SiteId",
1438
2517
  # max_results: 1,
1439
- # next_token: "String",
2518
+ # next_token: "NextToken",
1440
2519
  # })
1441
2520
  #
1442
2521
  # @example Response structure
@@ -1500,11 +2579,11 @@ module Aws::NetworkManager
1500
2579
  # @example Request syntax with placeholder values
1501
2580
  #
1502
2581
  # resp = client.get_link_associations({
1503
- # global_network_id: "String", # required
1504
- # device_id: "String",
1505
- # link_id: "String",
2582
+ # global_network_id: "GlobalNetworkId", # required
2583
+ # device_id: "DeviceId",
2584
+ # link_id: "LinkId",
1506
2585
  # max_results: 1,
1507
- # next_token: "String",
2586
+ # next_token: "NextToken",
1508
2587
  # })
1509
2588
  #
1510
2589
  # @example Response structure
@@ -1563,13 +2642,13 @@ module Aws::NetworkManager
1563
2642
  # @example Request syntax with placeholder values
1564
2643
  #
1565
2644
  # resp = client.get_links({
1566
- # global_network_id: "String", # required
1567
- # link_ids: ["String"],
1568
- # site_id: "String",
1569
- # type: "String",
1570
- # provider: "String",
2645
+ # global_network_id: "GlobalNetworkId", # required
2646
+ # link_ids: ["LinkId"],
2647
+ # site_id: "SiteId",
2648
+ # type: "ConstrainedString",
2649
+ # provider: "ConstrainedString",
1571
2650
  # max_results: 1,
1572
- # next_token: "String",
2651
+ # next_token: "NextToken",
1573
2652
  # })
1574
2653
  #
1575
2654
  # @example Response structure
@@ -1657,10 +2736,10 @@ module Aws::NetworkManager
1657
2736
  # @example Request syntax with placeholder values
1658
2737
  #
1659
2738
  # resp = client.get_network_resource_counts({
1660
- # global_network_id: "String", # required
1661
- # resource_type: "String",
2739
+ # global_network_id: "GlobalNetworkId", # required
2740
+ # resource_type: "ConstrainedString",
1662
2741
  # max_results: 1,
1663
- # next_token: "String",
2742
+ # next_token: "NextToken",
1664
2743
  # })
1665
2744
  #
1666
2745
  # @example Response structure
@@ -1685,6 +2764,9 @@ module Aws::NetworkManager
1685
2764
  # @option params [required, String] :global_network_id
1686
2765
  # The ID of the global network.
1687
2766
  #
2767
+ # @option params [String] :core_network_id
2768
+ # The ID of a core network.
2769
+ #
1688
2770
  # @option params [String] :registered_gateway_arn
1689
2771
  # The ARN of the registered gateway.
1690
2772
  #
@@ -1748,14 +2830,15 @@ module Aws::NetworkManager
1748
2830
  # @example Request syntax with placeholder values
1749
2831
  #
1750
2832
  # resp = client.get_network_resource_relationships({
1751
- # global_network_id: "String", # required
1752
- # registered_gateway_arn: "String",
1753
- # aws_region: "String",
1754
- # account_id: "String",
1755
- # resource_type: "String",
1756
- # resource_arn: "String",
2833
+ # global_network_id: "GlobalNetworkId", # required
2834
+ # core_network_id: "CoreNetworkId",
2835
+ # registered_gateway_arn: "ResourceArn",
2836
+ # aws_region: "ExternalRegionCode",
2837
+ # account_id: "AWSAccountId",
2838
+ # resource_type: "ConstrainedString",
2839
+ # resource_arn: "ResourceArn",
1757
2840
  # max_results: 1,
1758
- # next_token: "String",
2841
+ # next_token: "NextToken",
1759
2842
  # })
1760
2843
  #
1761
2844
  # @example Response structure
@@ -1783,6 +2866,9 @@ module Aws::NetworkManager
1783
2866
  # @option params [required, String] :global_network_id
1784
2867
  # The ID of the global network.
1785
2868
  #
2869
+ # @option params [String] :core_network_id
2870
+ # The ID of a core network.
2871
+ #
1786
2872
  # @option params [String] :registered_gateway_arn
1787
2873
  # The ARN of the gateway.
1788
2874
  #
@@ -1865,20 +2951,22 @@ module Aws::NetworkManager
1865
2951
  # @example Request syntax with placeholder values
1866
2952
  #
1867
2953
  # resp = client.get_network_resources({
1868
- # global_network_id: "String", # required
1869
- # registered_gateway_arn: "String",
1870
- # aws_region: "String",
1871
- # account_id: "String",
1872
- # resource_type: "String",
1873
- # resource_arn: "String",
2954
+ # global_network_id: "GlobalNetworkId", # required
2955
+ # core_network_id: "CoreNetworkId",
2956
+ # registered_gateway_arn: "ResourceArn",
2957
+ # aws_region: "ExternalRegionCode",
2958
+ # account_id: "AWSAccountId",
2959
+ # resource_type: "ConstrainedString",
2960
+ # resource_arn: "ResourceArn",
1874
2961
  # max_results: 1,
1875
- # next_token: "String",
2962
+ # next_token: "NextToken",
1876
2963
  # })
1877
2964
  #
1878
2965
  # @example Response structure
1879
2966
  #
1880
2967
  # resp.network_resources #=> Array
1881
2968
  # resp.network_resources[0].registered_gateway_arn #=> String
2969
+ # resp.network_resources[0].core_network_id #=> String
1882
2970
  # resp.network_resources[0].aws_region #=> String
1883
2971
  # resp.network_resources[0].account_id #=> String
1884
2972
  # resp.network_resources[0].resource_type #=> String
@@ -1890,7 +2978,7 @@ module Aws::NetworkManager
1890
2978
  # resp.network_resources[0].tags[0].key #=> String
1891
2979
  # resp.network_resources[0].tags[0].value #=> String
1892
2980
  # resp.network_resources[0].metadata #=> Hash
1893
- # resp.network_resources[0].metadata["NetworkResourceMetadataKey"] #=> String
2981
+ # resp.network_resources[0].metadata["ConstrainedString"] #=> String
1894
2982
  # resp.next_token #=> String
1895
2983
  #
1896
2984
  # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetNetworkResources AWS API Documentation
@@ -1940,6 +3028,7 @@ module Aws::NetworkManager
1940
3028
  # @return [Types::GetNetworkRoutesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1941
3029
  #
1942
3030
  # * {Types::GetNetworkRoutesResponse#route_table_arn #route_table_arn} => String
3031
+ # * {Types::GetNetworkRoutesResponse#core_network_segment_edge #core_network_segment_edge} => Types::CoreNetworkSegmentEdgeIdentifier
1943
3032
  # * {Types::GetNetworkRoutesResponse#route_table_type #route_table_type} => String
1944
3033
  # * {Types::GetNetworkRoutesResponse#route_table_timestamp #route_table_timestamp} => Time
1945
3034
  # * {Types::GetNetworkRoutesResponse#network_routes #network_routes} => Array&lt;Types::NetworkRoute&gt;
@@ -1947,15 +3036,20 @@ module Aws::NetworkManager
1947
3036
  # @example Request syntax with placeholder values
1948
3037
  #
1949
3038
  # resp = client.get_network_routes({
1950
- # global_network_id: "String", # required
3039
+ # global_network_id: "GlobalNetworkId", # required
1951
3040
  # route_table_identifier: { # required
1952
- # transit_gateway_route_table_arn: "String",
3041
+ # transit_gateway_route_table_arn: "TransitGatewayRouteTableArn",
3042
+ # core_network_segment_edge: {
3043
+ # core_network_id: "CoreNetworkId",
3044
+ # segment_name: "ConstrainedString",
3045
+ # edge_location: "ExternalRegionCode",
3046
+ # },
1953
3047
  # },
1954
- # exact_cidr_matches: ["String"],
1955
- # longest_prefix_matches: ["String"],
1956
- # subnet_of_matches: ["String"],
1957
- # supernet_of_matches: ["String"],
1958
- # prefix_list_ids: ["String"],
3048
+ # exact_cidr_matches: ["ConstrainedString"],
3049
+ # longest_prefix_matches: ["ConstrainedString"],
3050
+ # subnet_of_matches: ["ConstrainedString"],
3051
+ # supernet_of_matches: ["ConstrainedString"],
3052
+ # prefix_list_ids: ["ConstrainedString"],
1959
3053
  # states: ["ACTIVE"], # accepts ACTIVE, BLACKHOLE
1960
3054
  # types: ["PROPAGATED"], # accepts PROPAGATED, STATIC
1961
3055
  # destination_filters: {
@@ -1966,12 +3060,18 @@ module Aws::NetworkManager
1966
3060
  # @example Response structure
1967
3061
  #
1968
3062
  # resp.route_table_arn #=> String
1969
- # resp.route_table_type #=> String, one of "TRANSIT_GATEWAY_ROUTE_TABLE"
3063
+ # resp.core_network_segment_edge.core_network_id #=> String
3064
+ # resp.core_network_segment_edge.segment_name #=> String
3065
+ # resp.core_network_segment_edge.edge_location #=> String
3066
+ # resp.route_table_type #=> String, one of "TRANSIT_GATEWAY_ROUTE_TABLE", "CORE_NETWORK_SEGMENT"
1970
3067
  # resp.route_table_timestamp #=> Time
1971
3068
  # resp.network_routes #=> Array
1972
3069
  # resp.network_routes[0].destination_cidr_block #=> String
1973
3070
  # resp.network_routes[0].destinations #=> Array
3071
+ # resp.network_routes[0].destinations[0].core_network_attachment_id #=> String
1974
3072
  # resp.network_routes[0].destinations[0].transit_gateway_attachment_id #=> String
3073
+ # resp.network_routes[0].destinations[0].segment_name #=> String
3074
+ # resp.network_routes[0].destinations[0].edge_location #=> String
1975
3075
  # resp.network_routes[0].destinations[0].resource_type #=> String
1976
3076
  # resp.network_routes[0].destinations[0].resource_id #=> String
1977
3077
  # resp.network_routes[0].prefix_list_id #=> String
@@ -1992,6 +3092,9 @@ module Aws::NetworkManager
1992
3092
  # @option params [required, String] :global_network_id
1993
3093
  # The ID of the global network.
1994
3094
  #
3095
+ # @option params [String] :core_network_id
3096
+ # The ID of a core network.
3097
+ #
1995
3098
  # @option params [String] :registered_gateway_arn
1996
3099
  # The ARN of the gateway.
1997
3100
  #
@@ -2055,20 +3158,22 @@ module Aws::NetworkManager
2055
3158
  # @example Request syntax with placeholder values
2056
3159
  #
2057
3160
  # resp = client.get_network_telemetry({
2058
- # global_network_id: "String", # required
2059
- # registered_gateway_arn: "String",
2060
- # aws_region: "String",
2061
- # account_id: "String",
2062
- # resource_type: "String",
2063
- # resource_arn: "String",
3161
+ # global_network_id: "GlobalNetworkId", # required
3162
+ # core_network_id: "CoreNetworkId",
3163
+ # registered_gateway_arn: "ResourceArn",
3164
+ # aws_region: "ExternalRegionCode",
3165
+ # account_id: "AWSAccountId",
3166
+ # resource_type: "ConstrainedString",
3167
+ # resource_arn: "ResourceArn",
2064
3168
  # max_results: 1,
2065
- # next_token: "String",
3169
+ # next_token: "NextToken",
2066
3170
  # })
2067
3171
  #
2068
3172
  # @example Response structure
2069
3173
  #
2070
3174
  # resp.network_telemetry #=> Array
2071
3175
  # resp.network_telemetry[0].registered_gateway_arn #=> String
3176
+ # resp.network_telemetry[0].core_network_id #=> String
2072
3177
  # resp.network_telemetry[0].aws_region #=> String
2073
3178
  # resp.network_telemetry[0].account_id #=> String
2074
3179
  # resp.network_telemetry[0].resource_type #=> String
@@ -2089,6 +3194,34 @@ module Aws::NetworkManager
2089
3194
  req.send_request(options)
2090
3195
  end
2091
3196
 
3197
+ # Returns information about a resource policy.
3198
+ #
3199
+ # @option params [required, String] :resource_arn
3200
+ # The ARN of the resource.
3201
+ #
3202
+ # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3203
+ #
3204
+ # * {Types::GetResourcePolicyResponse#policy_document #policy_document} => String
3205
+ #
3206
+ # @example Request syntax with placeholder values
3207
+ #
3208
+ # resp = client.get_resource_policy({
3209
+ # resource_arn: "ResourceArn", # required
3210
+ # })
3211
+ #
3212
+ # @example Response structure
3213
+ #
3214
+ # resp.policy_document #=> String
3215
+ #
3216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetResourcePolicy AWS API Documentation
3217
+ #
3218
+ # @overload get_resource_policy(params = {})
3219
+ # @param [Hash] params ({})
3220
+ def get_resource_policy(params = {}, options = {})
3221
+ req = build_request(:get_resource_policy, params)
3222
+ req.send_request(options)
3223
+ end
3224
+
2092
3225
  # Gets information about the specified route analysis.
2093
3226
  #
2094
3227
  # @option params [required, String] :global_network_id
@@ -2104,8 +3237,8 @@ module Aws::NetworkManager
2104
3237
  # @example Request syntax with placeholder values
2105
3238
  #
2106
3239
  # resp = client.get_route_analysis({
2107
- # global_network_id: "String", # required
2108
- # route_analysis_id: "String", # required
3240
+ # global_network_id: "GlobalNetworkId", # required
3241
+ # route_analysis_id: "ConstrainedString", # required
2109
3242
  # })
2110
3243
  #
2111
3244
  # @example Response structure
@@ -2159,6 +3292,54 @@ module Aws::NetworkManager
2159
3292
  req.send_request(options)
2160
3293
  end
2161
3294
 
3295
+ # Returns information about a site-to-site VPN attachment.
3296
+ #
3297
+ # @option params [required, String] :attachment_id
3298
+ # The ID of the attachment.
3299
+ #
3300
+ # @return [Types::GetSiteToSiteVpnAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3301
+ #
3302
+ # * {Types::GetSiteToSiteVpnAttachmentResponse#site_to_site_vpn_attachment #site_to_site_vpn_attachment} => Types::SiteToSiteVpnAttachment
3303
+ #
3304
+ # @example Request syntax with placeholder values
3305
+ #
3306
+ # resp = client.get_site_to_site_vpn_attachment({
3307
+ # attachment_id: "AttachmentId", # required
3308
+ # })
3309
+ #
3310
+ # @example Response structure
3311
+ #
3312
+ # resp.site_to_site_vpn_attachment.attachment.core_network_id #=> String
3313
+ # resp.site_to_site_vpn_attachment.attachment.core_network_arn #=> String
3314
+ # resp.site_to_site_vpn_attachment.attachment.attachment_id #=> String
3315
+ # resp.site_to_site_vpn_attachment.attachment.owner_account_id #=> String
3316
+ # resp.site_to_site_vpn_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
3317
+ # 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"
3318
+ # resp.site_to_site_vpn_attachment.attachment.edge_location #=> String
3319
+ # resp.site_to_site_vpn_attachment.attachment.resource_arn #=> String
3320
+ # resp.site_to_site_vpn_attachment.attachment.attachment_policy_rule_number #=> Integer
3321
+ # resp.site_to_site_vpn_attachment.attachment.segment_name #=> String
3322
+ # resp.site_to_site_vpn_attachment.attachment.tags #=> Array
3323
+ # resp.site_to_site_vpn_attachment.attachment.tags[0].key #=> String
3324
+ # resp.site_to_site_vpn_attachment.attachment.tags[0].value #=> String
3325
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags #=> Array
3326
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].key #=> String
3327
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.tags[0].value #=> String
3328
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
3329
+ # resp.site_to_site_vpn_attachment.attachment.proposed_segment_change.segment_name #=> String
3330
+ # resp.site_to_site_vpn_attachment.attachment.created_at #=> Time
3331
+ # resp.site_to_site_vpn_attachment.attachment.updated_at #=> Time
3332
+ # resp.site_to_site_vpn_attachment.vpn_connection_arn #=> String
3333
+ #
3334
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSiteToSiteVpnAttachment AWS API Documentation
3335
+ #
3336
+ # @overload get_site_to_site_vpn_attachment(params = {})
3337
+ # @param [Hash] params ({})
3338
+ def get_site_to_site_vpn_attachment(params = {}, options = {})
3339
+ req = build_request(:get_site_to_site_vpn_attachment, params)
3340
+ req.send_request(options)
3341
+ end
3342
+
2162
3343
  # Gets information about one or more of your sites in a global network.
2163
3344
  #
2164
3345
  # @option params [required, String] :global_network_id
@@ -2183,10 +3364,10 @@ module Aws::NetworkManager
2183
3364
  # @example Request syntax with placeholder values
2184
3365
  #
2185
3366
  # resp = client.get_sites({
2186
- # global_network_id: "String", # required
2187
- # site_ids: ["String"],
3367
+ # global_network_id: "GlobalNetworkId", # required
3368
+ # site_ids: ["SiteId"],
2188
3369
  # max_results: 1,
2189
- # next_token: "String",
3370
+ # next_token: "NextToken",
2190
3371
  # })
2191
3372
  #
2192
3373
  # @example Response structure
@@ -2240,10 +3421,10 @@ module Aws::NetworkManager
2240
3421
  # @example Request syntax with placeholder values
2241
3422
  #
2242
3423
  # resp = client.get_transit_gateway_connect_peer_associations({
2243
- # global_network_id: "String", # required
2244
- # transit_gateway_connect_peer_arns: ["String"],
3424
+ # global_network_id: "GlobalNetworkId", # required
3425
+ # transit_gateway_connect_peer_arns: ["TransitGatewayConnectPeerArn"],
2245
3426
  # max_results: 1,
2246
- # next_token: "String",
3427
+ # next_token: "NextToken",
2247
3428
  # })
2248
3429
  #
2249
3430
  # @example Response structure
@@ -2291,10 +3472,10 @@ module Aws::NetworkManager
2291
3472
  # @example Request syntax with placeholder values
2292
3473
  #
2293
3474
  # resp = client.get_transit_gateway_registrations({
2294
- # global_network_id: "String", # required
2295
- # transit_gateway_arns: ["String"],
3475
+ # global_network_id: "GlobalNetworkId", # required
3476
+ # transit_gateway_arns: ["TransitGatewayArn"],
2296
3477
  # max_results: 1,
2297
- # next_token: "String",
3478
+ # next_token: "NextToken",
2298
3479
  # })
2299
3480
  #
2300
3481
  # @example Response structure
@@ -2315,6 +3496,272 @@ module Aws::NetworkManager
2315
3496
  req.send_request(options)
2316
3497
  end
2317
3498
 
3499
+ # Returns information about a VPC attachment.
3500
+ #
3501
+ # @option params [required, String] :attachment_id
3502
+ # The ID of the attachment.
3503
+ #
3504
+ # @return [Types::GetVpcAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3505
+ #
3506
+ # * {Types::GetVpcAttachmentResponse#vpc_attachment #vpc_attachment} => Types::VpcAttachment
3507
+ #
3508
+ # @example Request syntax with placeholder values
3509
+ #
3510
+ # resp = client.get_vpc_attachment({
3511
+ # attachment_id: "AttachmentId", # required
3512
+ # })
3513
+ #
3514
+ # @example Response structure
3515
+ #
3516
+ # resp.vpc_attachment.attachment.core_network_id #=> String
3517
+ # resp.vpc_attachment.attachment.core_network_arn #=> String
3518
+ # resp.vpc_attachment.attachment.attachment_id #=> String
3519
+ # resp.vpc_attachment.attachment.owner_account_id #=> String
3520
+ # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
3521
+ # resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3522
+ # resp.vpc_attachment.attachment.edge_location #=> String
3523
+ # resp.vpc_attachment.attachment.resource_arn #=> String
3524
+ # resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
3525
+ # resp.vpc_attachment.attachment.segment_name #=> String
3526
+ # resp.vpc_attachment.attachment.tags #=> Array
3527
+ # resp.vpc_attachment.attachment.tags[0].key #=> String
3528
+ # resp.vpc_attachment.attachment.tags[0].value #=> String
3529
+ # resp.vpc_attachment.attachment.proposed_segment_change.tags #=> Array
3530
+ # resp.vpc_attachment.attachment.proposed_segment_change.tags[0].key #=> String
3531
+ # resp.vpc_attachment.attachment.proposed_segment_change.tags[0].value #=> String
3532
+ # resp.vpc_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
3533
+ # resp.vpc_attachment.attachment.proposed_segment_change.segment_name #=> String
3534
+ # resp.vpc_attachment.attachment.created_at #=> Time
3535
+ # resp.vpc_attachment.attachment.updated_at #=> Time
3536
+ # resp.vpc_attachment.subnet_arns #=> Array
3537
+ # resp.vpc_attachment.subnet_arns[0] #=> String
3538
+ # resp.vpc_attachment.options.ipv_6_support #=> Boolean
3539
+ #
3540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetVpcAttachment AWS API Documentation
3541
+ #
3542
+ # @overload get_vpc_attachment(params = {})
3543
+ # @param [Hash] params ({})
3544
+ def get_vpc_attachment(params = {}, options = {})
3545
+ req = build_request(:get_vpc_attachment, params)
3546
+ req.send_request(options)
3547
+ end
3548
+
3549
+ # Returns a list of core network attachments.
3550
+ #
3551
+ # @option params [String] :core_network_id
3552
+ # The ID of a core network.
3553
+ #
3554
+ # @option params [String] :attachment_type
3555
+ # The type of attachment.
3556
+ #
3557
+ # @option params [String] :edge_location
3558
+ # The Region where the edge is located.
3559
+ #
3560
+ # @option params [String] :state
3561
+ # The state of the attachment.
3562
+ #
3563
+ # @option params [Integer] :max_results
3564
+ # The maximum number of results to return.
3565
+ #
3566
+ # @option params [String] :next_token
3567
+ # The token for the next page of results.
3568
+ #
3569
+ # @return [Types::ListAttachmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3570
+ #
3571
+ # * {Types::ListAttachmentsResponse#attachments #attachments} => Array&lt;Types::Attachment&gt;
3572
+ # * {Types::ListAttachmentsResponse#next_token #next_token} => String
3573
+ #
3574
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3575
+ #
3576
+ # @example Request syntax with placeholder values
3577
+ #
3578
+ # resp = client.list_attachments({
3579
+ # core_network_id: "CoreNetworkId",
3580
+ # attachment_type: "CONNECT", # accepts CONNECT, SITE_TO_SITE_VPN, VPC
3581
+ # edge_location: "ExternalRegionCode",
3582
+ # state: "REJECTED", # accepts REJECTED, PENDING_ATTACHMENT_ACCEPTANCE, CREATING, FAILED, AVAILABLE, UPDATING, PENDING_NETWORK_UPDATE, PENDING_TAG_ACCEPTANCE, DELETING
3583
+ # max_results: 1,
3584
+ # next_token: "NextToken",
3585
+ # })
3586
+ #
3587
+ # @example Response structure
3588
+ #
3589
+ # resp.attachments #=> Array
3590
+ # resp.attachments[0].core_network_id #=> String
3591
+ # resp.attachments[0].core_network_arn #=> String
3592
+ # resp.attachments[0].attachment_id #=> String
3593
+ # resp.attachments[0].owner_account_id #=> String
3594
+ # resp.attachments[0].attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
3595
+ # resp.attachments[0].state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3596
+ # resp.attachments[0].edge_location #=> String
3597
+ # resp.attachments[0].resource_arn #=> String
3598
+ # resp.attachments[0].attachment_policy_rule_number #=> Integer
3599
+ # resp.attachments[0].segment_name #=> String
3600
+ # resp.attachments[0].tags #=> Array
3601
+ # resp.attachments[0].tags[0].key #=> String
3602
+ # resp.attachments[0].tags[0].value #=> String
3603
+ # resp.attachments[0].proposed_segment_change.tags #=> Array
3604
+ # resp.attachments[0].proposed_segment_change.tags[0].key #=> String
3605
+ # resp.attachments[0].proposed_segment_change.tags[0].value #=> String
3606
+ # resp.attachments[0].proposed_segment_change.attachment_policy_rule_number #=> Integer
3607
+ # resp.attachments[0].proposed_segment_change.segment_name #=> String
3608
+ # resp.attachments[0].created_at #=> Time
3609
+ # resp.attachments[0].updated_at #=> Time
3610
+ # resp.next_token #=> String
3611
+ #
3612
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListAttachments AWS API Documentation
3613
+ #
3614
+ # @overload list_attachments(params = {})
3615
+ # @param [Hash] params ({})
3616
+ def list_attachments(params = {}, options = {})
3617
+ req = build_request(:list_attachments, params)
3618
+ req.send_request(options)
3619
+ end
3620
+
3621
+ # Returns a list of core network Connect peers.
3622
+ #
3623
+ # @option params [String] :core_network_id
3624
+ # The ID of a core network.
3625
+ #
3626
+ # @option params [String] :connect_attachment_id
3627
+ # The ID of the attachment.
3628
+ #
3629
+ # @option params [Integer] :max_results
3630
+ # The maximum number of results to return.
3631
+ #
3632
+ # @option params [String] :next_token
3633
+ # The token for the next page of results.
3634
+ #
3635
+ # @return [Types::ListConnectPeersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3636
+ #
3637
+ # * {Types::ListConnectPeersResponse#connect_peers #connect_peers} => Array&lt;Types::ConnectPeerSummary&gt;
3638
+ # * {Types::ListConnectPeersResponse#next_token #next_token} => String
3639
+ #
3640
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3641
+ #
3642
+ # @example Request syntax with placeholder values
3643
+ #
3644
+ # resp = client.list_connect_peers({
3645
+ # core_network_id: "CoreNetworkId",
3646
+ # connect_attachment_id: "AttachmentId",
3647
+ # max_results: 1,
3648
+ # next_token: "NextToken",
3649
+ # })
3650
+ #
3651
+ # @example Response structure
3652
+ #
3653
+ # resp.connect_peers #=> Array
3654
+ # resp.connect_peers[0].core_network_id #=> String
3655
+ # resp.connect_peers[0].connect_attachment_id #=> String
3656
+ # resp.connect_peers[0].connect_peer_id #=> String
3657
+ # resp.connect_peers[0].edge_location #=> String
3658
+ # resp.connect_peers[0].connect_peer_state #=> String, one of "CREATING", "FAILED", "AVAILABLE", "DELETING"
3659
+ # resp.connect_peers[0].created_at #=> Time
3660
+ # resp.connect_peers[0].tags #=> Array
3661
+ # resp.connect_peers[0].tags[0].key #=> String
3662
+ # resp.connect_peers[0].tags[0].value #=> String
3663
+ # resp.next_token #=> String
3664
+ #
3665
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListConnectPeers AWS API Documentation
3666
+ #
3667
+ # @overload list_connect_peers(params = {})
3668
+ # @param [Hash] params ({})
3669
+ def list_connect_peers(params = {}, options = {})
3670
+ req = build_request(:list_connect_peers, params)
3671
+ req.send_request(options)
3672
+ end
3673
+
3674
+ # Returns a list of core network policy versions.
3675
+ #
3676
+ # @option params [required, String] :core_network_id
3677
+ # The ID of a core network.
3678
+ #
3679
+ # @option params [Integer] :max_results
3680
+ # The maximum number of results to return.
3681
+ #
3682
+ # @option params [String] :next_token
3683
+ # The token for the next page of results.
3684
+ #
3685
+ # @return [Types::ListCoreNetworkPolicyVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3686
+ #
3687
+ # * {Types::ListCoreNetworkPolicyVersionsResponse#core_network_policy_versions #core_network_policy_versions} => Array&lt;Types::CoreNetworkPolicyVersion&gt;
3688
+ # * {Types::ListCoreNetworkPolicyVersionsResponse#next_token #next_token} => String
3689
+ #
3690
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3691
+ #
3692
+ # @example Request syntax with placeholder values
3693
+ #
3694
+ # resp = client.list_core_network_policy_versions({
3695
+ # core_network_id: "CoreNetworkId", # required
3696
+ # max_results: 1,
3697
+ # next_token: "NextToken",
3698
+ # })
3699
+ #
3700
+ # @example Response structure
3701
+ #
3702
+ # resp.core_network_policy_versions #=> Array
3703
+ # resp.core_network_policy_versions[0].core_network_id #=> String
3704
+ # resp.core_network_policy_versions[0].policy_version_id #=> Integer
3705
+ # resp.core_network_policy_versions[0].alias #=> String, one of "LIVE", "LATEST"
3706
+ # resp.core_network_policy_versions[0].description #=> String
3707
+ # resp.core_network_policy_versions[0].created_at #=> Time
3708
+ # 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"
3709
+ # resp.next_token #=> String
3710
+ #
3711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListCoreNetworkPolicyVersions AWS API Documentation
3712
+ #
3713
+ # @overload list_core_network_policy_versions(params = {})
3714
+ # @param [Hash] params ({})
3715
+ def list_core_network_policy_versions(params = {}, options = {})
3716
+ req = build_request(:list_core_network_policy_versions, params)
3717
+ req.send_request(options)
3718
+ end
3719
+
3720
+ # Returns a list of owned and shared core networks.
3721
+ #
3722
+ # @option params [Integer] :max_results
3723
+ # The maximum number of results to return.
3724
+ #
3725
+ # @option params [String] :next_token
3726
+ # The token for the next page of results.
3727
+ #
3728
+ # @return [Types::ListCoreNetworksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3729
+ #
3730
+ # * {Types::ListCoreNetworksResponse#core_networks #core_networks} => Array&lt;Types::CoreNetworkSummary&gt;
3731
+ # * {Types::ListCoreNetworksResponse#next_token #next_token} => String
3732
+ #
3733
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3734
+ #
3735
+ # @example Request syntax with placeholder values
3736
+ #
3737
+ # resp = client.list_core_networks({
3738
+ # max_results: 1,
3739
+ # next_token: "NextToken",
3740
+ # })
3741
+ #
3742
+ # @example Response structure
3743
+ #
3744
+ # resp.core_networks #=> Array
3745
+ # resp.core_networks[0].core_network_id #=> String
3746
+ # resp.core_networks[0].core_network_arn #=> String
3747
+ # resp.core_networks[0].global_network_id #=> String
3748
+ # resp.core_networks[0].owner_account_id #=> String
3749
+ # resp.core_networks[0].state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
3750
+ # resp.core_networks[0].description #=> String
3751
+ # resp.core_networks[0].tags #=> Array
3752
+ # resp.core_networks[0].tags[0].key #=> String
3753
+ # resp.core_networks[0].tags[0].value #=> String
3754
+ # resp.next_token #=> String
3755
+ #
3756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListCoreNetworks AWS API Documentation
3757
+ #
3758
+ # @overload list_core_networks(params = {})
3759
+ # @param [Hash] params ({})
3760
+ def list_core_networks(params = {}, options = {})
3761
+ req = build_request(:list_core_networks, params)
3762
+ req.send_request(options)
3763
+ end
3764
+
2318
3765
  # Lists the tags for a specified resource.
2319
3766
  #
2320
3767
  # @option params [required, String] :resource_arn
@@ -2327,7 +3774,7 @@ module Aws::NetworkManager
2327
3774
  # @example Request syntax with placeholder values
2328
3775
  #
2329
3776
  # resp = client.list_tags_for_resource({
2330
- # resource_arn: "ResourceARN", # required
3777
+ # resource_arn: "ResourceArn", # required
2331
3778
  # })
2332
3779
  #
2333
3780
  # @example Response structure
@@ -2345,6 +3792,99 @@ module Aws::NetworkManager
2345
3792
  req.send_request(options)
2346
3793
  end
2347
3794
 
3795
+ # Creates a new, immutable version of a core network policy. A
3796
+ # subsequent change set is created showing the differences between the
3797
+ # LIVE policy and the submitted policy.
3798
+ #
3799
+ # @option params [required, String] :core_network_id
3800
+ # The ID of a core network.
3801
+ #
3802
+ # @option params [required, String] :policy_document
3803
+ # The policy document.
3804
+ #
3805
+ # **SDK automatically handles json encoding and base64 encoding for you
3806
+ # when the required value (Hash, Array, etc.) is provided according to
3807
+ # the description.**
3808
+ #
3809
+ # @option params [String] :description
3810
+ # a core network policy description.
3811
+ #
3812
+ # @option params [Integer] :latest_version_id
3813
+ # The ID of a core network policy.
3814
+ #
3815
+ # @option params [String] :client_token
3816
+ # The client token associated with the request.
3817
+ #
3818
+ # **A suitable default value is auto-generated.** You should normally
3819
+ # not need to pass this option.**
3820
+ #
3821
+ # @return [Types::PutCoreNetworkPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3822
+ #
3823
+ # * {Types::PutCoreNetworkPolicyResponse#core_network_policy #core_network_policy} => Types::CoreNetworkPolicy
3824
+ #
3825
+ # @example Request syntax with placeholder values
3826
+ #
3827
+ # resp = client.put_core_network_policy({
3828
+ # core_network_id: "CoreNetworkId", # required
3829
+ # policy_document: "CoreNetworkPolicyDocument", # required
3830
+ # description: "ConstrainedString",
3831
+ # latest_version_id: 1,
3832
+ # client_token: "ClientToken",
3833
+ # })
3834
+ #
3835
+ # @example Response structure
3836
+ #
3837
+ # resp.core_network_policy.core_network_id #=> String
3838
+ # resp.core_network_policy.policy_version_id #=> Integer
3839
+ # resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
3840
+ # resp.core_network_policy.description #=> String
3841
+ # resp.core_network_policy.created_at #=> Time
3842
+ # resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
3843
+ # resp.core_network_policy.policy_errors #=> Array
3844
+ # resp.core_network_policy.policy_errors[0].error_code #=> String
3845
+ # resp.core_network_policy.policy_errors[0].message #=> String
3846
+ # resp.core_network_policy.policy_errors[0].path #=> String
3847
+ # resp.core_network_policy.policy_document #=> String
3848
+ #
3849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/PutCoreNetworkPolicy AWS API Documentation
3850
+ #
3851
+ # @overload put_core_network_policy(params = {})
3852
+ # @param [Hash] params ({})
3853
+ def put_core_network_policy(params = {}, options = {})
3854
+ req = build_request(:put_core_network_policy, params)
3855
+ req.send_request(options)
3856
+ end
3857
+
3858
+ # Creates or updates a resource policy.
3859
+ #
3860
+ # @option params [required, String] :policy_document
3861
+ # The JSON resource policy document.
3862
+ #
3863
+ # **SDK automatically handles json encoding and base64 encoding for you
3864
+ # when the required value (Hash, Array, etc.) is provided according to
3865
+ # the description.**
3866
+ #
3867
+ # @option params [required, String] :resource_arn
3868
+ # The ARN of the resource policy.
3869
+ #
3870
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3871
+ #
3872
+ # @example Request syntax with placeholder values
3873
+ #
3874
+ # resp = client.put_resource_policy({
3875
+ # policy_document: "ResourcePolicyDocument", # required
3876
+ # resource_arn: "ResourceArn", # required
3877
+ # })
3878
+ #
3879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/PutResourcePolicy AWS API Documentation
3880
+ #
3881
+ # @overload put_resource_policy(params = {})
3882
+ # @param [Hash] params ({})
3883
+ def put_resource_policy(params = {}, options = {})
3884
+ req = build_request(:put_resource_policy, params)
3885
+ req.send_request(options)
3886
+ end
3887
+
2348
3888
  # Registers a transit gateway in your global network. The transit
2349
3889
  # gateway can be in any Amazon Web Services Region, but it must be owned
2350
3890
  # by the same Amazon Web Services account that owns the global network.
@@ -2363,8 +3903,8 @@ module Aws::NetworkManager
2363
3903
  # @example Request syntax with placeholder values
2364
3904
  #
2365
3905
  # resp = client.register_transit_gateway({
2366
- # global_network_id: "String", # required
2367
- # transit_gateway_arn: "String", # required
3906
+ # global_network_id: "GlobalNetworkId", # required
3907
+ # transit_gateway_arn: "TransitGatewayArn", # required
2368
3908
  # })
2369
3909
  #
2370
3910
  # @example Response structure
@@ -2383,6 +3923,97 @@ module Aws::NetworkManager
2383
3923
  req.send_request(options)
2384
3924
  end
2385
3925
 
3926
+ # Rejects a core network attachment request.
3927
+ #
3928
+ # @option params [required, String] :attachment_id
3929
+ # The ID of the attachment.
3930
+ #
3931
+ # @return [Types::RejectAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3932
+ #
3933
+ # * {Types::RejectAttachmentResponse#attachment #attachment} => Types::Attachment
3934
+ #
3935
+ # @example Request syntax with placeholder values
3936
+ #
3937
+ # resp = client.reject_attachment({
3938
+ # attachment_id: "AttachmentId", # required
3939
+ # })
3940
+ #
3941
+ # @example Response structure
3942
+ #
3943
+ # resp.attachment.core_network_id #=> String
3944
+ # resp.attachment.core_network_arn #=> String
3945
+ # resp.attachment.attachment_id #=> String
3946
+ # resp.attachment.owner_account_id #=> String
3947
+ # resp.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
3948
+ # resp.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
3949
+ # resp.attachment.edge_location #=> String
3950
+ # resp.attachment.resource_arn #=> String
3951
+ # resp.attachment.attachment_policy_rule_number #=> Integer
3952
+ # resp.attachment.segment_name #=> String
3953
+ # resp.attachment.tags #=> Array
3954
+ # resp.attachment.tags[0].key #=> String
3955
+ # resp.attachment.tags[0].value #=> String
3956
+ # resp.attachment.proposed_segment_change.tags #=> Array
3957
+ # resp.attachment.proposed_segment_change.tags[0].key #=> String
3958
+ # resp.attachment.proposed_segment_change.tags[0].value #=> String
3959
+ # resp.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
3960
+ # resp.attachment.proposed_segment_change.segment_name #=> String
3961
+ # resp.attachment.created_at #=> Time
3962
+ # resp.attachment.updated_at #=> Time
3963
+ #
3964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RejectAttachment AWS API Documentation
3965
+ #
3966
+ # @overload reject_attachment(params = {})
3967
+ # @param [Hash] params ({})
3968
+ def reject_attachment(params = {}, options = {})
3969
+ req = build_request(:reject_attachment, params)
3970
+ req.send_request(options)
3971
+ end
3972
+
3973
+ # Restores a previous policy version as a new, immutable version of a
3974
+ # core network policy. A subsequent change set is created showing the
3975
+ # differences between the LIVE policy and restored policy.
3976
+ #
3977
+ # @option params [required, String] :core_network_id
3978
+ # The ID of a core network.
3979
+ #
3980
+ # @option params [required, Integer] :policy_version_id
3981
+ # The ID of the policy version to restore.
3982
+ #
3983
+ # @return [Types::RestoreCoreNetworkPolicyVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3984
+ #
3985
+ # * {Types::RestoreCoreNetworkPolicyVersionResponse#core_network_policy #core_network_policy} => Types::CoreNetworkPolicy
3986
+ #
3987
+ # @example Request syntax with placeholder values
3988
+ #
3989
+ # resp = client.restore_core_network_policy_version({
3990
+ # core_network_id: "CoreNetworkId", # required
3991
+ # policy_version_id: 1, # required
3992
+ # })
3993
+ #
3994
+ # @example Response structure
3995
+ #
3996
+ # resp.core_network_policy.core_network_id #=> String
3997
+ # resp.core_network_policy.policy_version_id #=> Integer
3998
+ # resp.core_network_policy.alias #=> String, one of "LIVE", "LATEST"
3999
+ # resp.core_network_policy.description #=> String
4000
+ # resp.core_network_policy.created_at #=> Time
4001
+ # resp.core_network_policy.change_set_state #=> String, one of "PENDING_GENERATION", "FAILED_GENERATION", "READY_TO_EXECUTE", "EXECUTING", "EXECUTION_SUCCEEDED", "OUT_OF_DATE"
4002
+ # resp.core_network_policy.policy_errors #=> Array
4003
+ # resp.core_network_policy.policy_errors[0].error_code #=> String
4004
+ # resp.core_network_policy.policy_errors[0].message #=> String
4005
+ # resp.core_network_policy.policy_errors[0].path #=> String
4006
+ # resp.core_network_policy.policy_document #=> String
4007
+ #
4008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RestoreCoreNetworkPolicyVersion AWS API Documentation
4009
+ #
4010
+ # @overload restore_core_network_policy_version(params = {})
4011
+ # @param [Hash] params ({})
4012
+ def restore_core_network_policy_version(params = {}, options = {})
4013
+ req = build_request(:restore_core_network_policy_version, params)
4014
+ req.send_request(options)
4015
+ end
4016
+
2386
4017
  # Starts analyzing the routing path between the specified source and
2387
4018
  # destination. For more information, see [Route Analyzer][1].
2388
4019
  #
@@ -2413,14 +4044,14 @@ module Aws::NetworkManager
2413
4044
  # @example Request syntax with placeholder values
2414
4045
  #
2415
4046
  # resp = client.start_route_analysis({
2416
- # global_network_id: "String", # required
4047
+ # global_network_id: "GlobalNetworkId", # required
2417
4048
  # source: { # required
2418
- # transit_gateway_attachment_arn: "String",
2419
- # ip_address: "String",
4049
+ # transit_gateway_attachment_arn: "TransitGatewayAttachmentArn",
4050
+ # ip_address: "IPAddress",
2420
4051
  # },
2421
4052
  # destination: { # required
2422
- # transit_gateway_attachment_arn: "String",
2423
- # ip_address: "String",
4053
+ # transit_gateway_attachment_arn: "TransitGatewayAttachmentArn",
4054
+ # ip_address: "IPAddress",
2424
4055
  # },
2425
4056
  # include_return_path: false,
2426
4057
  # use_middleboxes: false,
@@ -2490,7 +4121,7 @@ module Aws::NetworkManager
2490
4121
  # @example Request syntax with placeholder values
2491
4122
  #
2492
4123
  # resp = client.tag_resource({
2493
- # resource_arn: "ResourceARN", # required
4124
+ # resource_arn: "ResourceArn", # required
2494
4125
  # tags: [ # required
2495
4126
  # {
2496
4127
  # key: "TagKey",
@@ -2521,7 +4152,7 @@ module Aws::NetworkManager
2521
4152
  # @example Request syntax with placeholder values
2522
4153
  #
2523
4154
  # resp = client.untag_resource({
2524
- # resource_arn: "ResourceARN", # required
4155
+ # resource_arn: "ResourceArn", # required
2525
4156
  # tag_keys: ["TagKey"], # required
2526
4157
  # })
2527
4158
  #
@@ -2561,11 +4192,11 @@ module Aws::NetworkManager
2561
4192
  # @example Request syntax with placeholder values
2562
4193
  #
2563
4194
  # resp = client.update_connection({
2564
- # global_network_id: "String", # required
2565
- # connection_id: "String", # required
2566
- # link_id: "String",
2567
- # connected_link_id: "String",
2568
- # description: "String",
4195
+ # global_network_id: "GlobalNetworkId", # required
4196
+ # connection_id: "ConnectionId", # required
4197
+ # link_id: "LinkId",
4198
+ # connected_link_id: "LinkId",
4199
+ # description: "ConstrainedString",
2569
4200
  # })
2570
4201
  #
2571
4202
  # @example Response structure
@@ -2593,6 +4224,57 @@ module Aws::NetworkManager
2593
4224
  req.send_request(options)
2594
4225
  end
2595
4226
 
4227
+ # Updates the description of a core network.
4228
+ #
4229
+ # @option params [required, String] :core_network_id
4230
+ # The ID of a core network.
4231
+ #
4232
+ # @option params [String] :description
4233
+ # The description of the update.
4234
+ #
4235
+ # @return [Types::UpdateCoreNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4236
+ #
4237
+ # * {Types::UpdateCoreNetworkResponse#core_network #core_network} => Types::CoreNetwork
4238
+ #
4239
+ # @example Request syntax with placeholder values
4240
+ #
4241
+ # resp = client.update_core_network({
4242
+ # core_network_id: "CoreNetworkId", # required
4243
+ # description: "ConstrainedString",
4244
+ # })
4245
+ #
4246
+ # @example Response structure
4247
+ #
4248
+ # resp.core_network.global_network_id #=> String
4249
+ # resp.core_network.core_network_id #=> String
4250
+ # resp.core_network.core_network_arn #=> String
4251
+ # resp.core_network.description #=> String
4252
+ # resp.core_network.created_at #=> Time
4253
+ # resp.core_network.state #=> String, one of "CREATING", "UPDATING", "AVAILABLE", "DELETING"
4254
+ # resp.core_network.segments #=> Array
4255
+ # resp.core_network.segments[0].name #=> String
4256
+ # resp.core_network.segments[0].edge_locations #=> Array
4257
+ # resp.core_network.segments[0].edge_locations[0] #=> String
4258
+ # resp.core_network.segments[0].shared_segments #=> Array
4259
+ # resp.core_network.segments[0].shared_segments[0] #=> String
4260
+ # resp.core_network.edges #=> Array
4261
+ # resp.core_network.edges[0].edge_location #=> String
4262
+ # resp.core_network.edges[0].asn #=> Integer
4263
+ # resp.core_network.edges[0].inside_cidr_blocks #=> Array
4264
+ # resp.core_network.edges[0].inside_cidr_blocks[0] #=> String
4265
+ # resp.core_network.tags #=> Array
4266
+ # resp.core_network.tags[0].key #=> String
4267
+ # resp.core_network.tags[0].value #=> String
4268
+ #
4269
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateCoreNetwork AWS API Documentation
4270
+ #
4271
+ # @overload update_core_network(params = {})
4272
+ # @param [Hash] params ({})
4273
+ def update_core_network(params = {}, options = {})
4274
+ req = build_request(:update_core_network, params)
4275
+ req.send_request(options)
4276
+ end
4277
+
2596
4278
  # Updates the details for an existing device. To remove information for
2597
4279
  # any of the parameters, specify an empty string.
2598
4280
  #
@@ -2642,23 +4324,23 @@ module Aws::NetworkManager
2642
4324
  # @example Request syntax with placeholder values
2643
4325
  #
2644
4326
  # resp = client.update_device({
2645
- # global_network_id: "String", # required
2646
- # device_id: "String", # required
4327
+ # global_network_id: "GlobalNetworkId", # required
4328
+ # device_id: "DeviceId", # required
2647
4329
  # aws_location: {
2648
- # zone: "String",
2649
- # subnet_arn: "String",
4330
+ # zone: "ConstrainedString",
4331
+ # subnet_arn: "SubnetArn",
2650
4332
  # },
2651
- # description: "String",
2652
- # type: "String",
2653
- # vendor: "String",
2654
- # model: "String",
2655
- # serial_number: "String",
4333
+ # description: "ConstrainedString",
4334
+ # type: "ConstrainedString",
4335
+ # vendor: "ConstrainedString",
4336
+ # model: "ConstrainedString",
4337
+ # serial_number: "ConstrainedString",
2656
4338
  # location: {
2657
- # address: "String",
2658
- # latitude: "String",
2659
- # longitude: "String",
4339
+ # address: "ConstrainedString",
4340
+ # latitude: "ConstrainedString",
4341
+ # longitude: "ConstrainedString",
2660
4342
  # },
2661
- # site_id: "String",
4343
+ # site_id: "SiteId",
2662
4344
  # })
2663
4345
  #
2664
4346
  # @example Response structure
@@ -2710,8 +4392,8 @@ module Aws::NetworkManager
2710
4392
  # @example Request syntax with placeholder values
2711
4393
  #
2712
4394
  # resp = client.update_global_network({
2713
- # global_network_id: "String", # required
2714
- # description: "String",
4395
+ # global_network_id: "GlobalNetworkId", # required
4396
+ # description: "ConstrainedString",
2715
4397
  # })
2716
4398
  #
2717
4399
  # @example Response structure
@@ -2768,15 +4450,15 @@ module Aws::NetworkManager
2768
4450
  # @example Request syntax with placeholder values
2769
4451
  #
2770
4452
  # resp = client.update_link({
2771
- # global_network_id: "String", # required
2772
- # link_id: "String", # required
2773
- # description: "String",
2774
- # type: "String",
4453
+ # global_network_id: "GlobalNetworkId", # required
4454
+ # link_id: "LinkId", # required
4455
+ # description: "ConstrainedString",
4456
+ # type: "ConstrainedString",
2775
4457
  # bandwidth: {
2776
4458
  # upload_speed: 1,
2777
4459
  # download_speed: 1,
2778
4460
  # },
2779
- # provider: "String",
4461
+ # provider: "ConstrainedString",
2780
4462
  # })
2781
4463
  #
2782
4464
  # @example Response structure
@@ -2824,10 +4506,10 @@ module Aws::NetworkManager
2824
4506
  # @example Request syntax with placeholder values
2825
4507
  #
2826
4508
  # resp = client.update_network_resource_metadata({
2827
- # global_network_id: "String", # required
2828
- # resource_arn: "String", # required
4509
+ # global_network_id: "GlobalNetworkId", # required
4510
+ # resource_arn: "ResourceArn", # required
2829
4511
  # metadata: { # required
2830
- # "NetworkResourceMetadataKey" => "NetworkResourceMetadataValue",
4512
+ # "ConstrainedString" => "ConstrainedString",
2831
4513
  # },
2832
4514
  # })
2833
4515
  #
@@ -2835,7 +4517,7 @@ module Aws::NetworkManager
2835
4517
  #
2836
4518
  # resp.resource_arn #=> String
2837
4519
  # resp.metadata #=> Hash
2838
- # resp.metadata["NetworkResourceMetadataKey"] #=> String
4520
+ # resp.metadata["ConstrainedString"] #=> String
2839
4521
  #
2840
4522
  # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateNetworkResourceMetadata AWS API Documentation
2841
4523
  #
@@ -2876,13 +4558,13 @@ module Aws::NetworkManager
2876
4558
  # @example Request syntax with placeholder values
2877
4559
  #
2878
4560
  # resp = client.update_site({
2879
- # global_network_id: "String", # required
2880
- # site_id: "String", # required
2881
- # description: "String",
4561
+ # global_network_id: "GlobalNetworkId", # required
4562
+ # site_id: "SiteId", # required
4563
+ # description: "ConstrainedString",
2882
4564
  # location: {
2883
- # address: "String",
2884
- # latitude: "String",
2885
- # longitude: "String",
4565
+ # address: "ConstrainedString",
4566
+ # latitude: "ConstrainedString",
4567
+ # longitude: "ConstrainedString",
2886
4568
  # },
2887
4569
  # })
2888
4570
  #
@@ -2910,6 +4592,70 @@ module Aws::NetworkManager
2910
4592
  req.send_request(options)
2911
4593
  end
2912
4594
 
4595
+ # Updates a VPC attachment.
4596
+ #
4597
+ # @option params [required, String] :attachment_id
4598
+ # The ID of the attachment.
4599
+ #
4600
+ # @option params [Array<String>] :add_subnet_arns
4601
+ # Adds a subnet ARN to the VPC attachment.
4602
+ #
4603
+ # @option params [Array<String>] :remove_subnet_arns
4604
+ # Removes a subnet ARN from the attachment.
4605
+ #
4606
+ # @option params [Types::VpcOptions] :options
4607
+ # Additional options for updating the VPC attachment.
4608
+ #
4609
+ # @return [Types::UpdateVpcAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4610
+ #
4611
+ # * {Types::UpdateVpcAttachmentResponse#vpc_attachment #vpc_attachment} => Types::VpcAttachment
4612
+ #
4613
+ # @example Request syntax with placeholder values
4614
+ #
4615
+ # resp = client.update_vpc_attachment({
4616
+ # attachment_id: "AttachmentId", # required
4617
+ # add_subnet_arns: ["SubnetArn"],
4618
+ # remove_subnet_arns: ["SubnetArn"],
4619
+ # options: {
4620
+ # ipv_6_support: false,
4621
+ # },
4622
+ # })
4623
+ #
4624
+ # @example Response structure
4625
+ #
4626
+ # resp.vpc_attachment.attachment.core_network_id #=> String
4627
+ # resp.vpc_attachment.attachment.core_network_arn #=> String
4628
+ # resp.vpc_attachment.attachment.attachment_id #=> String
4629
+ # resp.vpc_attachment.attachment.owner_account_id #=> String
4630
+ # resp.vpc_attachment.attachment.attachment_type #=> String, one of "CONNECT", "SITE_TO_SITE_VPN", "VPC"
4631
+ # resp.vpc_attachment.attachment.state #=> String, one of "REJECTED", "PENDING_ATTACHMENT_ACCEPTANCE", "CREATING", "FAILED", "AVAILABLE", "UPDATING", "PENDING_NETWORK_UPDATE", "PENDING_TAG_ACCEPTANCE", "DELETING"
4632
+ # resp.vpc_attachment.attachment.edge_location #=> String
4633
+ # resp.vpc_attachment.attachment.resource_arn #=> String
4634
+ # resp.vpc_attachment.attachment.attachment_policy_rule_number #=> Integer
4635
+ # resp.vpc_attachment.attachment.segment_name #=> String
4636
+ # resp.vpc_attachment.attachment.tags #=> Array
4637
+ # resp.vpc_attachment.attachment.tags[0].key #=> String
4638
+ # resp.vpc_attachment.attachment.tags[0].value #=> String
4639
+ # resp.vpc_attachment.attachment.proposed_segment_change.tags #=> Array
4640
+ # resp.vpc_attachment.attachment.proposed_segment_change.tags[0].key #=> String
4641
+ # resp.vpc_attachment.attachment.proposed_segment_change.tags[0].value #=> String
4642
+ # resp.vpc_attachment.attachment.proposed_segment_change.attachment_policy_rule_number #=> Integer
4643
+ # resp.vpc_attachment.attachment.proposed_segment_change.segment_name #=> String
4644
+ # resp.vpc_attachment.attachment.created_at #=> Time
4645
+ # resp.vpc_attachment.attachment.updated_at #=> Time
4646
+ # resp.vpc_attachment.subnet_arns #=> Array
4647
+ # resp.vpc_attachment.subnet_arns[0] #=> String
4648
+ # resp.vpc_attachment.options.ipv_6_support #=> Boolean
4649
+ #
4650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateVpcAttachment AWS API Documentation
4651
+ #
4652
+ # @overload update_vpc_attachment(params = {})
4653
+ # @param [Hash] params ({})
4654
+ def update_vpc_attachment(params = {}, options = {})
4655
+ req = build_request(:update_vpc_attachment, params)
4656
+ req.send_request(options)
4657
+ end
4658
+
2913
4659
  # @!endgroup
2914
4660
 
2915
4661
  # @param params ({})
@@ -2923,7 +4669,7 @@ module Aws::NetworkManager
2923
4669
  params: params,
2924
4670
  config: config)
2925
4671
  context[:gem_name] = 'aws-sdk-networkmanager'
2926
- context[:gem_version] = '1.17.0'
4672
+ context[:gem_version] = '1.21.0'
2927
4673
  Seahorse::Client::Request.new(handlers, context)
2928
4674
  end
2929
4675