aws-sdk-networkmanager 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/aws-sdk-networkmanager.rb +47 -0
- data/lib/aws-sdk-networkmanager/client.rb +1778 -0
- data/lib/aws-sdk-networkmanager/client_api.rb +960 -0
- data/lib/aws-sdk-networkmanager/customizations.rb +0 -0
- data/lib/aws-sdk-networkmanager/errors.rb +186 -0
- data/lib/aws-sdk-networkmanager/resource.rb +23 -0
- data/lib/aws-sdk-networkmanager/types.rb +1995 -0
- metadata +88 -0
|
File without changes
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws::NetworkManager
|
|
9
|
+
module Errors
|
|
10
|
+
|
|
11
|
+
extend Aws::Errors::DynamicErrors
|
|
12
|
+
|
|
13
|
+
class AccessDeniedException < ServiceError
|
|
14
|
+
|
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
16
|
+
# @param [String] message
|
|
17
|
+
# @param [Aws::NetworkManager::Types::AccessDeniedException] data
|
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
19
|
+
super(context, message, data)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# @return [String]
|
|
23
|
+
def message
|
|
24
|
+
@message || @data[:message]
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
class ConflictException < ServiceError
|
|
30
|
+
|
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
32
|
+
# @param [String] message
|
|
33
|
+
# @param [Aws::NetworkManager::Types::ConflictException] data
|
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
35
|
+
super(context, message, data)
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# @return [String]
|
|
39
|
+
def message
|
|
40
|
+
@message || @data[:message]
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# @return [String]
|
|
44
|
+
def resource_id
|
|
45
|
+
@data[:resource_id]
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# @return [String]
|
|
49
|
+
def resource_type
|
|
50
|
+
@data[:resource_type]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class InternalServerException < ServiceError
|
|
56
|
+
|
|
57
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
58
|
+
# @param [String] message
|
|
59
|
+
# @param [Aws::NetworkManager::Types::InternalServerException] data
|
|
60
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
61
|
+
super(context, message, data)
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# @return [String]
|
|
65
|
+
def message
|
|
66
|
+
@message || @data[:message]
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# @return [String]
|
|
70
|
+
def retry_after_seconds
|
|
71
|
+
@data[:retry_after_seconds]
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
class ResourceNotFoundException < ServiceError
|
|
77
|
+
|
|
78
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
79
|
+
# @param [String] message
|
|
80
|
+
# @param [Aws::NetworkManager::Types::ResourceNotFoundException] data
|
|
81
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
82
|
+
super(context, message, data)
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# @return [String]
|
|
86
|
+
def message
|
|
87
|
+
@message || @data[:message]
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# @return [String]
|
|
91
|
+
def resource_id
|
|
92
|
+
@data[:resource_id]
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# @return [String]
|
|
96
|
+
def resource_type
|
|
97
|
+
@data[:resource_type]
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
class ServiceQuotaExceededException < ServiceError
|
|
103
|
+
|
|
104
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
105
|
+
# @param [String] message
|
|
106
|
+
# @param [Aws::NetworkManager::Types::ServiceQuotaExceededException] data
|
|
107
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
108
|
+
super(context, message, data)
|
|
109
|
+
end
|
|
110
|
+
|
|
111
|
+
# @return [String]
|
|
112
|
+
def message
|
|
113
|
+
@message || @data[:message]
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# @return [String]
|
|
117
|
+
def resource_id
|
|
118
|
+
@data[:resource_id]
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# @return [String]
|
|
122
|
+
def resource_type
|
|
123
|
+
@data[:resource_type]
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# @return [String]
|
|
127
|
+
def limit_code
|
|
128
|
+
@data[:limit_code]
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
# @return [String]
|
|
132
|
+
def service_code
|
|
133
|
+
@data[:service_code]
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
class ThrottlingException < ServiceError
|
|
139
|
+
|
|
140
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
141
|
+
# @param [String] message
|
|
142
|
+
# @param [Aws::NetworkManager::Types::ThrottlingException] data
|
|
143
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
144
|
+
super(context, message, data)
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# @return [String]
|
|
148
|
+
def message
|
|
149
|
+
@message || @data[:message]
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# @return [String]
|
|
153
|
+
def retry_after_seconds
|
|
154
|
+
@data[:retry_after_seconds]
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
class ValidationException < ServiceError
|
|
160
|
+
|
|
161
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
162
|
+
# @param [String] message
|
|
163
|
+
# @param [Aws::NetworkManager::Types::ValidationException] data
|
|
164
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
165
|
+
super(context, message, data)
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# @return [String]
|
|
169
|
+
def message
|
|
170
|
+
@message || @data[:message]
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
# @return [String]
|
|
174
|
+
def reason
|
|
175
|
+
@data[:reason]
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
# @return [String]
|
|
179
|
+
def fields
|
|
180
|
+
@data[:fields]
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
end
|
|
186
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws::NetworkManager
|
|
9
|
+
class Resource
|
|
10
|
+
|
|
11
|
+
# @param options ({})
|
|
12
|
+
# @option options [Client] :client
|
|
13
|
+
def initialize(options = {})
|
|
14
|
+
@client = options[:client] || Client.new(options)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# @return [Client]
|
|
18
|
+
def client
|
|
19
|
+
@client
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -0,0 +1,1995 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws::NetworkManager
|
|
9
|
+
module Types
|
|
10
|
+
|
|
11
|
+
# You do not have sufficient access to perform this action.
|
|
12
|
+
#
|
|
13
|
+
# @!attribute [rw] message
|
|
14
|
+
# @return [String]
|
|
15
|
+
#
|
|
16
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AccessDeniedException AWS API Documentation
|
|
17
|
+
#
|
|
18
|
+
class AccessDeniedException < Struct.new(
|
|
19
|
+
:message)
|
|
20
|
+
include Aws::Structure
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# @note When making an API call, you may pass AssociateCustomerGatewayRequest
|
|
24
|
+
# data as a hash:
|
|
25
|
+
#
|
|
26
|
+
# {
|
|
27
|
+
# customer_gateway_arn: "String", # required
|
|
28
|
+
# global_network_id: "String", # required
|
|
29
|
+
# device_id: "String", # required
|
|
30
|
+
# link_id: "String",
|
|
31
|
+
# }
|
|
32
|
+
#
|
|
33
|
+
# @!attribute [rw] customer_gateway_arn
|
|
34
|
+
# The Amazon Resource Name (ARN) of the customer gateway. For more
|
|
35
|
+
# information, see [Resources Defined by Amazon EC2][1].
|
|
36
|
+
#
|
|
37
|
+
#
|
|
38
|
+
#
|
|
39
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies
|
|
40
|
+
# @return [String]
|
|
41
|
+
#
|
|
42
|
+
# @!attribute [rw] global_network_id
|
|
43
|
+
# The ID of the global network.
|
|
44
|
+
# @return [String]
|
|
45
|
+
#
|
|
46
|
+
# @!attribute [rw] device_id
|
|
47
|
+
# The ID of the device.
|
|
48
|
+
# @return [String]
|
|
49
|
+
#
|
|
50
|
+
# @!attribute [rw] link_id
|
|
51
|
+
# The ID of the link.
|
|
52
|
+
# @return [String]
|
|
53
|
+
#
|
|
54
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateCustomerGatewayRequest AWS API Documentation
|
|
55
|
+
#
|
|
56
|
+
class AssociateCustomerGatewayRequest < Struct.new(
|
|
57
|
+
:customer_gateway_arn,
|
|
58
|
+
:global_network_id,
|
|
59
|
+
:device_id,
|
|
60
|
+
:link_id)
|
|
61
|
+
include Aws::Structure
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
# @!attribute [rw] customer_gateway_association
|
|
65
|
+
# The customer gateway association.
|
|
66
|
+
# @return [Types::CustomerGatewayAssociation]
|
|
67
|
+
#
|
|
68
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateCustomerGatewayResponse AWS API Documentation
|
|
69
|
+
#
|
|
70
|
+
class AssociateCustomerGatewayResponse < Struct.new(
|
|
71
|
+
:customer_gateway_association)
|
|
72
|
+
include Aws::Structure
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# @note When making an API call, you may pass AssociateLinkRequest
|
|
76
|
+
# data as a hash:
|
|
77
|
+
#
|
|
78
|
+
# {
|
|
79
|
+
# global_network_id: "String", # required
|
|
80
|
+
# device_id: "String", # required
|
|
81
|
+
# link_id: "String", # required
|
|
82
|
+
# }
|
|
83
|
+
#
|
|
84
|
+
# @!attribute [rw] global_network_id
|
|
85
|
+
# The ID of the global network.
|
|
86
|
+
# @return [String]
|
|
87
|
+
#
|
|
88
|
+
# @!attribute [rw] device_id
|
|
89
|
+
# The ID of the device.
|
|
90
|
+
# @return [String]
|
|
91
|
+
#
|
|
92
|
+
# @!attribute [rw] link_id
|
|
93
|
+
# The ID of the link.
|
|
94
|
+
# @return [String]
|
|
95
|
+
#
|
|
96
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateLinkRequest AWS API Documentation
|
|
97
|
+
#
|
|
98
|
+
class AssociateLinkRequest < Struct.new(
|
|
99
|
+
:global_network_id,
|
|
100
|
+
:device_id,
|
|
101
|
+
:link_id)
|
|
102
|
+
include Aws::Structure
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# @!attribute [rw] link_association
|
|
106
|
+
# The link association.
|
|
107
|
+
# @return [Types::LinkAssociation]
|
|
108
|
+
#
|
|
109
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateLinkResponse AWS API Documentation
|
|
110
|
+
#
|
|
111
|
+
class AssociateLinkResponse < Struct.new(
|
|
112
|
+
:link_association)
|
|
113
|
+
include Aws::Structure
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
# Describes bandwidth information.
|
|
117
|
+
#
|
|
118
|
+
# @note When making an API call, you may pass Bandwidth
|
|
119
|
+
# data as a hash:
|
|
120
|
+
#
|
|
121
|
+
# {
|
|
122
|
+
# upload_speed: 1,
|
|
123
|
+
# download_speed: 1,
|
|
124
|
+
# }
|
|
125
|
+
#
|
|
126
|
+
# @!attribute [rw] upload_speed
|
|
127
|
+
# Upload speed in Mbps.
|
|
128
|
+
# @return [Integer]
|
|
129
|
+
#
|
|
130
|
+
# @!attribute [rw] download_speed
|
|
131
|
+
# Download speed in Mbps.
|
|
132
|
+
# @return [Integer]
|
|
133
|
+
#
|
|
134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/Bandwidth AWS API Documentation
|
|
135
|
+
#
|
|
136
|
+
class Bandwidth < Struct.new(
|
|
137
|
+
:upload_speed,
|
|
138
|
+
:download_speed)
|
|
139
|
+
include Aws::Structure
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# There was a conflict processing the request. Updating or deleting the
|
|
143
|
+
# resource can cause an inconsistent state.
|
|
144
|
+
#
|
|
145
|
+
# @!attribute [rw] message
|
|
146
|
+
# @return [String]
|
|
147
|
+
#
|
|
148
|
+
# @!attribute [rw] resource_id
|
|
149
|
+
# The ID of the resource.
|
|
150
|
+
# @return [String]
|
|
151
|
+
#
|
|
152
|
+
# @!attribute [rw] resource_type
|
|
153
|
+
# The resource type.
|
|
154
|
+
# @return [String]
|
|
155
|
+
#
|
|
156
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ConflictException AWS API Documentation
|
|
157
|
+
#
|
|
158
|
+
class ConflictException < Struct.new(
|
|
159
|
+
:message,
|
|
160
|
+
:resource_id,
|
|
161
|
+
:resource_type)
|
|
162
|
+
include Aws::Structure
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# @note When making an API call, you may pass CreateDeviceRequest
|
|
166
|
+
# data as a hash:
|
|
167
|
+
#
|
|
168
|
+
# {
|
|
169
|
+
# global_network_id: "String", # required
|
|
170
|
+
# description: "String",
|
|
171
|
+
# type: "String",
|
|
172
|
+
# vendor: "String",
|
|
173
|
+
# model: "String",
|
|
174
|
+
# serial_number: "String",
|
|
175
|
+
# location: {
|
|
176
|
+
# address: "String",
|
|
177
|
+
# latitude: "String",
|
|
178
|
+
# longitude: "String",
|
|
179
|
+
# },
|
|
180
|
+
# site_id: "String",
|
|
181
|
+
# tags: [
|
|
182
|
+
# {
|
|
183
|
+
# key: "TagKey",
|
|
184
|
+
# value: "TagValue",
|
|
185
|
+
# },
|
|
186
|
+
# ],
|
|
187
|
+
# }
|
|
188
|
+
#
|
|
189
|
+
# @!attribute [rw] global_network_id
|
|
190
|
+
# The ID of the global network.
|
|
191
|
+
# @return [String]
|
|
192
|
+
#
|
|
193
|
+
# @!attribute [rw] description
|
|
194
|
+
# A description of the device.
|
|
195
|
+
#
|
|
196
|
+
# Length Constraints: Maximum length of 256 characters.
|
|
197
|
+
# @return [String]
|
|
198
|
+
#
|
|
199
|
+
# @!attribute [rw] type
|
|
200
|
+
# The type of the device.
|
|
201
|
+
# @return [String]
|
|
202
|
+
#
|
|
203
|
+
# @!attribute [rw] vendor
|
|
204
|
+
# The vendor of the device.
|
|
205
|
+
#
|
|
206
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
207
|
+
# @return [String]
|
|
208
|
+
#
|
|
209
|
+
# @!attribute [rw] model
|
|
210
|
+
# The model of the device.
|
|
211
|
+
#
|
|
212
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
213
|
+
# @return [String]
|
|
214
|
+
#
|
|
215
|
+
# @!attribute [rw] serial_number
|
|
216
|
+
# The serial number of the device.
|
|
217
|
+
#
|
|
218
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
219
|
+
# @return [String]
|
|
220
|
+
#
|
|
221
|
+
# @!attribute [rw] location
|
|
222
|
+
# The location of the device.
|
|
223
|
+
# @return [Types::Location]
|
|
224
|
+
#
|
|
225
|
+
# @!attribute [rw] site_id
|
|
226
|
+
# The ID of the site.
|
|
227
|
+
# @return [String]
|
|
228
|
+
#
|
|
229
|
+
# @!attribute [rw] tags
|
|
230
|
+
# The tags to apply to the resource during creation.
|
|
231
|
+
# @return [Array<Types::Tag>]
|
|
232
|
+
#
|
|
233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDeviceRequest AWS API Documentation
|
|
234
|
+
#
|
|
235
|
+
class CreateDeviceRequest < Struct.new(
|
|
236
|
+
:global_network_id,
|
|
237
|
+
:description,
|
|
238
|
+
:type,
|
|
239
|
+
:vendor,
|
|
240
|
+
:model,
|
|
241
|
+
:serial_number,
|
|
242
|
+
:location,
|
|
243
|
+
:site_id,
|
|
244
|
+
:tags)
|
|
245
|
+
include Aws::Structure
|
|
246
|
+
end
|
|
247
|
+
|
|
248
|
+
# @!attribute [rw] device
|
|
249
|
+
# Information about the device.
|
|
250
|
+
# @return [Types::Device]
|
|
251
|
+
#
|
|
252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateDeviceResponse AWS API Documentation
|
|
253
|
+
#
|
|
254
|
+
class CreateDeviceResponse < Struct.new(
|
|
255
|
+
:device)
|
|
256
|
+
include Aws::Structure
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# @note When making an API call, you may pass CreateGlobalNetworkRequest
|
|
260
|
+
# data as a hash:
|
|
261
|
+
#
|
|
262
|
+
# {
|
|
263
|
+
# description: "String",
|
|
264
|
+
# tags: [
|
|
265
|
+
# {
|
|
266
|
+
# key: "TagKey",
|
|
267
|
+
# value: "TagValue",
|
|
268
|
+
# },
|
|
269
|
+
# ],
|
|
270
|
+
# }
|
|
271
|
+
#
|
|
272
|
+
# @!attribute [rw] description
|
|
273
|
+
# A description of the global network.
|
|
274
|
+
#
|
|
275
|
+
# Length Constraints: Maximum length of 256 characters.
|
|
276
|
+
# @return [String]
|
|
277
|
+
#
|
|
278
|
+
# @!attribute [rw] tags
|
|
279
|
+
# The tags to apply to the resource during creation.
|
|
280
|
+
# @return [Array<Types::Tag>]
|
|
281
|
+
#
|
|
282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateGlobalNetworkRequest AWS API Documentation
|
|
283
|
+
#
|
|
284
|
+
class CreateGlobalNetworkRequest < Struct.new(
|
|
285
|
+
:description,
|
|
286
|
+
:tags)
|
|
287
|
+
include Aws::Structure
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# @!attribute [rw] global_network
|
|
291
|
+
# Information about the global network object.
|
|
292
|
+
# @return [Types::GlobalNetwork]
|
|
293
|
+
#
|
|
294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateGlobalNetworkResponse AWS API Documentation
|
|
295
|
+
#
|
|
296
|
+
class CreateGlobalNetworkResponse < Struct.new(
|
|
297
|
+
:global_network)
|
|
298
|
+
include Aws::Structure
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
# @note When making an API call, you may pass CreateLinkRequest
|
|
302
|
+
# data as a hash:
|
|
303
|
+
#
|
|
304
|
+
# {
|
|
305
|
+
# global_network_id: "String", # required
|
|
306
|
+
# description: "String",
|
|
307
|
+
# type: "String",
|
|
308
|
+
# bandwidth: { # required
|
|
309
|
+
# upload_speed: 1,
|
|
310
|
+
# download_speed: 1,
|
|
311
|
+
# },
|
|
312
|
+
# provider: "String",
|
|
313
|
+
# site_id: "String", # required
|
|
314
|
+
# tags: [
|
|
315
|
+
# {
|
|
316
|
+
# key: "TagKey",
|
|
317
|
+
# value: "TagValue",
|
|
318
|
+
# },
|
|
319
|
+
# ],
|
|
320
|
+
# }
|
|
321
|
+
#
|
|
322
|
+
# @!attribute [rw] global_network_id
|
|
323
|
+
# The ID of the global network.
|
|
324
|
+
# @return [String]
|
|
325
|
+
#
|
|
326
|
+
# @!attribute [rw] description
|
|
327
|
+
# A description of the link.
|
|
328
|
+
#
|
|
329
|
+
# Length Constraints: Maximum length of 256 characters.
|
|
330
|
+
# @return [String]
|
|
331
|
+
#
|
|
332
|
+
# @!attribute [rw] type
|
|
333
|
+
# The type of the link.
|
|
334
|
+
#
|
|
335
|
+
# Constraints: Cannot include the following characters: \| \\ ^
|
|
336
|
+
#
|
|
337
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
338
|
+
# @return [String]
|
|
339
|
+
#
|
|
340
|
+
# @!attribute [rw] bandwidth
|
|
341
|
+
# The upload speed and download speed in Mbps.
|
|
342
|
+
# @return [Types::Bandwidth]
|
|
343
|
+
#
|
|
344
|
+
# @!attribute [rw] provider
|
|
345
|
+
# The provider of the link.
|
|
346
|
+
#
|
|
347
|
+
# Constraints: Cannot include the following characters: \| \\ ^
|
|
348
|
+
#
|
|
349
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
350
|
+
# @return [String]
|
|
351
|
+
#
|
|
352
|
+
# @!attribute [rw] site_id
|
|
353
|
+
# The ID of the site.
|
|
354
|
+
# @return [String]
|
|
355
|
+
#
|
|
356
|
+
# @!attribute [rw] tags
|
|
357
|
+
# The tags to apply to the resource during creation.
|
|
358
|
+
# @return [Array<Types::Tag>]
|
|
359
|
+
#
|
|
360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateLinkRequest AWS API Documentation
|
|
361
|
+
#
|
|
362
|
+
class CreateLinkRequest < Struct.new(
|
|
363
|
+
:global_network_id,
|
|
364
|
+
:description,
|
|
365
|
+
:type,
|
|
366
|
+
:bandwidth,
|
|
367
|
+
:provider,
|
|
368
|
+
:site_id,
|
|
369
|
+
:tags)
|
|
370
|
+
include Aws::Structure
|
|
371
|
+
end
|
|
372
|
+
|
|
373
|
+
# @!attribute [rw] link
|
|
374
|
+
# Information about the link.
|
|
375
|
+
# @return [Types::Link]
|
|
376
|
+
#
|
|
377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateLinkResponse AWS API Documentation
|
|
378
|
+
#
|
|
379
|
+
class CreateLinkResponse < Struct.new(
|
|
380
|
+
:link)
|
|
381
|
+
include Aws::Structure
|
|
382
|
+
end
|
|
383
|
+
|
|
384
|
+
# @note When making an API call, you may pass CreateSiteRequest
|
|
385
|
+
# data as a hash:
|
|
386
|
+
#
|
|
387
|
+
# {
|
|
388
|
+
# global_network_id: "String", # required
|
|
389
|
+
# description: "String",
|
|
390
|
+
# location: {
|
|
391
|
+
# address: "String",
|
|
392
|
+
# latitude: "String",
|
|
393
|
+
# longitude: "String",
|
|
394
|
+
# },
|
|
395
|
+
# tags: [
|
|
396
|
+
# {
|
|
397
|
+
# key: "TagKey",
|
|
398
|
+
# value: "TagValue",
|
|
399
|
+
# },
|
|
400
|
+
# ],
|
|
401
|
+
# }
|
|
402
|
+
#
|
|
403
|
+
# @!attribute [rw] global_network_id
|
|
404
|
+
# The ID of the global network.
|
|
405
|
+
# @return [String]
|
|
406
|
+
#
|
|
407
|
+
# @!attribute [rw] description
|
|
408
|
+
# A description of your site.
|
|
409
|
+
#
|
|
410
|
+
# Length Constraints: Maximum length of 256 characters.
|
|
411
|
+
# @return [String]
|
|
412
|
+
#
|
|
413
|
+
# @!attribute [rw] location
|
|
414
|
+
# The site location. This information is used for visualization in the
|
|
415
|
+
# Network Manager console. If you specify the address, the latitude
|
|
416
|
+
# and longitude are automatically calculated.
|
|
417
|
+
#
|
|
418
|
+
# * `Address`\: The physical address of the site.
|
|
419
|
+
#
|
|
420
|
+
# * `Latitude`\: The latitude of the site.
|
|
421
|
+
#
|
|
422
|
+
# * `Longitude`\: The longitude of the site.
|
|
423
|
+
# @return [Types::Location]
|
|
424
|
+
#
|
|
425
|
+
# @!attribute [rw] tags
|
|
426
|
+
# The tags to apply to the resource during creation.
|
|
427
|
+
# @return [Array<Types::Tag>]
|
|
428
|
+
#
|
|
429
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSiteRequest AWS API Documentation
|
|
430
|
+
#
|
|
431
|
+
class CreateSiteRequest < Struct.new(
|
|
432
|
+
:global_network_id,
|
|
433
|
+
:description,
|
|
434
|
+
:location,
|
|
435
|
+
:tags)
|
|
436
|
+
include Aws::Structure
|
|
437
|
+
end
|
|
438
|
+
|
|
439
|
+
# @!attribute [rw] site
|
|
440
|
+
# Information about the site.
|
|
441
|
+
# @return [Types::Site]
|
|
442
|
+
#
|
|
443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateSiteResponse AWS API Documentation
|
|
444
|
+
#
|
|
445
|
+
class CreateSiteResponse < Struct.new(
|
|
446
|
+
:site)
|
|
447
|
+
include Aws::Structure
|
|
448
|
+
end
|
|
449
|
+
|
|
450
|
+
# Describes the association between a customer gateway, a device, and a
|
|
451
|
+
# link.
|
|
452
|
+
#
|
|
453
|
+
# @!attribute [rw] customer_gateway_arn
|
|
454
|
+
# The Amazon Resource Name (ARN) of the customer gateway.
|
|
455
|
+
# @return [String]
|
|
456
|
+
#
|
|
457
|
+
# @!attribute [rw] global_network_id
|
|
458
|
+
# The ID of the global network.
|
|
459
|
+
# @return [String]
|
|
460
|
+
#
|
|
461
|
+
# @!attribute [rw] device_id
|
|
462
|
+
# The ID of the device.
|
|
463
|
+
# @return [String]
|
|
464
|
+
#
|
|
465
|
+
# @!attribute [rw] link_id
|
|
466
|
+
# The ID of the link.
|
|
467
|
+
# @return [String]
|
|
468
|
+
#
|
|
469
|
+
# @!attribute [rw] state
|
|
470
|
+
# The association state.
|
|
471
|
+
# @return [String]
|
|
472
|
+
#
|
|
473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CustomerGatewayAssociation AWS API Documentation
|
|
474
|
+
#
|
|
475
|
+
class CustomerGatewayAssociation < Struct.new(
|
|
476
|
+
:customer_gateway_arn,
|
|
477
|
+
:global_network_id,
|
|
478
|
+
:device_id,
|
|
479
|
+
:link_id,
|
|
480
|
+
:state)
|
|
481
|
+
include Aws::Structure
|
|
482
|
+
end
|
|
483
|
+
|
|
484
|
+
# @note When making an API call, you may pass DeleteDeviceRequest
|
|
485
|
+
# data as a hash:
|
|
486
|
+
#
|
|
487
|
+
# {
|
|
488
|
+
# global_network_id: "String", # required
|
|
489
|
+
# device_id: "String", # required
|
|
490
|
+
# }
|
|
491
|
+
#
|
|
492
|
+
# @!attribute [rw] global_network_id
|
|
493
|
+
# The ID of the global network.
|
|
494
|
+
# @return [String]
|
|
495
|
+
#
|
|
496
|
+
# @!attribute [rw] device_id
|
|
497
|
+
# The ID of the device.
|
|
498
|
+
# @return [String]
|
|
499
|
+
#
|
|
500
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteDeviceRequest AWS API Documentation
|
|
501
|
+
#
|
|
502
|
+
class DeleteDeviceRequest < Struct.new(
|
|
503
|
+
:global_network_id,
|
|
504
|
+
:device_id)
|
|
505
|
+
include Aws::Structure
|
|
506
|
+
end
|
|
507
|
+
|
|
508
|
+
# @!attribute [rw] device
|
|
509
|
+
# Information about the device.
|
|
510
|
+
# @return [Types::Device]
|
|
511
|
+
#
|
|
512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteDeviceResponse AWS API Documentation
|
|
513
|
+
#
|
|
514
|
+
class DeleteDeviceResponse < Struct.new(
|
|
515
|
+
:device)
|
|
516
|
+
include Aws::Structure
|
|
517
|
+
end
|
|
518
|
+
|
|
519
|
+
# @note When making an API call, you may pass DeleteGlobalNetworkRequest
|
|
520
|
+
# data as a hash:
|
|
521
|
+
#
|
|
522
|
+
# {
|
|
523
|
+
# global_network_id: "String", # required
|
|
524
|
+
# }
|
|
525
|
+
#
|
|
526
|
+
# @!attribute [rw] global_network_id
|
|
527
|
+
# The ID of the global network.
|
|
528
|
+
# @return [String]
|
|
529
|
+
#
|
|
530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteGlobalNetworkRequest AWS API Documentation
|
|
531
|
+
#
|
|
532
|
+
class DeleteGlobalNetworkRequest < Struct.new(
|
|
533
|
+
:global_network_id)
|
|
534
|
+
include Aws::Structure
|
|
535
|
+
end
|
|
536
|
+
|
|
537
|
+
# @!attribute [rw] global_network
|
|
538
|
+
# Information about the global network.
|
|
539
|
+
# @return [Types::GlobalNetwork]
|
|
540
|
+
#
|
|
541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteGlobalNetworkResponse AWS API Documentation
|
|
542
|
+
#
|
|
543
|
+
class DeleteGlobalNetworkResponse < Struct.new(
|
|
544
|
+
:global_network)
|
|
545
|
+
include Aws::Structure
|
|
546
|
+
end
|
|
547
|
+
|
|
548
|
+
# @note When making an API call, you may pass DeleteLinkRequest
|
|
549
|
+
# data as a hash:
|
|
550
|
+
#
|
|
551
|
+
# {
|
|
552
|
+
# global_network_id: "String", # required
|
|
553
|
+
# link_id: "String", # required
|
|
554
|
+
# }
|
|
555
|
+
#
|
|
556
|
+
# @!attribute [rw] global_network_id
|
|
557
|
+
# The ID of the global network.
|
|
558
|
+
# @return [String]
|
|
559
|
+
#
|
|
560
|
+
# @!attribute [rw] link_id
|
|
561
|
+
# The ID of the link.
|
|
562
|
+
# @return [String]
|
|
563
|
+
#
|
|
564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteLinkRequest AWS API Documentation
|
|
565
|
+
#
|
|
566
|
+
class DeleteLinkRequest < Struct.new(
|
|
567
|
+
:global_network_id,
|
|
568
|
+
:link_id)
|
|
569
|
+
include Aws::Structure
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# @!attribute [rw] link
|
|
573
|
+
# Information about the link.
|
|
574
|
+
# @return [Types::Link]
|
|
575
|
+
#
|
|
576
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteLinkResponse AWS API Documentation
|
|
577
|
+
#
|
|
578
|
+
class DeleteLinkResponse < Struct.new(
|
|
579
|
+
:link)
|
|
580
|
+
include Aws::Structure
|
|
581
|
+
end
|
|
582
|
+
|
|
583
|
+
# @note When making an API call, you may pass DeleteSiteRequest
|
|
584
|
+
# data as a hash:
|
|
585
|
+
#
|
|
586
|
+
# {
|
|
587
|
+
# global_network_id: "String", # required
|
|
588
|
+
# site_id: "String", # required
|
|
589
|
+
# }
|
|
590
|
+
#
|
|
591
|
+
# @!attribute [rw] global_network_id
|
|
592
|
+
# The ID of the global network.
|
|
593
|
+
# @return [String]
|
|
594
|
+
#
|
|
595
|
+
# @!attribute [rw] site_id
|
|
596
|
+
# The ID of the site.
|
|
597
|
+
# @return [String]
|
|
598
|
+
#
|
|
599
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteSiteRequest AWS API Documentation
|
|
600
|
+
#
|
|
601
|
+
class DeleteSiteRequest < Struct.new(
|
|
602
|
+
:global_network_id,
|
|
603
|
+
:site_id)
|
|
604
|
+
include Aws::Structure
|
|
605
|
+
end
|
|
606
|
+
|
|
607
|
+
# @!attribute [rw] site
|
|
608
|
+
# Information about the site.
|
|
609
|
+
# @return [Types::Site]
|
|
610
|
+
#
|
|
611
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteSiteResponse AWS API Documentation
|
|
612
|
+
#
|
|
613
|
+
class DeleteSiteResponse < Struct.new(
|
|
614
|
+
:site)
|
|
615
|
+
include Aws::Structure
|
|
616
|
+
end
|
|
617
|
+
|
|
618
|
+
# @note When making an API call, you may pass DeregisterTransitGatewayRequest
|
|
619
|
+
# data as a hash:
|
|
620
|
+
#
|
|
621
|
+
# {
|
|
622
|
+
# global_network_id: "String", # required
|
|
623
|
+
# transit_gateway_arn: "String", # required
|
|
624
|
+
# }
|
|
625
|
+
#
|
|
626
|
+
# @!attribute [rw] global_network_id
|
|
627
|
+
# The ID of the global network.
|
|
628
|
+
# @return [String]
|
|
629
|
+
#
|
|
630
|
+
# @!attribute [rw] transit_gateway_arn
|
|
631
|
+
# The Amazon Resource Name (ARN) of the transit gateway.
|
|
632
|
+
# @return [String]
|
|
633
|
+
#
|
|
634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeregisterTransitGatewayRequest AWS API Documentation
|
|
635
|
+
#
|
|
636
|
+
class DeregisterTransitGatewayRequest < Struct.new(
|
|
637
|
+
:global_network_id,
|
|
638
|
+
:transit_gateway_arn)
|
|
639
|
+
include Aws::Structure
|
|
640
|
+
end
|
|
641
|
+
|
|
642
|
+
# @!attribute [rw] transit_gateway_registration
|
|
643
|
+
# The transit gateway registration information.
|
|
644
|
+
# @return [Types::TransitGatewayRegistration]
|
|
645
|
+
#
|
|
646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeregisterTransitGatewayResponse AWS API Documentation
|
|
647
|
+
#
|
|
648
|
+
class DeregisterTransitGatewayResponse < Struct.new(
|
|
649
|
+
:transit_gateway_registration)
|
|
650
|
+
include Aws::Structure
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
# @note When making an API call, you may pass DescribeGlobalNetworksRequest
|
|
654
|
+
# data as a hash:
|
|
655
|
+
#
|
|
656
|
+
# {
|
|
657
|
+
# global_network_ids: ["String"],
|
|
658
|
+
# max_results: 1,
|
|
659
|
+
# next_token: "String",
|
|
660
|
+
# }
|
|
661
|
+
#
|
|
662
|
+
# @!attribute [rw] global_network_ids
|
|
663
|
+
# The IDs of one or more global networks. The maximum is 10.
|
|
664
|
+
# @return [Array<String>]
|
|
665
|
+
#
|
|
666
|
+
# @!attribute [rw] max_results
|
|
667
|
+
# The maximum number of results to return.
|
|
668
|
+
# @return [Integer]
|
|
669
|
+
#
|
|
670
|
+
# @!attribute [rw] next_token
|
|
671
|
+
# The token for the next page of results.
|
|
672
|
+
# @return [String]
|
|
673
|
+
#
|
|
674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DescribeGlobalNetworksRequest AWS API Documentation
|
|
675
|
+
#
|
|
676
|
+
class DescribeGlobalNetworksRequest < Struct.new(
|
|
677
|
+
:global_network_ids,
|
|
678
|
+
:max_results,
|
|
679
|
+
:next_token)
|
|
680
|
+
include Aws::Structure
|
|
681
|
+
end
|
|
682
|
+
|
|
683
|
+
# @!attribute [rw] global_networks
|
|
684
|
+
# Information about the global networks.
|
|
685
|
+
# @return [Array<Types::GlobalNetwork>]
|
|
686
|
+
#
|
|
687
|
+
# @!attribute [rw] next_token
|
|
688
|
+
# The token for the next page of results.
|
|
689
|
+
# @return [String]
|
|
690
|
+
#
|
|
691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DescribeGlobalNetworksResponse AWS API Documentation
|
|
692
|
+
#
|
|
693
|
+
class DescribeGlobalNetworksResponse < Struct.new(
|
|
694
|
+
:global_networks,
|
|
695
|
+
:next_token)
|
|
696
|
+
include Aws::Structure
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
# Describes a device.
|
|
700
|
+
#
|
|
701
|
+
# @!attribute [rw] device_id
|
|
702
|
+
# The ID of the device.
|
|
703
|
+
# @return [String]
|
|
704
|
+
#
|
|
705
|
+
# @!attribute [rw] device_arn
|
|
706
|
+
# The Amazon Resource Name (ARN) of the device.
|
|
707
|
+
# @return [String]
|
|
708
|
+
#
|
|
709
|
+
# @!attribute [rw] global_network_id
|
|
710
|
+
# The ID of the global network.
|
|
711
|
+
# @return [String]
|
|
712
|
+
#
|
|
713
|
+
# @!attribute [rw] description
|
|
714
|
+
# The description of the device.
|
|
715
|
+
# @return [String]
|
|
716
|
+
#
|
|
717
|
+
# @!attribute [rw] type
|
|
718
|
+
# The device type.
|
|
719
|
+
# @return [String]
|
|
720
|
+
#
|
|
721
|
+
# @!attribute [rw] vendor
|
|
722
|
+
# The device vendor.
|
|
723
|
+
# @return [String]
|
|
724
|
+
#
|
|
725
|
+
# @!attribute [rw] model
|
|
726
|
+
# The device model.
|
|
727
|
+
# @return [String]
|
|
728
|
+
#
|
|
729
|
+
# @!attribute [rw] serial_number
|
|
730
|
+
# The device serial number.
|
|
731
|
+
# @return [String]
|
|
732
|
+
#
|
|
733
|
+
# @!attribute [rw] location
|
|
734
|
+
# The site location.
|
|
735
|
+
# @return [Types::Location]
|
|
736
|
+
#
|
|
737
|
+
# @!attribute [rw] site_id
|
|
738
|
+
# The site ID.
|
|
739
|
+
# @return [String]
|
|
740
|
+
#
|
|
741
|
+
# @!attribute [rw] created_at
|
|
742
|
+
# The date and time that the site was created.
|
|
743
|
+
# @return [Time]
|
|
744
|
+
#
|
|
745
|
+
# @!attribute [rw] state
|
|
746
|
+
# The device state.
|
|
747
|
+
# @return [String]
|
|
748
|
+
#
|
|
749
|
+
# @!attribute [rw] tags
|
|
750
|
+
# The tags for the device.
|
|
751
|
+
# @return [Array<Types::Tag>]
|
|
752
|
+
#
|
|
753
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/Device AWS API Documentation
|
|
754
|
+
#
|
|
755
|
+
class Device < Struct.new(
|
|
756
|
+
:device_id,
|
|
757
|
+
:device_arn,
|
|
758
|
+
:global_network_id,
|
|
759
|
+
:description,
|
|
760
|
+
:type,
|
|
761
|
+
:vendor,
|
|
762
|
+
:model,
|
|
763
|
+
:serial_number,
|
|
764
|
+
:location,
|
|
765
|
+
:site_id,
|
|
766
|
+
:created_at,
|
|
767
|
+
:state,
|
|
768
|
+
:tags)
|
|
769
|
+
include Aws::Structure
|
|
770
|
+
end
|
|
771
|
+
|
|
772
|
+
# @note When making an API call, you may pass DisassociateCustomerGatewayRequest
|
|
773
|
+
# data as a hash:
|
|
774
|
+
#
|
|
775
|
+
# {
|
|
776
|
+
# global_network_id: "String", # required
|
|
777
|
+
# customer_gateway_arn: "String", # required
|
|
778
|
+
# }
|
|
779
|
+
#
|
|
780
|
+
# @!attribute [rw] global_network_id
|
|
781
|
+
# The ID of the global network.
|
|
782
|
+
# @return [String]
|
|
783
|
+
#
|
|
784
|
+
# @!attribute [rw] customer_gateway_arn
|
|
785
|
+
# The Amazon Resource Name (ARN) of the customer gateway. For more
|
|
786
|
+
# information, see [Resources Defined by Amazon EC2][1].
|
|
787
|
+
#
|
|
788
|
+
#
|
|
789
|
+
#
|
|
790
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies
|
|
791
|
+
# @return [String]
|
|
792
|
+
#
|
|
793
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateCustomerGatewayRequest AWS API Documentation
|
|
794
|
+
#
|
|
795
|
+
class DisassociateCustomerGatewayRequest < Struct.new(
|
|
796
|
+
:global_network_id,
|
|
797
|
+
:customer_gateway_arn)
|
|
798
|
+
include Aws::Structure
|
|
799
|
+
end
|
|
800
|
+
|
|
801
|
+
# @!attribute [rw] customer_gateway_association
|
|
802
|
+
# Information about the customer gateway association.
|
|
803
|
+
# @return [Types::CustomerGatewayAssociation]
|
|
804
|
+
#
|
|
805
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateCustomerGatewayResponse AWS API Documentation
|
|
806
|
+
#
|
|
807
|
+
class DisassociateCustomerGatewayResponse < Struct.new(
|
|
808
|
+
:customer_gateway_association)
|
|
809
|
+
include Aws::Structure
|
|
810
|
+
end
|
|
811
|
+
|
|
812
|
+
# @note When making an API call, you may pass DisassociateLinkRequest
|
|
813
|
+
# data as a hash:
|
|
814
|
+
#
|
|
815
|
+
# {
|
|
816
|
+
# global_network_id: "String", # required
|
|
817
|
+
# device_id: "String", # required
|
|
818
|
+
# link_id: "String", # required
|
|
819
|
+
# }
|
|
820
|
+
#
|
|
821
|
+
# @!attribute [rw] global_network_id
|
|
822
|
+
# The ID of the global network.
|
|
823
|
+
# @return [String]
|
|
824
|
+
#
|
|
825
|
+
# @!attribute [rw] device_id
|
|
826
|
+
# The ID of the device.
|
|
827
|
+
# @return [String]
|
|
828
|
+
#
|
|
829
|
+
# @!attribute [rw] link_id
|
|
830
|
+
# The ID of the link.
|
|
831
|
+
# @return [String]
|
|
832
|
+
#
|
|
833
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateLinkRequest AWS API Documentation
|
|
834
|
+
#
|
|
835
|
+
class DisassociateLinkRequest < Struct.new(
|
|
836
|
+
:global_network_id,
|
|
837
|
+
:device_id,
|
|
838
|
+
:link_id)
|
|
839
|
+
include Aws::Structure
|
|
840
|
+
end
|
|
841
|
+
|
|
842
|
+
# @!attribute [rw] link_association
|
|
843
|
+
# Information about the link association.
|
|
844
|
+
# @return [Types::LinkAssociation]
|
|
845
|
+
#
|
|
846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateLinkResponse AWS API Documentation
|
|
847
|
+
#
|
|
848
|
+
class DisassociateLinkResponse < Struct.new(
|
|
849
|
+
:link_association)
|
|
850
|
+
include Aws::Structure
|
|
851
|
+
end
|
|
852
|
+
|
|
853
|
+
# @note When making an API call, you may pass GetCustomerGatewayAssociationsRequest
|
|
854
|
+
# data as a hash:
|
|
855
|
+
#
|
|
856
|
+
# {
|
|
857
|
+
# global_network_id: "String", # required
|
|
858
|
+
# customer_gateway_arns: ["String"],
|
|
859
|
+
# max_results: 1,
|
|
860
|
+
# next_token: "String",
|
|
861
|
+
# }
|
|
862
|
+
#
|
|
863
|
+
# @!attribute [rw] global_network_id
|
|
864
|
+
# The ID of the global network.
|
|
865
|
+
# @return [String]
|
|
866
|
+
#
|
|
867
|
+
# @!attribute [rw] customer_gateway_arns
|
|
868
|
+
# One or more customer gateway Amazon Resource Names (ARNs). For more
|
|
869
|
+
# information, see [Resources Defined by Amazon EC2][1]. The maximum
|
|
870
|
+
# is 10.
|
|
871
|
+
#
|
|
872
|
+
#
|
|
873
|
+
#
|
|
874
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies
|
|
875
|
+
# @return [Array<String>]
|
|
876
|
+
#
|
|
877
|
+
# @!attribute [rw] max_results
|
|
878
|
+
# The maximum number of results to return.
|
|
879
|
+
# @return [Integer]
|
|
880
|
+
#
|
|
881
|
+
# @!attribute [rw] next_token
|
|
882
|
+
# The token for the next page of results.
|
|
883
|
+
# @return [String]
|
|
884
|
+
#
|
|
885
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociationsRequest AWS API Documentation
|
|
886
|
+
#
|
|
887
|
+
class GetCustomerGatewayAssociationsRequest < Struct.new(
|
|
888
|
+
:global_network_id,
|
|
889
|
+
:customer_gateway_arns,
|
|
890
|
+
:max_results,
|
|
891
|
+
:next_token)
|
|
892
|
+
include Aws::Structure
|
|
893
|
+
end
|
|
894
|
+
|
|
895
|
+
# @!attribute [rw] customer_gateway_associations
|
|
896
|
+
# The customer gateway associations.
|
|
897
|
+
# @return [Array<Types::CustomerGatewayAssociation>]
|
|
898
|
+
#
|
|
899
|
+
# @!attribute [rw] next_token
|
|
900
|
+
# The token for the next page of results.
|
|
901
|
+
# @return [String]
|
|
902
|
+
#
|
|
903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetCustomerGatewayAssociationsResponse AWS API Documentation
|
|
904
|
+
#
|
|
905
|
+
class GetCustomerGatewayAssociationsResponse < Struct.new(
|
|
906
|
+
:customer_gateway_associations,
|
|
907
|
+
:next_token)
|
|
908
|
+
include Aws::Structure
|
|
909
|
+
end
|
|
910
|
+
|
|
911
|
+
# @note When making an API call, you may pass GetDevicesRequest
|
|
912
|
+
# data as a hash:
|
|
913
|
+
#
|
|
914
|
+
# {
|
|
915
|
+
# global_network_id: "String", # required
|
|
916
|
+
# device_ids: ["String"],
|
|
917
|
+
# site_id: "String",
|
|
918
|
+
# max_results: 1,
|
|
919
|
+
# next_token: "String",
|
|
920
|
+
# }
|
|
921
|
+
#
|
|
922
|
+
# @!attribute [rw] global_network_id
|
|
923
|
+
# The ID of the global network.
|
|
924
|
+
# @return [String]
|
|
925
|
+
#
|
|
926
|
+
# @!attribute [rw] device_ids
|
|
927
|
+
# One or more device IDs. The maximum is 10.
|
|
928
|
+
# @return [Array<String>]
|
|
929
|
+
#
|
|
930
|
+
# @!attribute [rw] site_id
|
|
931
|
+
# The ID of the site.
|
|
932
|
+
# @return [String]
|
|
933
|
+
#
|
|
934
|
+
# @!attribute [rw] max_results
|
|
935
|
+
# The maximum number of results to return.
|
|
936
|
+
# @return [Integer]
|
|
937
|
+
#
|
|
938
|
+
# @!attribute [rw] next_token
|
|
939
|
+
# The token for the next page of results.
|
|
940
|
+
# @return [String]
|
|
941
|
+
#
|
|
942
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDevicesRequest AWS API Documentation
|
|
943
|
+
#
|
|
944
|
+
class GetDevicesRequest < Struct.new(
|
|
945
|
+
:global_network_id,
|
|
946
|
+
:device_ids,
|
|
947
|
+
:site_id,
|
|
948
|
+
:max_results,
|
|
949
|
+
:next_token)
|
|
950
|
+
include Aws::Structure
|
|
951
|
+
end
|
|
952
|
+
|
|
953
|
+
# @!attribute [rw] devices
|
|
954
|
+
# The devices.
|
|
955
|
+
# @return [Array<Types::Device>]
|
|
956
|
+
#
|
|
957
|
+
# @!attribute [rw] next_token
|
|
958
|
+
# The token for the next page of results.
|
|
959
|
+
# @return [String]
|
|
960
|
+
#
|
|
961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetDevicesResponse AWS API Documentation
|
|
962
|
+
#
|
|
963
|
+
class GetDevicesResponse < Struct.new(
|
|
964
|
+
:devices,
|
|
965
|
+
:next_token)
|
|
966
|
+
include Aws::Structure
|
|
967
|
+
end
|
|
968
|
+
|
|
969
|
+
# @note When making an API call, you may pass GetLinkAssociationsRequest
|
|
970
|
+
# data as a hash:
|
|
971
|
+
#
|
|
972
|
+
# {
|
|
973
|
+
# global_network_id: "String", # required
|
|
974
|
+
# device_id: "String",
|
|
975
|
+
# link_id: "String",
|
|
976
|
+
# max_results: 1,
|
|
977
|
+
# next_token: "String",
|
|
978
|
+
# }
|
|
979
|
+
#
|
|
980
|
+
# @!attribute [rw] global_network_id
|
|
981
|
+
# The ID of the global network.
|
|
982
|
+
# @return [String]
|
|
983
|
+
#
|
|
984
|
+
# @!attribute [rw] device_id
|
|
985
|
+
# The ID of the device.
|
|
986
|
+
# @return [String]
|
|
987
|
+
#
|
|
988
|
+
# @!attribute [rw] link_id
|
|
989
|
+
# The ID of the link.
|
|
990
|
+
# @return [String]
|
|
991
|
+
#
|
|
992
|
+
# @!attribute [rw] max_results
|
|
993
|
+
# The maximum number of results to return.
|
|
994
|
+
# @return [Integer]
|
|
995
|
+
#
|
|
996
|
+
# @!attribute [rw] next_token
|
|
997
|
+
# The token for the next page of results.
|
|
998
|
+
# @return [String]
|
|
999
|
+
#
|
|
1000
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinkAssociationsRequest AWS API Documentation
|
|
1001
|
+
#
|
|
1002
|
+
class GetLinkAssociationsRequest < Struct.new(
|
|
1003
|
+
:global_network_id,
|
|
1004
|
+
:device_id,
|
|
1005
|
+
:link_id,
|
|
1006
|
+
:max_results,
|
|
1007
|
+
:next_token)
|
|
1008
|
+
include Aws::Structure
|
|
1009
|
+
end
|
|
1010
|
+
|
|
1011
|
+
# @!attribute [rw] link_associations
|
|
1012
|
+
# The link associations.
|
|
1013
|
+
# @return [Array<Types::LinkAssociation>]
|
|
1014
|
+
#
|
|
1015
|
+
# @!attribute [rw] next_token
|
|
1016
|
+
# The token for the next page of results.
|
|
1017
|
+
# @return [String]
|
|
1018
|
+
#
|
|
1019
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinkAssociationsResponse AWS API Documentation
|
|
1020
|
+
#
|
|
1021
|
+
class GetLinkAssociationsResponse < Struct.new(
|
|
1022
|
+
:link_associations,
|
|
1023
|
+
:next_token)
|
|
1024
|
+
include Aws::Structure
|
|
1025
|
+
end
|
|
1026
|
+
|
|
1027
|
+
# @note When making an API call, you may pass GetLinksRequest
|
|
1028
|
+
# data as a hash:
|
|
1029
|
+
#
|
|
1030
|
+
# {
|
|
1031
|
+
# global_network_id: "String", # required
|
|
1032
|
+
# link_ids: ["String"],
|
|
1033
|
+
# site_id: "String",
|
|
1034
|
+
# type: "String",
|
|
1035
|
+
# provider: "String",
|
|
1036
|
+
# max_results: 1,
|
|
1037
|
+
# next_token: "String",
|
|
1038
|
+
# }
|
|
1039
|
+
#
|
|
1040
|
+
# @!attribute [rw] global_network_id
|
|
1041
|
+
# The ID of the global network.
|
|
1042
|
+
# @return [String]
|
|
1043
|
+
#
|
|
1044
|
+
# @!attribute [rw] link_ids
|
|
1045
|
+
# One or more link IDs. The maximum is 10.
|
|
1046
|
+
# @return [Array<String>]
|
|
1047
|
+
#
|
|
1048
|
+
# @!attribute [rw] site_id
|
|
1049
|
+
# The ID of the site.
|
|
1050
|
+
# @return [String]
|
|
1051
|
+
#
|
|
1052
|
+
# @!attribute [rw] type
|
|
1053
|
+
# The link type.
|
|
1054
|
+
# @return [String]
|
|
1055
|
+
#
|
|
1056
|
+
# @!attribute [rw] provider
|
|
1057
|
+
# The link provider.
|
|
1058
|
+
# @return [String]
|
|
1059
|
+
#
|
|
1060
|
+
# @!attribute [rw] max_results
|
|
1061
|
+
# The maximum number of results to return.
|
|
1062
|
+
# @return [Integer]
|
|
1063
|
+
#
|
|
1064
|
+
# @!attribute [rw] next_token
|
|
1065
|
+
# The token for the next page of results.
|
|
1066
|
+
# @return [String]
|
|
1067
|
+
#
|
|
1068
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinksRequest AWS API Documentation
|
|
1069
|
+
#
|
|
1070
|
+
class GetLinksRequest < Struct.new(
|
|
1071
|
+
:global_network_id,
|
|
1072
|
+
:link_ids,
|
|
1073
|
+
:site_id,
|
|
1074
|
+
:type,
|
|
1075
|
+
:provider,
|
|
1076
|
+
:max_results,
|
|
1077
|
+
:next_token)
|
|
1078
|
+
include Aws::Structure
|
|
1079
|
+
end
|
|
1080
|
+
|
|
1081
|
+
# @!attribute [rw] links
|
|
1082
|
+
# The links.
|
|
1083
|
+
# @return [Array<Types::Link>]
|
|
1084
|
+
#
|
|
1085
|
+
# @!attribute [rw] next_token
|
|
1086
|
+
# The token for the next page of results.
|
|
1087
|
+
# @return [String]
|
|
1088
|
+
#
|
|
1089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetLinksResponse AWS API Documentation
|
|
1090
|
+
#
|
|
1091
|
+
class GetLinksResponse < Struct.new(
|
|
1092
|
+
:links,
|
|
1093
|
+
:next_token)
|
|
1094
|
+
include Aws::Structure
|
|
1095
|
+
end
|
|
1096
|
+
|
|
1097
|
+
# @note When making an API call, you may pass GetSitesRequest
|
|
1098
|
+
# data as a hash:
|
|
1099
|
+
#
|
|
1100
|
+
# {
|
|
1101
|
+
# global_network_id: "String", # required
|
|
1102
|
+
# site_ids: ["String"],
|
|
1103
|
+
# max_results: 1,
|
|
1104
|
+
# next_token: "String",
|
|
1105
|
+
# }
|
|
1106
|
+
#
|
|
1107
|
+
# @!attribute [rw] global_network_id
|
|
1108
|
+
# The ID of the global network.
|
|
1109
|
+
# @return [String]
|
|
1110
|
+
#
|
|
1111
|
+
# @!attribute [rw] site_ids
|
|
1112
|
+
# One or more site IDs. The maximum is 10.
|
|
1113
|
+
# @return [Array<String>]
|
|
1114
|
+
#
|
|
1115
|
+
# @!attribute [rw] max_results
|
|
1116
|
+
# The maximum number of results to return.
|
|
1117
|
+
# @return [Integer]
|
|
1118
|
+
#
|
|
1119
|
+
# @!attribute [rw] next_token
|
|
1120
|
+
# The token for the next page of results.
|
|
1121
|
+
# @return [String]
|
|
1122
|
+
#
|
|
1123
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSitesRequest AWS API Documentation
|
|
1124
|
+
#
|
|
1125
|
+
class GetSitesRequest < Struct.new(
|
|
1126
|
+
:global_network_id,
|
|
1127
|
+
:site_ids,
|
|
1128
|
+
:max_results,
|
|
1129
|
+
:next_token)
|
|
1130
|
+
include Aws::Structure
|
|
1131
|
+
end
|
|
1132
|
+
|
|
1133
|
+
# @!attribute [rw] sites
|
|
1134
|
+
# The sites.
|
|
1135
|
+
# @return [Array<Types::Site>]
|
|
1136
|
+
#
|
|
1137
|
+
# @!attribute [rw] next_token
|
|
1138
|
+
# The token for the next page of results.
|
|
1139
|
+
# @return [String]
|
|
1140
|
+
#
|
|
1141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetSitesResponse AWS API Documentation
|
|
1142
|
+
#
|
|
1143
|
+
class GetSitesResponse < Struct.new(
|
|
1144
|
+
:sites,
|
|
1145
|
+
:next_token)
|
|
1146
|
+
include Aws::Structure
|
|
1147
|
+
end
|
|
1148
|
+
|
|
1149
|
+
# @note When making an API call, you may pass GetTransitGatewayRegistrationsRequest
|
|
1150
|
+
# data as a hash:
|
|
1151
|
+
#
|
|
1152
|
+
# {
|
|
1153
|
+
# global_network_id: "String", # required
|
|
1154
|
+
# transit_gateway_arns: ["String"],
|
|
1155
|
+
# max_results: 1,
|
|
1156
|
+
# next_token: "String",
|
|
1157
|
+
# }
|
|
1158
|
+
#
|
|
1159
|
+
# @!attribute [rw] global_network_id
|
|
1160
|
+
# The ID of the global network.
|
|
1161
|
+
# @return [String]
|
|
1162
|
+
#
|
|
1163
|
+
# @!attribute [rw] transit_gateway_arns
|
|
1164
|
+
# The Amazon Resource Names (ARNs) of one or more transit gateways.
|
|
1165
|
+
# The maximum is 10.
|
|
1166
|
+
# @return [Array<String>]
|
|
1167
|
+
#
|
|
1168
|
+
# @!attribute [rw] max_results
|
|
1169
|
+
# The maximum number of results to return.
|
|
1170
|
+
# @return [Integer]
|
|
1171
|
+
#
|
|
1172
|
+
# @!attribute [rw] next_token
|
|
1173
|
+
# The token for the next page of results.
|
|
1174
|
+
# @return [String]
|
|
1175
|
+
#
|
|
1176
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrationsRequest AWS API Documentation
|
|
1177
|
+
#
|
|
1178
|
+
class GetTransitGatewayRegistrationsRequest < Struct.new(
|
|
1179
|
+
:global_network_id,
|
|
1180
|
+
:transit_gateway_arns,
|
|
1181
|
+
:max_results,
|
|
1182
|
+
:next_token)
|
|
1183
|
+
include Aws::Structure
|
|
1184
|
+
end
|
|
1185
|
+
|
|
1186
|
+
# @!attribute [rw] transit_gateway_registrations
|
|
1187
|
+
# The transit gateway registrations.
|
|
1188
|
+
# @return [Array<Types::TransitGatewayRegistration>]
|
|
1189
|
+
#
|
|
1190
|
+
# @!attribute [rw] next_token
|
|
1191
|
+
# The token for the next page of results.
|
|
1192
|
+
# @return [String]
|
|
1193
|
+
#
|
|
1194
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayRegistrationsResponse AWS API Documentation
|
|
1195
|
+
#
|
|
1196
|
+
class GetTransitGatewayRegistrationsResponse < Struct.new(
|
|
1197
|
+
:transit_gateway_registrations,
|
|
1198
|
+
:next_token)
|
|
1199
|
+
include Aws::Structure
|
|
1200
|
+
end
|
|
1201
|
+
|
|
1202
|
+
# Describes a global network.
|
|
1203
|
+
#
|
|
1204
|
+
# @!attribute [rw] global_network_id
|
|
1205
|
+
# The ID of the global network.
|
|
1206
|
+
# @return [String]
|
|
1207
|
+
#
|
|
1208
|
+
# @!attribute [rw] global_network_arn
|
|
1209
|
+
# The Amazon Resource Name (ARN) of the global network.
|
|
1210
|
+
# @return [String]
|
|
1211
|
+
#
|
|
1212
|
+
# @!attribute [rw] description
|
|
1213
|
+
# The description of the global network.
|
|
1214
|
+
# @return [String]
|
|
1215
|
+
#
|
|
1216
|
+
# @!attribute [rw] created_at
|
|
1217
|
+
# The date and time that the global network was created.
|
|
1218
|
+
# @return [Time]
|
|
1219
|
+
#
|
|
1220
|
+
# @!attribute [rw] state
|
|
1221
|
+
# The state of the global network.
|
|
1222
|
+
# @return [String]
|
|
1223
|
+
#
|
|
1224
|
+
# @!attribute [rw] tags
|
|
1225
|
+
# The tags for the global network.
|
|
1226
|
+
# @return [Array<Types::Tag>]
|
|
1227
|
+
#
|
|
1228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GlobalNetwork AWS API Documentation
|
|
1229
|
+
#
|
|
1230
|
+
class GlobalNetwork < Struct.new(
|
|
1231
|
+
:global_network_id,
|
|
1232
|
+
:global_network_arn,
|
|
1233
|
+
:description,
|
|
1234
|
+
:created_at,
|
|
1235
|
+
:state,
|
|
1236
|
+
:tags)
|
|
1237
|
+
include Aws::Structure
|
|
1238
|
+
end
|
|
1239
|
+
|
|
1240
|
+
# The request has failed due to an internal error.
|
|
1241
|
+
#
|
|
1242
|
+
# @!attribute [rw] message
|
|
1243
|
+
# @return [String]
|
|
1244
|
+
#
|
|
1245
|
+
# @!attribute [rw] retry_after_seconds
|
|
1246
|
+
# Indicates when to retry the request.
|
|
1247
|
+
# @return [Integer]
|
|
1248
|
+
#
|
|
1249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/InternalServerException AWS API Documentation
|
|
1250
|
+
#
|
|
1251
|
+
class InternalServerException < Struct.new(
|
|
1252
|
+
:message,
|
|
1253
|
+
:retry_after_seconds)
|
|
1254
|
+
include Aws::Structure
|
|
1255
|
+
end
|
|
1256
|
+
|
|
1257
|
+
# Describes a link.
|
|
1258
|
+
#
|
|
1259
|
+
# @!attribute [rw] link_id
|
|
1260
|
+
# The ID of the link.
|
|
1261
|
+
# @return [String]
|
|
1262
|
+
#
|
|
1263
|
+
# @!attribute [rw] link_arn
|
|
1264
|
+
# The Amazon Resource Name (ARN) of the link.
|
|
1265
|
+
# @return [String]
|
|
1266
|
+
#
|
|
1267
|
+
# @!attribute [rw] global_network_id
|
|
1268
|
+
# The ID of the global network.
|
|
1269
|
+
# @return [String]
|
|
1270
|
+
#
|
|
1271
|
+
# @!attribute [rw] site_id
|
|
1272
|
+
# The ID of the site.
|
|
1273
|
+
# @return [String]
|
|
1274
|
+
#
|
|
1275
|
+
# @!attribute [rw] description
|
|
1276
|
+
# The description of the link.
|
|
1277
|
+
# @return [String]
|
|
1278
|
+
#
|
|
1279
|
+
# @!attribute [rw] type
|
|
1280
|
+
# The type of the link.
|
|
1281
|
+
# @return [String]
|
|
1282
|
+
#
|
|
1283
|
+
# @!attribute [rw] bandwidth
|
|
1284
|
+
# The bandwidth for the link.
|
|
1285
|
+
# @return [Types::Bandwidth]
|
|
1286
|
+
#
|
|
1287
|
+
# @!attribute [rw] provider
|
|
1288
|
+
# The provider of the link.
|
|
1289
|
+
# @return [String]
|
|
1290
|
+
#
|
|
1291
|
+
# @!attribute [rw] created_at
|
|
1292
|
+
# The date and time that the link was created.
|
|
1293
|
+
# @return [Time]
|
|
1294
|
+
#
|
|
1295
|
+
# @!attribute [rw] state
|
|
1296
|
+
# The state of the link.
|
|
1297
|
+
# @return [String]
|
|
1298
|
+
#
|
|
1299
|
+
# @!attribute [rw] tags
|
|
1300
|
+
# The tags for the link.
|
|
1301
|
+
# @return [Array<Types::Tag>]
|
|
1302
|
+
#
|
|
1303
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/Link AWS API Documentation
|
|
1304
|
+
#
|
|
1305
|
+
class Link < Struct.new(
|
|
1306
|
+
:link_id,
|
|
1307
|
+
:link_arn,
|
|
1308
|
+
:global_network_id,
|
|
1309
|
+
:site_id,
|
|
1310
|
+
:description,
|
|
1311
|
+
:type,
|
|
1312
|
+
:bandwidth,
|
|
1313
|
+
:provider,
|
|
1314
|
+
:created_at,
|
|
1315
|
+
:state,
|
|
1316
|
+
:tags)
|
|
1317
|
+
include Aws::Structure
|
|
1318
|
+
end
|
|
1319
|
+
|
|
1320
|
+
# Describes the association between a device and a link.
|
|
1321
|
+
#
|
|
1322
|
+
# @!attribute [rw] global_network_id
|
|
1323
|
+
# The ID of the global network.
|
|
1324
|
+
# @return [String]
|
|
1325
|
+
#
|
|
1326
|
+
# @!attribute [rw] device_id
|
|
1327
|
+
# The device ID for the link association.
|
|
1328
|
+
# @return [String]
|
|
1329
|
+
#
|
|
1330
|
+
# @!attribute [rw] link_id
|
|
1331
|
+
# The ID of the link.
|
|
1332
|
+
# @return [String]
|
|
1333
|
+
#
|
|
1334
|
+
# @!attribute [rw] link_association_state
|
|
1335
|
+
# The state of the association.
|
|
1336
|
+
# @return [String]
|
|
1337
|
+
#
|
|
1338
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/LinkAssociation AWS API Documentation
|
|
1339
|
+
#
|
|
1340
|
+
class LinkAssociation < Struct.new(
|
|
1341
|
+
:global_network_id,
|
|
1342
|
+
:device_id,
|
|
1343
|
+
:link_id,
|
|
1344
|
+
:link_association_state)
|
|
1345
|
+
include Aws::Structure
|
|
1346
|
+
end
|
|
1347
|
+
|
|
1348
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
|
1349
|
+
# data as a hash:
|
|
1350
|
+
#
|
|
1351
|
+
# {
|
|
1352
|
+
# resource_arn: "ResourceARN", # required
|
|
1353
|
+
# }
|
|
1354
|
+
#
|
|
1355
|
+
# @!attribute [rw] resource_arn
|
|
1356
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
1357
|
+
# @return [String]
|
|
1358
|
+
#
|
|
1359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListTagsForResourceRequest AWS API Documentation
|
|
1360
|
+
#
|
|
1361
|
+
class ListTagsForResourceRequest < Struct.new(
|
|
1362
|
+
:resource_arn)
|
|
1363
|
+
include Aws::Structure
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1366
|
+
# @!attribute [rw] tag_list
|
|
1367
|
+
# The list of tags.
|
|
1368
|
+
# @return [Array<Types::Tag>]
|
|
1369
|
+
#
|
|
1370
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ListTagsForResourceResponse AWS API Documentation
|
|
1371
|
+
#
|
|
1372
|
+
class ListTagsForResourceResponse < Struct.new(
|
|
1373
|
+
:tag_list)
|
|
1374
|
+
include Aws::Structure
|
|
1375
|
+
end
|
|
1376
|
+
|
|
1377
|
+
# Describes a location.
|
|
1378
|
+
#
|
|
1379
|
+
# @note When making an API call, you may pass Location
|
|
1380
|
+
# data as a hash:
|
|
1381
|
+
#
|
|
1382
|
+
# {
|
|
1383
|
+
# address: "String",
|
|
1384
|
+
# latitude: "String",
|
|
1385
|
+
# longitude: "String",
|
|
1386
|
+
# }
|
|
1387
|
+
#
|
|
1388
|
+
# @!attribute [rw] address
|
|
1389
|
+
# The physical address.
|
|
1390
|
+
# @return [String]
|
|
1391
|
+
#
|
|
1392
|
+
# @!attribute [rw] latitude
|
|
1393
|
+
# The latitude.
|
|
1394
|
+
# @return [String]
|
|
1395
|
+
#
|
|
1396
|
+
# @!attribute [rw] longitude
|
|
1397
|
+
# The longitude.
|
|
1398
|
+
# @return [String]
|
|
1399
|
+
#
|
|
1400
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/Location AWS API Documentation
|
|
1401
|
+
#
|
|
1402
|
+
class Location < Struct.new(
|
|
1403
|
+
:address,
|
|
1404
|
+
:latitude,
|
|
1405
|
+
:longitude)
|
|
1406
|
+
include Aws::Structure
|
|
1407
|
+
end
|
|
1408
|
+
|
|
1409
|
+
# @note When making an API call, you may pass RegisterTransitGatewayRequest
|
|
1410
|
+
# data as a hash:
|
|
1411
|
+
#
|
|
1412
|
+
# {
|
|
1413
|
+
# global_network_id: "String", # required
|
|
1414
|
+
# transit_gateway_arn: "String", # required
|
|
1415
|
+
# }
|
|
1416
|
+
#
|
|
1417
|
+
# @!attribute [rw] global_network_id
|
|
1418
|
+
# The ID of the global network.
|
|
1419
|
+
# @return [String]
|
|
1420
|
+
#
|
|
1421
|
+
# @!attribute [rw] transit_gateway_arn
|
|
1422
|
+
# The Amazon Resource Name (ARN) of the transit gateway. For more
|
|
1423
|
+
# information, see [Resources Defined by Amazon EC2][1].
|
|
1424
|
+
#
|
|
1425
|
+
#
|
|
1426
|
+
#
|
|
1427
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html#amazonec2-resources-for-iam-policies
|
|
1428
|
+
# @return [String]
|
|
1429
|
+
#
|
|
1430
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RegisterTransitGatewayRequest AWS API Documentation
|
|
1431
|
+
#
|
|
1432
|
+
class RegisterTransitGatewayRequest < Struct.new(
|
|
1433
|
+
:global_network_id,
|
|
1434
|
+
:transit_gateway_arn)
|
|
1435
|
+
include Aws::Structure
|
|
1436
|
+
end
|
|
1437
|
+
|
|
1438
|
+
# @!attribute [rw] transit_gateway_registration
|
|
1439
|
+
# Information about the transit gateway registration.
|
|
1440
|
+
# @return [Types::TransitGatewayRegistration]
|
|
1441
|
+
#
|
|
1442
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/RegisterTransitGatewayResponse AWS API Documentation
|
|
1443
|
+
#
|
|
1444
|
+
class RegisterTransitGatewayResponse < Struct.new(
|
|
1445
|
+
:transit_gateway_registration)
|
|
1446
|
+
include Aws::Structure
|
|
1447
|
+
end
|
|
1448
|
+
|
|
1449
|
+
# The specified resource could not be found.
|
|
1450
|
+
#
|
|
1451
|
+
# @!attribute [rw] message
|
|
1452
|
+
# @return [String]
|
|
1453
|
+
#
|
|
1454
|
+
# @!attribute [rw] resource_id
|
|
1455
|
+
# The ID of the resource.
|
|
1456
|
+
# @return [String]
|
|
1457
|
+
#
|
|
1458
|
+
# @!attribute [rw] resource_type
|
|
1459
|
+
# The resource type.
|
|
1460
|
+
# @return [String]
|
|
1461
|
+
#
|
|
1462
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ResourceNotFoundException AWS API Documentation
|
|
1463
|
+
#
|
|
1464
|
+
class ResourceNotFoundException < Struct.new(
|
|
1465
|
+
:message,
|
|
1466
|
+
:resource_id,
|
|
1467
|
+
:resource_type)
|
|
1468
|
+
include Aws::Structure
|
|
1469
|
+
end
|
|
1470
|
+
|
|
1471
|
+
# A service limit was exceeded.
|
|
1472
|
+
#
|
|
1473
|
+
# @!attribute [rw] message
|
|
1474
|
+
# The error message.
|
|
1475
|
+
# @return [String]
|
|
1476
|
+
#
|
|
1477
|
+
# @!attribute [rw] resource_id
|
|
1478
|
+
# The ID of the resource.
|
|
1479
|
+
# @return [String]
|
|
1480
|
+
#
|
|
1481
|
+
# @!attribute [rw] resource_type
|
|
1482
|
+
# The resource type.
|
|
1483
|
+
# @return [String]
|
|
1484
|
+
#
|
|
1485
|
+
# @!attribute [rw] limit_code
|
|
1486
|
+
# The limit code.
|
|
1487
|
+
# @return [String]
|
|
1488
|
+
#
|
|
1489
|
+
# @!attribute [rw] service_code
|
|
1490
|
+
# The service code.
|
|
1491
|
+
# @return [String]
|
|
1492
|
+
#
|
|
1493
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ServiceQuotaExceededException AWS API Documentation
|
|
1494
|
+
#
|
|
1495
|
+
class ServiceQuotaExceededException < Struct.new(
|
|
1496
|
+
:message,
|
|
1497
|
+
:resource_id,
|
|
1498
|
+
:resource_type,
|
|
1499
|
+
:limit_code,
|
|
1500
|
+
:service_code)
|
|
1501
|
+
include Aws::Structure
|
|
1502
|
+
end
|
|
1503
|
+
|
|
1504
|
+
# Describes a site.
|
|
1505
|
+
#
|
|
1506
|
+
# @!attribute [rw] site_id
|
|
1507
|
+
# The ID of the site.
|
|
1508
|
+
# @return [String]
|
|
1509
|
+
#
|
|
1510
|
+
# @!attribute [rw] site_arn
|
|
1511
|
+
# The Amazon Resource Name (ARN) of the site.
|
|
1512
|
+
# @return [String]
|
|
1513
|
+
#
|
|
1514
|
+
# @!attribute [rw] global_network_id
|
|
1515
|
+
# The ID of the global network.
|
|
1516
|
+
# @return [String]
|
|
1517
|
+
#
|
|
1518
|
+
# @!attribute [rw] description
|
|
1519
|
+
# The description of the site.
|
|
1520
|
+
# @return [String]
|
|
1521
|
+
#
|
|
1522
|
+
# @!attribute [rw] location
|
|
1523
|
+
# The location of the site.
|
|
1524
|
+
# @return [Types::Location]
|
|
1525
|
+
#
|
|
1526
|
+
# @!attribute [rw] created_at
|
|
1527
|
+
# The date and time that the site was created.
|
|
1528
|
+
# @return [Time]
|
|
1529
|
+
#
|
|
1530
|
+
# @!attribute [rw] state
|
|
1531
|
+
# The state of the site.
|
|
1532
|
+
# @return [String]
|
|
1533
|
+
#
|
|
1534
|
+
# @!attribute [rw] tags
|
|
1535
|
+
# The tags for the site.
|
|
1536
|
+
# @return [Array<Types::Tag>]
|
|
1537
|
+
#
|
|
1538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/Site AWS API Documentation
|
|
1539
|
+
#
|
|
1540
|
+
class Site < Struct.new(
|
|
1541
|
+
:site_id,
|
|
1542
|
+
:site_arn,
|
|
1543
|
+
:global_network_id,
|
|
1544
|
+
:description,
|
|
1545
|
+
:location,
|
|
1546
|
+
:created_at,
|
|
1547
|
+
:state,
|
|
1548
|
+
:tags)
|
|
1549
|
+
include Aws::Structure
|
|
1550
|
+
end
|
|
1551
|
+
|
|
1552
|
+
# Describes a tag.
|
|
1553
|
+
#
|
|
1554
|
+
# @note When making an API call, you may pass Tag
|
|
1555
|
+
# data as a hash:
|
|
1556
|
+
#
|
|
1557
|
+
# {
|
|
1558
|
+
# key: "TagKey",
|
|
1559
|
+
# value: "TagValue",
|
|
1560
|
+
# }
|
|
1561
|
+
#
|
|
1562
|
+
# @!attribute [rw] key
|
|
1563
|
+
# The tag key.
|
|
1564
|
+
#
|
|
1565
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
1566
|
+
# @return [String]
|
|
1567
|
+
#
|
|
1568
|
+
# @!attribute [rw] value
|
|
1569
|
+
# The tag value.
|
|
1570
|
+
#
|
|
1571
|
+
# Length Constraints: Maximum length of 256 characters.
|
|
1572
|
+
# @return [String]
|
|
1573
|
+
#
|
|
1574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/Tag AWS API Documentation
|
|
1575
|
+
#
|
|
1576
|
+
class Tag < Struct.new(
|
|
1577
|
+
:key,
|
|
1578
|
+
:value)
|
|
1579
|
+
include Aws::Structure
|
|
1580
|
+
end
|
|
1581
|
+
|
|
1582
|
+
# @note When making an API call, you may pass TagResourceRequest
|
|
1583
|
+
# data as a hash:
|
|
1584
|
+
#
|
|
1585
|
+
# {
|
|
1586
|
+
# resource_arn: "ResourceARN", # required
|
|
1587
|
+
# tags: [ # required
|
|
1588
|
+
# {
|
|
1589
|
+
# key: "TagKey",
|
|
1590
|
+
# value: "TagValue",
|
|
1591
|
+
# },
|
|
1592
|
+
# ],
|
|
1593
|
+
# }
|
|
1594
|
+
#
|
|
1595
|
+
# @!attribute [rw] resource_arn
|
|
1596
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
1597
|
+
# @return [String]
|
|
1598
|
+
#
|
|
1599
|
+
# @!attribute [rw] tags
|
|
1600
|
+
# The tags to apply to the specified resource.
|
|
1601
|
+
# @return [Array<Types::Tag>]
|
|
1602
|
+
#
|
|
1603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TagResourceRequest AWS API Documentation
|
|
1604
|
+
#
|
|
1605
|
+
class TagResourceRequest < Struct.new(
|
|
1606
|
+
:resource_arn,
|
|
1607
|
+
:tags)
|
|
1608
|
+
include Aws::Structure
|
|
1609
|
+
end
|
|
1610
|
+
|
|
1611
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TagResourceResponse AWS API Documentation
|
|
1612
|
+
#
|
|
1613
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
|
1614
|
+
|
|
1615
|
+
# The request was denied due to request throttling.
|
|
1616
|
+
#
|
|
1617
|
+
# @!attribute [rw] message
|
|
1618
|
+
# @return [String]
|
|
1619
|
+
#
|
|
1620
|
+
# @!attribute [rw] retry_after_seconds
|
|
1621
|
+
# Indicates when to retry the request.
|
|
1622
|
+
# @return [Integer]
|
|
1623
|
+
#
|
|
1624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ThrottlingException AWS API Documentation
|
|
1625
|
+
#
|
|
1626
|
+
class ThrottlingException < Struct.new(
|
|
1627
|
+
:message,
|
|
1628
|
+
:retry_after_seconds)
|
|
1629
|
+
include Aws::Structure
|
|
1630
|
+
end
|
|
1631
|
+
|
|
1632
|
+
# Describes the registration of a transit gateway to a global network.
|
|
1633
|
+
#
|
|
1634
|
+
# @!attribute [rw] global_network_id
|
|
1635
|
+
# The ID of the global network.
|
|
1636
|
+
# @return [String]
|
|
1637
|
+
#
|
|
1638
|
+
# @!attribute [rw] transit_gateway_arn
|
|
1639
|
+
# The Amazon Resource Name (ARN) of the transit gateway.
|
|
1640
|
+
# @return [String]
|
|
1641
|
+
#
|
|
1642
|
+
# @!attribute [rw] state
|
|
1643
|
+
# The state of the transit gateway registration.
|
|
1644
|
+
# @return [Types::TransitGatewayRegistrationStateReason]
|
|
1645
|
+
#
|
|
1646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TransitGatewayRegistration AWS API Documentation
|
|
1647
|
+
#
|
|
1648
|
+
class TransitGatewayRegistration < Struct.new(
|
|
1649
|
+
:global_network_id,
|
|
1650
|
+
:transit_gateway_arn,
|
|
1651
|
+
:state)
|
|
1652
|
+
include Aws::Structure
|
|
1653
|
+
end
|
|
1654
|
+
|
|
1655
|
+
# Describes the status of a transit gateway registration.
|
|
1656
|
+
#
|
|
1657
|
+
# @!attribute [rw] code
|
|
1658
|
+
# The code for the state reason.
|
|
1659
|
+
# @return [String]
|
|
1660
|
+
#
|
|
1661
|
+
# @!attribute [rw] message
|
|
1662
|
+
# The message for the state reason.
|
|
1663
|
+
# @return [String]
|
|
1664
|
+
#
|
|
1665
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TransitGatewayRegistrationStateReason AWS API Documentation
|
|
1666
|
+
#
|
|
1667
|
+
class TransitGatewayRegistrationStateReason < Struct.new(
|
|
1668
|
+
:code,
|
|
1669
|
+
:message)
|
|
1670
|
+
include Aws::Structure
|
|
1671
|
+
end
|
|
1672
|
+
|
|
1673
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
|
1674
|
+
# data as a hash:
|
|
1675
|
+
#
|
|
1676
|
+
# {
|
|
1677
|
+
# resource_arn: "ResourceARN", # required
|
|
1678
|
+
# tag_keys: ["TagKey"], # required
|
|
1679
|
+
# }
|
|
1680
|
+
#
|
|
1681
|
+
# @!attribute [rw] resource_arn
|
|
1682
|
+
# The Amazon Resource Name (ARN) of the resource.
|
|
1683
|
+
# @return [String]
|
|
1684
|
+
#
|
|
1685
|
+
# @!attribute [rw] tag_keys
|
|
1686
|
+
# The tag keys to remove from the specified resource.
|
|
1687
|
+
# @return [Array<String>]
|
|
1688
|
+
#
|
|
1689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UntagResourceRequest AWS API Documentation
|
|
1690
|
+
#
|
|
1691
|
+
class UntagResourceRequest < Struct.new(
|
|
1692
|
+
:resource_arn,
|
|
1693
|
+
:tag_keys)
|
|
1694
|
+
include Aws::Structure
|
|
1695
|
+
end
|
|
1696
|
+
|
|
1697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UntagResourceResponse AWS API Documentation
|
|
1698
|
+
#
|
|
1699
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
|
1700
|
+
|
|
1701
|
+
# @note When making an API call, you may pass UpdateDeviceRequest
|
|
1702
|
+
# data as a hash:
|
|
1703
|
+
#
|
|
1704
|
+
# {
|
|
1705
|
+
# global_network_id: "String", # required
|
|
1706
|
+
# device_id: "String", # required
|
|
1707
|
+
# description: "String",
|
|
1708
|
+
# type: "String",
|
|
1709
|
+
# vendor: "String",
|
|
1710
|
+
# model: "String",
|
|
1711
|
+
# serial_number: "String",
|
|
1712
|
+
# location: {
|
|
1713
|
+
# address: "String",
|
|
1714
|
+
# latitude: "String",
|
|
1715
|
+
# longitude: "String",
|
|
1716
|
+
# },
|
|
1717
|
+
# site_id: "String",
|
|
1718
|
+
# }
|
|
1719
|
+
#
|
|
1720
|
+
# @!attribute [rw] global_network_id
|
|
1721
|
+
# The ID of the global network.
|
|
1722
|
+
# @return [String]
|
|
1723
|
+
#
|
|
1724
|
+
# @!attribute [rw] device_id
|
|
1725
|
+
# The ID of the device.
|
|
1726
|
+
# @return [String]
|
|
1727
|
+
#
|
|
1728
|
+
# @!attribute [rw] description
|
|
1729
|
+
# A description of the device.
|
|
1730
|
+
#
|
|
1731
|
+
# Length Constraints: Maximum length of 256 characters.
|
|
1732
|
+
# @return [String]
|
|
1733
|
+
#
|
|
1734
|
+
# @!attribute [rw] type
|
|
1735
|
+
# The type of the device.
|
|
1736
|
+
# @return [String]
|
|
1737
|
+
#
|
|
1738
|
+
# @!attribute [rw] vendor
|
|
1739
|
+
# The vendor of the device.
|
|
1740
|
+
#
|
|
1741
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
1742
|
+
# @return [String]
|
|
1743
|
+
#
|
|
1744
|
+
# @!attribute [rw] model
|
|
1745
|
+
# The model of the device.
|
|
1746
|
+
#
|
|
1747
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
1748
|
+
# @return [String]
|
|
1749
|
+
#
|
|
1750
|
+
# @!attribute [rw] serial_number
|
|
1751
|
+
# The serial number of the device.
|
|
1752
|
+
#
|
|
1753
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
1754
|
+
# @return [String]
|
|
1755
|
+
#
|
|
1756
|
+
# @!attribute [rw] location
|
|
1757
|
+
# Describes a location.
|
|
1758
|
+
# @return [Types::Location]
|
|
1759
|
+
#
|
|
1760
|
+
# @!attribute [rw] site_id
|
|
1761
|
+
# The ID of the site.
|
|
1762
|
+
# @return [String]
|
|
1763
|
+
#
|
|
1764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDeviceRequest AWS API Documentation
|
|
1765
|
+
#
|
|
1766
|
+
class UpdateDeviceRequest < Struct.new(
|
|
1767
|
+
:global_network_id,
|
|
1768
|
+
:device_id,
|
|
1769
|
+
:description,
|
|
1770
|
+
:type,
|
|
1771
|
+
:vendor,
|
|
1772
|
+
:model,
|
|
1773
|
+
:serial_number,
|
|
1774
|
+
:location,
|
|
1775
|
+
:site_id)
|
|
1776
|
+
include Aws::Structure
|
|
1777
|
+
end
|
|
1778
|
+
|
|
1779
|
+
# @!attribute [rw] device
|
|
1780
|
+
# Information about the device.
|
|
1781
|
+
# @return [Types::Device]
|
|
1782
|
+
#
|
|
1783
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateDeviceResponse AWS API Documentation
|
|
1784
|
+
#
|
|
1785
|
+
class UpdateDeviceResponse < Struct.new(
|
|
1786
|
+
:device)
|
|
1787
|
+
include Aws::Structure
|
|
1788
|
+
end
|
|
1789
|
+
|
|
1790
|
+
# @note When making an API call, you may pass UpdateGlobalNetworkRequest
|
|
1791
|
+
# data as a hash:
|
|
1792
|
+
#
|
|
1793
|
+
# {
|
|
1794
|
+
# global_network_id: "String", # required
|
|
1795
|
+
# description: "String",
|
|
1796
|
+
# }
|
|
1797
|
+
#
|
|
1798
|
+
# @!attribute [rw] global_network_id
|
|
1799
|
+
# The ID of your global network.
|
|
1800
|
+
# @return [String]
|
|
1801
|
+
#
|
|
1802
|
+
# @!attribute [rw] description
|
|
1803
|
+
# A description of the global network.
|
|
1804
|
+
#
|
|
1805
|
+
# Length Constraints: Maximum length of 256 characters.
|
|
1806
|
+
# @return [String]
|
|
1807
|
+
#
|
|
1808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateGlobalNetworkRequest AWS API Documentation
|
|
1809
|
+
#
|
|
1810
|
+
class UpdateGlobalNetworkRequest < Struct.new(
|
|
1811
|
+
:global_network_id,
|
|
1812
|
+
:description)
|
|
1813
|
+
include Aws::Structure
|
|
1814
|
+
end
|
|
1815
|
+
|
|
1816
|
+
# @!attribute [rw] global_network
|
|
1817
|
+
# Information about the global network object.
|
|
1818
|
+
# @return [Types::GlobalNetwork]
|
|
1819
|
+
#
|
|
1820
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateGlobalNetworkResponse AWS API Documentation
|
|
1821
|
+
#
|
|
1822
|
+
class UpdateGlobalNetworkResponse < Struct.new(
|
|
1823
|
+
:global_network)
|
|
1824
|
+
include Aws::Structure
|
|
1825
|
+
end
|
|
1826
|
+
|
|
1827
|
+
# @note When making an API call, you may pass UpdateLinkRequest
|
|
1828
|
+
# data as a hash:
|
|
1829
|
+
#
|
|
1830
|
+
# {
|
|
1831
|
+
# global_network_id: "String", # required
|
|
1832
|
+
# link_id: "String", # required
|
|
1833
|
+
# description: "String",
|
|
1834
|
+
# type: "String",
|
|
1835
|
+
# bandwidth: {
|
|
1836
|
+
# upload_speed: 1,
|
|
1837
|
+
# download_speed: 1,
|
|
1838
|
+
# },
|
|
1839
|
+
# provider: "String",
|
|
1840
|
+
# }
|
|
1841
|
+
#
|
|
1842
|
+
# @!attribute [rw] global_network_id
|
|
1843
|
+
# The ID of the global network.
|
|
1844
|
+
# @return [String]
|
|
1845
|
+
#
|
|
1846
|
+
# @!attribute [rw] link_id
|
|
1847
|
+
# The ID of the link.
|
|
1848
|
+
# @return [String]
|
|
1849
|
+
#
|
|
1850
|
+
# @!attribute [rw] description
|
|
1851
|
+
# A description of the link.
|
|
1852
|
+
#
|
|
1853
|
+
# Length Constraints: Maximum length of 256 characters.
|
|
1854
|
+
# @return [String]
|
|
1855
|
+
#
|
|
1856
|
+
# @!attribute [rw] type
|
|
1857
|
+
# The type of the link.
|
|
1858
|
+
#
|
|
1859
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
1860
|
+
# @return [String]
|
|
1861
|
+
#
|
|
1862
|
+
# @!attribute [rw] bandwidth
|
|
1863
|
+
# The upload and download speed in Mbps.
|
|
1864
|
+
# @return [Types::Bandwidth]
|
|
1865
|
+
#
|
|
1866
|
+
# @!attribute [rw] provider
|
|
1867
|
+
# The provider of the link.
|
|
1868
|
+
#
|
|
1869
|
+
# Length Constraints: Maximum length of 128 characters.
|
|
1870
|
+
# @return [String]
|
|
1871
|
+
#
|
|
1872
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateLinkRequest AWS API Documentation
|
|
1873
|
+
#
|
|
1874
|
+
class UpdateLinkRequest < Struct.new(
|
|
1875
|
+
:global_network_id,
|
|
1876
|
+
:link_id,
|
|
1877
|
+
:description,
|
|
1878
|
+
:type,
|
|
1879
|
+
:bandwidth,
|
|
1880
|
+
:provider)
|
|
1881
|
+
include Aws::Structure
|
|
1882
|
+
end
|
|
1883
|
+
|
|
1884
|
+
# @!attribute [rw] link
|
|
1885
|
+
# Information about the link.
|
|
1886
|
+
# @return [Types::Link]
|
|
1887
|
+
#
|
|
1888
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateLinkResponse AWS API Documentation
|
|
1889
|
+
#
|
|
1890
|
+
class UpdateLinkResponse < Struct.new(
|
|
1891
|
+
:link)
|
|
1892
|
+
include Aws::Structure
|
|
1893
|
+
end
|
|
1894
|
+
|
|
1895
|
+
# @note When making an API call, you may pass UpdateSiteRequest
|
|
1896
|
+
# data as a hash:
|
|
1897
|
+
#
|
|
1898
|
+
# {
|
|
1899
|
+
# global_network_id: "String", # required
|
|
1900
|
+
# site_id: "String", # required
|
|
1901
|
+
# description: "String",
|
|
1902
|
+
# location: {
|
|
1903
|
+
# address: "String",
|
|
1904
|
+
# latitude: "String",
|
|
1905
|
+
# longitude: "String",
|
|
1906
|
+
# },
|
|
1907
|
+
# }
|
|
1908
|
+
#
|
|
1909
|
+
# @!attribute [rw] global_network_id
|
|
1910
|
+
# The ID of the global network.
|
|
1911
|
+
# @return [String]
|
|
1912
|
+
#
|
|
1913
|
+
# @!attribute [rw] site_id
|
|
1914
|
+
# The ID of your site.
|
|
1915
|
+
# @return [String]
|
|
1916
|
+
#
|
|
1917
|
+
# @!attribute [rw] description
|
|
1918
|
+
# A description of your site.
|
|
1919
|
+
#
|
|
1920
|
+
# Length Constraints: Maximum length of 256 characters.
|
|
1921
|
+
# @return [String]
|
|
1922
|
+
#
|
|
1923
|
+
# @!attribute [rw] location
|
|
1924
|
+
# The site location:
|
|
1925
|
+
#
|
|
1926
|
+
# * `Address`\: The physical address of the site.
|
|
1927
|
+
#
|
|
1928
|
+
# * `Latitude`\: The latitude of the site.
|
|
1929
|
+
#
|
|
1930
|
+
# * `Longitude`\: The longitude of the site.
|
|
1931
|
+
# @return [Types::Location]
|
|
1932
|
+
#
|
|
1933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateSiteRequest AWS API Documentation
|
|
1934
|
+
#
|
|
1935
|
+
class UpdateSiteRequest < Struct.new(
|
|
1936
|
+
:global_network_id,
|
|
1937
|
+
:site_id,
|
|
1938
|
+
:description,
|
|
1939
|
+
:location)
|
|
1940
|
+
include Aws::Structure
|
|
1941
|
+
end
|
|
1942
|
+
|
|
1943
|
+
# @!attribute [rw] site
|
|
1944
|
+
# Information about the site.
|
|
1945
|
+
# @return [Types::Site]
|
|
1946
|
+
#
|
|
1947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateSiteResponse AWS API Documentation
|
|
1948
|
+
#
|
|
1949
|
+
class UpdateSiteResponse < Struct.new(
|
|
1950
|
+
:site)
|
|
1951
|
+
include Aws::Structure
|
|
1952
|
+
end
|
|
1953
|
+
|
|
1954
|
+
# The input fails to satisfy the constraints.
|
|
1955
|
+
#
|
|
1956
|
+
# @!attribute [rw] message
|
|
1957
|
+
# @return [String]
|
|
1958
|
+
#
|
|
1959
|
+
# @!attribute [rw] reason
|
|
1960
|
+
# The reason for the error.
|
|
1961
|
+
# @return [String]
|
|
1962
|
+
#
|
|
1963
|
+
# @!attribute [rw] fields
|
|
1964
|
+
# The fields that caused the error, if applicable.
|
|
1965
|
+
# @return [Array<Types::ValidationExceptionField>]
|
|
1966
|
+
#
|
|
1967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ValidationException AWS API Documentation
|
|
1968
|
+
#
|
|
1969
|
+
class ValidationException < Struct.new(
|
|
1970
|
+
:message,
|
|
1971
|
+
:reason,
|
|
1972
|
+
:fields)
|
|
1973
|
+
include Aws::Structure
|
|
1974
|
+
end
|
|
1975
|
+
|
|
1976
|
+
# Describes a validation exception for a field.
|
|
1977
|
+
#
|
|
1978
|
+
# @!attribute [rw] name
|
|
1979
|
+
# The name of the field.
|
|
1980
|
+
# @return [String]
|
|
1981
|
+
#
|
|
1982
|
+
# @!attribute [rw] message
|
|
1983
|
+
# The message for the field.
|
|
1984
|
+
# @return [String]
|
|
1985
|
+
#
|
|
1986
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/ValidationExceptionField AWS API Documentation
|
|
1987
|
+
#
|
|
1988
|
+
class ValidationExceptionField < Struct.new(
|
|
1989
|
+
:name,
|
|
1990
|
+
:message)
|
|
1991
|
+
include Aws::Structure
|
|
1992
|
+
end
|
|
1993
|
+
|
|
1994
|
+
end
|
|
1995
|
+
end
|