aws-sdk-networkmanager 1.6.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 037e0267556989d3ce3f6046da1eb188ae17b2c25a8a81f4e2865d78c8c5ce53
4
- data.tar.gz: b06404ec2c137e1f211c0e7f282a7c490a468d10230efa38eea4b363d5460830
3
+ metadata.gz: 3a4313d5df1ef591cd6b271267d6e0b035a47c062889fab7fc4b132eb0ec1c3f
4
+ data.tar.gz: 177dc40d609c343969abc0111cc261af3a9797c9395aaf906e14741bddb665a5
5
5
  SHA512:
6
- metadata.gz: 00c7e51f7e6429edc5d2bf6aafab922c00aa48ac8d5798e6fdc17e6112ca5c60b1f9b1091c8c6b1f99a635c6292096d4be1b98d895675abc495f2d7f9c7e1d59
7
- data.tar.gz: 3eed32e759adff5485caf7e4889793c6e9e7bcc0b7247162dcc8e3bf973c2b64692c4e241437e5232b4eb270b0084cb84db8ec43d39618d1ee502e534a060500
6
+ metadata.gz: 5665907be31ff9d5637a4173e8e9831e01485b86f6dc10d130cd61ab5e09122e40067938d9b21d8f8c49365e1cbd8179555c2b5cd2480aa1bc2a9d700e18d194
7
+ data.tar.gz: 646746cbb3b5f2b57e1d35d8f76e2a62706d9e262d60b7d67a98005b2256be76460f40bdb29bae32c8f15dd7c019da9f0bf818c50514797680ab34cc969b6d25
data/CHANGELOG.md ADDED
@@ -0,0 +1,68 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.11.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.10.0 (2021-02-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.9.0 (2020-12-10)
15
+ ------------------
16
+
17
+ * Feature - This release adds API support for Transit Gateway Connect integration into AWS Network Manager.
18
+
19
+ 1.8.0 (2020-09-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.7.0 (2020-09-15)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.6.0 (2020-08-25)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.5.0 (2020-06-23)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.4.1 (2020-06-11)
40
+ ------------------
41
+
42
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
43
+
44
+ 1.4.0 (2020-06-10)
45
+ ------------------
46
+
47
+ * Issue - This version has been yanked. (#2327).
48
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
49
+
50
+ 1.3.0 (2020-05-28)
51
+ ------------------
52
+
53
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
54
+
55
+ 1.2.0 (2020-05-07)
56
+ ------------------
57
+
58
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
59
+
60
+ 1.1.0 (2020-03-09)
61
+ ------------------
62
+
63
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
64
+
65
+ 1.0.0 (2019-12-03)
66
+ ------------------
67
+
68
+ * Feature - Initial release of `aws-sdk-networkmanager`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.11.0
@@ -3,10 +3,11 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-networkmanager/customizations'
47
48
  # @!group service
48
49
  module Aws::NetworkManager
49
50
 
50
- GEM_VERSION = '1.6.0'
51
+ GEM_VERSION = '1.11.0'
51
52
 
52
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -435,6 +435,133 @@ module Aws::NetworkManager
435
435
  req.send_request(options)
436
436
  end
437
437
 
438
+ # Associates a transit gateway Connect peer with a device, and
439
+ # optionally, with a link. If you specify a link, it must be associated
440
+ # with the specified device.
441
+ #
442
+ # You can only associate transit gateway Connect peers that have been
443
+ # created on a transit gateway that's registered in your global
444
+ # network.
445
+ #
446
+ # You cannot associate a transit gateway Connect peer with more than one
447
+ # device and link.
448
+ #
449
+ # @option params [required, String] :global_network_id
450
+ # The ID of the global network.
451
+ #
452
+ # @option params [required, String] :transit_gateway_connect_peer_arn
453
+ # The Amazon Resource Name (ARN) of the Connect peer.
454
+ #
455
+ # @option params [required, String] :device_id
456
+ # The ID of the device.
457
+ #
458
+ # @option params [String] :link_id
459
+ # The ID of the link.
460
+ #
461
+ # @return [Types::AssociateTransitGatewayConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
462
+ #
463
+ # * {Types::AssociateTransitGatewayConnectPeerResponse#transit_gateway_connect_peer_association #transit_gateway_connect_peer_association} => Types::TransitGatewayConnectPeerAssociation
464
+ #
465
+ # @example Request syntax with placeholder values
466
+ #
467
+ # resp = client.associate_transit_gateway_connect_peer({
468
+ # global_network_id: "String", # required
469
+ # transit_gateway_connect_peer_arn: "String", # required
470
+ # device_id: "String", # required
471
+ # link_id: "String",
472
+ # })
473
+ #
474
+ # @example Response structure
475
+ #
476
+ # resp.transit_gateway_connect_peer_association.transit_gateway_connect_peer_arn #=> String
477
+ # resp.transit_gateway_connect_peer_association.global_network_id #=> String
478
+ # resp.transit_gateway_connect_peer_association.device_id #=> String
479
+ # resp.transit_gateway_connect_peer_association.link_id #=> String
480
+ # resp.transit_gateway_connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
481
+ #
482
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeer AWS API Documentation
483
+ #
484
+ # @overload associate_transit_gateway_connect_peer(params = {})
485
+ # @param [Hash] params ({})
486
+ def associate_transit_gateway_connect_peer(params = {}, options = {})
487
+ req = build_request(:associate_transit_gateway_connect_peer, params)
488
+ req.send_request(options)
489
+ end
490
+
491
+ # Creates a connection between two devices. The devices can be a
492
+ # physical or virtual appliance that connects to a third-party appliance
493
+ # in a VPC, or a physical appliance that connects to another physical
494
+ # appliance in an on-premises network.
495
+ #
496
+ # @option params [required, String] :global_network_id
497
+ # The ID of the global network.
498
+ #
499
+ # @option params [required, String] :device_id
500
+ # The ID of the first device in the connection.
501
+ #
502
+ # @option params [required, String] :connected_device_id
503
+ # The ID of the second device in the connection.
504
+ #
505
+ # @option params [String] :link_id
506
+ # The ID of the link for the first device.
507
+ #
508
+ # @option params [String] :connected_link_id
509
+ # The ID of the link for the second device.
510
+ #
511
+ # @option params [String] :description
512
+ # A description of the connection.
513
+ #
514
+ # Length Constraints: Maximum length of 256 characters.
515
+ #
516
+ # @option params [Array<Types::Tag>] :tags
517
+ # The tags to apply to the resource during creation.
518
+ #
519
+ # @return [Types::CreateConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
520
+ #
521
+ # * {Types::CreateConnectionResponse#connection #connection} => Types::Connection
522
+ #
523
+ # @example Request syntax with placeholder values
524
+ #
525
+ # resp = client.create_connection({
526
+ # global_network_id: "String", # required
527
+ # device_id: "String", # required
528
+ # connected_device_id: "String", # required
529
+ # link_id: "String",
530
+ # connected_link_id: "String",
531
+ # description: "String",
532
+ # tags: [
533
+ # {
534
+ # key: "TagKey",
535
+ # value: "TagValue",
536
+ # },
537
+ # ],
538
+ # })
539
+ #
540
+ # @example Response structure
541
+ #
542
+ # resp.connection.connection_id #=> String
543
+ # resp.connection.connection_arn #=> String
544
+ # resp.connection.global_network_id #=> String
545
+ # resp.connection.device_id #=> String
546
+ # resp.connection.connected_device_id #=> String
547
+ # resp.connection.link_id #=> String
548
+ # resp.connection.connected_link_id #=> String
549
+ # resp.connection.description #=> String
550
+ # resp.connection.created_at #=> Time
551
+ # resp.connection.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
552
+ # resp.connection.tags #=> Array
553
+ # resp.connection.tags[0].key #=> String
554
+ # resp.connection.tags[0].value #=> String
555
+ #
556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnection AWS API Documentation
557
+ #
558
+ # @overload create_connection(params = {})
559
+ # @param [Hash] params ({})
560
+ def create_connection(params = {}, options = {})
561
+ req = build_request(:create_connection, params)
562
+ req.send_request(options)
563
+ end
564
+
438
565
  # Creates a new device in a global network. If you specify both a site
439
566
  # ID and a location, the location of the site is used for visualization
440
567
  # in the Network Manager console.
@@ -442,6 +569,9 @@ module Aws::NetworkManager
442
569
  # @option params [required, String] :global_network_id
443
570
  # The ID of the global network.
444
571
  #
572
+ # @option params [Types::AWSLocation] :aws_location
573
+ # The AWS location of the device.
574
+ #
445
575
  # @option params [String] :description
446
576
  # A description of the device.
447
577
  #
@@ -482,6 +612,10 @@ module Aws::NetworkManager
482
612
  #
483
613
  # resp = client.create_device({
484
614
  # global_network_id: "String", # required
615
+ # aws_location: {
616
+ # zone: "String",
617
+ # subnet_arn: "String",
618
+ # },
485
619
  # description: "String",
486
620
  # type: "String",
487
621
  # vendor: "String",
@@ -506,6 +640,8 @@ module Aws::NetworkManager
506
640
  # resp.device.device_id #=> String
507
641
  # resp.device.device_arn #=> String
508
642
  # resp.device.global_network_id #=> String
643
+ # resp.device.aws_location.zone #=> String
644
+ # resp.device.aws_location.subnet_arn #=> String
509
645
  # resp.device.description #=> String
510
646
  # resp.device.type #=> String
511
647
  # resp.device.vendor #=> String
@@ -729,6 +865,50 @@ module Aws::NetworkManager
729
865
  req.send_request(options)
730
866
  end
731
867
 
868
+ # Deletes the specified connection in your global network.
869
+ #
870
+ # @option params [required, String] :global_network_id
871
+ # The ID of the global network.
872
+ #
873
+ # @option params [required, String] :connection_id
874
+ # The ID of the connection.
875
+ #
876
+ # @return [Types::DeleteConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
877
+ #
878
+ # * {Types::DeleteConnectionResponse#connection #connection} => Types::Connection
879
+ #
880
+ # @example Request syntax with placeholder values
881
+ #
882
+ # resp = client.delete_connection({
883
+ # global_network_id: "String", # required
884
+ # connection_id: "String", # required
885
+ # })
886
+ #
887
+ # @example Response structure
888
+ #
889
+ # resp.connection.connection_id #=> String
890
+ # resp.connection.connection_arn #=> String
891
+ # resp.connection.global_network_id #=> String
892
+ # resp.connection.device_id #=> String
893
+ # resp.connection.connected_device_id #=> String
894
+ # resp.connection.link_id #=> String
895
+ # resp.connection.connected_link_id #=> String
896
+ # resp.connection.description #=> String
897
+ # resp.connection.created_at #=> Time
898
+ # resp.connection.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
899
+ # resp.connection.tags #=> Array
900
+ # resp.connection.tags[0].key #=> String
901
+ # resp.connection.tags[0].value #=> String
902
+ #
903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnection AWS API Documentation
904
+ #
905
+ # @overload delete_connection(params = {})
906
+ # @param [Hash] params ({})
907
+ def delete_connection(params = {}, options = {})
908
+ req = build_request(:delete_connection, params)
909
+ req.send_request(options)
910
+ end
911
+
732
912
  # Deletes an existing device. You must first disassociate the device
733
913
  # from any links and customer gateways.
734
914
  #
@@ -754,6 +934,8 @@ module Aws::NetworkManager
754
934
  # resp.device.device_id #=> String
755
935
  # resp.device.device_arn #=> String
756
936
  # resp.device.global_network_id #=> String
937
+ # resp.device.aws_location.zone #=> String
938
+ # resp.device.aws_location.subnet_arn #=> String
757
939
  # resp.device.description #=> String
758
940
  # resp.device.type #=> String
759
941
  # resp.device.vendor #=> String
@@ -1075,6 +1257,104 @@ module Aws::NetworkManager
1075
1257
  req.send_request(options)
1076
1258
  end
1077
1259
 
1260
+ # Disassociates a transit gateway Connect peer from a device and link.
1261
+ #
1262
+ # @option params [required, String] :global_network_id
1263
+ # The ID of the global network.
1264
+ #
1265
+ # @option params [required, String] :transit_gateway_connect_peer_arn
1266
+ # The Amazon Resource Name (ARN) of the transit gateway Connect peer.
1267
+ #
1268
+ # @return [Types::DisassociateTransitGatewayConnectPeerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1269
+ #
1270
+ # * {Types::DisassociateTransitGatewayConnectPeerResponse#transit_gateway_connect_peer_association #transit_gateway_connect_peer_association} => Types::TransitGatewayConnectPeerAssociation
1271
+ #
1272
+ # @example Request syntax with placeholder values
1273
+ #
1274
+ # resp = client.disassociate_transit_gateway_connect_peer({
1275
+ # global_network_id: "String", # required
1276
+ # transit_gateway_connect_peer_arn: "String", # required
1277
+ # })
1278
+ #
1279
+ # @example Response structure
1280
+ #
1281
+ # resp.transit_gateway_connect_peer_association.transit_gateway_connect_peer_arn #=> String
1282
+ # resp.transit_gateway_connect_peer_association.global_network_id #=> String
1283
+ # resp.transit_gateway_connect_peer_association.device_id #=> String
1284
+ # resp.transit_gateway_connect_peer_association.link_id #=> String
1285
+ # resp.transit_gateway_connect_peer_association.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
1286
+ #
1287
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeer AWS API Documentation
1288
+ #
1289
+ # @overload disassociate_transit_gateway_connect_peer(params = {})
1290
+ # @param [Hash] params ({})
1291
+ def disassociate_transit_gateway_connect_peer(params = {}, options = {})
1292
+ req = build_request(:disassociate_transit_gateway_connect_peer, params)
1293
+ req.send_request(options)
1294
+ end
1295
+
1296
+ # Gets information about one or more of your connections in a global
1297
+ # network.
1298
+ #
1299
+ # @option params [required, String] :global_network_id
1300
+ # The ID of the global network.
1301
+ #
1302
+ # @option params [Array<String>] :connection_ids
1303
+ # One or more connection IDs.
1304
+ #
1305
+ # @option params [String] :device_id
1306
+ # The ID of the device.
1307
+ #
1308
+ # @option params [Integer] :max_results
1309
+ # The maximum number of results to return.
1310
+ #
1311
+ # @option params [String] :next_token
1312
+ # The token for the next page of results.
1313
+ #
1314
+ # @return [Types::GetConnectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1315
+ #
1316
+ # * {Types::GetConnectionsResponse#connections #connections} => Array&lt;Types::Connection&gt;
1317
+ # * {Types::GetConnectionsResponse#next_token #next_token} => String
1318
+ #
1319
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1320
+ #
1321
+ # @example Request syntax with placeholder values
1322
+ #
1323
+ # resp = client.get_connections({
1324
+ # global_network_id: "String", # required
1325
+ # connection_ids: ["String"],
1326
+ # device_id: "String",
1327
+ # max_results: 1,
1328
+ # next_token: "String",
1329
+ # })
1330
+ #
1331
+ # @example Response structure
1332
+ #
1333
+ # resp.connections #=> Array
1334
+ # resp.connections[0].connection_id #=> String
1335
+ # resp.connections[0].connection_arn #=> String
1336
+ # resp.connections[0].global_network_id #=> String
1337
+ # resp.connections[0].device_id #=> String
1338
+ # resp.connections[0].connected_device_id #=> String
1339
+ # resp.connections[0].link_id #=> String
1340
+ # resp.connections[0].connected_link_id #=> String
1341
+ # resp.connections[0].description #=> String
1342
+ # resp.connections[0].created_at #=> Time
1343
+ # resp.connections[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
1344
+ # resp.connections[0].tags #=> Array
1345
+ # resp.connections[0].tags[0].key #=> String
1346
+ # resp.connections[0].tags[0].value #=> String
1347
+ # resp.next_token #=> String
1348
+ #
1349
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnections AWS API Documentation
1350
+ #
1351
+ # @overload get_connections(params = {})
1352
+ # @param [Hash] params ({})
1353
+ def get_connections(params = {}, options = {})
1354
+ req = build_request(:get_connections, params)
1355
+ req.send_request(options)
1356
+ end
1357
+
1078
1358
  # Gets the association information for customer gateways that are
1079
1359
  # associated with devices and links in your global network.
1080
1360
  #
@@ -1172,6 +1452,8 @@ module Aws::NetworkManager
1172
1452
  # resp.devices[0].device_id #=> String
1173
1453
  # resp.devices[0].device_arn #=> String
1174
1454
  # resp.devices[0].global_network_id #=> String
1455
+ # resp.devices[0].aws_location.zone #=> String
1456
+ # resp.devices[0].aws_location.subnet_arn #=> String
1175
1457
  # resp.devices[0].description #=> String
1176
1458
  # resp.devices[0].type #=> String
1177
1459
  # resp.devices[0].vendor #=> String
@@ -1381,6 +1663,56 @@ module Aws::NetworkManager
1381
1663
  req.send_request(options)
1382
1664
  end
1383
1665
 
1666
+ # Gets information about one or more of your transit gateway Connect
1667
+ # peer associations in a global network.
1668
+ #
1669
+ # @option params [required, String] :global_network_id
1670
+ # The ID of the global network.
1671
+ #
1672
+ # @option params [Array<String>] :transit_gateway_connect_peer_arns
1673
+ # One or more transit gateway Connect peer Amazon Resource Names (ARNs).
1674
+ #
1675
+ # @option params [Integer] :max_results
1676
+ # The maximum number of results to return.
1677
+ #
1678
+ # @option params [String] :next_token
1679
+ # The token for the next page of results.
1680
+ #
1681
+ # @return [Types::GetTransitGatewayConnectPeerAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1682
+ #
1683
+ # * {Types::GetTransitGatewayConnectPeerAssociationsResponse#transit_gateway_connect_peer_associations #transit_gateway_connect_peer_associations} => Array&lt;Types::TransitGatewayConnectPeerAssociation&gt;
1684
+ # * {Types::GetTransitGatewayConnectPeerAssociationsResponse#next_token #next_token} => String
1685
+ #
1686
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1687
+ #
1688
+ # @example Request syntax with placeholder values
1689
+ #
1690
+ # resp = client.get_transit_gateway_connect_peer_associations({
1691
+ # global_network_id: "String", # required
1692
+ # transit_gateway_connect_peer_arns: ["String"],
1693
+ # max_results: 1,
1694
+ # next_token: "String",
1695
+ # })
1696
+ #
1697
+ # @example Response structure
1698
+ #
1699
+ # resp.transit_gateway_connect_peer_associations #=> Array
1700
+ # resp.transit_gateway_connect_peer_associations[0].transit_gateway_connect_peer_arn #=> String
1701
+ # resp.transit_gateway_connect_peer_associations[0].global_network_id #=> String
1702
+ # resp.transit_gateway_connect_peer_associations[0].device_id #=> String
1703
+ # resp.transit_gateway_connect_peer_associations[0].link_id #=> String
1704
+ # resp.transit_gateway_connect_peer_associations[0].state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "DELETED"
1705
+ # resp.next_token #=> String
1706
+ #
1707
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociations AWS API Documentation
1708
+ #
1709
+ # @overload get_transit_gateway_connect_peer_associations(params = {})
1710
+ # @param [Hash] params ({})
1711
+ def get_transit_gateway_connect_peer_associations(params = {}, options = {})
1712
+ req = build_request(:get_transit_gateway_connect_peer_associations, params)
1713
+ req.send_request(options)
1714
+ end
1715
+
1384
1716
  # Gets information about the transit gateway registrations in a
1385
1717
  # specified global network.
1386
1718
  #
@@ -1561,6 +1893,65 @@ module Aws::NetworkManager
1561
1893
  req.send_request(options)
1562
1894
  end
1563
1895
 
1896
+ # Updates the information for an existing connection. To remove
1897
+ # information for any of the parameters, specify an empty string.
1898
+ #
1899
+ # @option params [required, String] :global_network_id
1900
+ # The ID of the global network.
1901
+ #
1902
+ # @option params [required, String] :connection_id
1903
+ # The ID of the connection.
1904
+ #
1905
+ # @option params [String] :link_id
1906
+ # The ID of the link for the first device in the connection.
1907
+ #
1908
+ # @option params [String] :connected_link_id
1909
+ # The ID of the link for the second device in the connection.
1910
+ #
1911
+ # @option params [String] :description
1912
+ # A description of the connection.
1913
+ #
1914
+ # Length Constraints: Maximum length of 256 characters.
1915
+ #
1916
+ # @return [Types::UpdateConnectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1917
+ #
1918
+ # * {Types::UpdateConnectionResponse#connection #connection} => Types::Connection
1919
+ #
1920
+ # @example Request syntax with placeholder values
1921
+ #
1922
+ # resp = client.update_connection({
1923
+ # global_network_id: "String", # required
1924
+ # connection_id: "String", # required
1925
+ # link_id: "String",
1926
+ # connected_link_id: "String",
1927
+ # description: "String",
1928
+ # })
1929
+ #
1930
+ # @example Response structure
1931
+ #
1932
+ # resp.connection.connection_id #=> String
1933
+ # resp.connection.connection_arn #=> String
1934
+ # resp.connection.global_network_id #=> String
1935
+ # resp.connection.device_id #=> String
1936
+ # resp.connection.connected_device_id #=> String
1937
+ # resp.connection.link_id #=> String
1938
+ # resp.connection.connected_link_id #=> String
1939
+ # resp.connection.description #=> String
1940
+ # resp.connection.created_at #=> Time
1941
+ # resp.connection.state #=> String, one of "PENDING", "AVAILABLE", "DELETING", "UPDATING"
1942
+ # resp.connection.tags #=> Array
1943
+ # resp.connection.tags[0].key #=> String
1944
+ # resp.connection.tags[0].value #=> String
1945
+ #
1946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnection AWS API Documentation
1947
+ #
1948
+ # @overload update_connection(params = {})
1949
+ # @param [Hash] params ({})
1950
+ def update_connection(params = {}, options = {})
1951
+ req = build_request(:update_connection, params)
1952
+ req.send_request(options)
1953
+ end
1954
+
1564
1955
  # Updates the details for an existing device. To remove information for
1565
1956
  # any of the parameters, specify an empty string.
1566
1957
  #
@@ -1570,6 +1961,9 @@ module Aws::NetworkManager
1570
1961
  # @option params [required, String] :device_id
1571
1962
  # The ID of the device.
1572
1963
  #
1964
+ # @option params [Types::AWSLocation] :aws_location
1965
+ # The AWS location of the device.
1966
+ #
1573
1967
  # @option params [String] :description
1574
1968
  # A description of the device.
1575
1969
  #
@@ -1608,6 +2002,10 @@ module Aws::NetworkManager
1608
2002
  # resp = client.update_device({
1609
2003
  # global_network_id: "String", # required
1610
2004
  # device_id: "String", # required
2005
+ # aws_location: {
2006
+ # zone: "String",
2007
+ # subnet_arn: "String",
2008
+ # },
1611
2009
  # description: "String",
1612
2010
  # type: "String",
1613
2011
  # vendor: "String",
@@ -1626,6 +2024,8 @@ module Aws::NetworkManager
1626
2024
  # resp.device.device_id #=> String
1627
2025
  # resp.device.device_arn #=> String
1628
2026
  # resp.device.global_network_id #=> String
2027
+ # resp.device.aws_location.zone #=> String
2028
+ # resp.device.aws_location.subnet_arn #=> String
1629
2029
  # resp.device.description #=> String
1630
2030
  # resp.device.type #=> String
1631
2031
  # resp.device.vendor #=> String
@@ -1840,7 +2240,7 @@ module Aws::NetworkManager
1840
2240
  params: params,
1841
2241
  config: config)
1842
2242
  context[:gem_name] = 'aws-sdk-networkmanager'
1843
- context[:gem_version] = '1.6.0'
2243
+ context[:gem_version] = '1.11.0'
1844
2244
  Seahorse::Client::Request.new(handlers, context)
1845
2245
  end
1846
2246