Debian Codegraph @

service/privatenetworks/api.go

raw
1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3 package privatenetworks
4
5 import (
6 "fmt"
7 "time"
8
9 "github.com/aws/aws-sdk-go/aws"
10 "github.com/aws/aws-sdk-go/aws/awsutil"
11 "github.com/aws/aws-sdk-go/aws/request"
12 "github.com/aws/aws-sdk-go/private/protocol"
13 "github.com/aws/aws-sdk-go/private/protocol/restjson"
14 )
15
16 const opAcknowledgeOrderReceipt = "AcknowledgeOrderReceipt"
17
18 // AcknowledgeOrderReceiptRequest generates a "aws/request.Request" representing the
19 // client's request for the AcknowledgeOrderReceipt operation. The "output" return
20 // value will be populated with the request's response once the request completes
21 // successfully.
22 //
23 // Use "Send" method on the returned Request to send the API call to the service.
24 // the "output" return value is not valid until after Send returns without error.
25 //
26 // See AcknowledgeOrderReceipt for more information on using the AcknowledgeOrderReceipt
27 // API call, and error handling.
28 //
29 // This method is useful when you want to inject custom logic or configuration
30 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
31 //
32 // // Example sending a request using the AcknowledgeOrderReceiptRequest method.
33 // req, resp := client.AcknowledgeOrderReceiptRequest(params)
34 //
35 // err := req.Send()
36 // if err == nil { // resp is now filled
37 // fmt.Println(resp)
38 // }
39 //
40 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/AcknowledgeOrderReceipt
41 func (c *PrivateNetworks) AcknowledgeOrderReceiptRequest(input *AcknowledgeOrderReceiptInput) (req *request.Request, output *AcknowledgeOrderReceiptOutput) {
42 op := &request.Operation{
43 Name: opAcknowledgeOrderReceipt,
44 HTTPMethod: "POST",
45 HTTPPath: "/v1/orders/acknowledge",
46 }
47
48 if input == nil {
49 input = &AcknowledgeOrderReceiptInput{}
50 }
51
52 output = &AcknowledgeOrderReceiptOutput{}
53 req = c.newRequest(op, input, output)
54 return
55 }
56
57 // AcknowledgeOrderReceipt API operation for AWS Private 5G.
58 //
59 // Acknowledges that the specified network order was received.
60 //
61 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
62 // with awserr.Error's Code and Message methods to get detailed information about
63 // the error.
64 //
65 // See the AWS API reference guide for AWS Private 5G's
66 // API operation AcknowledgeOrderReceipt for usage and error information.
67 //
68 // Returned Error Types:
69 //
70 // - ResourceNotFoundException
71 // The resource was not found.
72 //
73 // - ValidationException
74 // The request failed validation.
75 //
76 // - InternalServerException
77 // Information about an internal error.
78 //
79 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/AcknowledgeOrderReceipt
80 func (c *PrivateNetworks) AcknowledgeOrderReceipt(input *AcknowledgeOrderReceiptInput) (*AcknowledgeOrderReceiptOutput, error) {
81 req, out := c.AcknowledgeOrderReceiptRequest(input)
82 return out, req.Send()
83 }
84
85 // AcknowledgeOrderReceiptWithContext is the same as AcknowledgeOrderReceipt with the addition of
86 // the ability to pass a context and additional request options.
87 //
88 // See AcknowledgeOrderReceipt for details on how to use this API operation.
89 //
90 // The context must be non-nil and will be used for request cancellation. If
91 // the context is nil a panic will occur. In the future the SDK may create
92 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
93 // for more information on using Contexts.
94 func (c *PrivateNetworks) AcknowledgeOrderReceiptWithContext(ctx aws.Context, input *AcknowledgeOrderReceiptInput, opts ...request.Option) (*AcknowledgeOrderReceiptOutput, error) {
95 req, out := c.AcknowledgeOrderReceiptRequest(input)
96 req.SetContext(ctx)
97 req.ApplyOptions(opts...)
98 return out, req.Send()
99 }
100
101 const opActivateDeviceIdentifier = "ActivateDeviceIdentifier"
102
103 // ActivateDeviceIdentifierRequest generates a "aws/request.Request" representing the
104 // client's request for the ActivateDeviceIdentifier operation. The "output" return
105 // value will be populated with the request's response once the request completes
106 // successfully.
107 //
108 // Use "Send" method on the returned Request to send the API call to the service.
109 // the "output" return value is not valid until after Send returns without error.
110 //
111 // See ActivateDeviceIdentifier for more information on using the ActivateDeviceIdentifier
112 // API call, and error handling.
113 //
114 // This method is useful when you want to inject custom logic or configuration
115 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
116 //
117 // // Example sending a request using the ActivateDeviceIdentifierRequest method.
118 // req, resp := client.ActivateDeviceIdentifierRequest(params)
119 //
120 // err := req.Send()
121 // if err == nil { // resp is now filled
122 // fmt.Println(resp)
123 // }
124 //
125 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ActivateDeviceIdentifier
126 func (c *PrivateNetworks) ActivateDeviceIdentifierRequest(input *ActivateDeviceIdentifierInput) (req *request.Request, output *ActivateDeviceIdentifierOutput) {
127 op := &request.Operation{
128 Name: opActivateDeviceIdentifier,
129 HTTPMethod: "POST",
130 HTTPPath: "/v1/device-identifiers/activate",
131 }
132
133 if input == nil {
134 input = &ActivateDeviceIdentifierInput{}
135 }
136
137 output = &ActivateDeviceIdentifierOutput{}
138 req = c.newRequest(op, input, output)
139 return
140 }
141
142 // ActivateDeviceIdentifier API operation for AWS Private 5G.
143 //
144 // Activates the specified device identifier.
145 //
146 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
147 // with awserr.Error's Code and Message methods to get detailed information about
148 // the error.
149 //
150 // See the AWS API reference guide for AWS Private 5G's
151 // API operation ActivateDeviceIdentifier for usage and error information.
152 //
153 // Returned Error Types:
154 //
155 // - ResourceNotFoundException
156 // The resource was not found.
157 //
158 // - ValidationException
159 // The request failed validation.
160 //
161 // - InternalServerException
162 // Information about an internal error.
163 //
164 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ActivateDeviceIdentifier
165 func (c *PrivateNetworks) ActivateDeviceIdentifier(input *ActivateDeviceIdentifierInput) (*ActivateDeviceIdentifierOutput, error) {
166 req, out := c.ActivateDeviceIdentifierRequest(input)
167 return out, req.Send()
168 }
169
170 // ActivateDeviceIdentifierWithContext is the same as ActivateDeviceIdentifier with the addition of
171 // the ability to pass a context and additional request options.
172 //
173 // See ActivateDeviceIdentifier for details on how to use this API operation.
174 //
175 // The context must be non-nil and will be used for request cancellation. If
176 // the context is nil a panic will occur. In the future the SDK may create
177 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
178 // for more information on using Contexts.
179 func (c *PrivateNetworks) ActivateDeviceIdentifierWithContext(ctx aws.Context, input *ActivateDeviceIdentifierInput, opts ...request.Option) (*ActivateDeviceIdentifierOutput, error) {
180 req, out := c.ActivateDeviceIdentifierRequest(input)
181 req.SetContext(ctx)
182 req.ApplyOptions(opts...)
183 return out, req.Send()
184 }
185
186 const opActivateNetworkSite = "ActivateNetworkSite"
187
188 // ActivateNetworkSiteRequest generates a "aws/request.Request" representing the
189 // client's request for the ActivateNetworkSite operation. The "output" return
190 // value will be populated with the request's response once the request completes
191 // successfully.
192 //
193 // Use "Send" method on the returned Request to send the API call to the service.
194 // the "output" return value is not valid until after Send returns without error.
195 //
196 // See ActivateNetworkSite for more information on using the ActivateNetworkSite
197 // API call, and error handling.
198 //
199 // This method is useful when you want to inject custom logic or configuration
200 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
201 //
202 // // Example sending a request using the ActivateNetworkSiteRequest method.
203 // req, resp := client.ActivateNetworkSiteRequest(params)
204 //
205 // err := req.Send()
206 // if err == nil { // resp is now filled
207 // fmt.Println(resp)
208 // }
209 //
210 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ActivateNetworkSite
211 func (c *PrivateNetworks) ActivateNetworkSiteRequest(input *ActivateNetworkSiteInput) (req *request.Request, output *ActivateNetworkSiteOutput) {
212 op := &request.Operation{
213 Name: opActivateNetworkSite,
214 HTTPMethod: "POST",
215 HTTPPath: "/v1/network-sites/activate",
216 }
217
218 if input == nil {
219 input = &ActivateNetworkSiteInput{}
220 }
221
222 output = &ActivateNetworkSiteOutput{}
223 req = c.newRequest(op, input, output)
224 return
225 }
226
227 // ActivateNetworkSite API operation for AWS Private 5G.
228 //
229 // Activates the specified network site.
230 //
231 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
232 // with awserr.Error's Code and Message methods to get detailed information about
233 // the error.
234 //
235 // See the AWS API reference guide for AWS Private 5G's
236 // API operation ActivateNetworkSite for usage and error information.
237 //
238 // Returned Error Types:
239 //
240 // - ResourceNotFoundException
241 // The resource was not found.
242 //
243 // - ValidationException
244 // The request failed validation.
245 //
246 // - InternalServerException
247 // Information about an internal error.
248 //
249 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ActivateNetworkSite
250 func (c *PrivateNetworks) ActivateNetworkSite(input *ActivateNetworkSiteInput) (*ActivateNetworkSiteOutput, error) {
251 req, out := c.ActivateNetworkSiteRequest(input)
252 return out, req.Send()
253 }
254
255 // ActivateNetworkSiteWithContext is the same as ActivateNetworkSite with the addition of
256 // the ability to pass a context and additional request options.
257 //
258 // See ActivateNetworkSite for details on how to use this API operation.
259 //
260 // The context must be non-nil and will be used for request cancellation. If
261 // the context is nil a panic will occur. In the future the SDK may create
262 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
263 // for more information on using Contexts.
264 func (c *PrivateNetworks) ActivateNetworkSiteWithContext(ctx aws.Context, input *ActivateNetworkSiteInput, opts ...request.Option) (*ActivateNetworkSiteOutput, error) {
265 req, out := c.ActivateNetworkSiteRequest(input)
266 req.SetContext(ctx)
267 req.ApplyOptions(opts...)
268 return out, req.Send()
269 }
270
271 const opConfigureAccessPoint = "ConfigureAccessPoint"
272
273 // ConfigureAccessPointRequest generates a "aws/request.Request" representing the
274 // client's request for the ConfigureAccessPoint operation. The "output" return
275 // value will be populated with the request's response once the request completes
276 // successfully.
277 //
278 // Use "Send" method on the returned Request to send the API call to the service.
279 // the "output" return value is not valid until after Send returns without error.
280 //
281 // See ConfigureAccessPoint for more information on using the ConfigureAccessPoint
282 // API call, and error handling.
283 //
284 // This method is useful when you want to inject custom logic or configuration
285 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
286 //
287 // // Example sending a request using the ConfigureAccessPointRequest method.
288 // req, resp := client.ConfigureAccessPointRequest(params)
289 //
290 // err := req.Send()
291 // if err == nil { // resp is now filled
292 // fmt.Println(resp)
293 // }
294 //
295 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ConfigureAccessPoint
296 func (c *PrivateNetworks) ConfigureAccessPointRequest(input *ConfigureAccessPointInput) (req *request.Request, output *ConfigureAccessPointOutput) {
297 op := &request.Operation{
298 Name: opConfigureAccessPoint,
299 HTTPMethod: "POST",
300 HTTPPath: "/v1/network-resources/configure",
301 }
302
303 if input == nil {
304 input = &ConfigureAccessPointInput{}
305 }
306
307 output = &ConfigureAccessPointOutput{}
308 req = c.newRequest(op, input, output)
309 return
310 }
311
312 // ConfigureAccessPoint API operation for AWS Private 5G.
313 //
314 // Configures the specified network resource.
315 //
316 // Use this action to specify the geographic position of the hardware. You must
317 // provide Certified Professional Installer (CPI) credentials in the request
318 // so that we can obtain spectrum grants. For more information, see Radio units
319 // (https://docs.aws.amazon.com/private-networks/latest/userguide/radio-units.html)
320 // in the Amazon Web Services Private 5G User Guide.
321 //
322 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
323 // with awserr.Error's Code and Message methods to get detailed information about
324 // the error.
325 //
326 // See the AWS API reference guide for AWS Private 5G's
327 // API operation ConfigureAccessPoint for usage and error information.
328 //
329 // Returned Error Types:
330 //
331 // - ResourceNotFoundException
332 // The resource was not found.
333 //
334 // - ValidationException
335 // The request failed validation.
336 //
337 // - InternalServerException
338 // Information about an internal error.
339 //
340 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ConfigureAccessPoint
341 func (c *PrivateNetworks) ConfigureAccessPoint(input *ConfigureAccessPointInput) (*ConfigureAccessPointOutput, error) {
342 req, out := c.ConfigureAccessPointRequest(input)
343 return out, req.Send()
344 }
345
346 // ConfigureAccessPointWithContext is the same as ConfigureAccessPoint with the addition of
347 // the ability to pass a context and additional request options.
348 //
349 // See ConfigureAccessPoint for details on how to use this API operation.
350 //
351 // The context must be non-nil and will be used for request cancellation. If
352 // the context is nil a panic will occur. In the future the SDK may create
353 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
354 // for more information on using Contexts.
355 func (c *PrivateNetworks) ConfigureAccessPointWithContext(ctx aws.Context, input *ConfigureAccessPointInput, opts ...request.Option) (*ConfigureAccessPointOutput, error) {
356 req, out := c.ConfigureAccessPointRequest(input)
357 req.SetContext(ctx)
358 req.ApplyOptions(opts...)
359 return out, req.Send()
360 }
361
362 const opCreateNetwork = "CreateNetwork"
363
364 // CreateNetworkRequest generates a "aws/request.Request" representing the
365 // client's request for the CreateNetwork operation. The "output" return
366 // value will be populated with the request's response once the request completes
367 // successfully.
368 //
369 // Use "Send" method on the returned Request to send the API call to the service.
370 // the "output" return value is not valid until after Send returns without error.
371 //
372 // See CreateNetwork for more information on using the CreateNetwork
373 // API call, and error handling.
374 //
375 // This method is useful when you want to inject custom logic or configuration
376 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
377 //
378 // // Example sending a request using the CreateNetworkRequest method.
379 // req, resp := client.CreateNetworkRequest(params)
380 //
381 // err := req.Send()
382 // if err == nil { // resp is now filled
383 // fmt.Println(resp)
384 // }
385 //
386 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/CreateNetwork
387 func (c *PrivateNetworks) CreateNetworkRequest(input *CreateNetworkInput) (req *request.Request, output *CreateNetworkOutput) {
388 op := &request.Operation{
389 Name: opCreateNetwork,
390 HTTPMethod: "POST",
391 HTTPPath: "/v1/networks",
392 }
393
394 if input == nil {
395 input = &CreateNetworkInput{}
396 }
397
398 output = &CreateNetworkOutput{}
399 req = c.newRequest(op, input, output)
400 return
401 }
402
403 // CreateNetwork API operation for AWS Private 5G.
404 //
405 // Creates a network.
406 //
407 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
408 // with awserr.Error's Code and Message methods to get detailed information about
409 // the error.
410 //
411 // See the AWS API reference guide for AWS Private 5G's
412 // API operation CreateNetwork for usage and error information.
413 //
414 // Returned Error Types:
415 //
416 // - LimitExceededException
417 // The limit was exceeded.
418 //
419 // - ValidationException
420 // The request failed validation.
421 //
422 // - InternalServerException
423 // Information about an internal error.
424 //
425 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/CreateNetwork
426 func (c *PrivateNetworks) CreateNetwork(input *CreateNetworkInput) (*CreateNetworkOutput, error) {
427 req, out := c.CreateNetworkRequest(input)
428 return out, req.Send()
429 }
430
431 // CreateNetworkWithContext is the same as CreateNetwork with the addition of
432 // the ability to pass a context and additional request options.
433 //
434 // See CreateNetwork for details on how to use this API operation.
435 //
436 // The context must be non-nil and will be used for request cancellation. If
437 // the context is nil a panic will occur. In the future the SDK may create
438 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
439 // for more information on using Contexts.
440 func (c *PrivateNetworks) CreateNetworkWithContext(ctx aws.Context, input *CreateNetworkInput, opts ...request.Option) (*CreateNetworkOutput, error) {
441 req, out := c.CreateNetworkRequest(input)
442 req.SetContext(ctx)
443 req.ApplyOptions(opts...)
444 return out, req.Send()
445 }
446
447 const opCreateNetworkSite = "CreateNetworkSite"
448
449 // CreateNetworkSiteRequest generates a "aws/request.Request" representing the
450 // client's request for the CreateNetworkSite operation. The "output" return
451 // value will be populated with the request's response once the request completes
452 // successfully.
453 //
454 // Use "Send" method on the returned Request to send the API call to the service.
455 // the "output" return value is not valid until after Send returns without error.
456 //
457 // See CreateNetworkSite for more information on using the CreateNetworkSite
458 // API call, and error handling.
459 //
460 // This method is useful when you want to inject custom logic or configuration
461 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
462 //
463 // // Example sending a request using the CreateNetworkSiteRequest method.
464 // req, resp := client.CreateNetworkSiteRequest(params)
465 //
466 // err := req.Send()
467 // if err == nil { // resp is now filled
468 // fmt.Println(resp)
469 // }
470 //
471 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/CreateNetworkSite
472 func (c *PrivateNetworks) CreateNetworkSiteRequest(input *CreateNetworkSiteInput) (req *request.Request, output *CreateNetworkSiteOutput) {
473 op := &request.Operation{
474 Name: opCreateNetworkSite,
475 HTTPMethod: "POST",
476 HTTPPath: "/v1/network-sites",
477 }
478
479 if input == nil {
480 input = &CreateNetworkSiteInput{}
481 }
482
483 output = &CreateNetworkSiteOutput{}
484 req = c.newRequest(op, input, output)
485 return
486 }
487
488 // CreateNetworkSite API operation for AWS Private 5G.
489 //
490 // Creates a network site.
491 //
492 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
493 // with awserr.Error's Code and Message methods to get detailed information about
494 // the error.
495 //
496 // See the AWS API reference guide for AWS Private 5G's
497 // API operation CreateNetworkSite for usage and error information.
498 //
499 // Returned Error Types:
500 //
501 // - ResourceNotFoundException
502 // The resource was not found.
503 //
504 // - ValidationException
505 // The request failed validation.
506 //
507 // - InternalServerException
508 // Information about an internal error.
509 //
510 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/CreateNetworkSite
511 func (c *PrivateNetworks) CreateNetworkSite(input *CreateNetworkSiteInput) (*CreateNetworkSiteOutput, error) {
512 req, out := c.CreateNetworkSiteRequest(input)
513 return out, req.Send()
514 }
515
516 // CreateNetworkSiteWithContext is the same as CreateNetworkSite with the addition of
517 // the ability to pass a context and additional request options.
518 //
519 // See CreateNetworkSite for details on how to use this API operation.
520 //
521 // The context must be non-nil and will be used for request cancellation. If
522 // the context is nil a panic will occur. In the future the SDK may create
523 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
524 // for more information on using Contexts.
525 func (c *PrivateNetworks) CreateNetworkSiteWithContext(ctx aws.Context, input *CreateNetworkSiteInput, opts ...request.Option) (*CreateNetworkSiteOutput, error) {
526 req, out := c.CreateNetworkSiteRequest(input)
527 req.SetContext(ctx)
528 req.ApplyOptions(opts...)
529 return out, req.Send()
530 }
531
532 const opDeactivateDeviceIdentifier = "DeactivateDeviceIdentifier"
533
534 // DeactivateDeviceIdentifierRequest generates a "aws/request.Request" representing the
535 // client's request for the DeactivateDeviceIdentifier operation. The "output" return
536 // value will be populated with the request's response once the request completes
537 // successfully.
538 //
539 // Use "Send" method on the returned Request to send the API call to the service.
540 // the "output" return value is not valid until after Send returns without error.
541 //
542 // See DeactivateDeviceIdentifier for more information on using the DeactivateDeviceIdentifier
543 // API call, and error handling.
544 //
545 // This method is useful when you want to inject custom logic or configuration
546 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
547 //
548 // // Example sending a request using the DeactivateDeviceIdentifierRequest method.
549 // req, resp := client.DeactivateDeviceIdentifierRequest(params)
550 //
551 // err := req.Send()
552 // if err == nil { // resp is now filled
553 // fmt.Println(resp)
554 // }
555 //
556 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/DeactivateDeviceIdentifier
557 func (c *PrivateNetworks) DeactivateDeviceIdentifierRequest(input *DeactivateDeviceIdentifierInput) (req *request.Request, output *DeactivateDeviceIdentifierOutput) {
558 op := &request.Operation{
559 Name: opDeactivateDeviceIdentifier,
560 HTTPMethod: "POST",
561 HTTPPath: "/v1/device-identifiers/deactivate",
562 }
563
564 if input == nil {
565 input = &DeactivateDeviceIdentifierInput{}
566 }
567
568 output = &DeactivateDeviceIdentifierOutput{}
569 req = c.newRequest(op, input, output)
570 return
571 }
572
573 // DeactivateDeviceIdentifier API operation for AWS Private 5G.
574 //
575 // Deactivates the specified device identifier.
576 //
577 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
578 // with awserr.Error's Code and Message methods to get detailed information about
579 // the error.
580 //
581 // See the AWS API reference guide for AWS Private 5G's
582 // API operation DeactivateDeviceIdentifier for usage and error information.
583 //
584 // Returned Error Types:
585 //
586 // - ResourceNotFoundException
587 // The resource was not found.
588 //
589 // - ValidationException
590 // The request failed validation.
591 //
592 // - InternalServerException
593 // Information about an internal error.
594 //
595 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/DeactivateDeviceIdentifier
596 func (c *PrivateNetworks) DeactivateDeviceIdentifier(input *DeactivateDeviceIdentifierInput) (*DeactivateDeviceIdentifierOutput, error) {
597 req, out := c.DeactivateDeviceIdentifierRequest(input)
598 return out, req.Send()
599 }
600
601 // DeactivateDeviceIdentifierWithContext is the same as DeactivateDeviceIdentifier with the addition of
602 // the ability to pass a context and additional request options.
603 //
604 // See DeactivateDeviceIdentifier for details on how to use this API operation.
605 //
606 // The context must be non-nil and will be used for request cancellation. If
607 // the context is nil a panic will occur. In the future the SDK may create
608 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
609 // for more information on using Contexts.
610 func (c *PrivateNetworks) DeactivateDeviceIdentifierWithContext(ctx aws.Context, input *DeactivateDeviceIdentifierInput, opts ...request.Option) (*DeactivateDeviceIdentifierOutput, error) {
611 req, out := c.DeactivateDeviceIdentifierRequest(input)
612 req.SetContext(ctx)
613 req.ApplyOptions(opts...)
614 return out, req.Send()
615 }
616
617 const opDeleteNetwork = "DeleteNetwork"
618
619 // DeleteNetworkRequest generates a "aws/request.Request" representing the
620 // client's request for the DeleteNetwork operation. The "output" return
621 // value will be populated with the request's response once the request completes
622 // successfully.
623 //
624 // Use "Send" method on the returned Request to send the API call to the service.
625 // the "output" return value is not valid until after Send returns without error.
626 //
627 // See DeleteNetwork for more information on using the DeleteNetwork
628 // API call, and error handling.
629 //
630 // This method is useful when you want to inject custom logic or configuration
631 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
632 //
633 // // Example sending a request using the DeleteNetworkRequest method.
634 // req, resp := client.DeleteNetworkRequest(params)
635 //
636 // err := req.Send()
637 // if err == nil { // resp is now filled
638 // fmt.Println(resp)
639 // }
640 //
641 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/DeleteNetwork
642 func (c *PrivateNetworks) DeleteNetworkRequest(input *DeleteNetworkInput) (req *request.Request, output *DeleteNetworkOutput) {
643 op := &request.Operation{
644 Name: opDeleteNetwork,
645 HTTPMethod: "DELETE",
646 HTTPPath: "/v1/networks/{networkArn}",
647 }
648
649 if input == nil {
650 input = &DeleteNetworkInput{}
651 }
652
653 output = &DeleteNetworkOutput{}
654 req = c.newRequest(op, input, output)
655 return
656 }
657
658 // DeleteNetwork API operation for AWS Private 5G.
659 //
660 // Deletes the specified network. You must delete network sites before you delete
661 // the network. For more information, see DeleteNetworkSite (https://docs.aws.amazon.com/private-networks/latest/APIReference/API_DeleteNetworkSite.html)
662 // in the API Reference for Amazon Web Services Private 5G.
663 //
664 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
665 // with awserr.Error's Code and Message methods to get detailed information about
666 // the error.
667 //
668 // See the AWS API reference guide for AWS Private 5G's
669 // API operation DeleteNetwork for usage and error information.
670 //
671 // Returned Error Types:
672 //
673 // - ResourceNotFoundException
674 // The resource was not found.
675 //
676 // - AccessDeniedException
677 // You do not have permission to perform this operation.
678 //
679 // - ValidationException
680 // The request failed validation.
681 //
682 // - InternalServerException
683 // Information about an internal error.
684 //
685 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/DeleteNetwork
686 func (c *PrivateNetworks) DeleteNetwork(input *DeleteNetworkInput) (*DeleteNetworkOutput, error) {
687 req, out := c.DeleteNetworkRequest(input)
688 return out, req.Send()
689 }
690
691 // DeleteNetworkWithContext is the same as DeleteNetwork with the addition of
692 // the ability to pass a context and additional request options.
693 //
694 // See DeleteNetwork for details on how to use this API operation.
695 //
696 // The context must be non-nil and will be used for request cancellation. If
697 // the context is nil a panic will occur. In the future the SDK may create
698 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
699 // for more information on using Contexts.
700 func (c *PrivateNetworks) DeleteNetworkWithContext(ctx aws.Context, input *DeleteNetworkInput, opts ...request.Option) (*DeleteNetworkOutput, error) {
701 req, out := c.DeleteNetworkRequest(input)
702 req.SetContext(ctx)
703 req.ApplyOptions(opts...)
704 return out, req.Send()
705 }
706
707 const opDeleteNetworkSite = "DeleteNetworkSite"
708
709 // DeleteNetworkSiteRequest generates a "aws/request.Request" representing the
710 // client's request for the DeleteNetworkSite operation. The "output" return
711 // value will be populated with the request's response once the request completes
712 // successfully.
713 //
714 // Use "Send" method on the returned Request to send the API call to the service.
715 // the "output" return value is not valid until after Send returns without error.
716 //
717 // See DeleteNetworkSite for more information on using the DeleteNetworkSite
718 // API call, and error handling.
719 //
720 // This method is useful when you want to inject custom logic or configuration
721 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
722 //
723 // // Example sending a request using the DeleteNetworkSiteRequest method.
724 // req, resp := client.DeleteNetworkSiteRequest(params)
725 //
726 // err := req.Send()
727 // if err == nil { // resp is now filled
728 // fmt.Println(resp)
729 // }
730 //
731 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/DeleteNetworkSite
732 func (c *PrivateNetworks) DeleteNetworkSiteRequest(input *DeleteNetworkSiteInput) (req *request.Request, output *DeleteNetworkSiteOutput) {
733 op := &request.Operation{
734 Name: opDeleteNetworkSite,
735 HTTPMethod: "DELETE",
736 HTTPPath: "/v1/network-sites/{networkSiteArn}",
737 }
738
739 if input == nil {
740 input = &DeleteNetworkSiteInput{}
741 }
742
743 output = &DeleteNetworkSiteOutput{}
744 req = c.newRequest(op, input, output)
745 return
746 }
747
748 // DeleteNetworkSite API operation for AWS Private 5G.
749 //
750 // Deletes the specified network site. Return the hardware after you delete
751 // the network site. You are responsible for minimum charges. For more information,
752 // see Hardware returns (https://docs.aws.amazon.com/private-networks/latest/userguide/hardware-maintenance.html)
753 // in the Amazon Web Services Private 5G User Guide.
754 //
755 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
756 // with awserr.Error's Code and Message methods to get detailed information about
757 // the error.
758 //
759 // See the AWS API reference guide for AWS Private 5G's
760 // API operation DeleteNetworkSite for usage and error information.
761 //
762 // Returned Error Types:
763 //
764 // - ResourceNotFoundException
765 // The resource was not found.
766 //
767 // - AccessDeniedException
768 // You do not have permission to perform this operation.
769 //
770 // - ValidationException
771 // The request failed validation.
772 //
773 // - InternalServerException
774 // Information about an internal error.
775 //
776 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/DeleteNetworkSite
777 func (c *PrivateNetworks) DeleteNetworkSite(input *DeleteNetworkSiteInput) (*DeleteNetworkSiteOutput, error) {
778 req, out := c.DeleteNetworkSiteRequest(input)
779 return out, req.Send()
780 }
781
782 // DeleteNetworkSiteWithContext is the same as DeleteNetworkSite with the addition of
783 // the ability to pass a context and additional request options.
784 //
785 // See DeleteNetworkSite for details on how to use this API operation.
786 //
787 // The context must be non-nil and will be used for request cancellation. If
788 // the context is nil a panic will occur. In the future the SDK may create
789 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
790 // for more information on using Contexts.
791 func (c *PrivateNetworks) DeleteNetworkSiteWithContext(ctx aws.Context, input *DeleteNetworkSiteInput, opts ...request.Option) (*DeleteNetworkSiteOutput, error) {
792 req, out := c.DeleteNetworkSiteRequest(input)
793 req.SetContext(ctx)
794 req.ApplyOptions(opts...)
795 return out, req.Send()
796 }
797
798 const opGetDeviceIdentifier = "GetDeviceIdentifier"
799
800 // GetDeviceIdentifierRequest generates a "aws/request.Request" representing the
801 // client's request for the GetDeviceIdentifier operation. The "output" return
802 // value will be populated with the request's response once the request completes
803 // successfully.
804 //
805 // Use "Send" method on the returned Request to send the API call to the service.
806 // the "output" return value is not valid until after Send returns without error.
807 //
808 // See GetDeviceIdentifier for more information on using the GetDeviceIdentifier
809 // API call, and error handling.
810 //
811 // This method is useful when you want to inject custom logic or configuration
812 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
813 //
814 // // Example sending a request using the GetDeviceIdentifierRequest method.
815 // req, resp := client.GetDeviceIdentifierRequest(params)
816 //
817 // err := req.Send()
818 // if err == nil { // resp is now filled
819 // fmt.Println(resp)
820 // }
821 //
822 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetDeviceIdentifier
823 func (c *PrivateNetworks) GetDeviceIdentifierRequest(input *GetDeviceIdentifierInput) (req *request.Request, output *GetDeviceIdentifierOutput) {
824 op := &request.Operation{
825 Name: opGetDeviceIdentifier,
826 HTTPMethod: "GET",
827 HTTPPath: "/v1/device-identifiers/{deviceIdentifierArn}",
828 }
829
830 if input == nil {
831 input = &GetDeviceIdentifierInput{}
832 }
833
834 output = &GetDeviceIdentifierOutput{}
835 req = c.newRequest(op, input, output)
836 return
837 }
838
839 // GetDeviceIdentifier API operation for AWS Private 5G.
840 //
841 // Gets the specified device identifier.
842 //
843 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
844 // with awserr.Error's Code and Message methods to get detailed information about
845 // the error.
846 //
847 // See the AWS API reference guide for AWS Private 5G's
848 // API operation GetDeviceIdentifier for usage and error information.
849 //
850 // Returned Error Types:
851 //
852 // - ResourceNotFoundException
853 // The resource was not found.
854 //
855 // - ValidationException
856 // The request failed validation.
857 //
858 // - InternalServerException
859 // Information about an internal error.
860 //
861 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetDeviceIdentifier
862 func (c *PrivateNetworks) GetDeviceIdentifier(input *GetDeviceIdentifierInput) (*GetDeviceIdentifierOutput, error) {
863 req, out := c.GetDeviceIdentifierRequest(input)
864 return out, req.Send()
865 }
866
867 // GetDeviceIdentifierWithContext is the same as GetDeviceIdentifier with the addition of
868 // the ability to pass a context and additional request options.
869 //
870 // See GetDeviceIdentifier for details on how to use this API operation.
871 //
872 // The context must be non-nil and will be used for request cancellation. If
873 // the context is nil a panic will occur. In the future the SDK may create
874 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
875 // for more information on using Contexts.
876 func (c *PrivateNetworks) GetDeviceIdentifierWithContext(ctx aws.Context, input *GetDeviceIdentifierInput, opts ...request.Option) (*GetDeviceIdentifierOutput, error) {
877 req, out := c.GetDeviceIdentifierRequest(input)
878 req.SetContext(ctx)
879 req.ApplyOptions(opts...)
880 return out, req.Send()
881 }
882
883 const opGetNetwork = "GetNetwork"
884
885 // GetNetworkRequest generates a "aws/request.Request" representing the
886 // client's request for the GetNetwork operation. The "output" return
887 // value will be populated with the request's response once the request completes
888 // successfully.
889 //
890 // Use "Send" method on the returned Request to send the API call to the service.
891 // the "output" return value is not valid until after Send returns without error.
892 //
893 // See GetNetwork for more information on using the GetNetwork
894 // API call, and error handling.
895 //
896 // This method is useful when you want to inject custom logic or configuration
897 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
898 //
899 // // Example sending a request using the GetNetworkRequest method.
900 // req, resp := client.GetNetworkRequest(params)
901 //
902 // err := req.Send()
903 // if err == nil { // resp is now filled
904 // fmt.Println(resp)
905 // }
906 //
907 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetNetwork
908 func (c *PrivateNetworks) GetNetworkRequest(input *GetNetworkInput) (req *request.Request, output *GetNetworkOutput) {
909 op := &request.Operation{
910 Name: opGetNetwork,
911 HTTPMethod: "GET",
912 HTTPPath: "/v1/networks/{networkArn}",
913 }
914
915 if input == nil {
916 input = &GetNetworkInput{}
917 }
918
919 output = &GetNetworkOutput{}
920 req = c.newRequest(op, input, output)
921 return
922 }
923
924 // GetNetwork API operation for AWS Private 5G.
925 //
926 // Gets the specified network.
927 //
928 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
929 // with awserr.Error's Code and Message methods to get detailed information about
930 // the error.
931 //
932 // See the AWS API reference guide for AWS Private 5G's
933 // API operation GetNetwork for usage and error information.
934 //
935 // Returned Error Types:
936 //
937 // - ResourceNotFoundException
938 // The resource was not found.
939 //
940 // - ValidationException
941 // The request failed validation.
942 //
943 // - InternalServerException
944 // Information about an internal error.
945 //
946 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetNetwork
947 func (c *PrivateNetworks) GetNetwork(input *GetNetworkInput) (*GetNetworkOutput, error) {
948 req, out := c.GetNetworkRequest(input)
949 return out, req.Send()
950 }
951
952 // GetNetworkWithContext is the same as GetNetwork with the addition of
953 // the ability to pass a context and additional request options.
954 //
955 // See GetNetwork for details on how to use this API operation.
956 //
957 // The context must be non-nil and will be used for request cancellation. If
958 // the context is nil a panic will occur. In the future the SDK may create
959 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
960 // for more information on using Contexts.
961 func (c *PrivateNetworks) GetNetworkWithContext(ctx aws.Context, input *GetNetworkInput, opts ...request.Option) (*GetNetworkOutput, error) {
962 req, out := c.GetNetworkRequest(input)
963 req.SetContext(ctx)
964 req.ApplyOptions(opts...)
965 return out, req.Send()
966 }
967
968 const opGetNetworkResource = "GetNetworkResource"
969
970 // GetNetworkResourceRequest generates a "aws/request.Request" representing the
971 // client's request for the GetNetworkResource operation. The "output" return
972 // value will be populated with the request's response once the request completes
973 // successfully.
974 //
975 // Use "Send" method on the returned Request to send the API call to the service.
976 // the "output" return value is not valid until after Send returns without error.
977 //
978 // See GetNetworkResource for more information on using the GetNetworkResource
979 // API call, and error handling.
980 //
981 // This method is useful when you want to inject custom logic or configuration
982 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
983 //
984 // // Example sending a request using the GetNetworkResourceRequest method.
985 // req, resp := client.GetNetworkResourceRequest(params)
986 //
987 // err := req.Send()
988 // if err == nil { // resp is now filled
989 // fmt.Println(resp)
990 // }
991 //
992 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetNetworkResource
993 func (c *PrivateNetworks) GetNetworkResourceRequest(input *GetNetworkResourceInput) (req *request.Request, output *GetNetworkResourceOutput) {
994 op := &request.Operation{
995 Name: opGetNetworkResource,
996 HTTPMethod: "GET",
997 HTTPPath: "/v1/network-resources/{networkResourceArn}",
998 }
999
1000 if input == nil {
1001 input = &GetNetworkResourceInput{}
1002 }
1003
1004 output = &GetNetworkResourceOutput{}
1005 req = c.newRequest(op, input, output)
1006 return
1007 }
1008
1009 // GetNetworkResource API operation for AWS Private 5G.
1010 //
1011 // Gets the specified network resource.
1012 //
1013 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1014 // with awserr.Error's Code and Message methods to get detailed information about
1015 // the error.
1016 //
1017 // See the AWS API reference guide for AWS Private 5G's
1018 // API operation GetNetworkResource for usage and error information.
1019 //
1020 // Returned Error Types:
1021 //
1022 // - ResourceNotFoundException
1023 // The resource was not found.
1024 //
1025 // - ValidationException
1026 // The request failed validation.
1027 //
1028 // - InternalServerException
1029 // Information about an internal error.
1030 //
1031 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetNetworkResource
1032 func (c *PrivateNetworks) GetNetworkResource(input *GetNetworkResourceInput) (*GetNetworkResourceOutput, error) {
1033 req, out := c.GetNetworkResourceRequest(input)
1034 return out, req.Send()
1035 }
1036
1037 // GetNetworkResourceWithContext is the same as GetNetworkResource with the addition of
1038 // the ability to pass a context and additional request options.
1039 //
1040 // See GetNetworkResource for details on how to use this API operation.
1041 //
1042 // The context must be non-nil and will be used for request cancellation. If
1043 // the context is nil a panic will occur. In the future the SDK may create
1044 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1045 // for more information on using Contexts.
1046 func (c *PrivateNetworks) GetNetworkResourceWithContext(ctx aws.Context, input *GetNetworkResourceInput, opts ...request.Option) (*GetNetworkResourceOutput, error) {
1047 req, out := c.GetNetworkResourceRequest(input)
1048 req.SetContext(ctx)
1049 req.ApplyOptions(opts...)
1050 return out, req.Send()
1051 }
1052
1053 const opGetNetworkSite = "GetNetworkSite"
1054
1055 // GetNetworkSiteRequest generates a "aws/request.Request" representing the
1056 // client's request for the GetNetworkSite operation. The "output" return
1057 // value will be populated with the request's response once the request completes
1058 // successfully.
1059 //
1060 // Use "Send" method on the returned Request to send the API call to the service.
1061 // the "output" return value is not valid until after Send returns without error.
1062 //
1063 // See GetNetworkSite for more information on using the GetNetworkSite
1064 // API call, and error handling.
1065 //
1066 // This method is useful when you want to inject custom logic or configuration
1067 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
1068 //
1069 // // Example sending a request using the GetNetworkSiteRequest method.
1070 // req, resp := client.GetNetworkSiteRequest(params)
1071 //
1072 // err := req.Send()
1073 // if err == nil { // resp is now filled
1074 // fmt.Println(resp)
1075 // }
1076 //
1077 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetNetworkSite
1078 func (c *PrivateNetworks) GetNetworkSiteRequest(input *GetNetworkSiteInput) (req *request.Request, output *GetNetworkSiteOutput) {
1079 op := &request.Operation{
1080 Name: opGetNetworkSite,
1081 HTTPMethod: "GET",
1082 HTTPPath: "/v1/network-sites/{networkSiteArn}",
1083 }
1084
1085 if input == nil {
1086 input = &GetNetworkSiteInput{}
1087 }
1088
1089 output = &GetNetworkSiteOutput{}
1090 req = c.newRequest(op, input, output)
1091 return
1092 }
1093
1094 // GetNetworkSite API operation for AWS Private 5G.
1095 //
1096 // Gets the specified network site.
1097 //
1098 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1099 // with awserr.Error's Code and Message methods to get detailed information about
1100 // the error.
1101 //
1102 // See the AWS API reference guide for AWS Private 5G's
1103 // API operation GetNetworkSite for usage and error information.
1104 //
1105 // Returned Error Types:
1106 //
1107 // - ResourceNotFoundException
1108 // The resource was not found.
1109 //
1110 // - ValidationException
1111 // The request failed validation.
1112 //
1113 // - InternalServerException
1114 // Information about an internal error.
1115 //
1116 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetNetworkSite
1117 func (c *PrivateNetworks) GetNetworkSite(input *GetNetworkSiteInput) (*GetNetworkSiteOutput, error) {
1118 req, out := c.GetNetworkSiteRequest(input)
1119 return out, req.Send()
1120 }
1121
1122 // GetNetworkSiteWithContext is the same as GetNetworkSite with the addition of
1123 // the ability to pass a context and additional request options.
1124 //
1125 // See GetNetworkSite for details on how to use this API operation.
1126 //
1127 // The context must be non-nil and will be used for request cancellation. If
1128 // the context is nil a panic will occur. In the future the SDK may create
1129 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1130 // for more information on using Contexts.
1131 func (c *PrivateNetworks) GetNetworkSiteWithContext(ctx aws.Context, input *GetNetworkSiteInput, opts ...request.Option) (*GetNetworkSiteOutput, error) {
1132 req, out := c.GetNetworkSiteRequest(input)
1133 req.SetContext(ctx)
1134 req.ApplyOptions(opts...)
1135 return out, req.Send()
1136 }
1137
1138 const opGetOrder = "GetOrder"
1139
1140 // GetOrderRequest generates a "aws/request.Request" representing the
1141 // client's request for the GetOrder operation. The "output" return
1142 // value will be populated with the request's response once the request completes
1143 // successfully.
1144 //
1145 // Use "Send" method on the returned Request to send the API call to the service.
1146 // the "output" return value is not valid until after Send returns without error.
1147 //
1148 // See GetOrder for more information on using the GetOrder
1149 // API call, and error handling.
1150 //
1151 // This method is useful when you want to inject custom logic or configuration
1152 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
1153 //
1154 // // Example sending a request using the GetOrderRequest method.
1155 // req, resp := client.GetOrderRequest(params)
1156 //
1157 // err := req.Send()
1158 // if err == nil { // resp is now filled
1159 // fmt.Println(resp)
1160 // }
1161 //
1162 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetOrder
1163 func (c *PrivateNetworks) GetOrderRequest(input *GetOrderInput) (req *request.Request, output *GetOrderOutput) {
1164 op := &request.Operation{
1165 Name: opGetOrder,
1166 HTTPMethod: "GET",
1167 HTTPPath: "/v1/orders/{orderArn}",
1168 }
1169
1170 if input == nil {
1171 input = &GetOrderInput{}
1172 }
1173
1174 output = &GetOrderOutput{}
1175 req = c.newRequest(op, input, output)
1176 return
1177 }
1178
1179 // GetOrder API operation for AWS Private 5G.
1180 //
1181 // Gets the specified order.
1182 //
1183 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1184 // with awserr.Error's Code and Message methods to get detailed information about
1185 // the error.
1186 //
1187 // See the AWS API reference guide for AWS Private 5G's
1188 // API operation GetOrder for usage and error information.
1189 //
1190 // Returned Error Types:
1191 //
1192 // - ResourceNotFoundException
1193 // The resource was not found.
1194 //
1195 // - ValidationException
1196 // The request failed validation.
1197 //
1198 // - InternalServerException
1199 // Information about an internal error.
1200 //
1201 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/GetOrder
1202 func (c *PrivateNetworks) GetOrder(input *GetOrderInput) (*GetOrderOutput, error) {
1203 req, out := c.GetOrderRequest(input)
1204 return out, req.Send()
1205 }
1206
1207 // GetOrderWithContext is the same as GetOrder with the addition of
1208 // the ability to pass a context and additional request options.
1209 //
1210 // See GetOrder for details on how to use this API operation.
1211 //
1212 // The context must be non-nil and will be used for request cancellation. If
1213 // the context is nil a panic will occur. In the future the SDK may create
1214 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1215 // for more information on using Contexts.
1216 func (c *PrivateNetworks) GetOrderWithContext(ctx aws.Context, input *GetOrderInput, opts ...request.Option) (*GetOrderOutput, error) {
1217 req, out := c.GetOrderRequest(input)
1218 req.SetContext(ctx)
1219 req.ApplyOptions(opts...)
1220 return out, req.Send()
1221 }
1222
1223 const opListDeviceIdentifiers = "ListDeviceIdentifiers"
1224
1225 // ListDeviceIdentifiersRequest generates a "aws/request.Request" representing the
1226 // client's request for the ListDeviceIdentifiers operation. The "output" return
1227 // value will be populated with the request's response once the request completes
1228 // successfully.
1229 //
1230 // Use "Send" method on the returned Request to send the API call to the service.
1231 // the "output" return value is not valid until after Send returns without error.
1232 //
1233 // See ListDeviceIdentifiers for more information on using the ListDeviceIdentifiers
1234 // API call, and error handling.
1235 //
1236 // This method is useful when you want to inject custom logic or configuration
1237 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
1238 //
1239 // // Example sending a request using the ListDeviceIdentifiersRequest method.
1240 // req, resp := client.ListDeviceIdentifiersRequest(params)
1241 //
1242 // err := req.Send()
1243 // if err == nil { // resp is now filled
1244 // fmt.Println(resp)
1245 // }
1246 //
1247 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListDeviceIdentifiers
1248 func (c *PrivateNetworks) ListDeviceIdentifiersRequest(input *ListDeviceIdentifiersInput) (req *request.Request, output *ListDeviceIdentifiersOutput) {
1249 op := &request.Operation{
1250 Name: opListDeviceIdentifiers,
1251 HTTPMethod: "POST",
1252 HTTPPath: "/v1/device-identifiers/list",
1253 Paginator: &request.Paginator{
1254 InputTokens: []string{"startToken"},
1255 OutputTokens: []string{"nextToken"},
1256 LimitToken: "maxResults",
1257 TruncationToken: "",
1258 },
1259 }
1260
1261 if input == nil {
1262 input = &ListDeviceIdentifiersInput{}
1263 }
1264
1265 output = &ListDeviceIdentifiersOutput{}
1266 req = c.newRequest(op, input, output)
1267 return
1268 }
1269
1270 // ListDeviceIdentifiers API operation for AWS Private 5G.
1271 //
1272 // Lists device identifiers. Add filters to your request to return a more specific
1273 // list of results. Use filters to match the Amazon Resource Name (ARN) of an
1274 // order, the status of device identifiers, or the ARN of the traffic group.
1275 //
1276 // If you specify multiple filters, filters are joined with an OR, and the request
1277 // returns results that match all of the specified filters.
1278 //
1279 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1280 // with awserr.Error's Code and Message methods to get detailed information about
1281 // the error.
1282 //
1283 // See the AWS API reference guide for AWS Private 5G's
1284 // API operation ListDeviceIdentifiers for usage and error information.
1285 //
1286 // Returned Error Types:
1287 //
1288 // - ResourceNotFoundException
1289 // The resource was not found.
1290 //
1291 // - ValidationException
1292 // The request failed validation.
1293 //
1294 // - InternalServerException
1295 // Information about an internal error.
1296 //
1297 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListDeviceIdentifiers
1298 func (c *PrivateNetworks) ListDeviceIdentifiers(input *ListDeviceIdentifiersInput) (*ListDeviceIdentifiersOutput, error) {
1299 req, out := c.ListDeviceIdentifiersRequest(input)
1300 return out, req.Send()
1301 }
1302
1303 // ListDeviceIdentifiersWithContext is the same as ListDeviceIdentifiers with the addition of
1304 // the ability to pass a context and additional request options.
1305 //
1306 // See ListDeviceIdentifiers for details on how to use this API operation.
1307 //
1308 // The context must be non-nil and will be used for request cancellation. If
1309 // the context is nil a panic will occur. In the future the SDK may create
1310 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1311 // for more information on using Contexts.
1312 func (c *PrivateNetworks) ListDeviceIdentifiersWithContext(ctx aws.Context, input *ListDeviceIdentifiersInput, opts ...request.Option) (*ListDeviceIdentifiersOutput, error) {
1313 req, out := c.ListDeviceIdentifiersRequest(input)
1314 req.SetContext(ctx)
1315 req.ApplyOptions(opts...)
1316 return out, req.Send()
1317 }
1318
1319 // ListDeviceIdentifiersPages iterates over the pages of a ListDeviceIdentifiers operation,
1320 // calling the "fn" function with the response data for each page. To stop
1321 // iterating, return false from the fn function.
1322 //
1323 // See ListDeviceIdentifiers method for more information on how to use this operation.
1324 //
1325 // Note: This operation can generate multiple requests to a service.
1326 //
1327 // // Example iterating over at most 3 pages of a ListDeviceIdentifiers operation.
1328 // pageNum := 0
1329 // err := client.ListDeviceIdentifiersPages(params,
1330 // func(page *privatenetworks.ListDeviceIdentifiersOutput, lastPage bool) bool {
1331 // pageNum++
1332 // fmt.Println(page)
1333 // return pageNum <= 3
1334 // })
1335 func (c *PrivateNetworks) ListDeviceIdentifiersPages(input *ListDeviceIdentifiersInput, fn func(*ListDeviceIdentifiersOutput, bool) bool) error {
1336 return c.ListDeviceIdentifiersPagesWithContext(aws.BackgroundContext(), input, fn)
1337 }
1338
1339 // ListDeviceIdentifiersPagesWithContext same as ListDeviceIdentifiersPages except
1340 // it takes a Context and allows setting request options on the pages.
1341 //
1342 // The context must be non-nil and will be used for request cancellation. If
1343 // the context is nil a panic will occur. In the future the SDK may create
1344 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1345 // for more information on using Contexts.
1346 func (c *PrivateNetworks) ListDeviceIdentifiersPagesWithContext(ctx aws.Context, input *ListDeviceIdentifiersInput, fn func(*ListDeviceIdentifiersOutput, bool) bool, opts ...request.Option) error {
1347 p := request.Pagination{
1348 NewRequest: func() (*request.Request, error) {
1349 var inCpy *ListDeviceIdentifiersInput
1350 if input != nil {
1351 tmp := *input
1352 inCpy = &tmp
1353 }
1354 req, _ := c.ListDeviceIdentifiersRequest(inCpy)
1355 req.SetContext(ctx)
1356 req.ApplyOptions(opts...)
1357 return req, nil
1358 },
1359 }
1360
1361 for p.Next() {
1362 if !fn(p.Page().(*ListDeviceIdentifiersOutput), !p.HasNextPage()) {
1363 break
1364 }
1365 }
1366
1367 return p.Err()
1368 }
1369
1370 const opListNetworkResources = "ListNetworkResources"
1371
1372 // ListNetworkResourcesRequest generates a "aws/request.Request" representing the
1373 // client's request for the ListNetworkResources operation. The "output" return
1374 // value will be populated with the request's response once the request completes
1375 // successfully.
1376 //
1377 // Use "Send" method on the returned Request to send the API call to the service.
1378 // the "output" return value is not valid until after Send returns without error.
1379 //
1380 // See ListNetworkResources for more information on using the ListNetworkResources
1381 // API call, and error handling.
1382 //
1383 // This method is useful when you want to inject custom logic or configuration
1384 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
1385 //
1386 // // Example sending a request using the ListNetworkResourcesRequest method.
1387 // req, resp := client.ListNetworkResourcesRequest(params)
1388 //
1389 // err := req.Send()
1390 // if err == nil { // resp is now filled
1391 // fmt.Println(resp)
1392 // }
1393 //
1394 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListNetworkResources
1395 func (c *PrivateNetworks) ListNetworkResourcesRequest(input *ListNetworkResourcesInput) (req *request.Request, output *ListNetworkResourcesOutput) {
1396 op := &request.Operation{
1397 Name: opListNetworkResources,
1398 HTTPMethod: "POST",
1399 HTTPPath: "/v1/network-resources",
1400 Paginator: &request.Paginator{
1401 InputTokens: []string{"startToken"},
1402 OutputTokens: []string{"nextToken"},
1403 LimitToken: "maxResults",
1404 TruncationToken: "",
1405 },
1406 }
1407
1408 if input == nil {
1409 input = &ListNetworkResourcesInput{}
1410 }
1411
1412 output = &ListNetworkResourcesOutput{}
1413 req = c.newRequest(op, input, output)
1414 return
1415 }
1416
1417 // ListNetworkResources API operation for AWS Private 5G.
1418 //
1419 // Lists network resources. Add filters to your request to return a more specific
1420 // list of results. Use filters to match the Amazon Resource Name (ARN) of an
1421 // order or the status of network resources.
1422 //
1423 // If you specify multiple filters, filters are joined with an OR, and the request
1424 // returns results that match all of the specified filters.
1425 //
1426 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1427 // with awserr.Error's Code and Message methods to get detailed information about
1428 // the error.
1429 //
1430 // See the AWS API reference guide for AWS Private 5G's
1431 // API operation ListNetworkResources for usage and error information.
1432 //
1433 // Returned Error Types:
1434 //
1435 // - ResourceNotFoundException
1436 // The resource was not found.
1437 //
1438 // - ValidationException
1439 // The request failed validation.
1440 //
1441 // - InternalServerException
1442 // Information about an internal error.
1443 //
1444 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListNetworkResources
1445 func (c *PrivateNetworks) ListNetworkResources(input *ListNetworkResourcesInput) (*ListNetworkResourcesOutput, error) {
1446 req, out := c.ListNetworkResourcesRequest(input)
1447 return out, req.Send()
1448 }
1449
1450 // ListNetworkResourcesWithContext is the same as ListNetworkResources with the addition of
1451 // the ability to pass a context and additional request options.
1452 //
1453 // See ListNetworkResources for details on how to use this API operation.
1454 //
1455 // The context must be non-nil and will be used for request cancellation. If
1456 // the context is nil a panic will occur. In the future the SDK may create
1457 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1458 // for more information on using Contexts.
1459 func (c *PrivateNetworks) ListNetworkResourcesWithContext(ctx aws.Context, input *ListNetworkResourcesInput, opts ...request.Option) (*ListNetworkResourcesOutput, error) {
1460 req, out := c.ListNetworkResourcesRequest(input)
1461 req.SetContext(ctx)
1462 req.ApplyOptions(opts...)
1463 return out, req.Send()
1464 }
1465
1466 // ListNetworkResourcesPages iterates over the pages of a ListNetworkResources operation,
1467 // calling the "fn" function with the response data for each page. To stop
1468 // iterating, return false from the fn function.
1469 //
1470 // See ListNetworkResources method for more information on how to use this operation.
1471 //
1472 // Note: This operation can generate multiple requests to a service.
1473 //
1474 // // Example iterating over at most 3 pages of a ListNetworkResources operation.
1475 // pageNum := 0
1476 // err := client.ListNetworkResourcesPages(params,
1477 // func(page *privatenetworks.ListNetworkResourcesOutput, lastPage bool) bool {
1478 // pageNum++
1479 // fmt.Println(page)
1480 // return pageNum <= 3
1481 // })
1482 func (c *PrivateNetworks) ListNetworkResourcesPages(input *ListNetworkResourcesInput, fn func(*ListNetworkResourcesOutput, bool) bool) error {
1483 return c.ListNetworkResourcesPagesWithContext(aws.BackgroundContext(), input, fn)
1484 }
1485
1486 // ListNetworkResourcesPagesWithContext same as ListNetworkResourcesPages except
1487 // it takes a Context and allows setting request options on the pages.
1488 //
1489 // The context must be non-nil and will be used for request cancellation. If
1490 // the context is nil a panic will occur. In the future the SDK may create
1491 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1492 // for more information on using Contexts.
1493 func (c *PrivateNetworks) ListNetworkResourcesPagesWithContext(ctx aws.Context, input *ListNetworkResourcesInput, fn func(*ListNetworkResourcesOutput, bool) bool, opts ...request.Option) error {
1494 p := request.Pagination{
1495 NewRequest: func() (*request.Request, error) {
1496 var inCpy *ListNetworkResourcesInput
1497 if input != nil {
1498 tmp := *input
1499 inCpy = &tmp
1500 }
1501 req, _ := c.ListNetworkResourcesRequest(inCpy)
1502 req.SetContext(ctx)
1503 req.ApplyOptions(opts...)
1504 return req, nil
1505 },
1506 }
1507
1508 for p.Next() {
1509 if !fn(p.Page().(*ListNetworkResourcesOutput), !p.HasNextPage()) {
1510 break
1511 }
1512 }
1513
1514 return p.Err()
1515 }
1516
1517 const opListNetworkSites = "ListNetworkSites"
1518
1519 // ListNetworkSitesRequest generates a "aws/request.Request" representing the
1520 // client's request for the ListNetworkSites operation. The "output" return
1521 // value will be populated with the request's response once the request completes
1522 // successfully.
1523 //
1524 // Use "Send" method on the returned Request to send the API call to the service.
1525 // the "output" return value is not valid until after Send returns without error.
1526 //
1527 // See ListNetworkSites for more information on using the ListNetworkSites
1528 // API call, and error handling.
1529 //
1530 // This method is useful when you want to inject custom logic or configuration
1531 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
1532 //
1533 // // Example sending a request using the ListNetworkSitesRequest method.
1534 // req, resp := client.ListNetworkSitesRequest(params)
1535 //
1536 // err := req.Send()
1537 // if err == nil { // resp is now filled
1538 // fmt.Println(resp)
1539 // }
1540 //
1541 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListNetworkSites
1542 func (c *PrivateNetworks) ListNetworkSitesRequest(input *ListNetworkSitesInput) (req *request.Request, output *ListNetworkSitesOutput) {
1543 op := &request.Operation{
1544 Name: opListNetworkSites,
1545 HTTPMethod: "POST",
1546 HTTPPath: "/v1/network-sites/list",
1547 Paginator: &request.Paginator{
1548 InputTokens: []string{"startToken"},
1549 OutputTokens: []string{"nextToken"},
1550 LimitToken: "maxResults",
1551 TruncationToken: "",
1552 },
1553 }
1554
1555 if input == nil {
1556 input = &ListNetworkSitesInput{}
1557 }
1558
1559 output = &ListNetworkSitesOutput{}
1560 req = c.newRequest(op, input, output)
1561 return
1562 }
1563
1564 // ListNetworkSites API operation for AWS Private 5G.
1565 //
1566 // Lists network sites. Add filters to your request to return a more specific
1567 // list of results. Use filters to match the status of the network site.
1568 //
1569 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1570 // with awserr.Error's Code and Message methods to get detailed information about
1571 // the error.
1572 //
1573 // See the AWS API reference guide for AWS Private 5G's
1574 // API operation ListNetworkSites for usage and error information.
1575 //
1576 // Returned Error Types:
1577 //
1578 // - ResourceNotFoundException
1579 // The resource was not found.
1580 //
1581 // - ValidationException
1582 // The request failed validation.
1583 //
1584 // - InternalServerException
1585 // Information about an internal error.
1586 //
1587 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListNetworkSites
1588 func (c *PrivateNetworks) ListNetworkSites(input *ListNetworkSitesInput) (*ListNetworkSitesOutput, error) {
1589 req, out := c.ListNetworkSitesRequest(input)
1590 return out, req.Send()
1591 }
1592
1593 // ListNetworkSitesWithContext is the same as ListNetworkSites with the addition of
1594 // the ability to pass a context and additional request options.
1595 //
1596 // See ListNetworkSites for details on how to use this API operation.
1597 //
1598 // The context must be non-nil and will be used for request cancellation. If
1599 // the context is nil a panic will occur. In the future the SDK may create
1600 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1601 // for more information on using Contexts.
1602 func (c *PrivateNetworks) ListNetworkSitesWithContext(ctx aws.Context, input *ListNetworkSitesInput, opts ...request.Option) (*ListNetworkSitesOutput, error) {
1603 req, out := c.ListNetworkSitesRequest(input)
1604 req.SetContext(ctx)
1605 req.ApplyOptions(opts...)
1606 return out, req.Send()
1607 }
1608
1609 // ListNetworkSitesPages iterates over the pages of a ListNetworkSites operation,
1610 // calling the "fn" function with the response data for each page. To stop
1611 // iterating, return false from the fn function.
1612 //
1613 // See ListNetworkSites method for more information on how to use this operation.
1614 //
1615 // Note: This operation can generate multiple requests to a service.
1616 //
1617 // // Example iterating over at most 3 pages of a ListNetworkSites operation.
1618 // pageNum := 0
1619 // err := client.ListNetworkSitesPages(params,
1620 // func(page *privatenetworks.ListNetworkSitesOutput, lastPage bool) bool {
1621 // pageNum++
1622 // fmt.Println(page)
1623 // return pageNum <= 3
1624 // })
1625 func (c *PrivateNetworks) ListNetworkSitesPages(input *ListNetworkSitesInput, fn func(*ListNetworkSitesOutput, bool) bool) error {
1626 return c.ListNetworkSitesPagesWithContext(aws.BackgroundContext(), input, fn)
1627 }
1628
1629 // ListNetworkSitesPagesWithContext same as ListNetworkSitesPages except
1630 // it takes a Context and allows setting request options on the pages.
1631 //
1632 // The context must be non-nil and will be used for request cancellation. If
1633 // the context is nil a panic will occur. In the future the SDK may create
1634 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1635 // for more information on using Contexts.
1636 func (c *PrivateNetworks) ListNetworkSitesPagesWithContext(ctx aws.Context, input *ListNetworkSitesInput, fn func(*ListNetworkSitesOutput, bool) bool, opts ...request.Option) error {
1637 p := request.Pagination{
1638 NewRequest: func() (*request.Request, error) {
1639 var inCpy *ListNetworkSitesInput
1640 if input != nil {
1641 tmp := *input
1642 inCpy = &tmp
1643 }
1644 req, _ := c.ListNetworkSitesRequest(inCpy)
1645 req.SetContext(ctx)
1646 req.ApplyOptions(opts...)
1647 return req, nil
1648 },
1649 }
1650
1651 for p.Next() {
1652 if !fn(p.Page().(*ListNetworkSitesOutput), !p.HasNextPage()) {
1653 break
1654 }
1655 }
1656
1657 return p.Err()
1658 }
1659
1660 const opListNetworks = "ListNetworks"
1661
1662 // ListNetworksRequest generates a "aws/request.Request" representing the
1663 // client's request for the ListNetworks operation. The "output" return
1664 // value will be populated with the request's response once the request completes
1665 // successfully.
1666 //
1667 // Use "Send" method on the returned Request to send the API call to the service.
1668 // the "output" return value is not valid until after Send returns without error.
1669 //
1670 // See ListNetworks for more information on using the ListNetworks
1671 // API call, and error handling.
1672 //
1673 // This method is useful when you want to inject custom logic or configuration
1674 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
1675 //
1676 // // Example sending a request using the ListNetworksRequest method.
1677 // req, resp := client.ListNetworksRequest(params)
1678 //
1679 // err := req.Send()
1680 // if err == nil { // resp is now filled
1681 // fmt.Println(resp)
1682 // }
1683 //
1684 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListNetworks
1685 func (c *PrivateNetworks) ListNetworksRequest(input *ListNetworksInput) (req *request.Request, output *ListNetworksOutput) {
1686 op := &request.Operation{
1687 Name: opListNetworks,
1688 HTTPMethod: "POST",
1689 HTTPPath: "/v1/networks/list",
1690 Paginator: &request.Paginator{
1691 InputTokens: []string{"startToken"},
1692 OutputTokens: []string{"nextToken"},
1693 LimitToken: "maxResults",
1694 TruncationToken: "",
1695 },
1696 }
1697
1698 if input == nil {
1699 input = &ListNetworksInput{}
1700 }
1701
1702 output = &ListNetworksOutput{}
1703 req = c.newRequest(op, input, output)
1704 return
1705 }
1706
1707 // ListNetworks API operation for AWS Private 5G.
1708 //
1709 // Lists networks. Add filters to your request to return a more specific list
1710 // of results. Use filters to match the status of the network.
1711 //
1712 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1713 // with awserr.Error's Code and Message methods to get detailed information about
1714 // the error.
1715 //
1716 // See the AWS API reference guide for AWS Private 5G's
1717 // API operation ListNetworks for usage and error information.
1718 //
1719 // Returned Error Types:
1720 //
1721 // - ResourceNotFoundException
1722 // The resource was not found.
1723 //
1724 // - ValidationException
1725 // The request failed validation.
1726 //
1727 // - InternalServerException
1728 // Information about an internal error.
1729 //
1730 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListNetworks
1731 func (c *PrivateNetworks) ListNetworks(input *ListNetworksInput) (*ListNetworksOutput, error) {
1732 req, out := c.ListNetworksRequest(input)
1733 return out, req.Send()
1734 }
1735
1736 // ListNetworksWithContext is the same as ListNetworks with the addition of
1737 // the ability to pass a context and additional request options.
1738 //
1739 // See ListNetworks for details on how to use this API operation.
1740 //
1741 // The context must be non-nil and will be used for request cancellation. If
1742 // the context is nil a panic will occur. In the future the SDK may create
1743 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1744 // for more information on using Contexts.
1745 func (c *PrivateNetworks) ListNetworksWithContext(ctx aws.Context, input *ListNetworksInput, opts ...request.Option) (*ListNetworksOutput, error) {
1746 req, out := c.ListNetworksRequest(input)
1747 req.SetContext(ctx)
1748 req.ApplyOptions(opts...)
1749 return out, req.Send()
1750 }
1751
1752 // ListNetworksPages iterates over the pages of a ListNetworks operation,
1753 // calling the "fn" function with the response data for each page. To stop
1754 // iterating, return false from the fn function.
1755 //
1756 // See ListNetworks method for more information on how to use this operation.
1757 //
1758 // Note: This operation can generate multiple requests to a service.
1759 //
1760 // // Example iterating over at most 3 pages of a ListNetworks operation.
1761 // pageNum := 0
1762 // err := client.ListNetworksPages(params,
1763 // func(page *privatenetworks.ListNetworksOutput, lastPage bool) bool {
1764 // pageNum++
1765 // fmt.Println(page)
1766 // return pageNum <= 3
1767 // })
1768 func (c *PrivateNetworks) ListNetworksPages(input *ListNetworksInput, fn func(*ListNetworksOutput, bool) bool) error {
1769 return c.ListNetworksPagesWithContext(aws.BackgroundContext(), input, fn)
1770 }
1771
1772 // ListNetworksPagesWithContext same as ListNetworksPages except
1773 // it takes a Context and allows setting request options on the pages.
1774 //
1775 // The context must be non-nil and will be used for request cancellation. If
1776 // the context is nil a panic will occur. In the future the SDK may create
1777 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1778 // for more information on using Contexts.
1779 func (c *PrivateNetworks) ListNetworksPagesWithContext(ctx aws.Context, input *ListNetworksInput, fn func(*ListNetworksOutput, bool) bool, opts ...request.Option) error {
1780 p := request.Pagination{
1781 NewRequest: func() (*request.Request, error) {
1782 var inCpy *ListNetworksInput
1783 if input != nil {
1784 tmp := *input
1785 inCpy = &tmp
1786 }
1787 req, _ := c.ListNetworksRequest(inCpy)
1788 req.SetContext(ctx)
1789 req.ApplyOptions(opts...)
1790 return req, nil
1791 },
1792 }
1793
1794 for p.Next() {
1795 if !fn(p.Page().(*ListNetworksOutput), !p.HasNextPage()) {
1796 break
1797 }
1798 }
1799
1800 return p.Err()
1801 }
1802
1803 const opListOrders = "ListOrders"
1804
1805 // ListOrdersRequest generates a "aws/request.Request" representing the
1806 // client's request for the ListOrders operation. The "output" return
1807 // value will be populated with the request's response once the request completes
1808 // successfully.
1809 //
1810 // Use "Send" method on the returned Request to send the API call to the service.
1811 // the "output" return value is not valid until after Send returns without error.
1812 //
1813 // See ListOrders for more information on using the ListOrders
1814 // API call, and error handling.
1815 //
1816 // This method is useful when you want to inject custom logic or configuration
1817 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
1818 //
1819 // // Example sending a request using the ListOrdersRequest method.
1820 // req, resp := client.ListOrdersRequest(params)
1821 //
1822 // err := req.Send()
1823 // if err == nil { // resp is now filled
1824 // fmt.Println(resp)
1825 // }
1826 //
1827 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListOrders
1828 func (c *PrivateNetworks) ListOrdersRequest(input *ListOrdersInput) (req *request.Request, output *ListOrdersOutput) {
1829 op := &request.Operation{
1830 Name: opListOrders,
1831 HTTPMethod: "POST",
1832 HTTPPath: "/v1/orders/list",
1833 Paginator: &request.Paginator{
1834 InputTokens: []string{"startToken"},
1835 OutputTokens: []string{"nextToken"},
1836 LimitToken: "maxResults",
1837 TruncationToken: "",
1838 },
1839 }
1840
1841 if input == nil {
1842 input = &ListOrdersInput{}
1843 }
1844
1845 output = &ListOrdersOutput{}
1846 req = c.newRequest(op, input, output)
1847 return
1848 }
1849
1850 // ListOrders API operation for AWS Private 5G.
1851 //
1852 // Lists orders. Add filters to your request to return a more specific list
1853 // of results. Use filters to match the Amazon Resource Name (ARN) of the network
1854 // site or the status of the order.
1855 //
1856 // If you specify multiple filters, filters are joined with an OR, and the request
1857 // returns results that match all of the specified filters.
1858 //
1859 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1860 // with awserr.Error's Code and Message methods to get detailed information about
1861 // the error.
1862 //
1863 // See the AWS API reference guide for AWS Private 5G's
1864 // API operation ListOrders for usage and error information.
1865 //
1866 // Returned Error Types:
1867 //
1868 // - ResourceNotFoundException
1869 // The resource was not found.
1870 //
1871 // - ValidationException
1872 // The request failed validation.
1873 //
1874 // - InternalServerException
1875 // Information about an internal error.
1876 //
1877 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListOrders
1878 func (c *PrivateNetworks) ListOrders(input *ListOrdersInput) (*ListOrdersOutput, error) {
1879 req, out := c.ListOrdersRequest(input)
1880 return out, req.Send()
1881 }
1882
1883 // ListOrdersWithContext is the same as ListOrders with the addition of
1884 // the ability to pass a context and additional request options.
1885 //
1886 // See ListOrders for details on how to use this API operation.
1887 //
1888 // The context must be non-nil and will be used for request cancellation. If
1889 // the context is nil a panic will occur. In the future the SDK may create
1890 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1891 // for more information on using Contexts.
1892 func (c *PrivateNetworks) ListOrdersWithContext(ctx aws.Context, input *ListOrdersInput, opts ...request.Option) (*ListOrdersOutput, error) {
1893 req, out := c.ListOrdersRequest(input)
1894 req.SetContext(ctx)
1895 req.ApplyOptions(opts...)
1896 return out, req.Send()
1897 }
1898
1899 // ListOrdersPages iterates over the pages of a ListOrders operation,
1900 // calling the "fn" function with the response data for each page. To stop
1901 // iterating, return false from the fn function.
1902 //
1903 // See ListOrders method for more information on how to use this operation.
1904 //
1905 // Note: This operation can generate multiple requests to a service.
1906 //
1907 // // Example iterating over at most 3 pages of a ListOrders operation.
1908 // pageNum := 0
1909 // err := client.ListOrdersPages(params,
1910 // func(page *privatenetworks.ListOrdersOutput, lastPage bool) bool {
1911 // pageNum++
1912 // fmt.Println(page)
1913 // return pageNum <= 3
1914 // })
1915 func (c *PrivateNetworks) ListOrdersPages(input *ListOrdersInput, fn func(*ListOrdersOutput, bool) bool) error {
1916 return c.ListOrdersPagesWithContext(aws.BackgroundContext(), input, fn)
1917 }
1918
1919 // ListOrdersPagesWithContext same as ListOrdersPages except
1920 // it takes a Context and allows setting request options on the pages.
1921 //
1922 // The context must be non-nil and will be used for request cancellation. If
1923 // the context is nil a panic will occur. In the future the SDK may create
1924 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
1925 // for more information on using Contexts.
1926 func (c *PrivateNetworks) ListOrdersPagesWithContext(ctx aws.Context, input *ListOrdersInput, fn func(*ListOrdersOutput, bool) bool, opts ...request.Option) error {
1927 p := request.Pagination{
1928 NewRequest: func() (*request.Request, error) {
1929 var inCpy *ListOrdersInput
1930 if input != nil {
1931 tmp := *input
1932 inCpy = &tmp
1933 }
1934 req, _ := c.ListOrdersRequest(inCpy)
1935 req.SetContext(ctx)
1936 req.ApplyOptions(opts...)
1937 return req, nil
1938 },
1939 }
1940
1941 for p.Next() {
1942 if !fn(p.Page().(*ListOrdersOutput), !p.HasNextPage()) {
1943 break
1944 }
1945 }
1946
1947 return p.Err()
1948 }
1949
1950 const opListTagsForResource = "ListTagsForResource"
1951
1952 // ListTagsForResourceRequest generates a "aws/request.Request" representing the
1953 // client's request for the ListTagsForResource operation. The "output" return
1954 // value will be populated with the request's response once the request completes
1955 // successfully.
1956 //
1957 // Use "Send" method on the returned Request to send the API call to the service.
1958 // the "output" return value is not valid until after Send returns without error.
1959 //
1960 // See ListTagsForResource for more information on using the ListTagsForResource
1961 // API call, and error handling.
1962 //
1963 // This method is useful when you want to inject custom logic or configuration
1964 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
1965 //
1966 // // Example sending a request using the ListTagsForResourceRequest method.
1967 // req, resp := client.ListTagsForResourceRequest(params)
1968 //
1969 // err := req.Send()
1970 // if err == nil { // resp is now filled
1971 // fmt.Println(resp)
1972 // }
1973 //
1974 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListTagsForResource
1975 func (c *PrivateNetworks) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) {
1976 op := &request.Operation{
1977 Name: opListTagsForResource,
1978 HTTPMethod: "GET",
1979 HTTPPath: "/tags/{resourceArn}",
1980 }
1981
1982 if input == nil {
1983 input = &ListTagsForResourceInput{}
1984 }
1985
1986 output = &ListTagsForResourceOutput{}
1987 req = c.newRequest(op, input, output)
1988 return
1989 }
1990
1991 // ListTagsForResource API operation for AWS Private 5G.
1992 //
1993 // Lists the tags for the specified resource.
1994 //
1995 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1996 // with awserr.Error's Code and Message methods to get detailed information about
1997 // the error.
1998 //
1999 // See the AWS API reference guide for AWS Private 5G's
2000 // API operation ListTagsForResource for usage and error information.
2001 //
2002 // Returned Error Types:
2003 //
2004 // - ResourceNotFoundException
2005 // The resource was not found.
2006 //
2007 // - AccessDeniedException
2008 // You do not have permission to perform this operation.
2009 //
2010 // - ValidationException
2011 // The request failed validation.
2012 //
2013 // - InternalServerException
2014 // Information about an internal error.
2015 //
2016 // - ThrottlingException
2017 // The request was denied due to request throttling.
2018 //
2019 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ListTagsForResource
2020 func (c *PrivateNetworks) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) {
2021 req, out := c.ListTagsForResourceRequest(input)
2022 return out, req.Send()
2023 }
2024
2025 // ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of
2026 // the ability to pass a context and additional request options.
2027 //
2028 // See ListTagsForResource for details on how to use this API operation.
2029 //
2030 // The context must be non-nil and will be used for request cancellation. If
2031 // the context is nil a panic will occur. In the future the SDK may create
2032 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2033 // for more information on using Contexts.
2034 func (c *PrivateNetworks) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) {
2035 req, out := c.ListTagsForResourceRequest(input)
2036 req.SetContext(ctx)
2037 req.ApplyOptions(opts...)
2038 return out, req.Send()
2039 }
2040
2041 const opPing = "Ping"
2042
2043 // PingRequest generates a "aws/request.Request" representing the
2044 // client's request for the Ping operation. The "output" return
2045 // value will be populated with the request's response once the request completes
2046 // successfully.
2047 //
2048 // Use "Send" method on the returned Request to send the API call to the service.
2049 // the "output" return value is not valid until after Send returns without error.
2050 //
2051 // See Ping for more information on using the Ping
2052 // API call, and error handling.
2053 //
2054 // This method is useful when you want to inject custom logic or configuration
2055 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
2056 //
2057 // // Example sending a request using the PingRequest method.
2058 // req, resp := client.PingRequest(params)
2059 //
2060 // err := req.Send()
2061 // if err == nil { // resp is now filled
2062 // fmt.Println(resp)
2063 // }
2064 //
2065 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/Ping
2066 func (c *PrivateNetworks) PingRequest(input *PingInput) (req *request.Request, output *PingOutput) {
2067 op := &request.Operation{
2068 Name: opPing,
2069 HTTPMethod: "GET",
2070 HTTPPath: "/ping",
2071 }
2072
2073 if input == nil {
2074 input = &PingInput{}
2075 }
2076
2077 output = &PingOutput{}
2078 req = c.newRequest(op, input, output)
2079 return
2080 }
2081
2082 // Ping API operation for AWS Private 5G.
2083 //
2084 // Checks the health of the service.
2085 //
2086 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2087 // with awserr.Error's Code and Message methods to get detailed information about
2088 // the error.
2089 //
2090 // See the AWS API reference guide for AWS Private 5G's
2091 // API operation Ping for usage and error information.
2092 //
2093 // Returned Error Types:
2094 // - InternalServerException
2095 // Information about an internal error.
2096 //
2097 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/Ping
2098 func (c *PrivateNetworks) Ping(input *PingInput) (*PingOutput, error) {
2099 req, out := c.PingRequest(input)
2100 return out, req.Send()
2101 }
2102
2103 // PingWithContext is the same as Ping with the addition of
2104 // the ability to pass a context and additional request options.
2105 //
2106 // See Ping for details on how to use this API operation.
2107 //
2108 // The context must be non-nil and will be used for request cancellation. If
2109 // the context is nil a panic will occur. In the future the SDK may create
2110 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2111 // for more information on using Contexts.
2112 func (c *PrivateNetworks) PingWithContext(ctx aws.Context, input *PingInput, opts ...request.Option) (*PingOutput, error) {
2113 req, out := c.PingRequest(input)
2114 req.SetContext(ctx)
2115 req.ApplyOptions(opts...)
2116 return out, req.Send()
2117 }
2118
2119 const opStartNetworkResourceUpdate = "StartNetworkResourceUpdate"
2120
2121 // StartNetworkResourceUpdateRequest generates a "aws/request.Request" representing the
2122 // client's request for the StartNetworkResourceUpdate operation. The "output" return
2123 // value will be populated with the request's response once the request completes
2124 // successfully.
2125 //
2126 // Use "Send" method on the returned Request to send the API call to the service.
2127 // the "output" return value is not valid until after Send returns without error.
2128 //
2129 // See StartNetworkResourceUpdate for more information on using the StartNetworkResourceUpdate
2130 // API call, and error handling.
2131 //
2132 // This method is useful when you want to inject custom logic or configuration
2133 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
2134 //
2135 // // Example sending a request using the StartNetworkResourceUpdateRequest method.
2136 // req, resp := client.StartNetworkResourceUpdateRequest(params)
2137 //
2138 // err := req.Send()
2139 // if err == nil { // resp is now filled
2140 // fmt.Println(resp)
2141 // }
2142 //
2143 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/StartNetworkResourceUpdate
2144 func (c *PrivateNetworks) StartNetworkResourceUpdateRequest(input *StartNetworkResourceUpdateInput) (req *request.Request, output *StartNetworkResourceUpdateOutput) {
2145 op := &request.Operation{
2146 Name: opStartNetworkResourceUpdate,
2147 HTTPMethod: "POST",
2148 HTTPPath: "/v1/network-resources/update",
2149 }
2150
2151 if input == nil {
2152 input = &StartNetworkResourceUpdateInput{}
2153 }
2154
2155 output = &StartNetworkResourceUpdateOutput{}
2156 req = c.newRequest(op, input, output)
2157 return
2158 }
2159
2160 // StartNetworkResourceUpdate API operation for AWS Private 5G.
2161 //
2162 // Use this action to do the following tasks:
2163 //
2164 // - Update the duration and renewal status of the commitment period for
2165 // a radio unit. The update goes into effect immediately.
2166 //
2167 // - Request a replacement for a network resource.
2168 //
2169 // - Request that you return a network resource.
2170 //
2171 // After you submit a request to replace or return a network resource, the status
2172 // of the network resource changes to CREATING_SHIPPING_LABEL. The shipping
2173 // label is available when the status of the network resource is PENDING_RETURN.
2174 // After the network resource is successfully returned, its status changes to
2175 // DELETED. For more information, see Return a radio unit (https://docs.aws.amazon.com/private-networks/latest/userguide/radio-units.html#return-radio-unit).
2176 //
2177 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2178 // with awserr.Error's Code and Message methods to get detailed information about
2179 // the error.
2180 //
2181 // See the AWS API reference guide for AWS Private 5G's
2182 // API operation StartNetworkResourceUpdate for usage and error information.
2183 //
2184 // Returned Error Types:
2185 //
2186 // - ResourceNotFoundException
2187 // The resource was not found.
2188 //
2189 // - ValidationException
2190 // The request failed validation.
2191 //
2192 // - InternalServerException
2193 // Information about an internal error.
2194 //
2195 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/StartNetworkResourceUpdate
2196 func (c *PrivateNetworks) StartNetworkResourceUpdate(input *StartNetworkResourceUpdateInput) (*StartNetworkResourceUpdateOutput, error) {
2197 req, out := c.StartNetworkResourceUpdateRequest(input)
2198 return out, req.Send()
2199 }
2200
2201 // StartNetworkResourceUpdateWithContext is the same as StartNetworkResourceUpdate with the addition of
2202 // the ability to pass a context and additional request options.
2203 //
2204 // See StartNetworkResourceUpdate for details on how to use this API operation.
2205 //
2206 // The context must be non-nil and will be used for request cancellation. If
2207 // the context is nil a panic will occur. In the future the SDK may create
2208 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2209 // for more information on using Contexts.
2210 func (c *PrivateNetworks) StartNetworkResourceUpdateWithContext(ctx aws.Context, input *StartNetworkResourceUpdateInput, opts ...request.Option) (*StartNetworkResourceUpdateOutput, error) {
2211 req, out := c.StartNetworkResourceUpdateRequest(input)
2212 req.SetContext(ctx)
2213 req.ApplyOptions(opts...)
2214 return out, req.Send()
2215 }
2216
2217 const opTagResource = "TagResource"
2218
2219 // TagResourceRequest generates a "aws/request.Request" representing the
2220 // client's request for the TagResource operation. The "output" return
2221 // value will be populated with the request's response once the request completes
2222 // successfully.
2223 //
2224 // Use "Send" method on the returned Request to send the API call to the service.
2225 // the "output" return value is not valid until after Send returns without error.
2226 //
2227 // See TagResource for more information on using the TagResource
2228 // API call, and error handling.
2229 //
2230 // This method is useful when you want to inject custom logic or configuration
2231 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
2232 //
2233 // // Example sending a request using the TagResourceRequest method.
2234 // req, resp := client.TagResourceRequest(params)
2235 //
2236 // err := req.Send()
2237 // if err == nil { // resp is now filled
2238 // fmt.Println(resp)
2239 // }
2240 //
2241 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/TagResource
2242 func (c *PrivateNetworks) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) {
2243 op := &request.Operation{
2244 Name: opTagResource,
2245 HTTPMethod: "POST",
2246 HTTPPath: "/tags/{resourceArn}",
2247 }
2248
2249 if input == nil {
2250 input = &TagResourceInput{}
2251 }
2252
2253 output = &TagResourceOutput{}
2254 req = c.newRequest(op, input, output)
2255 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2256 return
2257 }
2258
2259 // TagResource API operation for AWS Private 5G.
2260 //
2261 // Adds tags to the specified resource.
2262 //
2263 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2264 // with awserr.Error's Code and Message methods to get detailed information about
2265 // the error.
2266 //
2267 // See the AWS API reference guide for AWS Private 5G's
2268 // API operation TagResource for usage and error information.
2269 //
2270 // Returned Error Types:
2271 //
2272 // - ResourceNotFoundException
2273 // The resource was not found.
2274 //
2275 // - AccessDeniedException
2276 // You do not have permission to perform this operation.
2277 //
2278 // - ValidationException
2279 // The request failed validation.
2280 //
2281 // - InternalServerException
2282 // Information about an internal error.
2283 //
2284 // - ThrottlingException
2285 // The request was denied due to request throttling.
2286 //
2287 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/TagResource
2288 func (c *PrivateNetworks) TagResource(input *TagResourceInput) (*TagResourceOutput, error) {
2289 req, out := c.TagResourceRequest(input)
2290 return out, req.Send()
2291 }
2292
2293 // TagResourceWithContext is the same as TagResource with the addition of
2294 // the ability to pass a context and additional request options.
2295 //
2296 // See TagResource for details on how to use this API operation.
2297 //
2298 // The context must be non-nil and will be used for request cancellation. If
2299 // the context is nil a panic will occur. In the future the SDK may create
2300 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2301 // for more information on using Contexts.
2302 func (c *PrivateNetworks) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) {
2303 req, out := c.TagResourceRequest(input)
2304 req.SetContext(ctx)
2305 req.ApplyOptions(opts...)
2306 return out, req.Send()
2307 }
2308
2309 const opUntagResource = "UntagResource"
2310
2311 // UntagResourceRequest generates a "aws/request.Request" representing the
2312 // client's request for the UntagResource operation. The "output" return
2313 // value will be populated with the request's response once the request completes
2314 // successfully.
2315 //
2316 // Use "Send" method on the returned Request to send the API call to the service.
2317 // the "output" return value is not valid until after Send returns without error.
2318 //
2319 // See UntagResource for more information on using the UntagResource
2320 // API call, and error handling.
2321 //
2322 // This method is useful when you want to inject custom logic or configuration
2323 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
2324 //
2325 // // Example sending a request using the UntagResourceRequest method.
2326 // req, resp := client.UntagResourceRequest(params)
2327 //
2328 // err := req.Send()
2329 // if err == nil { // resp is now filled
2330 // fmt.Println(resp)
2331 // }
2332 //
2333 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/UntagResource
2334 func (c *PrivateNetworks) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) {
2335 op := &request.Operation{
2336 Name: opUntagResource,
2337 HTTPMethod: "DELETE",
2338 HTTPPath: "/tags/{resourceArn}",
2339 }
2340
2341 if input == nil {
2342 input = &UntagResourceInput{}
2343 }
2344
2345 output = &UntagResourceOutput{}
2346 req = c.newRequest(op, input, output)
2347 req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2348 return
2349 }
2350
2351 // UntagResource API operation for AWS Private 5G.
2352 //
2353 // Removes tags from the specified resource.
2354 //
2355 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2356 // with awserr.Error's Code and Message methods to get detailed information about
2357 // the error.
2358 //
2359 // See the AWS API reference guide for AWS Private 5G's
2360 // API operation UntagResource for usage and error information.
2361 //
2362 // Returned Error Types:
2363 //
2364 // - ResourceNotFoundException
2365 // The resource was not found.
2366 //
2367 // - AccessDeniedException
2368 // You do not have permission to perform this operation.
2369 //
2370 // - ValidationException
2371 // The request failed validation.
2372 //
2373 // - InternalServerException
2374 // Information about an internal error.
2375 //
2376 // - ThrottlingException
2377 // The request was denied due to request throttling.
2378 //
2379 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/UntagResource
2380 func (c *PrivateNetworks) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) {
2381 req, out := c.UntagResourceRequest(input)
2382 return out, req.Send()
2383 }
2384
2385 // UntagResourceWithContext is the same as UntagResource with the addition of
2386 // the ability to pass a context and additional request options.
2387 //
2388 // See UntagResource for details on how to use this API operation.
2389 //
2390 // The context must be non-nil and will be used for request cancellation. If
2391 // the context is nil a panic will occur. In the future the SDK may create
2392 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2393 // for more information on using Contexts.
2394 func (c *PrivateNetworks) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) {
2395 req, out := c.UntagResourceRequest(input)
2396 req.SetContext(ctx)
2397 req.ApplyOptions(opts...)
2398 return out, req.Send()
2399 }
2400
2401 const opUpdateNetworkSite = "UpdateNetworkSite"
2402
2403 // UpdateNetworkSiteRequest generates a "aws/request.Request" representing the
2404 // client's request for the UpdateNetworkSite operation. The "output" return
2405 // value will be populated with the request's response once the request completes
2406 // successfully.
2407 //
2408 // Use "Send" method on the returned Request to send the API call to the service.
2409 // the "output" return value is not valid until after Send returns without error.
2410 //
2411 // See UpdateNetworkSite for more information on using the UpdateNetworkSite
2412 // API call, and error handling.
2413 //
2414 // This method is useful when you want to inject custom logic or configuration
2415 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
2416 //
2417 // // Example sending a request using the UpdateNetworkSiteRequest method.
2418 // req, resp := client.UpdateNetworkSiteRequest(params)
2419 //
2420 // err := req.Send()
2421 // if err == nil { // resp is now filled
2422 // fmt.Println(resp)
2423 // }
2424 //
2425 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/UpdateNetworkSite
2426 func (c *PrivateNetworks) UpdateNetworkSiteRequest(input *UpdateNetworkSiteInput) (req *request.Request, output *UpdateNetworkSiteOutput) {
2427 op := &request.Operation{
2428 Name: opUpdateNetworkSite,
2429 HTTPMethod: "PUT",
2430 HTTPPath: "/v1/network-sites/site",
2431 }
2432
2433 if input == nil {
2434 input = &UpdateNetworkSiteInput{}
2435 }
2436
2437 output = &UpdateNetworkSiteOutput{}
2438 req = c.newRequest(op, input, output)
2439 return
2440 }
2441
2442 // UpdateNetworkSite API operation for AWS Private 5G.
2443 //
2444 // Updates the specified network site.
2445 //
2446 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2447 // with awserr.Error's Code and Message methods to get detailed information about
2448 // the error.
2449 //
2450 // See the AWS API reference guide for AWS Private 5G's
2451 // API operation UpdateNetworkSite for usage and error information.
2452 //
2453 // Returned Error Types:
2454 //
2455 // - ResourceNotFoundException
2456 // The resource was not found.
2457 //
2458 // - ValidationException
2459 // The request failed validation.
2460 //
2461 // - InternalServerException
2462 // Information about an internal error.
2463 //
2464 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/UpdateNetworkSite
2465 func (c *PrivateNetworks) UpdateNetworkSite(input *UpdateNetworkSiteInput) (*UpdateNetworkSiteOutput, error) {
2466 req, out := c.UpdateNetworkSiteRequest(input)
2467 return out, req.Send()
2468 }
2469
2470 // UpdateNetworkSiteWithContext is the same as UpdateNetworkSite with the addition of
2471 // the ability to pass a context and additional request options.
2472 //
2473 // See UpdateNetworkSite for details on how to use this API operation.
2474 //
2475 // The context must be non-nil and will be used for request cancellation. If
2476 // the context is nil a panic will occur. In the future the SDK may create
2477 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2478 // for more information on using Contexts.
2479 func (c *PrivateNetworks) UpdateNetworkSiteWithContext(ctx aws.Context, input *UpdateNetworkSiteInput, opts ...request.Option) (*UpdateNetworkSiteOutput, error) {
2480 req, out := c.UpdateNetworkSiteRequest(input)
2481 req.SetContext(ctx)
2482 req.ApplyOptions(opts...)
2483 return out, req.Send()
2484 }
2485
2486 const opUpdateNetworkSitePlan = "UpdateNetworkSitePlan"
2487
2488 // UpdateNetworkSitePlanRequest generates a "aws/request.Request" representing the
2489 // client's request for the UpdateNetworkSitePlan operation. The "output" return
2490 // value will be populated with the request's response once the request completes
2491 // successfully.
2492 //
2493 // Use "Send" method on the returned Request to send the API call to the service.
2494 // the "output" return value is not valid until after Send returns without error.
2495 //
2496 // See UpdateNetworkSitePlan for more information on using the UpdateNetworkSitePlan
2497 // API call, and error handling.
2498 //
2499 // This method is useful when you want to inject custom logic or configuration
2500 // into the SDK's request lifecycle. Such as custom headers, or retry logic.
2501 //
2502 // // Example sending a request using the UpdateNetworkSitePlanRequest method.
2503 // req, resp := client.UpdateNetworkSitePlanRequest(params)
2504 //
2505 // err := req.Send()
2506 // if err == nil { // resp is now filled
2507 // fmt.Println(resp)
2508 // }
2509 //
2510 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/UpdateNetworkSitePlan
2511 func (c *PrivateNetworks) UpdateNetworkSitePlanRequest(input *UpdateNetworkSitePlanInput) (req *request.Request, output *UpdateNetworkSitePlanOutput) {
2512 op := &request.Operation{
2513 Name: opUpdateNetworkSitePlan,
2514 HTTPMethod: "PUT",
2515 HTTPPath: "/v1/network-sites/plan",
2516 }
2517
2518 if input == nil {
2519 input = &UpdateNetworkSitePlanInput{}
2520 }
2521
2522 output = &UpdateNetworkSitePlanOutput{}
2523 req = c.newRequest(op, input, output)
2524 return
2525 }
2526
2527 // UpdateNetworkSitePlan API operation for AWS Private 5G.
2528 //
2529 // Updates the specified network site plan.
2530 //
2531 // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2532 // with awserr.Error's Code and Message methods to get detailed information about
2533 // the error.
2534 //
2535 // See the AWS API reference guide for AWS Private 5G's
2536 // API operation UpdateNetworkSitePlan for usage and error information.
2537 //
2538 // Returned Error Types:
2539 //
2540 // - ResourceNotFoundException
2541 // The resource was not found.
2542 //
2543 // - ValidationException
2544 // The request failed validation.
2545 //
2546 // - InternalServerException
2547 // Information about an internal error.
2548 //
2549 // See also, https://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/UpdateNetworkSitePlan
2550 func (c *PrivateNetworks) UpdateNetworkSitePlan(input *UpdateNetworkSitePlanInput) (*UpdateNetworkSitePlanOutput, error) {
2551 req, out := c.UpdateNetworkSitePlanRequest(input)
2552 return out, req.Send()
2553 }
2554
2555 // UpdateNetworkSitePlanWithContext is the same as UpdateNetworkSitePlan with the addition of
2556 // the ability to pass a context and additional request options.
2557 //
2558 // See UpdateNetworkSitePlan for details on how to use this API operation.
2559 //
2560 // The context must be non-nil and will be used for request cancellation. If
2561 // the context is nil a panic will occur. In the future the SDK may create
2562 // sub-contexts for http.Requests. See https://golang.org/pkg/context/
2563 // for more information on using Contexts.
2564 func (c *PrivateNetworks) UpdateNetworkSitePlanWithContext(ctx aws.Context, input *UpdateNetworkSitePlanInput, opts ...request.Option) (*UpdateNetworkSitePlanOutput, error) {
2565 req, out := c.UpdateNetworkSitePlanRequest(input)
2566 req.SetContext(ctx)
2567 req.ApplyOptions(opts...)
2568 return out, req.Send()
2569 }
2570
2571 // You do not have permission to perform this operation.
2572 type AccessDeniedException struct {
2573 _ struct{} `type:"structure"`
2574 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
2575
2576 Message_ *string `locationName:"message" type:"string"`
2577 }
2578
2579 // String returns the string representation.
2580 //
2581 // API parameter values that are decorated as "sensitive" in the API will not
2582 // be included in the string output. The member name will be present, but the
2583 // value will be replaced with "sensitive".
2584 func (s AccessDeniedException) String() string {
2585 return awsutil.Prettify(s)
2586 }
2587
2588 // GoString returns the string representation.
2589 //
2590 // API parameter values that are decorated as "sensitive" in the API will not
2591 // be included in the string output. The member name will be present, but the
2592 // value will be replaced with "sensitive".
2593 func (s AccessDeniedException) GoString() string {
2594 return s.String()
2595 }
2596
2597 func newErrorAccessDeniedException(v protocol.ResponseMetadata) error {
2598 return &AccessDeniedException{
2599 RespMetadata: v,
2600 }
2601 }
2602
2603 // Code returns the exception type name.
2604 func (s *AccessDeniedException) Code() string {
2605 return "AccessDeniedException"
2606 }
2607
2608 // Message returns the exception's message.
2609 func (s *AccessDeniedException) Message() string {
2610 if s.Message_ != nil {
2611 return *s.Message_
2612 }
2613 return ""
2614 }
2615
2616 // OrigErr always returns nil, satisfies awserr.Error interface.
2617 func (s *AccessDeniedException) OrigErr() error {
2618 return nil
2619 }
2620
2621 func (s *AccessDeniedException) Error() string {
2622 return fmt.Sprintf("%s: %s", s.Code(), s.Message())
2623 }
2624
2625 // Status code returns the HTTP status code for the request's response error.
2626 func (s *AccessDeniedException) StatusCode() int {
2627 return s.RespMetadata.StatusCode
2628 }
2629
2630 // RequestID returns the service's response RequestID for request.
2631 func (s *AccessDeniedException) RequestID() string {
2632 return s.RespMetadata.RequestID
2633 }
2634
2635 type AcknowledgeOrderReceiptInput struct {
2636 _ struct{} `type:"structure"`
2637
2638 // The Amazon Resource Name (ARN) of the order.
2639 //
2640 // OrderArn is a required field
2641 OrderArn *string `locationName:"orderArn" type:"string" required:"true"`
2642 }
2643
2644 // String returns the string representation.
2645 //
2646 // API parameter values that are decorated as "sensitive" in the API will not
2647 // be included in the string output. The member name will be present, but the
2648 // value will be replaced with "sensitive".
2649 func (s AcknowledgeOrderReceiptInput) String() string {
2650 return awsutil.Prettify(s)
2651 }
2652
2653 // GoString returns the string representation.
2654 //
2655 // API parameter values that are decorated as "sensitive" in the API will not
2656 // be included in the string output. The member name will be present, but the
2657 // value will be replaced with "sensitive".
2658 func (s AcknowledgeOrderReceiptInput) GoString() string {
2659 return s.String()
2660 }
2661
2662 // Validate inspects the fields of the type to determine if they are valid.
2663 func (s *AcknowledgeOrderReceiptInput) Validate() error {
2664 invalidParams := request.ErrInvalidParams{Context: "AcknowledgeOrderReceiptInput"}
2665 if s.OrderArn == nil {
2666 invalidParams.Add(request.NewErrParamRequired("OrderArn"))
2667 }
2668
2669 if invalidParams.Len() > 0 {
2670 return invalidParams
2671 }
2672 return nil
2673 }
2674
2675 // SetOrderArn sets the OrderArn field's value.
2676 func (s *AcknowledgeOrderReceiptInput) SetOrderArn(v string) *AcknowledgeOrderReceiptInput {
2677 s.OrderArn = &v
2678 return s
2679 }
2680
2681 type AcknowledgeOrderReceiptOutput struct {
2682 _ struct{} `type:"structure"`
2683
2684 // Information about the order.
2685 //
2686 // Order is a required field
2687 Order *Order `locationName:"order" type:"structure" required:"true"`
2688 }
2689
2690 // String returns the string representation.
2691 //
2692 // API parameter values that are decorated as "sensitive" in the API will not
2693 // be included in the string output. The member name will be present, but the
2694 // value will be replaced with "sensitive".
2695 func (s AcknowledgeOrderReceiptOutput) String() string {
2696 return awsutil.Prettify(s)
2697 }
2698
2699 // GoString returns the string representation.
2700 //
2701 // API parameter values that are decorated as "sensitive" in the API will not
2702 // be included in the string output. The member name will be present, but the
2703 // value will be replaced with "sensitive".
2704 func (s AcknowledgeOrderReceiptOutput) GoString() string {
2705 return s.String()
2706 }
2707
2708 // SetOrder sets the Order field's value.
2709 func (s *AcknowledgeOrderReceiptOutput) SetOrder(v *Order) *AcknowledgeOrderReceiptOutput {
2710 s.Order = v
2711 return s
2712 }
2713
2714 type ActivateDeviceIdentifierInput struct {
2715 _ struct{} `type:"structure"`
2716
2717 // Unique, case-sensitive identifier that you provide to ensure the idempotency
2718 // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
2719 ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
2720
2721 // The Amazon Resource Name (ARN) of the device identifier.
2722 //
2723 // DeviceIdentifierArn is a required field
2724 DeviceIdentifierArn *string `locationName:"deviceIdentifierArn" type:"string" required:"true"`
2725 }
2726
2727 // String returns the string representation.
2728 //
2729 // API parameter values that are decorated as "sensitive" in the API will not
2730 // be included in the string output. The member name will be present, but the
2731 // value will be replaced with "sensitive".
2732 func (s ActivateDeviceIdentifierInput) String() string {
2733 return awsutil.Prettify(s)
2734 }
2735
2736 // GoString returns the string representation.
2737 //
2738 // API parameter values that are decorated as "sensitive" in the API will not
2739 // be included in the string output. The member name will be present, but the
2740 // value will be replaced with "sensitive".
2741 func (s ActivateDeviceIdentifierInput) GoString() string {
2742 return s.String()
2743 }
2744
2745 // Validate inspects the fields of the type to determine if they are valid.
2746 func (s *ActivateDeviceIdentifierInput) Validate() error {
2747 invalidParams := request.ErrInvalidParams{Context: "ActivateDeviceIdentifierInput"}
2748 if s.ClientToken != nil && len(*s.ClientToken) < 1 {
2749 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
2750 }
2751 if s.DeviceIdentifierArn == nil {
2752 invalidParams.Add(request.NewErrParamRequired("DeviceIdentifierArn"))
2753 }
2754
2755 if invalidParams.Len() > 0 {
2756 return invalidParams
2757 }
2758 return nil
2759 }
2760
2761 // SetClientToken sets the ClientToken field's value.
2762 func (s *ActivateDeviceIdentifierInput) SetClientToken(v string) *ActivateDeviceIdentifierInput {
2763 s.ClientToken = &v
2764 return s
2765 }
2766
2767 // SetDeviceIdentifierArn sets the DeviceIdentifierArn field's value.
2768 func (s *ActivateDeviceIdentifierInput) SetDeviceIdentifierArn(v string) *ActivateDeviceIdentifierInput {
2769 s.DeviceIdentifierArn = &v
2770 return s
2771 }
2772
2773 type ActivateDeviceIdentifierOutput struct {
2774 _ struct{} `type:"structure"`
2775
2776 // Information about the device identifier.
2777 //
2778 // DeviceIdentifier is a required field
2779 DeviceIdentifier *DeviceIdentifier `locationName:"deviceIdentifier" type:"structure" required:"true"`
2780
2781 // The tags on the device identifier.
2782 //
2783 // Tags is a sensitive parameter and its value will be
2784 // replaced with "sensitive" in string returned by ActivateDeviceIdentifierOutput's
2785 // String and GoString methods.
2786 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
2787 }
2788
2789 // String returns the string representation.
2790 //
2791 // API parameter values that are decorated as "sensitive" in the API will not
2792 // be included in the string output. The member name will be present, but the
2793 // value will be replaced with "sensitive".
2794 func (s ActivateDeviceIdentifierOutput) String() string {
2795 return awsutil.Prettify(s)
2796 }
2797
2798 // GoString returns the string representation.
2799 //
2800 // API parameter values that are decorated as "sensitive" in the API will not
2801 // be included in the string output. The member name will be present, but the
2802 // value will be replaced with "sensitive".
2803 func (s ActivateDeviceIdentifierOutput) GoString() string {
2804 return s.String()
2805 }
2806
2807 // SetDeviceIdentifier sets the DeviceIdentifier field's value.
2808 func (s *ActivateDeviceIdentifierOutput) SetDeviceIdentifier(v *DeviceIdentifier) *ActivateDeviceIdentifierOutput {
2809 s.DeviceIdentifier = v
2810 return s
2811 }
2812
2813 // SetTags sets the Tags field's value.
2814 func (s *ActivateDeviceIdentifierOutput) SetTags(v map[string]*string) *ActivateDeviceIdentifierOutput {
2815 s.Tags = v
2816 return s
2817 }
2818
2819 type ActivateNetworkSiteInput struct {
2820 _ struct{} `type:"structure"`
2821
2822 // Unique, case-sensitive identifier that you provide to ensure the idempotency
2823 // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
2824 ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
2825
2826 // Determines the duration and renewal status of the commitment period for all
2827 // pending radio units.
2828 //
2829 // If you include commitmentConfiguration in the ActivateNetworkSiteRequest
2830 // action, you must specify the following:
2831 //
2832 // * The commitment period for the radio unit. You can choose a 60-day, 1-year,
2833 // or 3-year period.
2834 //
2835 // * Whether you want your commitment period to automatically renew for one
2836 // more year after your current commitment period expires.
2837 //
2838 // For pricing, see Amazon Web Services Private 5G Pricing (http://aws.amazon.com/private5g/pricing).
2839 //
2840 // If you do not include commitmentConfiguration in the ActivateNetworkSiteRequest
2841 // action, the commitment period is set to 60-days.
2842 CommitmentConfiguration *CommitmentConfiguration `locationName:"commitmentConfiguration" type:"structure"`
2843
2844 // The Amazon Resource Name (ARN) of the network site.
2845 //
2846 // NetworkSiteArn is a required field
2847 NetworkSiteArn *string `locationName:"networkSiteArn" type:"string" required:"true"`
2848
2849 // The shipping address of the network site.
2850 //
2851 // ShippingAddress is a required field
2852 ShippingAddress *Address `locationName:"shippingAddress" type:"structure" required:"true"`
2853 }
2854
2855 // String returns the string representation.
2856 //
2857 // API parameter values that are decorated as "sensitive" in the API will not
2858 // be included in the string output. The member name will be present, but the
2859 // value will be replaced with "sensitive".
2860 func (s ActivateNetworkSiteInput) String() string {
2861 return awsutil.Prettify(s)
2862 }
2863
2864 // GoString returns the string representation.
2865 //
2866 // API parameter values that are decorated as "sensitive" in the API will not
2867 // be included in the string output. The member name will be present, but the
2868 // value will be replaced with "sensitive".
2869 func (s ActivateNetworkSiteInput) GoString() string {
2870 return s.String()
2871 }
2872
2873 // Validate inspects the fields of the type to determine if they are valid.
2874 func (s *ActivateNetworkSiteInput) Validate() error {
2875 invalidParams := request.ErrInvalidParams{Context: "ActivateNetworkSiteInput"}
2876 if s.ClientToken != nil && len(*s.ClientToken) < 1 {
2877 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
2878 }
2879 if s.NetworkSiteArn == nil {
2880 invalidParams.Add(request.NewErrParamRequired("NetworkSiteArn"))
2881 }
2882 if s.ShippingAddress == nil {
2883 invalidParams.Add(request.NewErrParamRequired("ShippingAddress"))
2884 }
2885 if s.CommitmentConfiguration != nil {
2886 if err := s.CommitmentConfiguration.Validate(); err != nil {
2887 invalidParams.AddNested("CommitmentConfiguration", err.(request.ErrInvalidParams))
2888 }
2889 }
2890 if s.ShippingAddress != nil {
2891 if err := s.ShippingAddress.Validate(); err != nil {
2892 invalidParams.AddNested("ShippingAddress", err.(request.ErrInvalidParams))
2893 }
2894 }
2895
2896 if invalidParams.Len() > 0 {
2897 return invalidParams
2898 }
2899 return nil
2900 }
2901
2902 // SetClientToken sets the ClientToken field's value.
2903 func (s *ActivateNetworkSiteInput) SetClientToken(v string) *ActivateNetworkSiteInput {
2904 s.ClientToken = &v
2905 return s
2906 }
2907
2908 // SetCommitmentConfiguration sets the CommitmentConfiguration field's value.
2909 func (s *ActivateNetworkSiteInput) SetCommitmentConfiguration(v *CommitmentConfiguration) *ActivateNetworkSiteInput {
2910 s.CommitmentConfiguration = v
2911 return s
2912 }
2913
2914 // SetNetworkSiteArn sets the NetworkSiteArn field's value.
2915 func (s *ActivateNetworkSiteInput) SetNetworkSiteArn(v string) *ActivateNetworkSiteInput {
2916 s.NetworkSiteArn = &v
2917 return s
2918 }
2919
2920 // SetShippingAddress sets the ShippingAddress field's value.
2921 func (s *ActivateNetworkSiteInput) SetShippingAddress(v *Address) *ActivateNetworkSiteInput {
2922 s.ShippingAddress = v
2923 return s
2924 }
2925
2926 type ActivateNetworkSiteOutput struct {
2927 _ struct{} `type:"structure"`
2928
2929 // Information about the network site.
2930 NetworkSite *NetworkSite `locationName:"networkSite" type:"structure"`
2931 }
2932
2933 // String returns the string representation.
2934 //
2935 // API parameter values that are decorated as "sensitive" in the API will not
2936 // be included in the string output. The member name will be present, but the
2937 // value will be replaced with "sensitive".
2938 func (s ActivateNetworkSiteOutput) String() string {
2939 return awsutil.Prettify(s)
2940 }
2941
2942 // GoString returns the string representation.
2943 //
2944 // API parameter values that are decorated as "sensitive" in the API will not
2945 // be included in the string output. The member name will be present, but the
2946 // value will be replaced with "sensitive".
2947 func (s ActivateNetworkSiteOutput) GoString() string {
2948 return s.String()
2949 }
2950
2951 // SetNetworkSite sets the NetworkSite field's value.
2952 func (s *ActivateNetworkSiteOutput) SetNetworkSite(v *NetworkSite) *ActivateNetworkSiteOutput {
2953 s.NetworkSite = v
2954 return s
2955 }
2956
2957 // Information about an address.
2958 type Address struct {
2959 _ struct{} `type:"structure"`
2960
2961 // The city for this address.
2962 //
2963 // City is a sensitive parameter and its value will be
2964 // replaced with "sensitive" in string returned by Address's
2965 // String and GoString methods.
2966 //
2967 // City is a required field
2968 City *string `locationName:"city" min:"1" type:"string" required:"true" sensitive:"true"`
2969
2970 // The company name for this address.
2971 //
2972 // Company is a sensitive parameter and its value will be
2973 // replaced with "sensitive" in string returned by Address's
2974 // String and GoString methods.
2975 Company *string `locationName:"company" min:"1" type:"string" sensitive:"true"`
2976
2977 // The country for this address.
2978 //
2979 // Country is a sensitive parameter and its value will be
2980 // replaced with "sensitive" in string returned by Address's
2981 // String and GoString methods.
2982 //
2983 // Country is a required field
2984 Country *string `locationName:"country" min:"1" type:"string" required:"true" sensitive:"true"`
2985
2986 // The recipient's email address.
2987 //
2988 // EmailAddress is a sensitive parameter and its value will be
2989 // replaced with "sensitive" in string returned by Address's
2990 // String and GoString methods.
2991 EmailAddress *string `locationName:"emailAddress" min:"1" type:"string" sensitive:"true"`
2992
2993 // The recipient's name for this address.
2994 //
2995 // Name is a sensitive parameter and its value will be
2996 // replaced with "sensitive" in string returned by Address's
2997 // String and GoString methods.
2998 //
2999 // Name is a required field
3000 Name *string `locationName:"name" min:"1" type:"string" required:"true" sensitive:"true"`
3001
3002 // The recipient's phone number.
3003 //
3004 // PhoneNumber is a sensitive parameter and its value will be
3005 // replaced with "sensitive" in string returned by Address's
3006 // String and GoString methods.
3007 PhoneNumber *string `locationName:"phoneNumber" min:"1" type:"string" sensitive:"true"`
3008
3009 // The postal code for this address.
3010 //
3011 // PostalCode is a sensitive parameter and its value will be
3012 // replaced with "sensitive" in string returned by Address's
3013 // String and GoString methods.
3014 //
3015 // PostalCode is a required field
3016 PostalCode *string `locationName:"postalCode" min:"1" type:"string" required:"true" sensitive:"true"`
3017
3018 // The state or province for this address.
3019 //
3020 // StateOrProvince is a sensitive parameter and its value will be
3021 // replaced with "sensitive" in string returned by Address's
3022 // String and GoString methods.
3023 //
3024 // StateOrProvince is a required field
3025 StateOrProvince *string `locationName:"stateOrProvince" min:"1" type:"string" required:"true" sensitive:"true"`
3026
3027 // The first line of the street address.
3028 //
3029 // Street1 is a sensitive parameter and its value will be
3030 // replaced with "sensitive" in string returned by Address's
3031 // String and GoString methods.
3032 //
3033 // Street1 is a required field
3034 Street1 *string `locationName:"street1" min:"1" type:"string" required:"true" sensitive:"true"`
3035
3036 // The second line of the street address.
3037 //
3038 // Street2 is a sensitive parameter and its value will be
3039 // replaced with "sensitive" in string returned by Address's
3040 // String and GoString methods.
3041 Street2 *string `locationName:"street2" min:"1" type:"string" sensitive:"true"`
3042
3043 // The third line of the street address.
3044 //
3045 // Street3 is a sensitive parameter and its value will be
3046 // replaced with "sensitive" in string returned by Address's
3047 // String and GoString methods.
3048 Street3 *string `locationName:"street3" min:"1" type:"string" sensitive:"true"`
3049 }
3050
3051 // String returns the string representation.
3052 //
3053 // API parameter values that are decorated as "sensitive" in the API will not
3054 // be included in the string output. The member name will be present, but the
3055 // value will be replaced with "sensitive".
3056 func (s Address) String() string {
3057 return awsutil.Prettify(s)
3058 }
3059
3060 // GoString returns the string representation.
3061 //
3062 // API parameter values that are decorated as "sensitive" in the API will not
3063 // be included in the string output. The member name will be present, but the
3064 // value will be replaced with "sensitive".
3065 func (s Address) GoString() string {
3066 return s.String()
3067 }
3068
3069 // Validate inspects the fields of the type to determine if they are valid.
3070 func (s *Address) Validate() error {
3071 invalidParams := request.ErrInvalidParams{Context: "Address"}
3072 if s.City == nil {
3073 invalidParams.Add(request.NewErrParamRequired("City"))
3074 }
3075 if s.City != nil && len(*s.City) < 1 {
3076 invalidParams.Add(request.NewErrParamMinLen("City", 1))
3077 }
3078 if s.Company != nil && len(*s.Company) < 1 {
3079 invalidParams.Add(request.NewErrParamMinLen("Company", 1))
3080 }
3081 if s.Country == nil {
3082 invalidParams.Add(request.NewErrParamRequired("Country"))
3083 }
3084 if s.Country != nil && len(*s.Country) < 1 {
3085 invalidParams.Add(request.NewErrParamMinLen("Country", 1))
3086 }
3087 if s.EmailAddress != nil && len(*s.EmailAddress) < 1 {
3088 invalidParams.Add(request.NewErrParamMinLen("EmailAddress", 1))
3089 }
3090 if s.Name == nil {
3091 invalidParams.Add(request.NewErrParamRequired("Name"))
3092 }
3093 if s.Name != nil && len(*s.Name) < 1 {
3094 invalidParams.Add(request.NewErrParamMinLen("Name", 1))
3095 }
3096 if s.PhoneNumber != nil && len(*s.PhoneNumber) < 1 {
3097 invalidParams.Add(request.NewErrParamMinLen("PhoneNumber", 1))
3098 }
3099 if s.PostalCode == nil {
3100 invalidParams.Add(request.NewErrParamRequired("PostalCode"))
3101 }
3102 if s.PostalCode != nil && len(*s.PostalCode) < 1 {
3103 invalidParams.Add(request.NewErrParamMinLen("PostalCode", 1))
3104 }
3105 if s.StateOrProvince == nil {
3106 invalidParams.Add(request.NewErrParamRequired("StateOrProvince"))
3107 }
3108 if s.StateOrProvince != nil && len(*s.StateOrProvince) < 1 {
3109 invalidParams.Add(request.NewErrParamMinLen("StateOrProvince", 1))
3110 }
3111 if s.Street1 == nil {
3112 invalidParams.Add(request.NewErrParamRequired("Street1"))
3113 }
3114 if s.Street1 != nil && len(*s.Street1) < 1 {
3115 invalidParams.Add(request.NewErrParamMinLen("Street1", 1))
3116 }
3117 if s.Street2 != nil && len(*s.Street2) < 1 {
3118 invalidParams.Add(request.NewErrParamMinLen("Street2", 1))
3119 }
3120 if s.Street3 != nil && len(*s.Street3) < 1 {
3121 invalidParams.Add(request.NewErrParamMinLen("Street3", 1))
3122 }
3123
3124 if invalidParams.Len() > 0 {
3125 return invalidParams
3126 }
3127 return nil
3128 }
3129
3130 // SetCity sets the City field's value.
3131 func (s *Address) SetCity(v string) *Address {
3132 s.City = &v
3133 return s
3134 }
3135
3136 // SetCompany sets the Company field's value.
3137 func (s *Address) SetCompany(v string) *Address {
3138 s.Company = &v
3139 return s
3140 }
3141
3142 // SetCountry sets the Country field's value.
3143 func (s *Address) SetCountry(v string) *Address {
3144 s.Country = &v
3145 return s
3146 }
3147
3148 // SetEmailAddress sets the EmailAddress field's value.
3149 func (s *Address) SetEmailAddress(v string) *Address {
3150 s.EmailAddress = &v
3151 return s
3152 }
3153
3154 // SetName sets the Name field's value.
3155 func (s *Address) SetName(v string) *Address {
3156 s.Name = &v
3157 return s
3158 }
3159
3160 // SetPhoneNumber sets the PhoneNumber field's value.
3161 func (s *Address) SetPhoneNumber(v string) *Address {
3162 s.PhoneNumber = &v
3163 return s
3164 }
3165
3166 // SetPostalCode sets the PostalCode field's value.
3167 func (s *Address) SetPostalCode(v string) *Address {
3168 s.PostalCode = &v
3169 return s
3170 }
3171
3172 // SetStateOrProvince sets the StateOrProvince field's value.
3173 func (s *Address) SetStateOrProvince(v string) *Address {
3174 s.StateOrProvince = &v
3175 return s
3176 }
3177
3178 // SetStreet1 sets the Street1 field's value.
3179 func (s *Address) SetStreet1(v string) *Address {
3180 s.Street1 = &v
3181 return s
3182 }
3183
3184 // SetStreet2 sets the Street2 field's value.
3185 func (s *Address) SetStreet2(v string) *Address {
3186 s.Street2 = &v
3187 return s
3188 }
3189
3190 // SetStreet3 sets the Street3 field's value.
3191 func (s *Address) SetStreet3(v string) *Address {
3192 s.Street3 = &v
3193 return s
3194 }
3195
3196 // Determines the duration and renewal status of the commitment period for a
3197 // radio unit.
3198 //
3199 // For pricing, see Amazon Web Services Private 5G Pricing (http://aws.amazon.com/private5g/pricing).
3200 type CommitmentConfiguration struct {
3201 _ struct{} `type:"structure"`
3202
3203 // Determines whether the commitment period for a radio unit is set to automatically
3204 // renew for an additional 1 year after your current commitment period expires.
3205 //
3206 // Set to True, if you want your commitment period to automatically renew. Set
3207 // to False if you do not want your commitment to automatically renew.
3208 //
3209 // You can do the following:
3210 //
3211 // * Set a 1-year commitment to automatically renew for an additional 1 year.
3212 // The hourly rate for the additional year will continue to be the same as
3213 // your existing 1-year rate.
3214 //
3215 // * Set a 3-year commitment to automatically renew for an additional 1 year.
3216 // The hourly rate for the additional year will continue to be the same as
3217 // your existing 3-year rate.
3218 //
3219 // * Turn off a previously-enabled automatic renewal on a 1-year or 3-year
3220 // commitment.
3221 //
3222 // You cannot use the automatic-renewal option for a 60-day commitment.
3223 //
3224 // AutomaticRenewal is a required field
3225 AutomaticRenewal *bool `locationName:"automaticRenewal" type:"boolean" required:"true"`
3226
3227 // The duration of the commitment period for the radio unit. You can choose
3228 // a 60-day, 1-year, or 3-year period.
3229 //
3230 // CommitmentLength is a required field
3231 CommitmentLength *string `locationName:"commitmentLength" type:"string" required:"true" enum:"CommitmentLength"`
3232 }
3233
3234 // String returns the string representation.
3235 //
3236 // API parameter values that are decorated as "sensitive" in the API will not
3237 // be included in the string output. The member name will be present, but the
3238 // value will be replaced with "sensitive".
3239 func (s CommitmentConfiguration) String() string {
3240 return awsutil.Prettify(s)
3241 }
3242
3243 // GoString returns the string representation.
3244 //
3245 // API parameter values that are decorated as "sensitive" in the API will not
3246 // be included in the string output. The member name will be present, but the
3247 // value will be replaced with "sensitive".
3248 func (s CommitmentConfiguration) GoString() string {
3249 return s.String()
3250 }
3251
3252 // Validate inspects the fields of the type to determine if they are valid.
3253 func (s *CommitmentConfiguration) Validate() error {
3254 invalidParams := request.ErrInvalidParams{Context: "CommitmentConfiguration"}
3255 if s.AutomaticRenewal == nil {
3256 invalidParams.Add(request.NewErrParamRequired("AutomaticRenewal"))
3257 }
3258 if s.CommitmentLength == nil {
3259 invalidParams.Add(request.NewErrParamRequired("CommitmentLength"))
3260 }
3261
3262 if invalidParams.Len() > 0 {
3263 return invalidParams
3264 }
3265 return nil
3266 }
3267
3268 // SetAutomaticRenewal sets the AutomaticRenewal field's value.
3269 func (s *CommitmentConfiguration) SetAutomaticRenewal(v bool) *CommitmentConfiguration {
3270 s.AutomaticRenewal = &v
3271 return s
3272 }
3273
3274 // SetCommitmentLength sets the CommitmentLength field's value.
3275 func (s *CommitmentConfiguration) SetCommitmentLength(v string) *CommitmentConfiguration {
3276 s.CommitmentLength = &v
3277 return s
3278 }
3279
3280 // Shows the duration, the date and time that the contract started and ends,
3281 // and the renewal status of the commitment period for the radio unit.
3282 type CommitmentInformation struct {
3283 _ struct{} `type:"structure"`
3284
3285 // The duration and renewal status of the commitment period for the radio unit.
3286 //
3287 // CommitmentConfiguration is a required field
3288 CommitmentConfiguration *CommitmentConfiguration `locationName:"commitmentConfiguration" type:"structure" required:"true"`
3289
3290 // The date and time that the commitment period ends. If you do not cancel or
3291 // renew the commitment before the expiration date, you will be billed at the
3292 // 60-day-commitment rate.
3293 ExpiresOn *time.Time `locationName:"expiresOn" type:"timestamp" timestampFormat:"iso8601"`
3294
3295 // The date and time that the commitment period started.
3296 StartAt *time.Time `locationName:"startAt" type:"timestamp" timestampFormat:"iso8601"`
3297 }
3298
3299 // String returns the string representation.
3300 //
3301 // API parameter values that are decorated as "sensitive" in the API will not
3302 // be included in the string output. The member name will be present, but the
3303 // value will be replaced with "sensitive".
3304 func (s CommitmentInformation) String() string {
3305 return awsutil.Prettify(s)
3306 }
3307
3308 // GoString returns the string representation.
3309 //
3310 // API parameter values that are decorated as "sensitive" in the API will not
3311 // be included in the string output. The member name will be present, but the
3312 // value will be replaced with "sensitive".
3313 func (s CommitmentInformation) GoString() string {
3314 return s.String()
3315 }
3316
3317 // SetCommitmentConfiguration sets the CommitmentConfiguration field's value.
3318 func (s *CommitmentInformation) SetCommitmentConfiguration(v *CommitmentConfiguration) *CommitmentInformation {
3319 s.CommitmentConfiguration = v
3320 return s
3321 }
3322
3323 // SetExpiresOn sets the ExpiresOn field's value.
3324 func (s *CommitmentInformation) SetExpiresOn(v time.Time) *CommitmentInformation {
3325 s.ExpiresOn = &v
3326 return s
3327 }
3328
3329 // SetStartAt sets the StartAt field's value.
3330 func (s *CommitmentInformation) SetStartAt(v time.Time) *CommitmentInformation {
3331 s.StartAt = &v
3332 return s
3333 }
3334
3335 type ConfigureAccessPointInput struct {
3336 _ struct{} `type:"structure"`
3337
3338 // The Amazon Resource Name (ARN) of the network resource.
3339 //
3340 // AccessPointArn is a required field
3341 AccessPointArn *string `locationName:"accessPointArn" type:"string" required:"true"`
3342
3343 // A Base64 encoded string of the CPI certificate associated with the CPI user
3344 // who is certifying the coordinates of the network resource.
3345 //
3346 // CpiSecretKey is a sensitive parameter and its value will be
3347 // replaced with "sensitive" in string returned by ConfigureAccessPointInput's
3348 // String and GoString methods.
3349 CpiSecretKey *string `locationName:"cpiSecretKey" min:"1" type:"string" sensitive:"true"`
3350
3351 // The CPI user ID of the CPI user who is certifying the coordinates of the
3352 // network resource.
3353 //
3354 // CpiUserId is a sensitive parameter and its value will be
3355 // replaced with "sensitive" in string returned by ConfigureAccessPointInput's
3356 // String and GoString methods.
3357 CpiUserId *string `locationName:"cpiUserId" min:"1" type:"string" sensitive:"true"`
3358
3359 // The CPI password associated with the CPI certificate in cpiSecretKey.
3360 //
3361 // CpiUserPassword is a sensitive parameter and its value will be
3362 // replaced with "sensitive" in string returned by ConfigureAccessPointInput's
3363 // String and GoString methods.
3364 CpiUserPassword *string `locationName:"cpiUserPassword" min:"1" type:"string" sensitive:"true"`
3365
3366 // The CPI user name of the CPI user who is certifying the coordinates of the
3367 // radio unit.
3368 //
3369 // CpiUsername is a sensitive parameter and its value will be
3370 // replaced with "sensitive" in string returned by ConfigureAccessPointInput's
3371 // String and GoString methods.
3372 CpiUsername *string `locationName:"cpiUsername" min:"1" type:"string" sensitive:"true"`
3373
3374 // The position of the network resource.
3375 Position *Position `locationName:"position" type:"structure"`
3376 }
3377
3378 // String returns the string representation.
3379 //
3380 // API parameter values that are decorated as "sensitive" in the API will not
3381 // be included in the string output. The member name will be present, but the
3382 // value will be replaced with "sensitive".
3383 func (s ConfigureAccessPointInput) String() string {
3384 return awsutil.Prettify(s)
3385 }
3386
3387 // GoString returns the string representation.
3388 //
3389 // API parameter values that are decorated as "sensitive" in the API will not
3390 // be included in the string output. The member name will be present, but the
3391 // value will be replaced with "sensitive".
3392 func (s ConfigureAccessPointInput) GoString() string {
3393 return s.String()
3394 }
3395
3396 // Validate inspects the fields of the type to determine if they are valid.
3397 func (s *ConfigureAccessPointInput) Validate() error {
3398 invalidParams := request.ErrInvalidParams{Context: "ConfigureAccessPointInput"}
3399 if s.AccessPointArn == nil {
3400 invalidParams.Add(request.NewErrParamRequired("AccessPointArn"))
3401 }
3402 if s.CpiSecretKey != nil && len(*s.CpiSecretKey) < 1 {
3403 invalidParams.Add(request.NewErrParamMinLen("CpiSecretKey", 1))
3404 }
3405 if s.CpiUserId != nil && len(*s.CpiUserId) < 1 {
3406 invalidParams.Add(request.NewErrParamMinLen("CpiUserId", 1))
3407 }
3408 if s.CpiUserPassword != nil && len(*s.CpiUserPassword) < 1 {
3409 invalidParams.Add(request.NewErrParamMinLen("CpiUserPassword", 1))
3410 }
3411 if s.CpiUsername != nil && len(*s.CpiUsername) < 1 {
3412 invalidParams.Add(request.NewErrParamMinLen("CpiUsername", 1))
3413 }
3414
3415 if invalidParams.Len() > 0 {
3416 return invalidParams
3417 }
3418 return nil
3419 }
3420
3421 // SetAccessPointArn sets the AccessPointArn field's value.
3422 func (s *ConfigureAccessPointInput) SetAccessPointArn(v string) *ConfigureAccessPointInput {
3423 s.AccessPointArn = &v
3424 return s
3425 }
3426
3427 // SetCpiSecretKey sets the CpiSecretKey field's value.
3428 func (s *ConfigureAccessPointInput) SetCpiSecretKey(v string) *ConfigureAccessPointInput {
3429 s.CpiSecretKey = &v
3430 return s
3431 }
3432
3433 // SetCpiUserId sets the CpiUserId field's value.
3434 func (s *ConfigureAccessPointInput) SetCpiUserId(v string) *ConfigureAccessPointInput {
3435 s.CpiUserId = &v
3436 return s
3437 }
3438
3439 // SetCpiUserPassword sets the CpiUserPassword field's value.
3440 func (s *ConfigureAccessPointInput) SetCpiUserPassword(v string) *ConfigureAccessPointInput {
3441 s.CpiUserPassword = &v
3442 return s
3443 }
3444
3445 // SetCpiUsername sets the CpiUsername field's value.
3446 func (s *ConfigureAccessPointInput) SetCpiUsername(v string) *ConfigureAccessPointInput {
3447 s.CpiUsername = &v
3448 return s
3449 }
3450
3451 // SetPosition sets the Position field's value.
3452 func (s *ConfigureAccessPointInput) SetPosition(v *Position) *ConfigureAccessPointInput {
3453 s.Position = v
3454 return s
3455 }
3456
3457 type ConfigureAccessPointOutput struct {
3458 _ struct{} `type:"structure"`
3459
3460 // Information about the network resource.
3461 //
3462 // AccessPoint is a required field
3463 AccessPoint *NetworkResource `locationName:"accessPoint" type:"structure" required:"true"`
3464 }
3465
3466 // String returns the string representation.
3467 //
3468 // API parameter values that are decorated as "sensitive" in the API will not
3469 // be included in the string output. The member name will be present, but the
3470 // value will be replaced with "sensitive".
3471 func (s ConfigureAccessPointOutput) String() string {
3472 return awsutil.Prettify(s)
3473 }
3474
3475 // GoString returns the string representation.
3476 //
3477 // API parameter values that are decorated as "sensitive" in the API will not
3478 // be included in the string output. The member name will be present, but the
3479 // value will be replaced with "sensitive".
3480 func (s ConfigureAccessPointOutput) GoString() string {
3481 return s.String()
3482 }
3483
3484 // SetAccessPoint sets the AccessPoint field's value.
3485 func (s *ConfigureAccessPointOutput) SetAccessPoint(v *NetworkResource) *ConfigureAccessPointOutput {
3486 s.AccessPoint = v
3487 return s
3488 }
3489
3490 type CreateNetworkInput struct {
3491 _ struct{} `type:"structure"`
3492
3493 // Unique, case-sensitive identifier that you provide to ensure the idempotency
3494 // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
3495 ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
3496
3497 // The description of the network.
3498 Description *string `locationName:"description" type:"string"`
3499
3500 // The name of the network. You can't change the name after you create the network.
3501 //
3502 // NetworkName is a required field
3503 NetworkName *string `locationName:"networkName" min:"1" type:"string" required:"true"`
3504
3505 // The tags to apply to the network.
3506 //
3507 // Tags is a sensitive parameter and its value will be
3508 // replaced with "sensitive" in string returned by CreateNetworkInput's
3509 // String and GoString methods.
3510 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
3511 }
3512
3513 // String returns the string representation.
3514 //
3515 // API parameter values that are decorated as "sensitive" in the API will not
3516 // be included in the string output. The member name will be present, but the
3517 // value will be replaced with "sensitive".
3518 func (s CreateNetworkInput) String() string {
3519 return awsutil.Prettify(s)
3520 }
3521
3522 // GoString returns the string representation.
3523 //
3524 // API parameter values that are decorated as "sensitive" in the API will not
3525 // be included in the string output. The member name will be present, but the
3526 // value will be replaced with "sensitive".
3527 func (s CreateNetworkInput) GoString() string {
3528 return s.String()
3529 }
3530
3531 // Validate inspects the fields of the type to determine if they are valid.
3532 func (s *CreateNetworkInput) Validate() error {
3533 invalidParams := request.ErrInvalidParams{Context: "CreateNetworkInput"}
3534 if s.ClientToken != nil && len(*s.ClientToken) < 1 {
3535 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
3536 }
3537 if s.NetworkName == nil {
3538 invalidParams.Add(request.NewErrParamRequired("NetworkName"))
3539 }
3540 if s.NetworkName != nil && len(*s.NetworkName) < 1 {
3541 invalidParams.Add(request.NewErrParamMinLen("NetworkName", 1))
3542 }
3543 if s.Tags != nil && len(s.Tags) < 1 {
3544 invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
3545 }
3546
3547 if invalidParams.Len() > 0 {
3548 return invalidParams
3549 }
3550 return nil
3551 }
3552
3553 // SetClientToken sets the ClientToken field's value.
3554 func (s *CreateNetworkInput) SetClientToken(v string) *CreateNetworkInput {
3555 s.ClientToken = &v
3556 return s
3557 }
3558
3559 // SetDescription sets the Description field's value.
3560 func (s *CreateNetworkInput) SetDescription(v string) *CreateNetworkInput {
3561 s.Description = &v
3562 return s
3563 }
3564
3565 // SetNetworkName sets the NetworkName field's value.
3566 func (s *CreateNetworkInput) SetNetworkName(v string) *CreateNetworkInput {
3567 s.NetworkName = &v
3568 return s
3569 }
3570
3571 // SetTags sets the Tags field's value.
3572 func (s *CreateNetworkInput) SetTags(v map[string]*string) *CreateNetworkInput {
3573 s.Tags = v
3574 return s
3575 }
3576
3577 type CreateNetworkOutput struct {
3578 _ struct{} `type:"structure"`
3579
3580 // Information about the network.
3581 //
3582 // Network is a required field
3583 Network *Network `locationName:"network" type:"structure" required:"true"`
3584
3585 // The network tags.
3586 //
3587 // Tags is a sensitive parameter and its value will be
3588 // replaced with "sensitive" in string returned by CreateNetworkOutput's
3589 // String and GoString methods.
3590 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
3591 }
3592
3593 // String returns the string representation.
3594 //
3595 // API parameter values that are decorated as "sensitive" in the API will not
3596 // be included in the string output. The member name will be present, but the
3597 // value will be replaced with "sensitive".
3598 func (s CreateNetworkOutput) String() string {
3599 return awsutil.Prettify(s)
3600 }
3601
3602 // GoString returns the string representation.
3603 //
3604 // API parameter values that are decorated as "sensitive" in the API will not
3605 // be included in the string output. The member name will be present, but the
3606 // value will be replaced with "sensitive".
3607 func (s CreateNetworkOutput) GoString() string {
3608 return s.String()
3609 }
3610
3611 // SetNetwork sets the Network field's value.
3612 func (s *CreateNetworkOutput) SetNetwork(v *Network) *CreateNetworkOutput {
3613 s.Network = v
3614 return s
3615 }
3616
3617 // SetTags sets the Tags field's value.
3618 func (s *CreateNetworkOutput) SetTags(v map[string]*string) *CreateNetworkOutput {
3619 s.Tags = v
3620 return s
3621 }
3622
3623 type CreateNetworkSiteInput struct {
3624 _ struct{} `type:"structure"`
3625
3626 // The Availability Zone that is the parent of this site. You can't change the
3627 // Availability Zone after you create the site.
3628 AvailabilityZone *string `locationName:"availabilityZone" type:"string"`
3629
3630 // The ID of the Availability Zone that is the parent of this site. You can't
3631 // change the Availability Zone after you create the site.
3632 AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"`
3633
3634 // Unique, case-sensitive identifier that you provide to ensure the idempotency
3635 // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
3636 ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
3637
3638 // The description of the site.
3639 Description *string `locationName:"description" type:"string"`
3640
3641 // The Amazon Resource Name (ARN) of the network.
3642 //
3643 // NetworkArn is a required field
3644 NetworkArn *string `locationName:"networkArn" type:"string" required:"true"`
3645
3646 // The name of the site. You can't change the name after you create the site.
3647 //
3648 // NetworkSiteName is a required field
3649 NetworkSiteName *string `locationName:"networkSiteName" min:"1" type:"string" required:"true"`
3650
3651 // Information about the pending plan for this site.
3652 PendingPlan *SitePlan `locationName:"pendingPlan" type:"structure"`
3653
3654 // The tags to apply to the network site.
3655 //
3656 // Tags is a sensitive parameter and its value will be
3657 // replaced with "sensitive" in string returned by CreateNetworkSiteInput's
3658 // String and GoString methods.
3659 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
3660 }
3661
3662 // String returns the string representation.
3663 //
3664 // API parameter values that are decorated as "sensitive" in the API will not
3665 // be included in the string output. The member name will be present, but the
3666 // value will be replaced with "sensitive".
3667 func (s CreateNetworkSiteInput) String() string {
3668 return awsutil.Prettify(s)
3669 }
3670
3671 // GoString returns the string representation.
3672 //
3673 // API parameter values that are decorated as "sensitive" in the API will not
3674 // be included in the string output. The member name will be present, but the
3675 // value will be replaced with "sensitive".
3676 func (s CreateNetworkSiteInput) GoString() string {
3677 return s.String()
3678 }
3679
3680 // Validate inspects the fields of the type to determine if they are valid.
3681 func (s *CreateNetworkSiteInput) Validate() error {
3682 invalidParams := request.ErrInvalidParams{Context: "CreateNetworkSiteInput"}
3683 if s.ClientToken != nil && len(*s.ClientToken) < 1 {
3684 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
3685 }
3686 if s.NetworkArn == nil {
3687 invalidParams.Add(request.NewErrParamRequired("NetworkArn"))
3688 }
3689 if s.NetworkSiteName == nil {
3690 invalidParams.Add(request.NewErrParamRequired("NetworkSiteName"))
3691 }
3692 if s.NetworkSiteName != nil && len(*s.NetworkSiteName) < 1 {
3693 invalidParams.Add(request.NewErrParamMinLen("NetworkSiteName", 1))
3694 }
3695 if s.Tags != nil && len(s.Tags) < 1 {
3696 invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
3697 }
3698 if s.PendingPlan != nil {
3699 if err := s.PendingPlan.Validate(); err != nil {
3700 invalidParams.AddNested("PendingPlan", err.(request.ErrInvalidParams))
3701 }
3702 }
3703
3704 if invalidParams.Len() > 0 {
3705 return invalidParams
3706 }
3707 return nil
3708 }
3709
3710 // SetAvailabilityZone sets the AvailabilityZone field's value.
3711 func (s *CreateNetworkSiteInput) SetAvailabilityZone(v string) *CreateNetworkSiteInput {
3712 s.AvailabilityZone = &v
3713 return s
3714 }
3715
3716 // SetAvailabilityZoneId sets the AvailabilityZoneId field's value.
3717 func (s *CreateNetworkSiteInput) SetAvailabilityZoneId(v string) *CreateNetworkSiteInput {
3718 s.AvailabilityZoneId = &v
3719 return s
3720 }
3721
3722 // SetClientToken sets the ClientToken field's value.
3723 func (s *CreateNetworkSiteInput) SetClientToken(v string) *CreateNetworkSiteInput {
3724 s.ClientToken = &v
3725 return s
3726 }
3727
3728 // SetDescription sets the Description field's value.
3729 func (s *CreateNetworkSiteInput) SetDescription(v string) *CreateNetworkSiteInput {
3730 s.Description = &v
3731 return s
3732 }
3733
3734 // SetNetworkArn sets the NetworkArn field's value.
3735 func (s *CreateNetworkSiteInput) SetNetworkArn(v string) *CreateNetworkSiteInput {
3736 s.NetworkArn = &v
3737 return s
3738 }
3739
3740 // SetNetworkSiteName sets the NetworkSiteName field's value.
3741 func (s *CreateNetworkSiteInput) SetNetworkSiteName(v string) *CreateNetworkSiteInput {
3742 s.NetworkSiteName = &v
3743 return s
3744 }
3745
3746 // SetPendingPlan sets the PendingPlan field's value.
3747 func (s *CreateNetworkSiteInput) SetPendingPlan(v *SitePlan) *CreateNetworkSiteInput {
3748 s.PendingPlan = v
3749 return s
3750 }
3751
3752 // SetTags sets the Tags field's value.
3753 func (s *CreateNetworkSiteInput) SetTags(v map[string]*string) *CreateNetworkSiteInput {
3754 s.Tags = v
3755 return s
3756 }
3757
3758 type CreateNetworkSiteOutput struct {
3759 _ struct{} `type:"structure"`
3760
3761 // Information about the network site.
3762 NetworkSite *NetworkSite `locationName:"networkSite" type:"structure"`
3763
3764 // The network site tags.
3765 //
3766 // Tags is a sensitive parameter and its value will be
3767 // replaced with "sensitive" in string returned by CreateNetworkSiteOutput's
3768 // String and GoString methods.
3769 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
3770 }
3771
3772 // String returns the string representation.
3773 //
3774 // API parameter values that are decorated as "sensitive" in the API will not
3775 // be included in the string output. The member name will be present, but the
3776 // value will be replaced with "sensitive".
3777 func (s CreateNetworkSiteOutput) String() string {
3778 return awsutil.Prettify(s)
3779 }
3780
3781 // GoString returns the string representation.
3782 //
3783 // API parameter values that are decorated as "sensitive" in the API will not
3784 // be included in the string output. The member name will be present, but the
3785 // value will be replaced with "sensitive".
3786 func (s CreateNetworkSiteOutput) GoString() string {
3787 return s.String()
3788 }
3789
3790 // SetNetworkSite sets the NetworkSite field's value.
3791 func (s *CreateNetworkSiteOutput) SetNetworkSite(v *NetworkSite) *CreateNetworkSiteOutput {
3792 s.NetworkSite = v
3793 return s
3794 }
3795
3796 // SetTags sets the Tags field's value.
3797 func (s *CreateNetworkSiteOutput) SetTags(v map[string]*string) *CreateNetworkSiteOutput {
3798 s.Tags = v
3799 return s
3800 }
3801
3802 type DeactivateDeviceIdentifierInput struct {
3803 _ struct{} `type:"structure"`
3804
3805 // Unique, case-sensitive identifier that you provide to ensure the idempotency
3806 // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
3807 ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
3808
3809 // The Amazon Resource Name (ARN) of the device identifier.
3810 //
3811 // DeviceIdentifierArn is a required field
3812 DeviceIdentifierArn *string `locationName:"deviceIdentifierArn" type:"string" required:"true"`
3813 }
3814
3815 // String returns the string representation.
3816 //
3817 // API parameter values that are decorated as "sensitive" in the API will not
3818 // be included in the string output. The member name will be present, but the
3819 // value will be replaced with "sensitive".
3820 func (s DeactivateDeviceIdentifierInput) String() string {
3821 return awsutil.Prettify(s)
3822 }
3823
3824 // GoString returns the string representation.
3825 //
3826 // API parameter values that are decorated as "sensitive" in the API will not
3827 // be included in the string output. The member name will be present, but the
3828 // value will be replaced with "sensitive".
3829 func (s DeactivateDeviceIdentifierInput) GoString() string {
3830 return s.String()
3831 }
3832
3833 // Validate inspects the fields of the type to determine if they are valid.
3834 func (s *DeactivateDeviceIdentifierInput) Validate() error {
3835 invalidParams := request.ErrInvalidParams{Context: "DeactivateDeviceIdentifierInput"}
3836 if s.ClientToken != nil && len(*s.ClientToken) < 1 {
3837 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
3838 }
3839 if s.DeviceIdentifierArn == nil {
3840 invalidParams.Add(request.NewErrParamRequired("DeviceIdentifierArn"))
3841 }
3842
3843 if invalidParams.Len() > 0 {
3844 return invalidParams
3845 }
3846 return nil
3847 }
3848
3849 // SetClientToken sets the ClientToken field's value.
3850 func (s *DeactivateDeviceIdentifierInput) SetClientToken(v string) *DeactivateDeviceIdentifierInput {
3851 s.ClientToken = &v
3852 return s
3853 }
3854
3855 // SetDeviceIdentifierArn sets the DeviceIdentifierArn field's value.
3856 func (s *DeactivateDeviceIdentifierInput) SetDeviceIdentifierArn(v string) *DeactivateDeviceIdentifierInput {
3857 s.DeviceIdentifierArn = &v
3858 return s
3859 }
3860
3861 type DeactivateDeviceIdentifierOutput struct {
3862 _ struct{} `type:"structure"`
3863
3864 // Information about the device identifier.
3865 //
3866 // DeviceIdentifier is a required field
3867 DeviceIdentifier *DeviceIdentifier `locationName:"deviceIdentifier" type:"structure" required:"true"`
3868 }
3869
3870 // String returns the string representation.
3871 //
3872 // API parameter values that are decorated as "sensitive" in the API will not
3873 // be included in the string output. The member name will be present, but the
3874 // value will be replaced with "sensitive".
3875 func (s DeactivateDeviceIdentifierOutput) String() string {
3876 return awsutil.Prettify(s)
3877 }
3878
3879 // GoString returns the string representation.
3880 //
3881 // API parameter values that are decorated as "sensitive" in the API will not
3882 // be included in the string output. The member name will be present, but the
3883 // value will be replaced with "sensitive".
3884 func (s DeactivateDeviceIdentifierOutput) GoString() string {
3885 return s.String()
3886 }
3887
3888 // SetDeviceIdentifier sets the DeviceIdentifier field's value.
3889 func (s *DeactivateDeviceIdentifierOutput) SetDeviceIdentifier(v *DeviceIdentifier) *DeactivateDeviceIdentifierOutput {
3890 s.DeviceIdentifier = v
3891 return s
3892 }
3893
3894 type DeleteNetworkInput struct {
3895 _ struct{} `type:"structure" nopayload:"true"`
3896
3897 // Unique, case-sensitive identifier that you provide to ensure the idempotency
3898 // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
3899 ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string"`
3900
3901 // The Amazon Resource Name (ARN) of the network.
3902 //
3903 // NetworkArn is a required field
3904 NetworkArn *string `location:"uri" locationName:"networkArn" type:"string" required:"true"`
3905 }
3906
3907 // String returns the string representation.
3908 //
3909 // API parameter values that are decorated as "sensitive" in the API will not
3910 // be included in the string output. The member name will be present, but the
3911 // value will be replaced with "sensitive".
3912 func (s DeleteNetworkInput) String() string {
3913 return awsutil.Prettify(s)
3914 }
3915
3916 // GoString returns the string representation.
3917 //
3918 // API parameter values that are decorated as "sensitive" in the API will not
3919 // be included in the string output. The member name will be present, but the
3920 // value will be replaced with "sensitive".
3921 func (s DeleteNetworkInput) GoString() string {
3922 return s.String()
3923 }
3924
3925 // Validate inspects the fields of the type to determine if they are valid.
3926 func (s *DeleteNetworkInput) Validate() error {
3927 invalidParams := request.ErrInvalidParams{Context: "DeleteNetworkInput"}
3928 if s.ClientToken != nil && len(*s.ClientToken) < 1 {
3929 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
3930 }
3931 if s.NetworkArn == nil {
3932 invalidParams.Add(request.NewErrParamRequired("NetworkArn"))
3933 }
3934 if s.NetworkArn != nil && len(*s.NetworkArn) < 1 {
3935 invalidParams.Add(request.NewErrParamMinLen("NetworkArn", 1))
3936 }
3937
3938 if invalidParams.Len() > 0 {
3939 return invalidParams
3940 }
3941 return nil
3942 }
3943
3944 // SetClientToken sets the ClientToken field's value.
3945 func (s *DeleteNetworkInput) SetClientToken(v string) *DeleteNetworkInput {
3946 s.ClientToken = &v
3947 return s
3948 }
3949
3950 // SetNetworkArn sets the NetworkArn field's value.
3951 func (s *DeleteNetworkInput) SetNetworkArn(v string) *DeleteNetworkInput {
3952 s.NetworkArn = &v
3953 return s
3954 }
3955
3956 type DeleteNetworkOutput struct {
3957 _ struct{} `type:"structure"`
3958
3959 // Information about the network.
3960 //
3961 // Network is a required field
3962 Network *Network `locationName:"network" type:"structure" required:"true"`
3963 }
3964
3965 // String returns the string representation.
3966 //
3967 // API parameter values that are decorated as "sensitive" in the API will not
3968 // be included in the string output. The member name will be present, but the
3969 // value will be replaced with "sensitive".
3970 func (s DeleteNetworkOutput) String() string {
3971 return awsutil.Prettify(s)
3972 }
3973
3974 // GoString returns the string representation.
3975 //
3976 // API parameter values that are decorated as "sensitive" in the API will not
3977 // be included in the string output. The member name will be present, but the
3978 // value will be replaced with "sensitive".
3979 func (s DeleteNetworkOutput) GoString() string {
3980 return s.String()
3981 }
3982
3983 // SetNetwork sets the Network field's value.
3984 func (s *DeleteNetworkOutput) SetNetwork(v *Network) *DeleteNetworkOutput {
3985 s.Network = v
3986 return s
3987 }
3988
3989 type DeleteNetworkSiteInput struct {
3990 _ struct{} `type:"structure" nopayload:"true"`
3991
3992 // Unique, case-sensitive identifier that you provide to ensure the idempotency
3993 // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
3994 ClientToken *string `location:"querystring" locationName:"clientToken" min:"1" type:"string"`
3995
3996 // The Amazon Resource Name (ARN) of the network site.
3997 //
3998 // NetworkSiteArn is a required field
3999 NetworkSiteArn *string `location:"uri" locationName:"networkSiteArn" type:"string" required:"true"`
4000 }
4001
4002 // String returns the string representation.
4003 //
4004 // API parameter values that are decorated as "sensitive" in the API will not
4005 // be included in the string output. The member name will be present, but the
4006 // value will be replaced with "sensitive".
4007 func (s DeleteNetworkSiteInput) String() string {
4008 return awsutil.Prettify(s)
4009 }
4010
4011 // GoString returns the string representation.
4012 //
4013 // API parameter values that are decorated as "sensitive" in the API will not
4014 // be included in the string output. The member name will be present, but the
4015 // value will be replaced with "sensitive".
4016 func (s DeleteNetworkSiteInput) GoString() string {
4017 return s.String()
4018 }
4019
4020 // Validate inspects the fields of the type to determine if they are valid.
4021 func (s *DeleteNetworkSiteInput) Validate() error {
4022 invalidParams := request.ErrInvalidParams{Context: "DeleteNetworkSiteInput"}
4023 if s.ClientToken != nil && len(*s.ClientToken) < 1 {
4024 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
4025 }
4026 if s.NetworkSiteArn == nil {
4027 invalidParams.Add(request.NewErrParamRequired("NetworkSiteArn"))
4028 }
4029 if s.NetworkSiteArn != nil && len(*s.NetworkSiteArn) < 1 {
4030 invalidParams.Add(request.NewErrParamMinLen("NetworkSiteArn", 1))
4031 }
4032
4033 if invalidParams.Len() > 0 {
4034 return invalidParams
4035 }
4036 return nil
4037 }
4038
4039 // SetClientToken sets the ClientToken field's value.
4040 func (s *DeleteNetworkSiteInput) SetClientToken(v string) *DeleteNetworkSiteInput {
4041 s.ClientToken = &v
4042 return s
4043 }
4044
4045 // SetNetworkSiteArn sets the NetworkSiteArn field's value.
4046 func (s *DeleteNetworkSiteInput) SetNetworkSiteArn(v string) *DeleteNetworkSiteInput {
4047 s.NetworkSiteArn = &v
4048 return s
4049 }
4050
4051 type DeleteNetworkSiteOutput struct {
4052 _ struct{} `type:"structure"`
4053
4054 // Information about the network site.
4055 NetworkSite *NetworkSite `locationName:"networkSite" type:"structure"`
4056 }
4057
4058 // String returns the string representation.
4059 //
4060 // API parameter values that are decorated as "sensitive" in the API will not
4061 // be included in the string output. The member name will be present, but the
4062 // value will be replaced with "sensitive".
4063 func (s DeleteNetworkSiteOutput) String() string {
4064 return awsutil.Prettify(s)
4065 }
4066
4067 // GoString returns the string representation.
4068 //
4069 // API parameter values that are decorated as "sensitive" in the API will not
4070 // be included in the string output. The member name will be present, but the
4071 // value will be replaced with "sensitive".
4072 func (s DeleteNetworkSiteOutput) GoString() string {
4073 return s.String()
4074 }
4075
4076 // SetNetworkSite sets the NetworkSite field's value.
4077 func (s *DeleteNetworkSiteOutput) SetNetworkSite(v *NetworkSite) *DeleteNetworkSiteOutput {
4078 s.NetworkSite = v
4079 return s
4080 }
4081
4082 // Information about a subscriber of a device that can use a network.
4083 type DeviceIdentifier struct {
4084 _ struct{} `type:"structure"`
4085
4086 // The creation time of this device identifier.
4087 CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
4088
4089 // The Amazon Resource Name (ARN) of the device identifier.
4090 DeviceIdentifierArn *string `locationName:"deviceIdentifierArn" type:"string"`
4091
4092 // The Integrated Circuit Card Identifier of the device identifier.
4093 Iccid *string `locationName:"iccid" type:"string"`
4094
4095 // The International Mobile Subscriber Identity of the device identifier.
4096 //
4097 // Imsi is a sensitive parameter and its value will be
4098 // replaced with "sensitive" in string returned by DeviceIdentifier's
4099 // String and GoString methods.
4100 Imsi *string `locationName:"imsi" type:"string" sensitive:"true"`
4101
4102 // The Amazon Resource Name (ARN) of the network on which the device identifier
4103 // appears.
4104 NetworkArn *string `locationName:"networkArn" type:"string"`
4105
4106 // The Amazon Resource Name (ARN) of the order used to purchase the device identifier.
4107 OrderArn *string `locationName:"orderArn" type:"string"`
4108
4109 // The status of the device identifier.
4110 Status *string `locationName:"status" type:"string" enum:"DeviceIdentifierStatus"`
4111
4112 // The Amazon Resource Name (ARN) of the traffic group to which the device identifier
4113 // belongs.
4114 TrafficGroupArn *string `locationName:"trafficGroupArn" type:"string"`
4115
4116 // The vendor of the device identifier.
4117 Vendor *string `locationName:"vendor" type:"string"`
4118 }
4119
4120 // String returns the string representation.
4121 //
4122 // API parameter values that are decorated as "sensitive" in the API will not
4123 // be included in the string output. The member name will be present, but the
4124 // value will be replaced with "sensitive".
4125 func (s DeviceIdentifier) String() string {
4126 return awsutil.Prettify(s)
4127 }
4128
4129 // GoString returns the string representation.
4130 //
4131 // API parameter values that are decorated as "sensitive" in the API will not
4132 // be included in the string output. The member name will be present, but the
4133 // value will be replaced with "sensitive".
4134 func (s DeviceIdentifier) GoString() string {
4135 return s.String()
4136 }
4137
4138 // SetCreatedAt sets the CreatedAt field's value.
4139 func (s *DeviceIdentifier) SetCreatedAt(v time.Time) *DeviceIdentifier {
4140 s.CreatedAt = &v
4141 return s
4142 }
4143
4144 // SetDeviceIdentifierArn sets the DeviceIdentifierArn field's value.
4145 func (s *DeviceIdentifier) SetDeviceIdentifierArn(v string) *DeviceIdentifier {
4146 s.DeviceIdentifierArn = &v
4147 return s
4148 }
4149
4150 // SetIccid sets the Iccid field's value.
4151 func (s *DeviceIdentifier) SetIccid(v string) *DeviceIdentifier {
4152 s.Iccid = &v
4153 return s
4154 }
4155
4156 // SetImsi sets the Imsi field's value.
4157 func (s *DeviceIdentifier) SetImsi(v string) *DeviceIdentifier {
4158 s.Imsi = &v
4159 return s
4160 }
4161
4162 // SetNetworkArn sets the NetworkArn field's value.
4163 func (s *DeviceIdentifier) SetNetworkArn(v string) *DeviceIdentifier {
4164 s.NetworkArn = &v
4165 return s
4166 }
4167
4168 // SetOrderArn sets the OrderArn field's value.
4169 func (s *DeviceIdentifier) SetOrderArn(v string) *DeviceIdentifier {
4170 s.OrderArn = &v
4171 return s
4172 }
4173
4174 // SetStatus sets the Status field's value.
4175 func (s *DeviceIdentifier) SetStatus(v string) *DeviceIdentifier {
4176 s.Status = &v
4177 return s
4178 }
4179
4180 // SetTrafficGroupArn sets the TrafficGroupArn field's value.
4181 func (s *DeviceIdentifier) SetTrafficGroupArn(v string) *DeviceIdentifier {
4182 s.TrafficGroupArn = &v
4183 return s
4184 }
4185
4186 // SetVendor sets the Vendor field's value.
4187 func (s *DeviceIdentifier) SetVendor(v string) *DeviceIdentifier {
4188 s.Vendor = &v
4189 return s
4190 }
4191
4192 type GetDeviceIdentifierInput struct {
4193 _ struct{} `type:"structure" nopayload:"true"`
4194
4195 // The Amazon Resource Name (ARN) of the device identifier.
4196 //
4197 // DeviceIdentifierArn is a required field
4198 DeviceIdentifierArn *string `location:"uri" locationName:"deviceIdentifierArn" type:"string" required:"true"`
4199 }
4200
4201 // String returns the string representation.
4202 //
4203 // API parameter values that are decorated as "sensitive" in the API will not
4204 // be included in the string output. The member name will be present, but the
4205 // value will be replaced with "sensitive".
4206 func (s GetDeviceIdentifierInput) String() string {
4207 return awsutil.Prettify(s)
4208 }
4209
4210 // GoString returns the string representation.
4211 //
4212 // API parameter values that are decorated as "sensitive" in the API will not
4213 // be included in the string output. The member name will be present, but the
4214 // value will be replaced with "sensitive".
4215 func (s GetDeviceIdentifierInput) GoString() string {
4216 return s.String()
4217 }
4218
4219 // Validate inspects the fields of the type to determine if they are valid.
4220 func (s *GetDeviceIdentifierInput) Validate() error {
4221 invalidParams := request.ErrInvalidParams{Context: "GetDeviceIdentifierInput"}
4222 if s.DeviceIdentifierArn == nil {
4223 invalidParams.Add(request.NewErrParamRequired("DeviceIdentifierArn"))
4224 }
4225 if s.DeviceIdentifierArn != nil && len(*s.DeviceIdentifierArn) < 1 {
4226 invalidParams.Add(request.NewErrParamMinLen("DeviceIdentifierArn", 1))
4227 }
4228
4229 if invalidParams.Len() > 0 {
4230 return invalidParams
4231 }
4232 return nil
4233 }
4234
4235 // SetDeviceIdentifierArn sets the DeviceIdentifierArn field's value.
4236 func (s *GetDeviceIdentifierInput) SetDeviceIdentifierArn(v string) *GetDeviceIdentifierInput {
4237 s.DeviceIdentifierArn = &v
4238 return s
4239 }
4240
4241 type GetDeviceIdentifierOutput struct {
4242 _ struct{} `type:"structure"`
4243
4244 // Information about the device identifier.
4245 DeviceIdentifier *DeviceIdentifier `locationName:"deviceIdentifier" type:"structure"`
4246
4247 // The device identifier tags.
4248 //
4249 // Tags is a sensitive parameter and its value will be
4250 // replaced with "sensitive" in string returned by GetDeviceIdentifierOutput's
4251 // String and GoString methods.
4252 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
4253 }
4254
4255 // String returns the string representation.
4256 //
4257 // API parameter values that are decorated as "sensitive" in the API will not
4258 // be included in the string output. The member name will be present, but the
4259 // value will be replaced with "sensitive".
4260 func (s GetDeviceIdentifierOutput) String() string {
4261 return awsutil.Prettify(s)
4262 }
4263
4264 // GoString returns the string representation.
4265 //
4266 // API parameter values that are decorated as "sensitive" in the API will not
4267 // be included in the string output. The member name will be present, but the
4268 // value will be replaced with "sensitive".
4269 func (s GetDeviceIdentifierOutput) GoString() string {
4270 return s.String()
4271 }
4272
4273 // SetDeviceIdentifier sets the DeviceIdentifier field's value.
4274 func (s *GetDeviceIdentifierOutput) SetDeviceIdentifier(v *DeviceIdentifier) *GetDeviceIdentifierOutput {
4275 s.DeviceIdentifier = v
4276 return s
4277 }
4278
4279 // SetTags sets the Tags field's value.
4280 func (s *GetDeviceIdentifierOutput) SetTags(v map[string]*string) *GetDeviceIdentifierOutput {
4281 s.Tags = v
4282 return s
4283 }
4284
4285 type GetNetworkInput struct {
4286 _ struct{} `type:"structure" nopayload:"true"`
4287
4288 // The Amazon Resource Name (ARN) of the network.
4289 //
4290 // NetworkArn is a required field
4291 NetworkArn *string `location:"uri" locationName:"networkArn" type:"string" required:"true"`
4292 }
4293
4294 // String returns the string representation.
4295 //
4296 // API parameter values that are decorated as "sensitive" in the API will not
4297 // be included in the string output. The member name will be present, but the
4298 // value will be replaced with "sensitive".
4299 func (s GetNetworkInput) String() string {
4300 return awsutil.Prettify(s)
4301 }
4302
4303 // GoString returns the string representation.
4304 //
4305 // API parameter values that are decorated as "sensitive" in the API will not
4306 // be included in the string output. The member name will be present, but the
4307 // value will be replaced with "sensitive".
4308 func (s GetNetworkInput) GoString() string {
4309 return s.String()
4310 }
4311
4312 // Validate inspects the fields of the type to determine if they are valid.
4313 func (s *GetNetworkInput) Validate() error {
4314 invalidParams := request.ErrInvalidParams{Context: "GetNetworkInput"}
4315 if s.NetworkArn == nil {
4316 invalidParams.Add(request.NewErrParamRequired("NetworkArn"))
4317 }
4318 if s.NetworkArn != nil && len(*s.NetworkArn) < 1 {
4319 invalidParams.Add(request.NewErrParamMinLen("NetworkArn", 1))
4320 }
4321
4322 if invalidParams.Len() > 0 {
4323 return invalidParams
4324 }
4325 return nil
4326 }
4327
4328 // SetNetworkArn sets the NetworkArn field's value.
4329 func (s *GetNetworkInput) SetNetworkArn(v string) *GetNetworkInput {
4330 s.NetworkArn = &v
4331 return s
4332 }
4333
4334 type GetNetworkOutput struct {
4335 _ struct{} `type:"structure"`
4336
4337 // Information about the network.
4338 //
4339 // Network is a required field
4340 Network *Network `locationName:"network" type:"structure" required:"true"`
4341
4342 // The network tags.
4343 //
4344 // Tags is a sensitive parameter and its value will be
4345 // replaced with "sensitive" in string returned by GetNetworkOutput's
4346 // String and GoString methods.
4347 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
4348 }
4349
4350 // String returns the string representation.
4351 //
4352 // API parameter values that are decorated as "sensitive" in the API will not
4353 // be included in the string output. The member name will be present, but the
4354 // value will be replaced with "sensitive".
4355 func (s GetNetworkOutput) String() string {
4356 return awsutil.Prettify(s)
4357 }
4358
4359 // GoString returns the string representation.
4360 //
4361 // API parameter values that are decorated as "sensitive" in the API will not
4362 // be included in the string output. The member name will be present, but the
4363 // value will be replaced with "sensitive".
4364 func (s GetNetworkOutput) GoString() string {
4365 return s.String()
4366 }
4367
4368 // SetNetwork sets the Network field's value.
4369 func (s *GetNetworkOutput) SetNetwork(v *Network) *GetNetworkOutput {
4370 s.Network = v
4371 return s
4372 }
4373
4374 // SetTags sets the Tags field's value.
4375 func (s *GetNetworkOutput) SetTags(v map[string]*string) *GetNetworkOutput {
4376 s.Tags = v
4377 return s
4378 }
4379
4380 type GetNetworkResourceInput struct {
4381 _ struct{} `type:"structure" nopayload:"true"`
4382
4383 // The Amazon Resource Name (ARN) of the network resource.
4384 //
4385 // NetworkResourceArn is a required field
4386 NetworkResourceArn *string `location:"uri" locationName:"networkResourceArn" type:"string" required:"true"`
4387 }
4388
4389 // String returns the string representation.
4390 //
4391 // API parameter values that are decorated as "sensitive" in the API will not
4392 // be included in the string output. The member name will be present, but the
4393 // value will be replaced with "sensitive".
4394 func (s GetNetworkResourceInput) String() string {
4395 return awsutil.Prettify(s)
4396 }
4397
4398 // GoString returns the string representation.
4399 //
4400 // API parameter values that are decorated as "sensitive" in the API will not
4401 // be included in the string output. The member name will be present, but the
4402 // value will be replaced with "sensitive".
4403 func (s GetNetworkResourceInput) GoString() string {
4404 return s.String()
4405 }
4406
4407 // Validate inspects the fields of the type to determine if they are valid.
4408 func (s *GetNetworkResourceInput) Validate() error {
4409 invalidParams := request.ErrInvalidParams{Context: "GetNetworkResourceInput"}
4410 if s.NetworkResourceArn == nil {
4411 invalidParams.Add(request.NewErrParamRequired("NetworkResourceArn"))
4412 }
4413 if s.NetworkResourceArn != nil && len(*s.NetworkResourceArn) < 1 {
4414 invalidParams.Add(request.NewErrParamMinLen("NetworkResourceArn", 1))
4415 }
4416
4417 if invalidParams.Len() > 0 {
4418 return invalidParams
4419 }
4420 return nil
4421 }
4422
4423 // SetNetworkResourceArn sets the NetworkResourceArn field's value.
4424 func (s *GetNetworkResourceInput) SetNetworkResourceArn(v string) *GetNetworkResourceInput {
4425 s.NetworkResourceArn = &v
4426 return s
4427 }
4428
4429 type GetNetworkResourceOutput struct {
4430 _ struct{} `type:"structure"`
4431
4432 // Information about the network resource.
4433 //
4434 // NetworkResource is a required field
4435 NetworkResource *NetworkResource `locationName:"networkResource" type:"structure" required:"true"`
4436
4437 // The network resource tags.
4438 //
4439 // Tags is a sensitive parameter and its value will be
4440 // replaced with "sensitive" in string returned by GetNetworkResourceOutput's
4441 // String and GoString methods.
4442 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
4443 }
4444
4445 // String returns the string representation.
4446 //
4447 // API parameter values that are decorated as "sensitive" in the API will not
4448 // be included in the string output. The member name will be present, but the
4449 // value will be replaced with "sensitive".
4450 func (s GetNetworkResourceOutput) String() string {
4451 return awsutil.Prettify(s)
4452 }
4453
4454 // GoString returns the string representation.
4455 //
4456 // API parameter values that are decorated as "sensitive" in the API will not
4457 // be included in the string output. The member name will be present, but the
4458 // value will be replaced with "sensitive".
4459 func (s GetNetworkResourceOutput) GoString() string {
4460 return s.String()
4461 }
4462
4463 // SetNetworkResource sets the NetworkResource field's value.
4464 func (s *GetNetworkResourceOutput) SetNetworkResource(v *NetworkResource) *GetNetworkResourceOutput {
4465 s.NetworkResource = v
4466 return s
4467 }
4468
4469 // SetTags sets the Tags field's value.
4470 func (s *GetNetworkResourceOutput) SetTags(v map[string]*string) *GetNetworkResourceOutput {
4471 s.Tags = v
4472 return s
4473 }
4474
4475 type GetNetworkSiteInput struct {
4476 _ struct{} `type:"structure" nopayload:"true"`
4477
4478 // The Amazon Resource Name (ARN) of the network site.
4479 //
4480 // NetworkSiteArn is a required field
4481 NetworkSiteArn *string `location:"uri" locationName:"networkSiteArn" type:"string" required:"true"`
4482 }
4483
4484 // String returns the string representation.
4485 //
4486 // API parameter values that are decorated as "sensitive" in the API will not
4487 // be included in the string output. The member name will be present, but the
4488 // value will be replaced with "sensitive".
4489 func (s GetNetworkSiteInput) String() string {
4490 return awsutil.Prettify(s)
4491 }
4492
4493 // GoString returns the string representation.
4494 //
4495 // API parameter values that are decorated as "sensitive" in the API will not
4496 // be included in the string output. The member name will be present, but the
4497 // value will be replaced with "sensitive".
4498 func (s GetNetworkSiteInput) GoString() string {
4499 return s.String()
4500 }
4501
4502 // Validate inspects the fields of the type to determine if they are valid.
4503 func (s *GetNetworkSiteInput) Validate() error {
4504 invalidParams := request.ErrInvalidParams{Context: "GetNetworkSiteInput"}
4505 if s.NetworkSiteArn == nil {
4506 invalidParams.Add(request.NewErrParamRequired("NetworkSiteArn"))
4507 }
4508 if s.NetworkSiteArn != nil && len(*s.NetworkSiteArn) < 1 {
4509 invalidParams.Add(request.NewErrParamMinLen("NetworkSiteArn", 1))
4510 }
4511
4512 if invalidParams.Len() > 0 {
4513 return invalidParams
4514 }
4515 return nil
4516 }
4517
4518 // SetNetworkSiteArn sets the NetworkSiteArn field's value.
4519 func (s *GetNetworkSiteInput) SetNetworkSiteArn(v string) *GetNetworkSiteInput {
4520 s.NetworkSiteArn = &v
4521 return s
4522 }
4523
4524 type GetNetworkSiteOutput struct {
4525 _ struct{} `type:"structure"`
4526
4527 // Information about the network site.
4528 NetworkSite *NetworkSite `locationName:"networkSite" type:"structure"`
4529
4530 // The network site tags.
4531 //
4532 // Tags is a sensitive parameter and its value will be
4533 // replaced with "sensitive" in string returned by GetNetworkSiteOutput's
4534 // String and GoString methods.
4535 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
4536 }
4537
4538 // String returns the string representation.
4539 //
4540 // API parameter values that are decorated as "sensitive" in the API will not
4541 // be included in the string output. The member name will be present, but the
4542 // value will be replaced with "sensitive".
4543 func (s GetNetworkSiteOutput) String() string {
4544 return awsutil.Prettify(s)
4545 }
4546
4547 // GoString returns the string representation.
4548 //
4549 // API parameter values that are decorated as "sensitive" in the API will not
4550 // be included in the string output. The member name will be present, but the
4551 // value will be replaced with "sensitive".
4552 func (s GetNetworkSiteOutput) GoString() string {
4553 return s.String()
4554 }
4555
4556 // SetNetworkSite sets the NetworkSite field's value.
4557 func (s *GetNetworkSiteOutput) SetNetworkSite(v *NetworkSite) *GetNetworkSiteOutput {
4558 s.NetworkSite = v
4559 return s
4560 }
4561
4562 // SetTags sets the Tags field's value.
4563 func (s *GetNetworkSiteOutput) SetTags(v map[string]*string) *GetNetworkSiteOutput {
4564 s.Tags = v
4565 return s
4566 }
4567
4568 type GetOrderInput struct {
4569 _ struct{} `type:"structure" nopayload:"true"`
4570
4571 // The Amazon Resource Name (ARN) of the order.
4572 //
4573 // OrderArn is a required field
4574 OrderArn *string `location:"uri" locationName:"orderArn" type:"string" required:"true"`
4575 }
4576
4577 // String returns the string representation.
4578 //
4579 // API parameter values that are decorated as "sensitive" in the API will not
4580 // be included in the string output. The member name will be present, but the
4581 // value will be replaced with "sensitive".
4582 func (s GetOrderInput) String() string {
4583 return awsutil.Prettify(s)
4584 }
4585
4586 // GoString returns the string representation.
4587 //
4588 // API parameter values that are decorated as "sensitive" in the API will not
4589 // be included in the string output. The member name will be present, but the
4590 // value will be replaced with "sensitive".
4591 func (s GetOrderInput) GoString() string {
4592 return s.String()
4593 }
4594
4595 // Validate inspects the fields of the type to determine if they are valid.
4596 func (s *GetOrderInput) Validate() error {
4597 invalidParams := request.ErrInvalidParams{Context: "GetOrderInput"}
4598 if s.OrderArn == nil {
4599 invalidParams.Add(request.NewErrParamRequired("OrderArn"))
4600 }
4601 if s.OrderArn != nil && len(*s.OrderArn) < 1 {
4602 invalidParams.Add(request.NewErrParamMinLen("OrderArn", 1))
4603 }
4604
4605 if invalidParams.Len() > 0 {
4606 return invalidParams
4607 }
4608 return nil
4609 }
4610
4611 // SetOrderArn sets the OrderArn field's value.
4612 func (s *GetOrderInput) SetOrderArn(v string) *GetOrderInput {
4613 s.OrderArn = &v
4614 return s
4615 }
4616
4617 type GetOrderOutput struct {
4618 _ struct{} `type:"structure"`
4619
4620 // Information about the order.
4621 //
4622 // Order is a required field
4623 Order *Order `locationName:"order" type:"structure" required:"true"`
4624
4625 // The order tags.
4626 //
4627 // Tags is a sensitive parameter and its value will be
4628 // replaced with "sensitive" in string returned by GetOrderOutput's
4629 // String and GoString methods.
4630 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
4631 }
4632
4633 // String returns the string representation.
4634 //
4635 // API parameter values that are decorated as "sensitive" in the API will not
4636 // be included in the string output. The member name will be present, but the
4637 // value will be replaced with "sensitive".
4638 func (s GetOrderOutput) String() string {
4639 return awsutil.Prettify(s)
4640 }
4641
4642 // GoString returns the string representation.
4643 //
4644 // API parameter values that are decorated as "sensitive" in the API will not
4645 // be included in the string output. The member name will be present, but the
4646 // value will be replaced with "sensitive".
4647 func (s GetOrderOutput) GoString() string {
4648 return s.String()
4649 }
4650
4651 // SetOrder sets the Order field's value.
4652 func (s *GetOrderOutput) SetOrder(v *Order) *GetOrderOutput {
4653 s.Order = v
4654 return s
4655 }
4656
4657 // SetTags sets the Tags field's value.
4658 func (s *GetOrderOutput) SetTags(v map[string]*string) *GetOrderOutput {
4659 s.Tags = v
4660 return s
4661 }
4662
4663 // Information about an internal error.
4664 type InternalServerException struct {
4665 _ struct{} `type:"structure"`
4666 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
4667
4668 // Description of the error.
4669 Message_ *string `locationName:"message" type:"string"`
4670
4671 // Advice to clients on when the call can be safely retried.
4672 RetryAfterSeconds *int64 `location:"header" locationName:"Retry-After" type:"integer"`
4673 }
4674
4675 // String returns the string representation.
4676 //
4677 // API parameter values that are decorated as "sensitive" in the API will not
4678 // be included in the string output. The member name will be present, but the
4679 // value will be replaced with "sensitive".
4680 func (s InternalServerException) String() string {
4681 return awsutil.Prettify(s)
4682 }
4683
4684 // GoString returns the string representation.
4685 //
4686 // API parameter values that are decorated as "sensitive" in the API will not
4687 // be included in the string output. The member name will be present, but the
4688 // value will be replaced with "sensitive".
4689 func (s InternalServerException) GoString() string {
4690 return s.String()
4691 }
4692
4693 func newErrorInternalServerException(v protocol.ResponseMetadata) error {
4694 return &InternalServerException{
4695 RespMetadata: v,
4696 }
4697 }
4698
4699 // Code returns the exception type name.
4700 func (s *InternalServerException) Code() string {
4701 return "InternalServerException"
4702 }
4703
4704 // Message returns the exception's message.
4705 func (s *InternalServerException) Message() string {
4706 if s.Message_ != nil {
4707 return *s.Message_
4708 }
4709 return ""
4710 }
4711
4712 // OrigErr always returns nil, satisfies awserr.Error interface.
4713 func (s *InternalServerException) OrigErr() error {
4714 return nil
4715 }
4716
4717 func (s *InternalServerException) Error() string {
4718 return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
4719 }
4720
4721 // Status code returns the HTTP status code for the request's response error.
4722 func (s *InternalServerException) StatusCode() int {
4723 return s.RespMetadata.StatusCode
4724 }
4725
4726 // RequestID returns the service's response RequestID for request.
4727 func (s *InternalServerException) RequestID() string {
4728 return s.RespMetadata.RequestID
4729 }
4730
4731 // The limit was exceeded.
4732 type LimitExceededException struct {
4733 _ struct{} `type:"structure"`
4734 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
4735
4736 Message_ *string `locationName:"message" type:"string"`
4737 }
4738
4739 // String returns the string representation.
4740 //
4741 // API parameter values that are decorated as "sensitive" in the API will not
4742 // be included in the string output. The member name will be present, but the
4743 // value will be replaced with "sensitive".
4744 func (s LimitExceededException) String() string {
4745 return awsutil.Prettify(s)
4746 }
4747
4748 // GoString returns the string representation.
4749 //
4750 // API parameter values that are decorated as "sensitive" in the API will not
4751 // be included in the string output. The member name will be present, but the
4752 // value will be replaced with "sensitive".
4753 func (s LimitExceededException) GoString() string {
4754 return s.String()
4755 }
4756
4757 func newErrorLimitExceededException(v protocol.ResponseMetadata) error {
4758 return &LimitExceededException{
4759 RespMetadata: v,
4760 }
4761 }
4762
4763 // Code returns the exception type name.
4764 func (s *LimitExceededException) Code() string {
4765 return "LimitExceededException"
4766 }
4767
4768 // Message returns the exception's message.
4769 func (s *LimitExceededException) Message() string {
4770 if s.Message_ != nil {
4771 return *s.Message_
4772 }
4773 return ""
4774 }
4775
4776 // OrigErr always returns nil, satisfies awserr.Error interface.
4777 func (s *LimitExceededException) OrigErr() error {
4778 return nil
4779 }
4780
4781 func (s *LimitExceededException) Error() string {
4782 return fmt.Sprintf("%s: %s", s.Code(), s.Message())
4783 }
4784
4785 // Status code returns the HTTP status code for the request's response error.
4786 func (s *LimitExceededException) StatusCode() int {
4787 return s.RespMetadata.StatusCode
4788 }
4789
4790 // RequestID returns the service's response RequestID for request.
4791 func (s *LimitExceededException) RequestID() string {
4792 return s.RespMetadata.RequestID
4793 }
4794
4795 type ListDeviceIdentifiersInput struct {
4796 _ struct{} `type:"structure"`
4797
4798 // The filters.
4799 //
4800 // * ORDER - The Amazon Resource Name (ARN) of the order.
4801 //
4802 // * STATUS - The status (ACTIVE | INACTIVE).
4803 //
4804 // * TRAFFIC_GROUP - The Amazon Resource Name (ARN) of the traffic group.
4805 //
4806 // Filter values are case sensitive. If you specify multiple values for a filter,
4807 // the values are joined with an OR, and the request returns all results that
4808 // match any of the specified values.
4809 Filters map[string][]*string `locationName:"filters" type:"map"`
4810
4811 // The maximum number of results to return.
4812 MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
4813
4814 // The Amazon Resource Name (ARN) of the network.
4815 //
4816 // NetworkArn is a required field
4817 NetworkArn *string `locationName:"networkArn" type:"string" required:"true"`
4818
4819 // The token for the next page of results.
4820 StartToken *string `locationName:"startToken" type:"string"`
4821 }
4822
4823 // String returns the string representation.
4824 //
4825 // API parameter values that are decorated as "sensitive" in the API will not
4826 // be included in the string output. The member name will be present, but the
4827 // value will be replaced with "sensitive".
4828 func (s ListDeviceIdentifiersInput) String() string {
4829 return awsutil.Prettify(s)
4830 }
4831
4832 // GoString returns the string representation.
4833 //
4834 // API parameter values that are decorated as "sensitive" in the API will not
4835 // be included in the string output. The member name will be present, but the
4836 // value will be replaced with "sensitive".
4837 func (s ListDeviceIdentifiersInput) GoString() string {
4838 return s.String()
4839 }
4840
4841 // Validate inspects the fields of the type to determine if they are valid.
4842 func (s *ListDeviceIdentifiersInput) Validate() error {
4843 invalidParams := request.ErrInvalidParams{Context: "ListDeviceIdentifiersInput"}
4844 if s.MaxResults != nil && *s.MaxResults < 1 {
4845 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
4846 }
4847 if s.NetworkArn == nil {
4848 invalidParams.Add(request.NewErrParamRequired("NetworkArn"))
4849 }
4850
4851 if invalidParams.Len() > 0 {
4852 return invalidParams
4853 }
4854 return nil
4855 }
4856
4857 // SetFilters sets the Filters field's value.
4858 func (s *ListDeviceIdentifiersInput) SetFilters(v map[string][]*string) *ListDeviceIdentifiersInput {
4859 s.Filters = v
4860 return s
4861 }
4862
4863 // SetMaxResults sets the MaxResults field's value.
4864 func (s *ListDeviceIdentifiersInput) SetMaxResults(v int64) *ListDeviceIdentifiersInput {
4865 s.MaxResults = &v
4866 return s
4867 }
4868
4869 // SetNetworkArn sets the NetworkArn field's value.
4870 func (s *ListDeviceIdentifiersInput) SetNetworkArn(v string) *ListDeviceIdentifiersInput {
4871 s.NetworkArn = &v
4872 return s
4873 }
4874
4875 // SetStartToken sets the StartToken field's value.
4876 func (s *ListDeviceIdentifiersInput) SetStartToken(v string) *ListDeviceIdentifiersInput {
4877 s.StartToken = &v
4878 return s
4879 }
4880
4881 type ListDeviceIdentifiersOutput struct {
4882 _ struct{} `type:"structure"`
4883
4884 // Information about the device identifiers.
4885 DeviceIdentifiers []*DeviceIdentifier `locationName:"deviceIdentifiers" type:"list"`
4886
4887 // The token for the next page of results.
4888 NextToken *string `locationName:"nextToken" type:"string"`
4889 }
4890
4891 // String returns the string representation.
4892 //
4893 // API parameter values that are decorated as "sensitive" in the API will not
4894 // be included in the string output. The member name will be present, but the
4895 // value will be replaced with "sensitive".
4896 func (s ListDeviceIdentifiersOutput) String() string {
4897 return awsutil.Prettify(s)
4898 }
4899
4900 // GoString returns the string representation.
4901 //
4902 // API parameter values that are decorated as "sensitive" in the API will not
4903 // be included in the string output. The member name will be present, but the
4904 // value will be replaced with "sensitive".
4905 func (s ListDeviceIdentifiersOutput) GoString() string {
4906 return s.String()
4907 }
4908
4909 // SetDeviceIdentifiers sets the DeviceIdentifiers field's value.
4910 func (s *ListDeviceIdentifiersOutput) SetDeviceIdentifiers(v []*DeviceIdentifier) *ListDeviceIdentifiersOutput {
4911 s.DeviceIdentifiers = v
4912 return s
4913 }
4914
4915 // SetNextToken sets the NextToken field's value.
4916 func (s *ListDeviceIdentifiersOutput) SetNextToken(v string) *ListDeviceIdentifiersOutput {
4917 s.NextToken = &v
4918 return s
4919 }
4920
4921 type ListNetworkResourcesInput struct {
4922 _ struct{} `type:"structure"`
4923
4924 // The filters.
4925 //
4926 // * ORDER - The Amazon Resource Name (ARN) of the order.
4927 //
4928 // * STATUS - The status (AVAILABLE | DELETED | DELETING | PENDING | PENDING_RETURN
4929 // | PROVISIONING | SHIPPED).
4930 //
4931 // Filter values are case sensitive. If you specify multiple values for a filter,
4932 // the values are joined with an OR, and the request returns all results that
4933 // match any of the specified values.
4934 Filters map[string][]*string `locationName:"filters" type:"map"`
4935
4936 // The maximum number of results to return.
4937 MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
4938
4939 // The Amazon Resource Name (ARN) of the network.
4940 //
4941 // NetworkArn is a required field
4942 NetworkArn *string `locationName:"networkArn" type:"string" required:"true"`
4943
4944 // The token for the next page of results.
4945 StartToken *string `locationName:"startToken" type:"string"`
4946 }
4947
4948 // String returns the string representation.
4949 //
4950 // API parameter values that are decorated as "sensitive" in the API will not
4951 // be included in the string output. The member name will be present, but the
4952 // value will be replaced with "sensitive".
4953 func (s ListNetworkResourcesInput) String() string {
4954 return awsutil.Prettify(s)
4955 }
4956
4957 // GoString returns the string representation.
4958 //
4959 // API parameter values that are decorated as "sensitive" in the API will not
4960 // be included in the string output. The member name will be present, but the
4961 // value will be replaced with "sensitive".
4962 func (s ListNetworkResourcesInput) GoString() string {
4963 return s.String()
4964 }
4965
4966 // Validate inspects the fields of the type to determine if they are valid.
4967 func (s *ListNetworkResourcesInput) Validate() error {
4968 invalidParams := request.ErrInvalidParams{Context: "ListNetworkResourcesInput"}
4969 if s.MaxResults != nil && *s.MaxResults < 1 {
4970 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
4971 }
4972 if s.NetworkArn == nil {
4973 invalidParams.Add(request.NewErrParamRequired("NetworkArn"))
4974 }
4975
4976 if invalidParams.Len() > 0 {
4977 return invalidParams
4978 }
4979 return nil
4980 }
4981
4982 // SetFilters sets the Filters field's value.
4983 func (s *ListNetworkResourcesInput) SetFilters(v map[string][]*string) *ListNetworkResourcesInput {
4984 s.Filters = v
4985 return s
4986 }
4987
4988 // SetMaxResults sets the MaxResults field's value.
4989 func (s *ListNetworkResourcesInput) SetMaxResults(v int64) *ListNetworkResourcesInput {
4990 s.MaxResults = &v
4991 return s
4992 }
4993
4994 // SetNetworkArn sets the NetworkArn field's value.
4995 func (s *ListNetworkResourcesInput) SetNetworkArn(v string) *ListNetworkResourcesInput {
4996 s.NetworkArn = &v
4997 return s
4998 }
4999
5000 // SetStartToken sets the StartToken field's value.
5001 func (s *ListNetworkResourcesInput) SetStartToken(v string) *ListNetworkResourcesInput {
5002 s.StartToken = &v
5003 return s
5004 }
5005
5006 type ListNetworkResourcesOutput struct {
5007 _ struct{} `type:"structure"`
5008
5009 // Information about network resources.
5010 NetworkResources []*NetworkResource `locationName:"networkResources" type:"list"`
5011
5012 // The token for the next page of results.
5013 NextToken *string `locationName:"nextToken" type:"string"`
5014 }
5015
5016 // String returns the string representation.
5017 //
5018 // API parameter values that are decorated as "sensitive" in the API will not
5019 // be included in the string output. The member name will be present, but the
5020 // value will be replaced with "sensitive".
5021 func (s ListNetworkResourcesOutput) String() string {
5022 return awsutil.Prettify(s)
5023 }
5024
5025 // GoString returns the string representation.
5026 //
5027 // API parameter values that are decorated as "sensitive" in the API will not
5028 // be included in the string output. The member name will be present, but the
5029 // value will be replaced with "sensitive".
5030 func (s ListNetworkResourcesOutput) GoString() string {
5031 return s.String()
5032 }
5033
5034 // SetNetworkResources sets the NetworkResources field's value.
5035 func (s *ListNetworkResourcesOutput) SetNetworkResources(v []*NetworkResource) *ListNetworkResourcesOutput {
5036 s.NetworkResources = v
5037 return s
5038 }
5039
5040 // SetNextToken sets the NextToken field's value.
5041 func (s *ListNetworkResourcesOutput) SetNextToken(v string) *ListNetworkResourcesOutput {
5042 s.NextToken = &v
5043 return s
5044 }
5045
5046 type ListNetworkSitesInput struct {
5047 _ struct{} `type:"structure"`
5048
5049 // The filters. Add filters to your request to return a more specific list of
5050 // results. Use filters to match the status of the network sites.
5051 //
5052 // * STATUS - The status (AVAILABLE | CREATED | DELETED | DEPROVISIONING
5053 // | PROVISIONING).
5054 //
5055 // Filter values are case sensitive. If you specify multiple values for a filter,
5056 // the values are joined with an OR, and the request returns all results that
5057 // match any of the specified values.
5058 Filters map[string][]*string `locationName:"filters" type:"map"`
5059
5060 // The maximum number of results to return.
5061 MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
5062
5063 // The Amazon Resource Name (ARN) of the network.
5064 //
5065 // NetworkArn is a required field
5066 NetworkArn *string `locationName:"networkArn" type:"string" required:"true"`
5067
5068 // The token for the next page of results.
5069 StartToken *string `locationName:"startToken" type:"string"`
5070 }
5071
5072 // String returns the string representation.
5073 //
5074 // API parameter values that are decorated as "sensitive" in the API will not
5075 // be included in the string output. The member name will be present, but the
5076 // value will be replaced with "sensitive".
5077 func (s ListNetworkSitesInput) String() string {
5078 return awsutil.Prettify(s)
5079 }
5080
5081 // GoString returns the string representation.
5082 //
5083 // API parameter values that are decorated as "sensitive" in the API will not
5084 // be included in the string output. The member name will be present, but the
5085 // value will be replaced with "sensitive".
5086 func (s ListNetworkSitesInput) GoString() string {
5087 return s.String()
5088 }
5089
5090 // Validate inspects the fields of the type to determine if they are valid.
5091 func (s *ListNetworkSitesInput) Validate() error {
5092 invalidParams := request.ErrInvalidParams{Context: "ListNetworkSitesInput"}
5093 if s.MaxResults != nil && *s.MaxResults < 1 {
5094 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
5095 }
5096 if s.NetworkArn == nil {
5097 invalidParams.Add(request.NewErrParamRequired("NetworkArn"))
5098 }
5099
5100 if invalidParams.Len() > 0 {
5101 return invalidParams
5102 }
5103 return nil
5104 }
5105
5106 // SetFilters sets the Filters field's value.
5107 func (s *ListNetworkSitesInput) SetFilters(v map[string][]*string) *ListNetworkSitesInput {
5108 s.Filters = v
5109 return s
5110 }
5111
5112 // SetMaxResults sets the MaxResults field's value.
5113 func (s *ListNetworkSitesInput) SetMaxResults(v int64) *ListNetworkSitesInput {
5114 s.MaxResults = &v
5115 return s
5116 }
5117
5118 // SetNetworkArn sets the NetworkArn field's value.
5119 func (s *ListNetworkSitesInput) SetNetworkArn(v string) *ListNetworkSitesInput {
5120 s.NetworkArn = &v
5121 return s
5122 }
5123
5124 // SetStartToken sets the StartToken field's value.
5125 func (s *ListNetworkSitesInput) SetStartToken(v string) *ListNetworkSitesInput {
5126 s.StartToken = &v
5127 return s
5128 }
5129
5130 type ListNetworkSitesOutput struct {
5131 _ struct{} `type:"structure"`
5132
5133 // Information about the network sites.
5134 NetworkSites []*NetworkSite `locationName:"networkSites" type:"list"`
5135
5136 // The token for the next page of results.
5137 NextToken *string `locationName:"nextToken" type:"string"`
5138 }
5139
5140 // String returns the string representation.
5141 //
5142 // API parameter values that are decorated as "sensitive" in the API will not
5143 // be included in the string output. The member name will be present, but the
5144 // value will be replaced with "sensitive".
5145 func (s ListNetworkSitesOutput) String() string {
5146 return awsutil.Prettify(s)
5147 }
5148
5149 // GoString returns the string representation.
5150 //
5151 // API parameter values that are decorated as "sensitive" in the API will not
5152 // be included in the string output. The member name will be present, but the
5153 // value will be replaced with "sensitive".
5154 func (s ListNetworkSitesOutput) GoString() string {
5155 return s.String()
5156 }
5157
5158 // SetNetworkSites sets the NetworkSites field's value.
5159 func (s *ListNetworkSitesOutput) SetNetworkSites(v []*NetworkSite) *ListNetworkSitesOutput {
5160 s.NetworkSites = v
5161 return s
5162 }
5163
5164 // SetNextToken sets the NextToken field's value.
5165 func (s *ListNetworkSitesOutput) SetNextToken(v string) *ListNetworkSitesOutput {
5166 s.NextToken = &v
5167 return s
5168 }
5169
5170 type ListNetworksInput struct {
5171 _ struct{} `type:"structure"`
5172
5173 // The filters.
5174 //
5175 // * STATUS - The status (AVAILABLE | CREATED | DELETED | DEPROVISIONING
5176 // | PROVISIONING).
5177 //
5178 // Filter values are case sensitive. If you specify multiple values for a filter,
5179 // the values are joined with an OR, and the request returns all results that
5180 // match any of the specified values.
5181 Filters map[string][]*string `locationName:"filters" type:"map"`
5182
5183 // The maximum number of results to return.
5184 MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
5185
5186 // The token for the next page of results.
5187 StartToken *string `locationName:"startToken" type:"string"`
5188 }
5189
5190 // String returns the string representation.
5191 //
5192 // API parameter values that are decorated as "sensitive" in the API will not
5193 // be included in the string output. The member name will be present, but the
5194 // value will be replaced with "sensitive".
5195 func (s ListNetworksInput) String() string {
5196 return awsutil.Prettify(s)
5197 }
5198
5199 // GoString returns the string representation.
5200 //
5201 // API parameter values that are decorated as "sensitive" in the API will not
5202 // be included in the string output. The member name will be present, but the
5203 // value will be replaced with "sensitive".
5204 func (s ListNetworksInput) GoString() string {
5205 return s.String()
5206 }
5207
5208 // Validate inspects the fields of the type to determine if they are valid.
5209 func (s *ListNetworksInput) Validate() error {
5210 invalidParams := request.ErrInvalidParams{Context: "ListNetworksInput"}
5211 if s.MaxResults != nil && *s.MaxResults < 1 {
5212 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
5213 }
5214
5215 if invalidParams.Len() > 0 {
5216 return invalidParams
5217 }
5218 return nil
5219 }
5220
5221 // SetFilters sets the Filters field's value.
5222 func (s *ListNetworksInput) SetFilters(v map[string][]*string) *ListNetworksInput {
5223 s.Filters = v
5224 return s
5225 }
5226
5227 // SetMaxResults sets the MaxResults field's value.
5228 func (s *ListNetworksInput) SetMaxResults(v int64) *ListNetworksInput {
5229 s.MaxResults = &v
5230 return s
5231 }
5232
5233 // SetStartToken sets the StartToken field's value.
5234 func (s *ListNetworksInput) SetStartToken(v string) *ListNetworksInput {
5235 s.StartToken = &v
5236 return s
5237 }
5238
5239 type ListNetworksOutput struct {
5240 _ struct{} `type:"structure"`
5241
5242 // The networks.
5243 Networks []*Network `locationName:"networks" type:"list"`
5244
5245 // The token for the next page of results.
5246 NextToken *string `locationName:"nextToken" type:"string"`
5247 }
5248
5249 // String returns the string representation.
5250 //
5251 // API parameter values that are decorated as "sensitive" in the API will not
5252 // be included in the string output. The member name will be present, but the
5253 // value will be replaced with "sensitive".
5254 func (s ListNetworksOutput) String() string {
5255 return awsutil.Prettify(s)
5256 }
5257
5258 // GoString returns the string representation.
5259 //
5260 // API parameter values that are decorated as "sensitive" in the API will not
5261 // be included in the string output. The member name will be present, but the
5262 // value will be replaced with "sensitive".
5263 func (s ListNetworksOutput) GoString() string {
5264 return s.String()
5265 }
5266
5267 // SetNetworks sets the Networks field's value.
5268 func (s *ListNetworksOutput) SetNetworks(v []*Network) *ListNetworksOutput {
5269 s.Networks = v
5270 return s
5271 }
5272
5273 // SetNextToken sets the NextToken field's value.
5274 func (s *ListNetworksOutput) SetNextToken(v string) *ListNetworksOutput {
5275 s.NextToken = &v
5276 return s
5277 }
5278
5279 type ListOrdersInput struct {
5280 _ struct{} `type:"structure"`
5281
5282 // The filters.
5283 //
5284 // * NETWORK_SITE - The Amazon Resource Name (ARN) of the network site.
5285 //
5286 // * STATUS - The status (ACKNOWLEDGING | ACKNOWLEDGED | UNACKNOWLEDGED).
5287 //
5288 // Filter values are case sensitive. If you specify multiple values for a filter,
5289 // the values are joined with an OR, and the request returns all results that
5290 // match any of the specified values.
5291 Filters map[string][]*string `locationName:"filters" type:"map"`
5292
5293 // The maximum number of results to return.
5294 MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"`
5295
5296 // The Amazon Resource Name (ARN) of the network.
5297 //
5298 // NetworkArn is a required field
5299 NetworkArn *string `locationName:"networkArn" type:"string" required:"true"`
5300
5301 // The token for the next page of results.
5302 StartToken *string `locationName:"startToken" type:"string"`
5303 }
5304
5305 // String returns the string representation.
5306 //
5307 // API parameter values that are decorated as "sensitive" in the API will not
5308 // be included in the string output. The member name will be present, but the
5309 // value will be replaced with "sensitive".
5310 func (s ListOrdersInput) String() string {
5311 return awsutil.Prettify(s)
5312 }
5313
5314 // GoString returns the string representation.
5315 //
5316 // API parameter values that are decorated as "sensitive" in the API will not
5317 // be included in the string output. The member name will be present, but the
5318 // value will be replaced with "sensitive".
5319 func (s ListOrdersInput) GoString() string {
5320 return s.String()
5321 }
5322
5323 // Validate inspects the fields of the type to determine if they are valid.
5324 func (s *ListOrdersInput) Validate() error {
5325 invalidParams := request.ErrInvalidParams{Context: "ListOrdersInput"}
5326 if s.MaxResults != nil && *s.MaxResults < 1 {
5327 invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
5328 }
5329 if s.NetworkArn == nil {
5330 invalidParams.Add(request.NewErrParamRequired("NetworkArn"))
5331 }
5332
5333 if invalidParams.Len() > 0 {
5334 return invalidParams
5335 }
5336 return nil
5337 }
5338
5339 // SetFilters sets the Filters field's value.
5340 func (s *ListOrdersInput) SetFilters(v map[string][]*string) *ListOrdersInput {
5341 s.Filters = v
5342 return s
5343 }
5344
5345 // SetMaxResults sets the MaxResults field's value.
5346 func (s *ListOrdersInput) SetMaxResults(v int64) *ListOrdersInput {
5347 s.MaxResults = &v
5348 return s
5349 }
5350
5351 // SetNetworkArn sets the NetworkArn field's value.
5352 func (s *ListOrdersInput) SetNetworkArn(v string) *ListOrdersInput {
5353 s.NetworkArn = &v
5354 return s
5355 }
5356
5357 // SetStartToken sets the StartToken field's value.
5358 func (s *ListOrdersInput) SetStartToken(v string) *ListOrdersInput {
5359 s.StartToken = &v
5360 return s
5361 }
5362
5363 type ListOrdersOutput struct {
5364 _ struct{} `type:"structure"`
5365
5366 // The token for the next page of results.
5367 NextToken *string `locationName:"nextToken" type:"string"`
5368
5369 // Information about the orders.
5370 Orders []*Order `locationName:"orders" type:"list"`
5371 }
5372
5373 // String returns the string representation.
5374 //
5375 // API parameter values that are decorated as "sensitive" in the API will not
5376 // be included in the string output. The member name will be present, but the
5377 // value will be replaced with "sensitive".
5378 func (s ListOrdersOutput) String() string {
5379 return awsutil.Prettify(s)
5380 }
5381
5382 // GoString returns the string representation.
5383 //
5384 // API parameter values that are decorated as "sensitive" in the API will not
5385 // be included in the string output. The member name will be present, but the
5386 // value will be replaced with "sensitive".
5387 func (s ListOrdersOutput) GoString() string {
5388 return s.String()
5389 }
5390
5391 // SetNextToken sets the NextToken field's value.
5392 func (s *ListOrdersOutput) SetNextToken(v string) *ListOrdersOutput {
5393 s.NextToken = &v
5394 return s
5395 }
5396
5397 // SetOrders sets the Orders field's value.
5398 func (s *ListOrdersOutput) SetOrders(v []*Order) *ListOrdersOutput {
5399 s.Orders = v
5400 return s
5401 }
5402
5403 type ListTagsForResourceInput struct {
5404 _ struct{} `type:"structure" nopayload:"true"`
5405
5406 // The Amazon Resource Name (ARN) of the resource.
5407 //
5408 // ResourceArn is a required field
5409 ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
5410 }
5411
5412 // String returns the string representation.
5413 //
5414 // API parameter values that are decorated as "sensitive" in the API will not
5415 // be included in the string output. The member name will be present, but the
5416 // value will be replaced with "sensitive".
5417 func (s ListTagsForResourceInput) String() string {
5418 return awsutil.Prettify(s)
5419 }
5420
5421 // GoString returns the string representation.
5422 //
5423 // API parameter values that are decorated as "sensitive" in the API will not
5424 // be included in the string output. The member name will be present, but the
5425 // value will be replaced with "sensitive".
5426 func (s ListTagsForResourceInput) GoString() string {
5427 return s.String()
5428 }
5429
5430 // Validate inspects the fields of the type to determine if they are valid.
5431 func (s *ListTagsForResourceInput) Validate() error {
5432 invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"}
5433 if s.ResourceArn == nil {
5434 invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
5435 }
5436 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
5437 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
5438 }
5439
5440 if invalidParams.Len() > 0 {
5441 return invalidParams
5442 }
5443 return nil
5444 }
5445
5446 // SetResourceArn sets the ResourceArn field's value.
5447 func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput {
5448 s.ResourceArn = &v
5449 return s
5450 }
5451
5452 type ListTagsForResourceOutput struct {
5453 _ struct{} `type:"structure"`
5454
5455 // The resource tags.
5456 //
5457 // Tags is a sensitive parameter and its value will be
5458 // replaced with "sensitive" in string returned by ListTagsForResourceOutput's
5459 // String and GoString methods.
5460 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
5461 }
5462
5463 // String returns the string representation.
5464 //
5465 // API parameter values that are decorated as "sensitive" in the API will not
5466 // be included in the string output. The member name will be present, but the
5467 // value will be replaced with "sensitive".
5468 func (s ListTagsForResourceOutput) String() string {
5469 return awsutil.Prettify(s)
5470 }
5471
5472 // GoString returns the string representation.
5473 //
5474 // API parameter values that are decorated as "sensitive" in the API will not
5475 // be included in the string output. The member name will be present, but the
5476 // value will be replaced with "sensitive".
5477 func (s ListTagsForResourceOutput) GoString() string {
5478 return s.String()
5479 }
5480
5481 // SetTags sets the Tags field's value.
5482 func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput {
5483 s.Tags = v
5484 return s
5485 }
5486
5487 // Information about a name/value pair.
5488 type NameValuePair struct {
5489 _ struct{} `type:"structure"`
5490
5491 // The name of the pair.
5492 //
5493 // Name is a required field
5494 Name *string `locationName:"name" type:"string" required:"true"`
5495
5496 // The value of the pair.
5497 Value *string `locationName:"value" type:"string"`
5498 }
5499
5500 // String returns the string representation.
5501 //
5502 // API parameter values that are decorated as "sensitive" in the API will not
5503 // be included in the string output. The member name will be present, but the
5504 // value will be replaced with "sensitive".
5505 func (s NameValuePair) String() string {
5506 return awsutil.Prettify(s)
5507 }
5508
5509 // GoString returns the string representation.
5510 //
5511 // API parameter values that are decorated as "sensitive" in the API will not
5512 // be included in the string output. The member name will be present, but the
5513 // value will be replaced with "sensitive".
5514 func (s NameValuePair) GoString() string {
5515 return s.String()
5516 }
5517
5518 // Validate inspects the fields of the type to determine if they are valid.
5519 func (s *NameValuePair) Validate() error {
5520 invalidParams := request.ErrInvalidParams{Context: "NameValuePair"}
5521 if s.Name == nil {
5522 invalidParams.Add(request.NewErrParamRequired("Name"))
5523 }
5524
5525 if invalidParams.Len() > 0 {
5526 return invalidParams
5527 }
5528 return nil
5529 }
5530
5531 // SetName sets the Name field's value.
5532 func (s *NameValuePair) SetName(v string) *NameValuePair {
5533 s.Name = &v
5534 return s
5535 }
5536
5537 // SetValue sets the Value field's value.
5538 func (s *NameValuePair) SetValue(v string) *NameValuePair {
5539 s.Value = &v
5540 return s
5541 }
5542
5543 // Information about a network.
5544 type Network struct {
5545 _ struct{} `type:"structure"`
5546
5547 // The creation time of the network.
5548 CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
5549
5550 // The description of the network.
5551 Description *string `locationName:"description" type:"string"`
5552
5553 // The Amazon Resource Name (ARN) of the network.
5554 //
5555 // NetworkArn is a required field
5556 NetworkArn *string `locationName:"networkArn" type:"string" required:"true"`
5557
5558 // The name of the network.
5559 //
5560 // NetworkName is a required field
5561 NetworkName *string `locationName:"networkName" min:"1" type:"string" required:"true"`
5562
5563 // The status of the network.
5564 //
5565 // Status is a required field
5566 Status *string `locationName:"status" type:"string" required:"true" enum:"NetworkStatus"`
5567
5568 // The status reason of the network.
5569 StatusReason *string `locationName:"statusReason" type:"string"`
5570 }
5571
5572 // String returns the string representation.
5573 //
5574 // API parameter values that are decorated as "sensitive" in the API will not
5575 // be included in the string output. The member name will be present, but the
5576 // value will be replaced with "sensitive".
5577 func (s Network) String() string {
5578 return awsutil.Prettify(s)
5579 }
5580
5581 // GoString returns the string representation.
5582 //
5583 // API parameter values that are decorated as "sensitive" in the API will not
5584 // be included in the string output. The member name will be present, but the
5585 // value will be replaced with "sensitive".
5586 func (s Network) GoString() string {
5587 return s.String()
5588 }
5589
5590 // SetCreatedAt sets the CreatedAt field's value.
5591 func (s *Network) SetCreatedAt(v time.Time) *Network {
5592 s.CreatedAt = &v
5593 return s
5594 }
5595
5596 // SetDescription sets the Description field's value.
5597 func (s *Network) SetDescription(v string) *Network {
5598 s.Description = &v
5599 return s
5600 }
5601
5602 // SetNetworkArn sets the NetworkArn field's value.
5603 func (s *Network) SetNetworkArn(v string) *Network {
5604 s.NetworkArn = &v
5605 return s
5606 }
5607
5608 // SetNetworkName sets the NetworkName field's value.
5609 func (s *Network) SetNetworkName(v string) *Network {
5610 s.NetworkName = &v
5611 return s
5612 }
5613
5614 // SetStatus sets the Status field's value.
5615 func (s *Network) SetStatus(v string) *Network {
5616 s.Status = &v
5617 return s
5618 }
5619
5620 // SetStatusReason sets the StatusReason field's value.
5621 func (s *Network) SetStatusReason(v string) *Network {
5622 s.StatusReason = &v
5623 return s
5624 }
5625
5626 // Information about a network resource.
5627 type NetworkResource struct {
5628 _ struct{} `type:"structure"`
5629
5630 // The attributes of the network resource.
5631 Attributes []*NameValuePair `locationName:"attributes" type:"list"`
5632
5633 // Information about the commitment period for the radio unit. Shows the duration,
5634 // the date and time that the contract started and ends, and the renewal status
5635 // of the commitment period.
5636 CommitmentInformation *CommitmentInformation `locationName:"commitmentInformation" type:"structure"`
5637
5638 // The creation time of the network resource.
5639 CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
5640
5641 // The description of the network resource.
5642 Description *string `locationName:"description" type:"string"`
5643
5644 // The health of the network resource.
5645 Health *string `locationName:"health" type:"string" enum:"HealthStatus"`
5646
5647 // The model of the network resource.
5648 Model *string `locationName:"model" type:"string"`
5649
5650 // The Amazon Resource Name (ARN) of the network on which this network resource
5651 // appears.
5652 NetworkArn *string `locationName:"networkArn" type:"string"`
5653
5654 // The Amazon Resource Name (ARN) of the network resource.
5655 NetworkResourceArn *string `locationName:"networkResourceArn" type:"string"`
5656
5657 // The Amazon Resource Name (ARN) of the network site on which this network
5658 // resource appears.
5659 NetworkSiteArn *string `locationName:"networkSiteArn" type:"string"`
5660
5661 // The Amazon Resource Name (ARN) of the order used to purchase this network
5662 // resource.
5663 OrderArn *string `locationName:"orderArn" type:"string"`
5664
5665 // The position of the network resource.
5666 Position *Position `locationName:"position" type:"structure"`
5667
5668 // Information about a request to return the network resource.
5669 ReturnInformation *ReturnInformation `locationName:"returnInformation" type:"structure"`
5670
5671 // The serial number of the network resource.
5672 SerialNumber *string `locationName:"serialNumber" type:"string"`
5673
5674 // The status of the network resource.
5675 Status *string `locationName:"status" type:"string" enum:"NetworkResourceStatus"`
5676
5677 // The status reason of the network resource.
5678 StatusReason *string `locationName:"statusReason" type:"string"`
5679
5680 // The type of the network resource.
5681 Type *string `locationName:"type" type:"string" enum:"NetworkResourceType"`
5682
5683 // The vendor of the network resource.
5684 Vendor *string `locationName:"vendor" type:"string"`
5685 }
5686
5687 // String returns the string representation.
5688 //
5689 // API parameter values that are decorated as "sensitive" in the API will not
5690 // be included in the string output. The member name will be present, but the
5691 // value will be replaced with "sensitive".
5692 func (s NetworkResource) String() string {
5693 return awsutil.Prettify(s)
5694 }
5695
5696 // GoString returns the string representation.
5697 //
5698 // API parameter values that are decorated as "sensitive" in the API will not
5699 // be included in the string output. The member name will be present, but the
5700 // value will be replaced with "sensitive".
5701 func (s NetworkResource) GoString() string {
5702 return s.String()
5703 }
5704
5705 // SetAttributes sets the Attributes field's value.
5706 func (s *NetworkResource) SetAttributes(v []*NameValuePair) *NetworkResource {
5707 s.Attributes = v
5708 return s
5709 }
5710
5711 // SetCommitmentInformation sets the CommitmentInformation field's value.
5712 func (s *NetworkResource) SetCommitmentInformation(v *CommitmentInformation) *NetworkResource {
5713 s.CommitmentInformation = v
5714 return s
5715 }
5716
5717 // SetCreatedAt sets the CreatedAt field's value.
5718 func (s *NetworkResource) SetCreatedAt(v time.Time) *NetworkResource {
5719 s.CreatedAt = &v
5720 return s
5721 }
5722
5723 // SetDescription sets the Description field's value.
5724 func (s *NetworkResource) SetDescription(v string) *NetworkResource {
5725 s.Description = &v
5726 return s
5727 }
5728
5729 // SetHealth sets the Health field's value.
5730 func (s *NetworkResource) SetHealth(v string) *NetworkResource {
5731 s.Health = &v
5732 return s
5733 }
5734
5735 // SetModel sets the Model field's value.
5736 func (s *NetworkResource) SetModel(v string) *NetworkResource {
5737 s.Model = &v
5738 return s
5739 }
5740
5741 // SetNetworkArn sets the NetworkArn field's value.
5742 func (s *NetworkResource) SetNetworkArn(v string) *NetworkResource {
5743 s.NetworkArn = &v
5744 return s
5745 }
5746
5747 // SetNetworkResourceArn sets the NetworkResourceArn field's value.
5748 func (s *NetworkResource) SetNetworkResourceArn(v string) *NetworkResource {
5749 s.NetworkResourceArn = &v
5750 return s
5751 }
5752
5753 // SetNetworkSiteArn sets the NetworkSiteArn field's value.
5754 func (s *NetworkResource) SetNetworkSiteArn(v string) *NetworkResource {
5755 s.NetworkSiteArn = &v
5756 return s
5757 }
5758
5759 // SetOrderArn sets the OrderArn field's value.
5760 func (s *NetworkResource) SetOrderArn(v string) *NetworkResource {
5761 s.OrderArn = &v
5762 return s
5763 }
5764
5765 // SetPosition sets the Position field's value.
5766 func (s *NetworkResource) SetPosition(v *Position) *NetworkResource {
5767 s.Position = v
5768 return s
5769 }
5770
5771 // SetReturnInformation sets the ReturnInformation field's value.
5772 func (s *NetworkResource) SetReturnInformation(v *ReturnInformation) *NetworkResource {
5773 s.ReturnInformation = v
5774 return s
5775 }
5776
5777 // SetSerialNumber sets the SerialNumber field's value.
5778 func (s *NetworkResource) SetSerialNumber(v string) *NetworkResource {
5779 s.SerialNumber = &v
5780 return s
5781 }
5782
5783 // SetStatus sets the Status field's value.
5784 func (s *NetworkResource) SetStatus(v string) *NetworkResource {
5785 s.Status = &v
5786 return s
5787 }
5788
5789 // SetStatusReason sets the StatusReason field's value.
5790 func (s *NetworkResource) SetStatusReason(v string) *NetworkResource {
5791 s.StatusReason = &v
5792 return s
5793 }
5794
5795 // SetType sets the Type field's value.
5796 func (s *NetworkResource) SetType(v string) *NetworkResource {
5797 s.Type = &v
5798 return s
5799 }
5800
5801 // SetVendor sets the Vendor field's value.
5802 func (s *NetworkResource) SetVendor(v string) *NetworkResource {
5803 s.Vendor = &v
5804 return s
5805 }
5806
5807 // Information about a network resource definition.
5808 type NetworkResourceDefinition struct {
5809 _ struct{} `type:"structure"`
5810
5811 // The count in the network resource definition.
5812 //
5813 // Count is a required field
5814 Count *int64 `locationName:"count" type:"integer" required:"true"`
5815
5816 // The options in the network resource definition.
5817 Options []*NameValuePair `locationName:"options" type:"list"`
5818
5819 // The type in the network resource definition.
5820 //
5821 // Type is a required field
5822 Type *string `locationName:"type" type:"string" required:"true" enum:"NetworkResourceDefinitionType"`
5823 }
5824
5825 // String returns the string representation.
5826 //
5827 // API parameter values that are decorated as "sensitive" in the API will not
5828 // be included in the string output. The member name will be present, but the
5829 // value will be replaced with "sensitive".
5830 func (s NetworkResourceDefinition) String() string {
5831 return awsutil.Prettify(s)
5832 }
5833
5834 // GoString returns the string representation.
5835 //
5836 // API parameter values that are decorated as "sensitive" in the API will not
5837 // be included in the string output. The member name will be present, but the
5838 // value will be replaced with "sensitive".
5839 func (s NetworkResourceDefinition) GoString() string {
5840 return s.String()
5841 }
5842
5843 // Validate inspects the fields of the type to determine if they are valid.
5844 func (s *NetworkResourceDefinition) Validate() error {
5845 invalidParams := request.ErrInvalidParams{Context: "NetworkResourceDefinition"}
5846 if s.Count == nil {
5847 invalidParams.Add(request.NewErrParamRequired("Count"))
5848 }
5849 if s.Type == nil {
5850 invalidParams.Add(request.NewErrParamRequired("Type"))
5851 }
5852 if s.Options != nil {
5853 for i, v := range s.Options {
5854 if v == nil {
5855 continue
5856 }
5857 if err := v.Validate(); err != nil {
5858 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Options", i), err.(request.ErrInvalidParams))
5859 }
5860 }
5861 }
5862
5863 if invalidParams.Len() > 0 {
5864 return invalidParams
5865 }
5866 return nil
5867 }
5868
5869 // SetCount sets the Count field's value.
5870 func (s *NetworkResourceDefinition) SetCount(v int64) *NetworkResourceDefinition {
5871 s.Count = &v
5872 return s
5873 }
5874
5875 // SetOptions sets the Options field's value.
5876 func (s *NetworkResourceDefinition) SetOptions(v []*NameValuePair) *NetworkResourceDefinition {
5877 s.Options = v
5878 return s
5879 }
5880
5881 // SetType sets the Type field's value.
5882 func (s *NetworkResourceDefinition) SetType(v string) *NetworkResourceDefinition {
5883 s.Type = &v
5884 return s
5885 }
5886
5887 // Information about a network site.
5888 type NetworkSite struct {
5889 _ struct{} `type:"structure"`
5890
5891 // The parent Availability Zone for the network site.
5892 AvailabilityZone *string `locationName:"availabilityZone" type:"string"`
5893
5894 // The parent Availability Zone ID for the network site.
5895 AvailabilityZoneId *string `locationName:"availabilityZoneId" type:"string"`
5896
5897 // The creation time of the network site.
5898 CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
5899
5900 // The current plan of the network site.
5901 CurrentPlan *SitePlan `locationName:"currentPlan" type:"structure"`
5902
5903 // The description of the network site.
5904 Description *string `locationName:"description" type:"string"`
5905
5906 // The Amazon Resource Name (ARN) of the network to which the network site belongs.
5907 //
5908 // NetworkArn is a required field
5909 NetworkArn *string `locationName:"networkArn" type:"string" required:"true"`
5910
5911 // The Amazon Resource Name (ARN) of the network site.
5912 //
5913 // NetworkSiteArn is a required field
5914 NetworkSiteArn *string `locationName:"networkSiteArn" type:"string" required:"true"`
5915
5916 // The name of the network site.
5917 //
5918 // NetworkSiteName is a required field
5919 NetworkSiteName *string `locationName:"networkSiteName" min:"1" type:"string" required:"true"`
5920
5921 // The pending plan of the network site.
5922 PendingPlan *SitePlan `locationName:"pendingPlan" type:"structure"`
5923
5924 // The status of the network site.
5925 //
5926 // Status is a required field
5927 Status *string `locationName:"status" type:"string" required:"true" enum:"NetworkSiteStatus"`
5928
5929 // The status reason of the network site.
5930 StatusReason *string `locationName:"statusReason" type:"string"`
5931 }
5932
5933 // String returns the string representation.
5934 //
5935 // API parameter values that are decorated as "sensitive" in the API will not
5936 // be included in the string output. The member name will be present, but the
5937 // value will be replaced with "sensitive".
5938 func (s NetworkSite) String() string {
5939 return awsutil.Prettify(s)
5940 }
5941
5942 // GoString returns the string representation.
5943 //
5944 // API parameter values that are decorated as "sensitive" in the API will not
5945 // be included in the string output. The member name will be present, but the
5946 // value will be replaced with "sensitive".
5947 func (s NetworkSite) GoString() string {
5948 return s.String()
5949 }
5950
5951 // SetAvailabilityZone sets the AvailabilityZone field's value.
5952 func (s *NetworkSite) SetAvailabilityZone(v string) *NetworkSite {
5953 s.AvailabilityZone = &v
5954 return s
5955 }
5956
5957 // SetAvailabilityZoneId sets the AvailabilityZoneId field's value.
5958 func (s *NetworkSite) SetAvailabilityZoneId(v string) *NetworkSite {
5959 s.AvailabilityZoneId = &v
5960 return s
5961 }
5962
5963 // SetCreatedAt sets the CreatedAt field's value.
5964 func (s *NetworkSite) SetCreatedAt(v time.Time) *NetworkSite {
5965 s.CreatedAt = &v
5966 return s
5967 }
5968
5969 // SetCurrentPlan sets the CurrentPlan field's value.
5970 func (s *NetworkSite) SetCurrentPlan(v *SitePlan) *NetworkSite {
5971 s.CurrentPlan = v
5972 return s
5973 }
5974
5975 // SetDescription sets the Description field's value.
5976 func (s *NetworkSite) SetDescription(v string) *NetworkSite {
5977 s.Description = &v
5978 return s
5979 }
5980
5981 // SetNetworkArn sets the NetworkArn field's value.
5982 func (s *NetworkSite) SetNetworkArn(v string) *NetworkSite {
5983 s.NetworkArn = &v
5984 return s
5985 }
5986
5987 // SetNetworkSiteArn sets the NetworkSiteArn field's value.
5988 func (s *NetworkSite) SetNetworkSiteArn(v string) *NetworkSite {
5989 s.NetworkSiteArn = &v
5990 return s
5991 }
5992
5993 // SetNetworkSiteName sets the NetworkSiteName field's value.
5994 func (s *NetworkSite) SetNetworkSiteName(v string) *NetworkSite {
5995 s.NetworkSiteName = &v
5996 return s
5997 }
5998
5999 // SetPendingPlan sets the PendingPlan field's value.
6000 func (s *NetworkSite) SetPendingPlan(v *SitePlan) *NetworkSite {
6001 s.PendingPlan = v
6002 return s
6003 }
6004
6005 // SetStatus sets the Status field's value.
6006 func (s *NetworkSite) SetStatus(v string) *NetworkSite {
6007 s.Status = &v
6008 return s
6009 }
6010
6011 // SetStatusReason sets the StatusReason field's value.
6012 func (s *NetworkSite) SetStatusReason(v string) *NetworkSite {
6013 s.StatusReason = &v
6014 return s
6015 }
6016
6017 // Information about an order.
6018 type Order struct {
6019 _ struct{} `type:"structure"`
6020
6021 // The acknowledgement status of the order.
6022 AcknowledgmentStatus *string `locationName:"acknowledgmentStatus" type:"string" enum:"AcknowledgmentStatus"`
6023
6024 // The creation time of the order.
6025 CreatedAt *time.Time `locationName:"createdAt" type:"timestamp" timestampFormat:"iso8601"`
6026
6027 // The Amazon Resource Name (ARN) of the network associated with this order.
6028 NetworkArn *string `locationName:"networkArn" type:"string"`
6029
6030 // The Amazon Resource Name (ARN) of the network site associated with this order.
6031 NetworkSiteArn *string `locationName:"networkSiteArn" type:"string"`
6032
6033 // The Amazon Resource Name (ARN) of the order.
6034 OrderArn *string `locationName:"orderArn" type:"string"`
6035
6036 // A list of the network resources placed in the order.
6037 OrderedResources []*OrderedResourceDefinition `locationName:"orderedResources" type:"list"`
6038
6039 // The shipping address of the order.
6040 ShippingAddress *Address `locationName:"shippingAddress" type:"structure"`
6041
6042 // The tracking information of the order.
6043 TrackingInformation []*TrackingInformation `locationName:"trackingInformation" type:"list"`
6044 }
6045
6046 // String returns the string representation.
6047 //
6048 // API parameter values that are decorated as "sensitive" in the API will not
6049 // be included in the string output. The member name will be present, but the
6050 // value will be replaced with "sensitive".
6051 func (s Order) String() string {
6052 return awsutil.Prettify(s)
6053 }
6054
6055 // GoString returns the string representation.
6056 //
6057 // API parameter values that are decorated as "sensitive" in the API will not
6058 // be included in the string output. The member name will be present, but the
6059 // value will be replaced with "sensitive".
6060 func (s Order) GoString() string {
6061 return s.String()
6062 }
6063
6064 // SetAcknowledgmentStatus sets the AcknowledgmentStatus field's value.
6065 func (s *Order) SetAcknowledgmentStatus(v string) *Order {
6066 s.AcknowledgmentStatus = &v
6067 return s
6068 }
6069
6070 // SetCreatedAt sets the CreatedAt field's value.
6071 func (s *Order) SetCreatedAt(v time.Time) *Order {
6072 s.CreatedAt = &v
6073 return s
6074 }
6075
6076 // SetNetworkArn sets the NetworkArn field's value.
6077 func (s *Order) SetNetworkArn(v string) *Order {
6078 s.NetworkArn = &v
6079 return s
6080 }
6081
6082 // SetNetworkSiteArn sets the NetworkSiteArn field's value.
6083 func (s *Order) SetNetworkSiteArn(v string) *Order {
6084 s.NetworkSiteArn = &v
6085 return s
6086 }
6087
6088 // SetOrderArn sets the OrderArn field's value.
6089 func (s *Order) SetOrderArn(v string) *Order {
6090 s.OrderArn = &v
6091 return s
6092 }
6093
6094 // SetOrderedResources sets the OrderedResources field's value.
6095 func (s *Order) SetOrderedResources(v []*OrderedResourceDefinition) *Order {
6096 s.OrderedResources = v
6097 return s
6098 }
6099
6100 // SetShippingAddress sets the ShippingAddress field's value.
6101 func (s *Order) SetShippingAddress(v *Address) *Order {
6102 s.ShippingAddress = v
6103 return s
6104 }
6105
6106 // SetTrackingInformation sets the TrackingInformation field's value.
6107 func (s *Order) SetTrackingInformation(v []*TrackingInformation) *Order {
6108 s.TrackingInformation = v
6109 return s
6110 }
6111
6112 // Details of the network resources in the order.
6113 type OrderedResourceDefinition struct {
6114 _ struct{} `type:"structure"`
6115
6116 // The duration and renewal status of the commitment period for each radio unit
6117 // in the order. Does not show details if the resource type is DEVICE_IDENTIFIER.
6118 CommitmentConfiguration *CommitmentConfiguration `locationName:"commitmentConfiguration" type:"structure"`
6119
6120 // The number of network resources in the order.
6121 //
6122 // Count is a required field
6123 Count *int64 `locationName:"count" type:"integer" required:"true"`
6124
6125 // The type of network resource in the order.
6126 //
6127 // Type is a required field
6128 Type *string `locationName:"type" type:"string" required:"true" enum:"NetworkResourceDefinitionType"`
6129 }
6130
6131 // String returns the string representation.
6132 //
6133 // API parameter values that are decorated as "sensitive" in the API will not
6134 // be included in the string output. The member name will be present, but the
6135 // value will be replaced with "sensitive".
6136 func (s OrderedResourceDefinition) String() string {
6137 return awsutil.Prettify(s)
6138 }
6139
6140 // GoString returns the string representation.
6141 //
6142 // API parameter values that are decorated as "sensitive" in the API will not
6143 // be included in the string output. The member name will be present, but the
6144 // value will be replaced with "sensitive".
6145 func (s OrderedResourceDefinition) GoString() string {
6146 return s.String()
6147 }
6148
6149 // SetCommitmentConfiguration sets the CommitmentConfiguration field's value.
6150 func (s *OrderedResourceDefinition) SetCommitmentConfiguration(v *CommitmentConfiguration) *OrderedResourceDefinition {
6151 s.CommitmentConfiguration = v
6152 return s
6153 }
6154
6155 // SetCount sets the Count field's value.
6156 func (s *OrderedResourceDefinition) SetCount(v int64) *OrderedResourceDefinition {
6157 s.Count = &v
6158 return s
6159 }
6160
6161 // SetType sets the Type field's value.
6162 func (s *OrderedResourceDefinition) SetType(v string) *OrderedResourceDefinition {
6163 s.Type = &v
6164 return s
6165 }
6166
6167 type PingInput struct {
6168 _ struct{} `type:"structure" nopayload:"true"`
6169 }
6170
6171 // String returns the string representation.
6172 //
6173 // API parameter values that are decorated as "sensitive" in the API will not
6174 // be included in the string output. The member name will be present, but the
6175 // value will be replaced with "sensitive".
6176 func (s PingInput) String() string {
6177 return awsutil.Prettify(s)
6178 }
6179
6180 // GoString returns the string representation.
6181 //
6182 // API parameter values that are decorated as "sensitive" in the API will not
6183 // be included in the string output. The member name will be present, but the
6184 // value will be replaced with "sensitive".
6185 func (s PingInput) GoString() string {
6186 return s.String()
6187 }
6188
6189 type PingOutput struct {
6190 _ struct{} `type:"structure"`
6191
6192 // Information about the health of the service.
6193 Status *string `locationName:"status" type:"string"`
6194 }
6195
6196 // String returns the string representation.
6197 //
6198 // API parameter values that are decorated as "sensitive" in the API will not
6199 // be included in the string output. The member name will be present, but the
6200 // value will be replaced with "sensitive".
6201 func (s PingOutput) String() string {
6202 return awsutil.Prettify(s)
6203 }
6204
6205 // GoString returns the string representation.
6206 //
6207 // API parameter values that are decorated as "sensitive" in the API will not
6208 // be included in the string output. The member name will be present, but the
6209 // value will be replaced with "sensitive".
6210 func (s PingOutput) GoString() string {
6211 return s.String()
6212 }
6213
6214 // SetStatus sets the Status field's value.
6215 func (s *PingOutput) SetStatus(v string) *PingOutput {
6216 s.Status = &v
6217 return s
6218 }
6219
6220 // Information about a position.
6221 type Position struct {
6222 _ struct{} `type:"structure"`
6223
6224 // The elevation of the equipment at this position.
6225 Elevation *float64 `locationName:"elevation" type:"double"`
6226
6227 // The reference point from which elevation is reported.
6228 ElevationReference *string `locationName:"elevationReference" type:"string" enum:"ElevationReference"`
6229
6230 // The units used to measure the elevation of the position.
6231 ElevationUnit *string `locationName:"elevationUnit" type:"string" enum:"ElevationUnit"`
6232
6233 // The latitude of the position.
6234 Latitude *float64 `locationName:"latitude" type:"double"`
6235
6236 // The longitude of the position.
6237 Longitude *float64 `locationName:"longitude" type:"double"`
6238 }
6239
6240 // String returns the string representation.
6241 //
6242 // API parameter values that are decorated as "sensitive" in the API will not
6243 // be included in the string output. The member name will be present, but the
6244 // value will be replaced with "sensitive".
6245 func (s Position) String() string {
6246 return awsutil.Prettify(s)
6247 }
6248
6249 // GoString returns the string representation.
6250 //
6251 // API parameter values that are decorated as "sensitive" in the API will not
6252 // be included in the string output. The member name will be present, but the
6253 // value will be replaced with "sensitive".
6254 func (s Position) GoString() string {
6255 return s.String()
6256 }
6257
6258 // SetElevation sets the Elevation field's value.
6259 func (s *Position) SetElevation(v float64) *Position {
6260 s.Elevation = &v
6261 return s
6262 }
6263
6264 // SetElevationReference sets the ElevationReference field's value.
6265 func (s *Position) SetElevationReference(v string) *Position {
6266 s.ElevationReference = &v
6267 return s
6268 }
6269
6270 // SetElevationUnit sets the ElevationUnit field's value.
6271 func (s *Position) SetElevationUnit(v string) *Position {
6272 s.ElevationUnit = &v
6273 return s
6274 }
6275
6276 // SetLatitude sets the Latitude field's value.
6277 func (s *Position) SetLatitude(v float64) *Position {
6278 s.Latitude = &v
6279 return s
6280 }
6281
6282 // SetLongitude sets the Longitude field's value.
6283 func (s *Position) SetLongitude(v float64) *Position {
6284 s.Longitude = &v
6285 return s
6286 }
6287
6288 // The resource was not found.
6289 type ResourceNotFoundException struct {
6290 _ struct{} `type:"structure"`
6291 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
6292
6293 // Description of the error.
6294 Message_ *string `locationName:"message" type:"string"`
6295
6296 // Identifier of the affected resource.
6297 //
6298 // ResourceId is a required field
6299 ResourceId *string `locationName:"resourceId" type:"string" required:"true"`
6300
6301 // Type of the affected resource.
6302 //
6303 // ResourceType is a required field
6304 ResourceType *string `locationName:"resourceType" type:"string" required:"true"`
6305 }
6306
6307 // String returns the string representation.
6308 //
6309 // API parameter values that are decorated as "sensitive" in the API will not
6310 // be included in the string output. The member name will be present, but the
6311 // value will be replaced with "sensitive".
6312 func (s ResourceNotFoundException) String() string {
6313 return awsutil.Prettify(s)
6314 }
6315
6316 // GoString returns the string representation.
6317 //
6318 // API parameter values that are decorated as "sensitive" in the API will not
6319 // be included in the string output. The member name will be present, but the
6320 // value will be replaced with "sensitive".
6321 func (s ResourceNotFoundException) GoString() string {
6322 return s.String()
6323 }
6324
6325 func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error {
6326 return &ResourceNotFoundException{
6327 RespMetadata: v,
6328 }
6329 }
6330
6331 // Code returns the exception type name.
6332 func (s *ResourceNotFoundException) Code() string {
6333 return "ResourceNotFoundException"
6334 }
6335
6336 // Message returns the exception's message.
6337 func (s *ResourceNotFoundException) Message() string {
6338 if s.Message_ != nil {
6339 return *s.Message_
6340 }
6341 return ""
6342 }
6343
6344 // OrigErr always returns nil, satisfies awserr.Error interface.
6345 func (s *ResourceNotFoundException) OrigErr() error {
6346 return nil
6347 }
6348
6349 func (s *ResourceNotFoundException) Error() string {
6350 return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
6351 }
6352
6353 // Status code returns the HTTP status code for the request's response error.
6354 func (s *ResourceNotFoundException) StatusCode() int {
6355 return s.RespMetadata.StatusCode
6356 }
6357
6358 // RequestID returns the service's response RequestID for request.
6359 func (s *ResourceNotFoundException) RequestID() string {
6360 return s.RespMetadata.RequestID
6361 }
6362
6363 // Information about a request to return a network resource.
6364 type ReturnInformation struct {
6365 _ struct{} `type:"structure"`
6366
6367 // The Amazon Resource Name (ARN) of the replacement order.
6368 ReplacementOrderArn *string `locationName:"replacementOrderArn" type:"string"`
6369
6370 // The reason for the return. If the return request did not include a reason
6371 // for the return, this value is null.
6372 ReturnReason *string `locationName:"returnReason" type:"string"`
6373
6374 // The shipping address.
6375 ShippingAddress *Address `locationName:"shippingAddress" type:"structure"`
6376
6377 // The URL of the shipping label. The shipping label is available for download
6378 // only if the status of the network resource is PENDING_RETURN. For more information,
6379 // see Return a radio unit (https://docs.aws.amazon.com/private-networks/latest/userguide/radio-units.html#return-radio-unit).
6380 ShippingLabel *string `locationName:"shippingLabel" type:"string"`
6381 }
6382
6383 // String returns the string representation.
6384 //
6385 // API parameter values that are decorated as "sensitive" in the API will not
6386 // be included in the string output. The member name will be present, but the
6387 // value will be replaced with "sensitive".
6388 func (s ReturnInformation) String() string {
6389 return awsutil.Prettify(s)
6390 }
6391
6392 // GoString returns the string representation.
6393 //
6394 // API parameter values that are decorated as "sensitive" in the API will not
6395 // be included in the string output. The member name will be present, but the
6396 // value will be replaced with "sensitive".
6397 func (s ReturnInformation) GoString() string {
6398 return s.String()
6399 }
6400
6401 // SetReplacementOrderArn sets the ReplacementOrderArn field's value.
6402 func (s *ReturnInformation) SetReplacementOrderArn(v string) *ReturnInformation {
6403 s.ReplacementOrderArn = &v
6404 return s
6405 }
6406
6407 // SetReturnReason sets the ReturnReason field's value.
6408 func (s *ReturnInformation) SetReturnReason(v string) *ReturnInformation {
6409 s.ReturnReason = &v
6410 return s
6411 }
6412
6413 // SetShippingAddress sets the ShippingAddress field's value.
6414 func (s *ReturnInformation) SetShippingAddress(v *Address) *ReturnInformation {
6415 s.ShippingAddress = v
6416 return s
6417 }
6418
6419 // SetShippingLabel sets the ShippingLabel field's value.
6420 func (s *ReturnInformation) SetShippingLabel(v string) *ReturnInformation {
6421 s.ShippingLabel = &v
6422 return s
6423 }
6424
6425 // Information about a site plan.
6426 type SitePlan struct {
6427 _ struct{} `type:"structure"`
6428
6429 // The options of the plan.
6430 Options []*NameValuePair `locationName:"options" type:"list"`
6431
6432 // The resource definitions of the plan.
6433 ResourceDefinitions []*NetworkResourceDefinition `locationName:"resourceDefinitions" type:"list"`
6434 }
6435
6436 // String returns the string representation.
6437 //
6438 // API parameter values that are decorated as "sensitive" in the API will not
6439 // be included in the string output. The member name will be present, but the
6440 // value will be replaced with "sensitive".
6441 func (s SitePlan) String() string {
6442 return awsutil.Prettify(s)
6443 }
6444
6445 // GoString returns the string representation.
6446 //
6447 // API parameter values that are decorated as "sensitive" in the API will not
6448 // be included in the string output. The member name will be present, but the
6449 // value will be replaced with "sensitive".
6450 func (s SitePlan) GoString() string {
6451 return s.String()
6452 }
6453
6454 // Validate inspects the fields of the type to determine if they are valid.
6455 func (s *SitePlan) Validate() error {
6456 invalidParams := request.ErrInvalidParams{Context: "SitePlan"}
6457 if s.Options != nil {
6458 for i, v := range s.Options {
6459 if v == nil {
6460 continue
6461 }
6462 if err := v.Validate(); err != nil {
6463 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Options", i), err.(request.ErrInvalidParams))
6464 }
6465 }
6466 }
6467 if s.ResourceDefinitions != nil {
6468 for i, v := range s.ResourceDefinitions {
6469 if v == nil {
6470 continue
6471 }
6472 if err := v.Validate(); err != nil {
6473 invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ResourceDefinitions", i), err.(request.ErrInvalidParams))
6474 }
6475 }
6476 }
6477
6478 if invalidParams.Len() > 0 {
6479 return invalidParams
6480 }
6481 return nil
6482 }
6483
6484 // SetOptions sets the Options field's value.
6485 func (s *SitePlan) SetOptions(v []*NameValuePair) *SitePlan {
6486 s.Options = v
6487 return s
6488 }
6489
6490 // SetResourceDefinitions sets the ResourceDefinitions field's value.
6491 func (s *SitePlan) SetResourceDefinitions(v []*NetworkResourceDefinition) *SitePlan {
6492 s.ResourceDefinitions = v
6493 return s
6494 }
6495
6496 type StartNetworkResourceUpdateInput struct {
6497 _ struct{} `type:"structure"`
6498
6499 // Use this action to extend and automatically renew the commitment period for
6500 // the radio unit. You can do the following:
6501 //
6502 // * Change a 60-day commitment to a 1-year or 3-year commitment. The change
6503 // is immediate and the hourly rate decreases to the rate for the new commitment
6504 // period.
6505 //
6506 // * Change a 1-year commitment to a 3-year commitment. The change is immediate
6507 // and the hourly rate decreases to the rate for the 3-year commitment period.
6508 //
6509 // * Set a 1-year commitment to automatically renew for an additional 1 year.
6510 // The hourly rate for the additional year will continue to be the same as
6511 // your existing 1-year rate.
6512 //
6513 // * Set a 3-year commitment to automatically renew for an additional 1 year.
6514 // The hourly rate for the additional year will continue to be the same as
6515 // your existing 3-year rate.
6516 //
6517 // * Turn off a previously-enabled automatic renewal on a 1-year or 3-year
6518 // commitment. You cannot use the automatic-renewal option for a 60-day commitment.
6519 //
6520 // For pricing, see Amazon Web Services Private 5G Pricing (http://aws.amazon.com/private5g/pricing).
6521 CommitmentConfiguration *CommitmentConfiguration `locationName:"commitmentConfiguration" type:"structure"`
6522
6523 // The Amazon Resource Name (ARN) of the network resource.
6524 //
6525 // NetworkResourceArn is a required field
6526 NetworkResourceArn *string `locationName:"networkResourceArn" type:"string" required:"true"`
6527
6528 // The reason for the return. Providing a reason for a return is optional.
6529 ReturnReason *string `locationName:"returnReason" type:"string"`
6530
6531 // The shipping address. If you don't provide a shipping address when replacing
6532 // or returning a network resource, we use the address from the original order
6533 // for the network resource.
6534 ShippingAddress *Address `locationName:"shippingAddress" type:"structure"`
6535
6536 // The update type.
6537 //
6538 // * REPLACE - Submits a request to replace a defective radio unit. We provide
6539 // a shipping label that you can use for the return process and we ship a
6540 // replacement radio unit to you.
6541 //
6542 // * RETURN - Submits a request to return a radio unit that you no longer
6543 // need. We provide a shipping label that you can use for the return process.
6544 //
6545 // * COMMITMENT - Submits a request to change or renew the commitment period.
6546 // If you choose this value, then you must set commitmentConfiguration (https://docs.aws.amazon.com/private-networks/latest/APIReference/API_StartNetworkResourceUpdate.html#privatenetworks-StartNetworkResourceUpdate-request-commitmentConfiguration).
6547 //
6548 // UpdateType is a required field
6549 UpdateType *string `locationName:"updateType" type:"string" required:"true" enum:"UpdateType"`
6550 }
6551
6552 // String returns the string representation.
6553 //
6554 // API parameter values that are decorated as "sensitive" in the API will not
6555 // be included in the string output. The member name will be present, but the
6556 // value will be replaced with "sensitive".
6557 func (s StartNetworkResourceUpdateInput) String() string {
6558 return awsutil.Prettify(s)
6559 }
6560
6561 // GoString returns the string representation.
6562 //
6563 // API parameter values that are decorated as "sensitive" in the API will not
6564 // be included in the string output. The member name will be present, but the
6565 // value will be replaced with "sensitive".
6566 func (s StartNetworkResourceUpdateInput) GoString() string {
6567 return s.String()
6568 }
6569
6570 // Validate inspects the fields of the type to determine if they are valid.
6571 func (s *StartNetworkResourceUpdateInput) Validate() error {
6572 invalidParams := request.ErrInvalidParams{Context: "StartNetworkResourceUpdateInput"}
6573 if s.NetworkResourceArn == nil {
6574 invalidParams.Add(request.NewErrParamRequired("NetworkResourceArn"))
6575 }
6576 if s.UpdateType == nil {
6577 invalidParams.Add(request.NewErrParamRequired("UpdateType"))
6578 }
6579 if s.CommitmentConfiguration != nil {
6580 if err := s.CommitmentConfiguration.Validate(); err != nil {
6581 invalidParams.AddNested("CommitmentConfiguration", err.(request.ErrInvalidParams))
6582 }
6583 }
6584 if s.ShippingAddress != nil {
6585 if err := s.ShippingAddress.Validate(); err != nil {
6586 invalidParams.AddNested("ShippingAddress", err.(request.ErrInvalidParams))
6587 }
6588 }
6589
6590 if invalidParams.Len() > 0 {
6591 return invalidParams
6592 }
6593 return nil
6594 }
6595
6596 // SetCommitmentConfiguration sets the CommitmentConfiguration field's value.
6597 func (s *StartNetworkResourceUpdateInput) SetCommitmentConfiguration(v *CommitmentConfiguration) *StartNetworkResourceUpdateInput {
6598 s.CommitmentConfiguration = v
6599 return s
6600 }
6601
6602 // SetNetworkResourceArn sets the NetworkResourceArn field's value.
6603 func (s *StartNetworkResourceUpdateInput) SetNetworkResourceArn(v string) *StartNetworkResourceUpdateInput {
6604 s.NetworkResourceArn = &v
6605 return s
6606 }
6607
6608 // SetReturnReason sets the ReturnReason field's value.
6609 func (s *StartNetworkResourceUpdateInput) SetReturnReason(v string) *StartNetworkResourceUpdateInput {
6610 s.ReturnReason = &v
6611 return s
6612 }
6613
6614 // SetShippingAddress sets the ShippingAddress field's value.
6615 func (s *StartNetworkResourceUpdateInput) SetShippingAddress(v *Address) *StartNetworkResourceUpdateInput {
6616 s.ShippingAddress = v
6617 return s
6618 }
6619
6620 // SetUpdateType sets the UpdateType field's value.
6621 func (s *StartNetworkResourceUpdateInput) SetUpdateType(v string) *StartNetworkResourceUpdateInput {
6622 s.UpdateType = &v
6623 return s
6624 }
6625
6626 type StartNetworkResourceUpdateOutput struct {
6627 _ struct{} `type:"structure"`
6628
6629 // The network resource.
6630 NetworkResource *NetworkResource `locationName:"networkResource" type:"structure"`
6631 }
6632
6633 // String returns the string representation.
6634 //
6635 // API parameter values that are decorated as "sensitive" in the API will not
6636 // be included in the string output. The member name will be present, but the
6637 // value will be replaced with "sensitive".
6638 func (s StartNetworkResourceUpdateOutput) String() string {
6639 return awsutil.Prettify(s)
6640 }
6641
6642 // GoString returns the string representation.
6643 //
6644 // API parameter values that are decorated as "sensitive" in the API will not
6645 // be included in the string output. The member name will be present, but the
6646 // value will be replaced with "sensitive".
6647 func (s StartNetworkResourceUpdateOutput) GoString() string {
6648 return s.String()
6649 }
6650
6651 // SetNetworkResource sets the NetworkResource field's value.
6652 func (s *StartNetworkResourceUpdateOutput) SetNetworkResource(v *NetworkResource) *StartNetworkResourceUpdateOutput {
6653 s.NetworkResource = v
6654 return s
6655 }
6656
6657 type TagResourceInput struct {
6658 _ struct{} `type:"structure"`
6659
6660 // The Amazon Resource Name (ARN) of the resource.
6661 //
6662 // ResourceArn is a required field
6663 ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
6664
6665 // The tags to add to the resource.
6666 //
6667 // Tags is a sensitive parameter and its value will be
6668 // replaced with "sensitive" in string returned by TagResourceInput's
6669 // String and GoString methods.
6670 //
6671 // Tags is a required field
6672 Tags map[string]*string `locationName:"tags" min:"1" type:"map" required:"true" sensitive:"true"`
6673 }
6674
6675 // String returns the string representation.
6676 //
6677 // API parameter values that are decorated as "sensitive" in the API will not
6678 // be included in the string output. The member name will be present, but the
6679 // value will be replaced with "sensitive".
6680 func (s TagResourceInput) String() string {
6681 return awsutil.Prettify(s)
6682 }
6683
6684 // GoString returns the string representation.
6685 //
6686 // API parameter values that are decorated as "sensitive" in the API will not
6687 // be included in the string output. The member name will be present, but the
6688 // value will be replaced with "sensitive".
6689 func (s TagResourceInput) GoString() string {
6690 return s.String()
6691 }
6692
6693 // Validate inspects the fields of the type to determine if they are valid.
6694 func (s *TagResourceInput) Validate() error {
6695 invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"}
6696 if s.ResourceArn == nil {
6697 invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
6698 }
6699 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
6700 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
6701 }
6702 if s.Tags == nil {
6703 invalidParams.Add(request.NewErrParamRequired("Tags"))
6704 }
6705 if s.Tags != nil && len(s.Tags) < 1 {
6706 invalidParams.Add(request.NewErrParamMinLen("Tags", 1))
6707 }
6708
6709 if invalidParams.Len() > 0 {
6710 return invalidParams
6711 }
6712 return nil
6713 }
6714
6715 // SetResourceArn sets the ResourceArn field's value.
6716 func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput {
6717 s.ResourceArn = &v
6718 return s
6719 }
6720
6721 // SetTags sets the Tags field's value.
6722 func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput {
6723 s.Tags = v
6724 return s
6725 }
6726
6727 type TagResourceOutput struct {
6728 _ struct{} `type:"structure"`
6729 }
6730
6731 // String returns the string representation.
6732 //
6733 // API parameter values that are decorated as "sensitive" in the API will not
6734 // be included in the string output. The member name will be present, but the
6735 // value will be replaced with "sensitive".
6736 func (s TagResourceOutput) String() string {
6737 return awsutil.Prettify(s)
6738 }
6739
6740 // GoString returns the string representation.
6741 //
6742 // API parameter values that are decorated as "sensitive" in the API will not
6743 // be included in the string output. The member name will be present, but the
6744 // value will be replaced with "sensitive".
6745 func (s TagResourceOutput) GoString() string {
6746 return s.String()
6747 }
6748
6749 // The request was denied due to request throttling.
6750 type ThrottlingException struct {
6751 _ struct{} `type:"structure"`
6752 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
6753
6754 Message_ *string `locationName:"message" type:"string"`
6755 }
6756
6757 // String returns the string representation.
6758 //
6759 // API parameter values that are decorated as "sensitive" in the API will not
6760 // be included in the string output. The member name will be present, but the
6761 // value will be replaced with "sensitive".
6762 func (s ThrottlingException) String() string {
6763 return awsutil.Prettify(s)
6764 }
6765
6766 // GoString returns the string representation.
6767 //
6768 // API parameter values that are decorated as "sensitive" in the API will not
6769 // be included in the string output. The member name will be present, but the
6770 // value will be replaced with "sensitive".
6771 func (s ThrottlingException) GoString() string {
6772 return s.String()
6773 }
6774
6775 func newErrorThrottlingException(v protocol.ResponseMetadata) error {
6776 return &ThrottlingException{
6777 RespMetadata: v,
6778 }
6779 }
6780
6781 // Code returns the exception type name.
6782 func (s *ThrottlingException) Code() string {
6783 return "ThrottlingException"
6784 }
6785
6786 // Message returns the exception's message.
6787 func (s *ThrottlingException) Message() string {
6788 if s.Message_ != nil {
6789 return *s.Message_
6790 }
6791 return ""
6792 }
6793
6794 // OrigErr always returns nil, satisfies awserr.Error interface.
6795 func (s *ThrottlingException) OrigErr() error {
6796 return nil
6797 }
6798
6799 func (s *ThrottlingException) Error() string {
6800 return fmt.Sprintf("%s: %s", s.Code(), s.Message())
6801 }
6802
6803 // Status code returns the HTTP status code for the request's response error.
6804 func (s *ThrottlingException) StatusCode() int {
6805 return s.RespMetadata.StatusCode
6806 }
6807
6808 // RequestID returns the service's response RequestID for request.
6809 func (s *ThrottlingException) RequestID() string {
6810 return s.RespMetadata.RequestID
6811 }
6812
6813 // Information about tracking a shipment.
6814 type TrackingInformation struct {
6815 _ struct{} `type:"structure"`
6816
6817 // The tracking number of the shipment.
6818 TrackingNumber *string `locationName:"trackingNumber" type:"string"`
6819 }
6820
6821 // String returns the string representation.
6822 //
6823 // API parameter values that are decorated as "sensitive" in the API will not
6824 // be included in the string output. The member name will be present, but the
6825 // value will be replaced with "sensitive".
6826 func (s TrackingInformation) String() string {
6827 return awsutil.Prettify(s)
6828 }
6829
6830 // GoString returns the string representation.
6831 //
6832 // API parameter values that are decorated as "sensitive" in the API will not
6833 // be included in the string output. The member name will be present, but the
6834 // value will be replaced with "sensitive".
6835 func (s TrackingInformation) GoString() string {
6836 return s.String()
6837 }
6838
6839 // SetTrackingNumber sets the TrackingNumber field's value.
6840 func (s *TrackingInformation) SetTrackingNumber(v string) *TrackingInformation {
6841 s.TrackingNumber = &v
6842 return s
6843 }
6844
6845 type UntagResourceInput struct {
6846 _ struct{} `type:"structure" nopayload:"true"`
6847
6848 // The Amazon Resource Name (ARN) of the resource.
6849 //
6850 // ResourceArn is a required field
6851 ResourceArn *string `location:"uri" locationName:"resourceArn" type:"string" required:"true"`
6852
6853 // The tag keys.
6854 //
6855 // TagKeys is a sensitive parameter and its value will be
6856 // replaced with "sensitive" in string returned by UntagResourceInput's
6857 // String and GoString methods.
6858 //
6859 // TagKeys is a required field
6860 TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true" sensitive:"true"`
6861 }
6862
6863 // String returns the string representation.
6864 //
6865 // API parameter values that are decorated as "sensitive" in the API will not
6866 // be included in the string output. The member name will be present, but the
6867 // value will be replaced with "sensitive".
6868 func (s UntagResourceInput) String() string {
6869 return awsutil.Prettify(s)
6870 }
6871
6872 // GoString returns the string representation.
6873 //
6874 // API parameter values that are decorated as "sensitive" in the API will not
6875 // be included in the string output. The member name will be present, but the
6876 // value will be replaced with "sensitive".
6877 func (s UntagResourceInput) GoString() string {
6878 return s.String()
6879 }
6880
6881 // Validate inspects the fields of the type to determine if they are valid.
6882 func (s *UntagResourceInput) Validate() error {
6883 invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"}
6884 if s.ResourceArn == nil {
6885 invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
6886 }
6887 if s.ResourceArn != nil && len(*s.ResourceArn) < 1 {
6888 invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1))
6889 }
6890 if s.TagKeys == nil {
6891 invalidParams.Add(request.NewErrParamRequired("TagKeys"))
6892 }
6893 if s.TagKeys != nil && len(s.TagKeys) < 1 {
6894 invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
6895 }
6896
6897 if invalidParams.Len() > 0 {
6898 return invalidParams
6899 }
6900 return nil
6901 }
6902
6903 // SetResourceArn sets the ResourceArn field's value.
6904 func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput {
6905 s.ResourceArn = &v
6906 return s
6907 }
6908
6909 // SetTagKeys sets the TagKeys field's value.
6910 func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput {
6911 s.TagKeys = v
6912 return s
6913 }
6914
6915 type UntagResourceOutput struct {
6916 _ struct{} `type:"structure"`
6917 }
6918
6919 // String returns the string representation.
6920 //
6921 // API parameter values that are decorated as "sensitive" in the API will not
6922 // be included in the string output. The member name will be present, but the
6923 // value will be replaced with "sensitive".
6924 func (s UntagResourceOutput) String() string {
6925 return awsutil.Prettify(s)
6926 }
6927
6928 // GoString returns the string representation.
6929 //
6930 // API parameter values that are decorated as "sensitive" in the API will not
6931 // be included in the string output. The member name will be present, but the
6932 // value will be replaced with "sensitive".
6933 func (s UntagResourceOutput) GoString() string {
6934 return s.String()
6935 }
6936
6937 type UpdateNetworkSiteInput struct {
6938 _ struct{} `type:"structure"`
6939
6940 // Unique, case-sensitive identifier that you provide to ensure the idempotency
6941 // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
6942 ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
6943
6944 // The description.
6945 Description *string `locationName:"description" type:"string"`
6946
6947 // The Amazon Resource Name (ARN) of the network site.
6948 //
6949 // NetworkSiteArn is a required field
6950 NetworkSiteArn *string `locationName:"networkSiteArn" type:"string" required:"true"`
6951 }
6952
6953 // String returns the string representation.
6954 //
6955 // API parameter values that are decorated as "sensitive" in the API will not
6956 // be included in the string output. The member name will be present, but the
6957 // value will be replaced with "sensitive".
6958 func (s UpdateNetworkSiteInput) String() string {
6959 return awsutil.Prettify(s)
6960 }
6961
6962 // GoString returns the string representation.
6963 //
6964 // API parameter values that are decorated as "sensitive" in the API will not
6965 // be included in the string output. The member name will be present, but the
6966 // value will be replaced with "sensitive".
6967 func (s UpdateNetworkSiteInput) GoString() string {
6968 return s.String()
6969 }
6970
6971 // Validate inspects the fields of the type to determine if they are valid.
6972 func (s *UpdateNetworkSiteInput) Validate() error {
6973 invalidParams := request.ErrInvalidParams{Context: "UpdateNetworkSiteInput"}
6974 if s.ClientToken != nil && len(*s.ClientToken) < 1 {
6975 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
6976 }
6977 if s.NetworkSiteArn == nil {
6978 invalidParams.Add(request.NewErrParamRequired("NetworkSiteArn"))
6979 }
6980
6981 if invalidParams.Len() > 0 {
6982 return invalidParams
6983 }
6984 return nil
6985 }
6986
6987 // SetClientToken sets the ClientToken field's value.
6988 func (s *UpdateNetworkSiteInput) SetClientToken(v string) *UpdateNetworkSiteInput {
6989 s.ClientToken = &v
6990 return s
6991 }
6992
6993 // SetDescription sets the Description field's value.
6994 func (s *UpdateNetworkSiteInput) SetDescription(v string) *UpdateNetworkSiteInput {
6995 s.Description = &v
6996 return s
6997 }
6998
6999 // SetNetworkSiteArn sets the NetworkSiteArn field's value.
7000 func (s *UpdateNetworkSiteInput) SetNetworkSiteArn(v string) *UpdateNetworkSiteInput {
7001 s.NetworkSiteArn = &v
7002 return s
7003 }
7004
7005 type UpdateNetworkSiteOutput struct {
7006 _ struct{} `type:"structure"`
7007
7008 // Information about the network site.
7009 NetworkSite *NetworkSite `locationName:"networkSite" type:"structure"`
7010
7011 // The network site tags.
7012 //
7013 // Tags is a sensitive parameter and its value will be
7014 // replaced with "sensitive" in string returned by UpdateNetworkSiteOutput's
7015 // String and GoString methods.
7016 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
7017 }
7018
7019 // String returns the string representation.
7020 //
7021 // API parameter values that are decorated as "sensitive" in the API will not
7022 // be included in the string output. The member name will be present, but the
7023 // value will be replaced with "sensitive".
7024 func (s UpdateNetworkSiteOutput) String() string {
7025 return awsutil.Prettify(s)
7026 }
7027
7028 // GoString returns the string representation.
7029 //
7030 // API parameter values that are decorated as "sensitive" in the API will not
7031 // be included in the string output. The member name will be present, but the
7032 // value will be replaced with "sensitive".
7033 func (s UpdateNetworkSiteOutput) GoString() string {
7034 return s.String()
7035 }
7036
7037 // SetNetworkSite sets the NetworkSite field's value.
7038 func (s *UpdateNetworkSiteOutput) SetNetworkSite(v *NetworkSite) *UpdateNetworkSiteOutput {
7039 s.NetworkSite = v
7040 return s
7041 }
7042
7043 // SetTags sets the Tags field's value.
7044 func (s *UpdateNetworkSiteOutput) SetTags(v map[string]*string) *UpdateNetworkSiteOutput {
7045 s.Tags = v
7046 return s
7047 }
7048
7049 type UpdateNetworkSitePlanInput struct {
7050 _ struct{} `type:"structure"`
7051
7052 // Unique, case-sensitive identifier that you provide to ensure the idempotency
7053 // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html).
7054 ClientToken *string `locationName:"clientToken" min:"1" type:"string"`
7055
7056 // The Amazon Resource Name (ARN) of the network site.
7057 //
7058 // NetworkSiteArn is a required field
7059 NetworkSiteArn *string `locationName:"networkSiteArn" type:"string" required:"true"`
7060
7061 // The pending plan.
7062 //
7063 // PendingPlan is a required field
7064 PendingPlan *SitePlan `locationName:"pendingPlan" type:"structure" required:"true"`
7065 }
7066
7067 // String returns the string representation.
7068 //
7069 // API parameter values that are decorated as "sensitive" in the API will not
7070 // be included in the string output. The member name will be present, but the
7071 // value will be replaced with "sensitive".
7072 func (s UpdateNetworkSitePlanInput) String() string {
7073 return awsutil.Prettify(s)
7074 }
7075
7076 // GoString returns the string representation.
7077 //
7078 // API parameter values that are decorated as "sensitive" in the API will not
7079 // be included in the string output. The member name will be present, but the
7080 // value will be replaced with "sensitive".
7081 func (s UpdateNetworkSitePlanInput) GoString() string {
7082 return s.String()
7083 }
7084
7085 // Validate inspects the fields of the type to determine if they are valid.
7086 func (s *UpdateNetworkSitePlanInput) Validate() error {
7087 invalidParams := request.ErrInvalidParams{Context: "UpdateNetworkSitePlanInput"}
7088 if s.ClientToken != nil && len(*s.ClientToken) < 1 {
7089 invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
7090 }
7091 if s.NetworkSiteArn == nil {
7092 invalidParams.Add(request.NewErrParamRequired("NetworkSiteArn"))
7093 }
7094 if s.PendingPlan == nil {
7095 invalidParams.Add(request.NewErrParamRequired("PendingPlan"))
7096 }
7097 if s.PendingPlan != nil {
7098 if err := s.PendingPlan.Validate(); err != nil {
7099 invalidParams.AddNested("PendingPlan", err.(request.ErrInvalidParams))
7100 }
7101 }
7102
7103 if invalidParams.Len() > 0 {
7104 return invalidParams
7105 }
7106 return nil
7107 }
7108
7109 // SetClientToken sets the ClientToken field's value.
7110 func (s *UpdateNetworkSitePlanInput) SetClientToken(v string) *UpdateNetworkSitePlanInput {
7111 s.ClientToken = &v
7112 return s
7113 }
7114
7115 // SetNetworkSiteArn sets the NetworkSiteArn field's value.
7116 func (s *UpdateNetworkSitePlanInput) SetNetworkSiteArn(v string) *UpdateNetworkSitePlanInput {
7117 s.NetworkSiteArn = &v
7118 return s
7119 }
7120
7121 // SetPendingPlan sets the PendingPlan field's value.
7122 func (s *UpdateNetworkSitePlanInput) SetPendingPlan(v *SitePlan) *UpdateNetworkSitePlanInput {
7123 s.PendingPlan = v
7124 return s
7125 }
7126
7127 type UpdateNetworkSitePlanOutput struct {
7128 _ struct{} `type:"structure"`
7129
7130 // Information about the network site.
7131 NetworkSite *NetworkSite `locationName:"networkSite" type:"structure"`
7132
7133 // The network site tags.
7134 //
7135 // Tags is a sensitive parameter and its value will be
7136 // replaced with "sensitive" in string returned by UpdateNetworkSitePlanOutput's
7137 // String and GoString methods.
7138 Tags map[string]*string `locationName:"tags" min:"1" type:"map" sensitive:"true"`
7139 }
7140
7141 // String returns the string representation.
7142 //
7143 // API parameter values that are decorated as "sensitive" in the API will not
7144 // be included in the string output. The member name will be present, but the
7145 // value will be replaced with "sensitive".
7146 func (s UpdateNetworkSitePlanOutput) String() string {
7147 return awsutil.Prettify(s)
7148 }
7149
7150 // GoString returns the string representation.
7151 //
7152 // API parameter values that are decorated as "sensitive" in the API will not
7153 // be included in the string output. The member name will be present, but the
7154 // value will be replaced with "sensitive".
7155 func (s UpdateNetworkSitePlanOutput) GoString() string {
7156 return s.String()
7157 }
7158
7159 // SetNetworkSite sets the NetworkSite field's value.
7160 func (s *UpdateNetworkSitePlanOutput) SetNetworkSite(v *NetworkSite) *UpdateNetworkSitePlanOutput {
7161 s.NetworkSite = v
7162 return s
7163 }
7164
7165 // SetTags sets the Tags field's value.
7166 func (s *UpdateNetworkSitePlanOutput) SetTags(v map[string]*string) *UpdateNetworkSitePlanOutput {
7167 s.Tags = v
7168 return s
7169 }
7170
7171 // The request failed validation.
7172 type ValidationException struct {
7173 _ struct{} `type:"structure"`
7174 RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
7175
7176 // The list of fields that caused the error, if applicable.
7177 FieldList []*ValidationExceptionField `locationName:"fieldList" type:"list"`
7178
7179 // Description of the error.
7180 Message_ *string `locationName:"message" type:"string"`
7181
7182 // Reason the request failed validation.
7183 //
7184 // Reason is a required field
7185 Reason *string `locationName:"reason" type:"string" required:"true" enum:"ValidationExceptionReason"`
7186 }
7187
7188 // String returns the string representation.
7189 //
7190 // API parameter values that are decorated as "sensitive" in the API will not
7191 // be included in the string output. The member name will be present, but the
7192 // value will be replaced with "sensitive".
7193 func (s ValidationException) String() string {
7194 return awsutil.Prettify(s)
7195 }
7196
7197 // GoString returns the string representation.
7198 //
7199 // API parameter values that are decorated as "sensitive" in the API will not
7200 // be included in the string output. The member name will be present, but the
7201 // value will be replaced with "sensitive".
7202 func (s ValidationException) GoString() string {
7203 return s.String()
7204 }
7205
7206 func newErrorValidationException(v protocol.ResponseMetadata) error {
7207 return &ValidationException{
7208 RespMetadata: v,
7209 }
7210 }
7211
7212 // Code returns the exception type name.
7213 func (s *ValidationException) Code() string {
7214 return "ValidationException"
7215 }
7216
7217 // Message returns the exception's message.
7218 func (s *ValidationException) Message() string {
7219 if s.Message_ != nil {
7220 return *s.Message_
7221 }
7222 return ""
7223 }
7224
7225 // OrigErr always returns nil, satisfies awserr.Error interface.
7226 func (s *ValidationException) OrigErr() error {
7227 return nil
7228 }
7229
7230 func (s *ValidationException) Error() string {
7231 return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String())
7232 }
7233
7234 // Status code returns the HTTP status code for the request's response error.
7235 func (s *ValidationException) StatusCode() int {
7236 return s.RespMetadata.StatusCode
7237 }
7238
7239 // RequestID returns the service's response RequestID for request.
7240 func (s *ValidationException) RequestID() string {
7241 return s.RespMetadata.RequestID
7242 }
7243
7244 // Information about a field that failed validation.
7245 type ValidationExceptionField struct {
7246 _ struct{} `type:"structure"`
7247
7248 // The message about the validation failure.
7249 //
7250 // Message is a required field
7251 Message *string `locationName:"message" type:"string" required:"true"`
7252
7253 // The field name that failed validation.
7254 //
7255 // Name is a required field
7256 Name *string `locationName:"name" type:"string" required:"true"`
7257 }
7258
7259 // String returns the string representation.
7260 //
7261 // API parameter values that are decorated as "sensitive" in the API will not
7262 // be included in the string output. The member name will be present, but the
7263 // value will be replaced with "sensitive".
7264 func (s ValidationExceptionField) String() string {
7265 return awsutil.Prettify(s)
7266 }
7267
7268 // GoString returns the string representation.
7269 //
7270 // API parameter values that are decorated as "sensitive" in the API will not
7271 // be included in the string output. The member name will be present, but the
7272 // value will be replaced with "sensitive".
7273 func (s ValidationExceptionField) GoString() string {
7274 return s.String()
7275 }
7276
7277 // SetMessage sets the Message field's value.
7278 func (s *ValidationExceptionField) SetMessage(v string) *ValidationExceptionField {
7279 s.Message = &v
7280 return s
7281 }
7282
7283 // SetName sets the Name field's value.
7284 func (s *ValidationExceptionField) SetName(v string) *ValidationExceptionField {
7285 s.Name = &v
7286 return s
7287 }
7288
7289 const (
7290 // AcknowledgmentStatusAcknowledging is a AcknowledgmentStatus enum value
7291 AcknowledgmentStatusAcknowledging = "ACKNOWLEDGING"
7292
7293 // AcknowledgmentStatusAcknowledged is a AcknowledgmentStatus enum value
7294 AcknowledgmentStatusAcknowledged = "ACKNOWLEDGED"
7295
7296 // AcknowledgmentStatusUnacknowledged is a AcknowledgmentStatus enum value
7297 AcknowledgmentStatusUnacknowledged = "UNACKNOWLEDGED"
7298 )
7299
7300 // AcknowledgmentStatus_Values returns all elements of the AcknowledgmentStatus enum
7301 func AcknowledgmentStatus_Values() []string {
7302 return []string{
7303 AcknowledgmentStatusAcknowledging,
7304 AcknowledgmentStatusAcknowledged,
7305 AcknowledgmentStatusUnacknowledged,
7306 }
7307 }
7308
7309 const (
7310 // CommitmentLengthSixtyDays is a CommitmentLength enum value
7311 CommitmentLengthSixtyDays = "SIXTY_DAYS"
7312
7313 // CommitmentLengthOneYear is a CommitmentLength enum value
7314 CommitmentLengthOneYear = "ONE_YEAR"
7315
7316 // CommitmentLengthThreeYears is a CommitmentLength enum value
7317 CommitmentLengthThreeYears = "THREE_YEARS"
7318 )
7319
7320 // CommitmentLength_Values returns all elements of the CommitmentLength enum
7321 func CommitmentLength_Values() []string {
7322 return []string{
7323 CommitmentLengthSixtyDays,
7324 CommitmentLengthOneYear,
7325 CommitmentLengthThreeYears,
7326 }
7327 }
7328
7329 const (
7330 // DeviceIdentifierFilterKeysStatus is a DeviceIdentifierFilterKeys enum value
7331 DeviceIdentifierFilterKeysStatus = "STATUS"
7332
7333 // DeviceIdentifierFilterKeysOrder is a DeviceIdentifierFilterKeys enum value
7334 DeviceIdentifierFilterKeysOrder = "ORDER"
7335
7336 // DeviceIdentifierFilterKeysTrafficGroup is a DeviceIdentifierFilterKeys enum value
7337 DeviceIdentifierFilterKeysTrafficGroup = "TRAFFIC_GROUP"
7338 )
7339
7340 // DeviceIdentifierFilterKeys_Values returns all elements of the DeviceIdentifierFilterKeys enum
7341 func DeviceIdentifierFilterKeys_Values() []string {
7342 return []string{
7343 DeviceIdentifierFilterKeysStatus,
7344 DeviceIdentifierFilterKeysOrder,
7345 DeviceIdentifierFilterKeysTrafficGroup,
7346 }
7347 }
7348
7349 const (
7350 // DeviceIdentifierStatusActive is a DeviceIdentifierStatus enum value
7351 DeviceIdentifierStatusActive = "ACTIVE"
7352
7353 // DeviceIdentifierStatusInactive is a DeviceIdentifierStatus enum value
7354 DeviceIdentifierStatusInactive = "INACTIVE"
7355 )
7356
7357 // DeviceIdentifierStatus_Values returns all elements of the DeviceIdentifierStatus enum
7358 func DeviceIdentifierStatus_Values() []string {
7359 return []string{
7360 DeviceIdentifierStatusActive,
7361 DeviceIdentifierStatusInactive,
7362 }
7363 }
7364
7365 const (
7366 // ElevationReferenceAgl is a ElevationReference enum value
7367 ElevationReferenceAgl = "AGL"
7368
7369 // ElevationReferenceAmsl is a ElevationReference enum value
7370 ElevationReferenceAmsl = "AMSL"
7371 )
7372
7373 // ElevationReference_Values returns all elements of the ElevationReference enum
7374 func ElevationReference_Values() []string {
7375 return []string{
7376 ElevationReferenceAgl,
7377 ElevationReferenceAmsl,
7378 }
7379 }
7380
7381 const (
7382 // ElevationUnitFeet is a ElevationUnit enum value
7383 ElevationUnitFeet = "FEET"
7384 )
7385
7386 // ElevationUnit_Values returns all elements of the ElevationUnit enum
7387 func ElevationUnit_Values() []string {
7388 return []string{
7389 ElevationUnitFeet,
7390 }
7391 }
7392
7393 const (
7394 // HealthStatusInitial is a HealthStatus enum value
7395 HealthStatusInitial = "INITIAL"
7396
7397 // HealthStatusHealthy is a HealthStatus enum value
7398 HealthStatusHealthy = "HEALTHY"
7399
7400 // HealthStatusUnhealthy is a HealthStatus enum value
7401 HealthStatusUnhealthy = "UNHEALTHY"
7402 )
7403
7404 // HealthStatus_Values returns all elements of the HealthStatus enum
7405 func HealthStatus_Values() []string {
7406 return []string{
7407 HealthStatusInitial,
7408 HealthStatusHealthy,
7409 HealthStatusUnhealthy,
7410 }
7411 }
7412
7413 const (
7414 // NetworkFilterKeysStatus is a NetworkFilterKeys enum value
7415 NetworkFilterKeysStatus = "STATUS"
7416 )
7417
7418 // NetworkFilterKeys_Values returns all elements of the NetworkFilterKeys enum
7419 func NetworkFilterKeys_Values() []string {
7420 return []string{
7421 NetworkFilterKeysStatus,
7422 }
7423 }
7424
7425 const (
7426 // NetworkResourceDefinitionTypeRadioUnit is a NetworkResourceDefinitionType enum value
7427 NetworkResourceDefinitionTypeRadioUnit = "RADIO_UNIT"
7428
7429 // NetworkResourceDefinitionTypeDeviceIdentifier is a NetworkResourceDefinitionType enum value
7430 NetworkResourceDefinitionTypeDeviceIdentifier = "DEVICE_IDENTIFIER"
7431 )
7432
7433 // NetworkResourceDefinitionType_Values returns all elements of the NetworkResourceDefinitionType enum
7434 func NetworkResourceDefinitionType_Values() []string {
7435 return []string{
7436 NetworkResourceDefinitionTypeRadioUnit,
7437 NetworkResourceDefinitionTypeDeviceIdentifier,
7438 }
7439 }
7440
7441 const (
7442 // NetworkResourceFilterKeysOrder is a NetworkResourceFilterKeys enum value
7443 NetworkResourceFilterKeysOrder = "ORDER"
7444
7445 // NetworkResourceFilterKeysStatus is a NetworkResourceFilterKeys enum value
7446 NetworkResourceFilterKeysStatus = "STATUS"
7447 )
7448
7449 // NetworkResourceFilterKeys_Values returns all elements of the NetworkResourceFilterKeys enum
7450 func NetworkResourceFilterKeys_Values() []string {
7451 return []string{
7452 NetworkResourceFilterKeysOrder,
7453 NetworkResourceFilterKeysStatus,
7454 }
7455 }
7456
7457 const (
7458 // NetworkResourceStatusPending is a NetworkResourceStatus enum value
7459 NetworkResourceStatusPending = "PENDING"
7460
7461 // NetworkResourceStatusShipped is a NetworkResourceStatus enum value
7462 NetworkResourceStatusShipped = "SHIPPED"
7463
7464 // NetworkResourceStatusProvisioning is a NetworkResourceStatus enum value
7465 NetworkResourceStatusProvisioning = "PROVISIONING"
7466
7467 // NetworkResourceStatusProvisioned is a NetworkResourceStatus enum value
7468 NetworkResourceStatusProvisioned = "PROVISIONED"
7469
7470 // NetworkResourceStatusAvailable is a NetworkResourceStatus enum value
7471 NetworkResourceStatusAvailable = "AVAILABLE"
7472
7473 // NetworkResourceStatusDeleting is a NetworkResourceStatus enum value
7474 NetworkResourceStatusDeleting = "DELETING"
7475
7476 // NetworkResourceStatusPendingReturn is a NetworkResourceStatus enum value
7477 NetworkResourceStatusPendingReturn = "PENDING_RETURN"
7478
7479 // NetworkResourceStatusDeleted is a NetworkResourceStatus enum value
7480 NetworkResourceStatusDeleted = "DELETED"
7481
7482 // NetworkResourceStatusCreatingShippingLabel is a NetworkResourceStatus enum value
7483 NetworkResourceStatusCreatingShippingLabel = "CREATING_SHIPPING_LABEL"
7484 )
7485
7486 // NetworkResourceStatus_Values returns all elements of the NetworkResourceStatus enum
7487 func NetworkResourceStatus_Values() []string {
7488 return []string{
7489 NetworkResourceStatusPending,
7490 NetworkResourceStatusShipped,
7491 NetworkResourceStatusProvisioning,
7492 NetworkResourceStatusProvisioned,
7493 NetworkResourceStatusAvailable,
7494 NetworkResourceStatusDeleting,
7495 NetworkResourceStatusPendingReturn,
7496 NetworkResourceStatusDeleted,
7497 NetworkResourceStatusCreatingShippingLabel,
7498 }
7499 }
7500
7501 const (
7502 // NetworkResourceTypeRadioUnit is a NetworkResourceType enum value
7503 NetworkResourceTypeRadioUnit = "RADIO_UNIT"
7504 )
7505
7506 // NetworkResourceType_Values returns all elements of the NetworkResourceType enum
7507 func NetworkResourceType_Values() []string {
7508 return []string{
7509 NetworkResourceTypeRadioUnit,
7510 }
7511 }
7512
7513 const (
7514 // NetworkSiteFilterKeysStatus is a NetworkSiteFilterKeys enum value
7515 NetworkSiteFilterKeysStatus = "STATUS"
7516 )
7517
7518 // NetworkSiteFilterKeys_Values returns all elements of the NetworkSiteFilterKeys enum
7519 func NetworkSiteFilterKeys_Values() []string {
7520 return []string{
7521 NetworkSiteFilterKeysStatus,
7522 }
7523 }
7524
7525 const (
7526 // NetworkSiteStatusCreated is a NetworkSiteStatus enum value
7527 NetworkSiteStatusCreated = "CREATED"
7528
7529 // NetworkSiteStatusProvisioning is a NetworkSiteStatus enum value
7530 NetworkSiteStatusProvisioning = "PROVISIONING"
7531
7532 // NetworkSiteStatusAvailable is a NetworkSiteStatus enum value
7533 NetworkSiteStatusAvailable = "AVAILABLE"
7534
7535 // NetworkSiteStatusDeprovisioning is a NetworkSiteStatus enum value
7536 NetworkSiteStatusDeprovisioning = "DEPROVISIONING"
7537
7538 // NetworkSiteStatusDeleted is a NetworkSiteStatus enum value
7539 NetworkSiteStatusDeleted = "DELETED"
7540 )
7541
7542 // NetworkSiteStatus_Values returns all elements of the NetworkSiteStatus enum
7543 func NetworkSiteStatus_Values() []string {
7544 return []string{
7545 NetworkSiteStatusCreated,
7546 NetworkSiteStatusProvisioning,
7547 NetworkSiteStatusAvailable,
7548 NetworkSiteStatusDeprovisioning,
7549 NetworkSiteStatusDeleted,
7550 }
7551 }
7552
7553 const (
7554 // NetworkStatusCreated is a NetworkStatus enum value
7555 NetworkStatusCreated = "CREATED"
7556
7557 // NetworkStatusProvisioning is a NetworkStatus enum value
7558 NetworkStatusProvisioning = "PROVISIONING"
7559
7560 // NetworkStatusAvailable is a NetworkStatus enum value
7561 NetworkStatusAvailable = "AVAILABLE"
7562
7563 // NetworkStatusDeprovisioning is a NetworkStatus enum value
7564 NetworkStatusDeprovisioning = "DEPROVISIONING"
7565
7566 // NetworkStatusDeleted is a NetworkStatus enum value
7567 NetworkStatusDeleted = "DELETED"
7568 )
7569
7570 // NetworkStatus_Values returns all elements of the NetworkStatus enum
7571 func NetworkStatus_Values() []string {
7572 return []string{
7573 NetworkStatusCreated,
7574 NetworkStatusProvisioning,
7575 NetworkStatusAvailable,
7576 NetworkStatusDeprovisioning,
7577 NetworkStatusDeleted,
7578 }
7579 }
7580
7581 const (
7582 // OrderFilterKeysStatus is a OrderFilterKeys enum value
7583 OrderFilterKeysStatus = "STATUS"
7584
7585 // OrderFilterKeysNetworkSite is a OrderFilterKeys enum value
7586 OrderFilterKeysNetworkSite = "NETWORK_SITE"
7587 )
7588
7589 // OrderFilterKeys_Values returns all elements of the OrderFilterKeys enum
7590 func OrderFilterKeys_Values() []string {
7591 return []string{
7592 OrderFilterKeysStatus,
7593 OrderFilterKeysNetworkSite,
7594 }
7595 }
7596
7597 const (
7598 // UpdateTypeReplace is a UpdateType enum value
7599 UpdateTypeReplace = "REPLACE"
7600
7601 // UpdateTypeReturn is a UpdateType enum value
7602 UpdateTypeReturn = "RETURN"
7603
7604 // UpdateTypeCommitment is a UpdateType enum value
7605 UpdateTypeCommitment = "COMMITMENT"
7606 )
7607
7608 // UpdateType_Values returns all elements of the UpdateType enum
7609 func UpdateType_Values() []string {
7610 return []string{
7611 UpdateTypeReplace,
7612 UpdateTypeReturn,
7613 UpdateTypeCommitment,
7614 }
7615 }
7616
7617 const (
7618 // ValidationExceptionReasonUnknownOperation is a ValidationExceptionReason enum value
7619 ValidationExceptionReasonUnknownOperation = "UNKNOWN_OPERATION"
7620
7621 // ValidationExceptionReasonCannotParse is a ValidationExceptionReason enum value
7622 ValidationExceptionReasonCannotParse = "CANNOT_PARSE"
7623
7624 // ValidationExceptionReasonCannotAssumeRole is a ValidationExceptionReason enum value
7625 ValidationExceptionReasonCannotAssumeRole = "CANNOT_ASSUME_ROLE"
7626
7627 // ValidationExceptionReasonFieldValidationFailed is a ValidationExceptionReason enum value
7628 ValidationExceptionReasonFieldValidationFailed = "FIELD_VALIDATION_FAILED"
7629
7630 // ValidationExceptionReasonOther is a ValidationExceptionReason enum value
7631 ValidationExceptionReasonOther = "OTHER"
7632 )
7633
7634 // ValidationExceptionReason_Values returns all elements of the ValidationExceptionReason enum
7635 func ValidationExceptionReason_Values() []string {
7636 return []string{
7637 ValidationExceptionReasonUnknownOperation,
7638 ValidationExceptionReasonCannotParse,
7639 ValidationExceptionReasonCannotAssumeRole,
7640 ValidationExceptionReasonFieldValidationFailed,
7641 ValidationExceptionReasonOther,
7642 }
7643 }