aws-sdk-privatenetworks 1.2.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b893f7679a5c6d55591834975c5f945948470cf7f816e9cc76d628e0e14266a2
4
- data.tar.gz: 03aa966ce4fbe9d5e431e083cc9f20ffdc87b39ffb60767d70d6a09cc361331d
3
+ metadata.gz: '05196690cd642c3d6cde053fc205fc00ad914bc1e9c3b6b6cf788c8b64d33f66'
4
+ data.tar.gz: d5a3fad20d8d403897681a9fb18e31da0fca516d18cdb4e38dcd303f727bf3bd
5
5
  SHA512:
6
- metadata.gz: 38a6619ef77be1c9999db991a6e3d916d50483f68d87cb411a64d49d2041029b5889bfaa40dfb74c35a84c358fe8f937ba2228704bbf42c767e2c228f1ac0790
7
- data.tar.gz: 6a2162cbb6950f84a439701d25901fcc58bef747a166e410e37353d70ce4a5cfe6135609d025678ca7fa8e5c229ea0af91e01a6bde02482b8ab0bddddb4117fe
6
+ metadata.gz: 3c92ded89b4ab68fb0b4567d324209a8ee9057b578789e8bc80efc60cb9604dab6afedb57106b76792d2b41f058572c2094441430e274c9d0af5451a020fbba6
7
+ data.tar.gz: c8cecb9a4ee2531321c7627f638aadc777db45769509783f4f75b0d4c9f96c26ad7cdc29633c1de3a18cd1aff17ba9cf5ab7a4588811ddd1820ac1012af6777c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2023-02-15)
5
+ ------------------
6
+
7
+ * Feature - This release introduces a new StartNetworkResourceUpdate API, which enables return/replacement of hardware from a NetworkSite.
8
+
9
+ 1.3.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.2.0 (2022-10-28)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.4.0
@@ -613,8 +613,21 @@ module Aws::PrivateNetworks
613
613
  # resp.access_point.position.elevation_unit #=> String, one of "FEET"
614
614
  # resp.access_point.position.latitude #=> Float
615
615
  # resp.access_point.position.longitude #=> Float
616
+ # resp.access_point.return_information.replacement_order_arn #=> String
617
+ # resp.access_point.return_information.return_reason #=> String
618
+ # resp.access_point.return_information.shipping_address.city #=> String
619
+ # resp.access_point.return_information.shipping_address.company #=> String
620
+ # resp.access_point.return_information.shipping_address.country #=> String
621
+ # resp.access_point.return_information.shipping_address.name #=> String
622
+ # resp.access_point.return_information.shipping_address.phone_number #=> String
623
+ # resp.access_point.return_information.shipping_address.postal_code #=> String
624
+ # resp.access_point.return_information.shipping_address.state_or_province #=> String
625
+ # resp.access_point.return_information.shipping_address.street1 #=> String
626
+ # resp.access_point.return_information.shipping_address.street2 #=> String
627
+ # resp.access_point.return_information.shipping_address.street3 #=> String
628
+ # resp.access_point.return_information.shipping_label #=> String
616
629
  # resp.access_point.serial_number #=> String
617
- # resp.access_point.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED"
630
+ # resp.access_point.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED", "CREATING_SHIPPING_LABEL"
618
631
  # resp.access_point.status_reason #=> String
619
632
  # resp.access_point.type #=> String, one of "RADIO_UNIT"
620
633
  # resp.access_point.vendor #=> String
@@ -1076,8 +1089,21 @@ module Aws::PrivateNetworks
1076
1089
  # resp.network_resource.position.elevation_unit #=> String, one of "FEET"
1077
1090
  # resp.network_resource.position.latitude #=> Float
1078
1091
  # resp.network_resource.position.longitude #=> Float
1092
+ # resp.network_resource.return_information.replacement_order_arn #=> String
1093
+ # resp.network_resource.return_information.return_reason #=> String
1094
+ # resp.network_resource.return_information.shipping_address.city #=> String
1095
+ # resp.network_resource.return_information.shipping_address.company #=> String
1096
+ # resp.network_resource.return_information.shipping_address.country #=> String
1097
+ # resp.network_resource.return_information.shipping_address.name #=> String
1098
+ # resp.network_resource.return_information.shipping_address.phone_number #=> String
1099
+ # resp.network_resource.return_information.shipping_address.postal_code #=> String
1100
+ # resp.network_resource.return_information.shipping_address.state_or_province #=> String
1101
+ # resp.network_resource.return_information.shipping_address.street1 #=> String
1102
+ # resp.network_resource.return_information.shipping_address.street2 #=> String
1103
+ # resp.network_resource.return_information.shipping_address.street3 #=> String
1104
+ # resp.network_resource.return_information.shipping_label #=> String
1079
1105
  # resp.network_resource.serial_number #=> String
1080
- # resp.network_resource.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED"
1106
+ # resp.network_resource.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED", "CREATING_SHIPPING_LABEL"
1081
1107
  # resp.network_resource.status_reason #=> String
1082
1108
  # resp.network_resource.type #=> String, one of "RADIO_UNIT"
1083
1109
  # resp.network_resource.vendor #=> String
@@ -1202,11 +1228,8 @@ module Aws::PrivateNetworks
1202
1228
  # Name (ARN) of an order, the status of device identifiers, or the ARN
1203
1229
  # of the traffic group.
1204
1230
  #
1205
- # <p>If you specify multiple filters, filters are joined with an OR, and the request
1206
- #
1207
- # returns results that match all of the specified filters.
1208
- #
1209
- # </p>
1231
+ # If you specify multiple filters, filters are joined with an OR, and
1232
+ # the request returns results that match all of the specified filters.
1210
1233
  #
1211
1234
  # @option params [Hash<String,Array>] :filters
1212
1235
  # The filters.
@@ -1337,8 +1360,21 @@ module Aws::PrivateNetworks
1337
1360
  # resp.network_resources[0].position.elevation_unit #=> String, one of "FEET"
1338
1361
  # resp.network_resources[0].position.latitude #=> Float
1339
1362
  # resp.network_resources[0].position.longitude #=> Float
1363
+ # resp.network_resources[0].return_information.replacement_order_arn #=> String
1364
+ # resp.network_resources[0].return_information.return_reason #=> String
1365
+ # resp.network_resources[0].return_information.shipping_address.city #=> String
1366
+ # resp.network_resources[0].return_information.shipping_address.company #=> String
1367
+ # resp.network_resources[0].return_information.shipping_address.country #=> String
1368
+ # resp.network_resources[0].return_information.shipping_address.name #=> String
1369
+ # resp.network_resources[0].return_information.shipping_address.phone_number #=> String
1370
+ # resp.network_resources[0].return_information.shipping_address.postal_code #=> String
1371
+ # resp.network_resources[0].return_information.shipping_address.state_or_province #=> String
1372
+ # resp.network_resources[0].return_information.shipping_address.street1 #=> String
1373
+ # resp.network_resources[0].return_information.shipping_address.street2 #=> String
1374
+ # resp.network_resources[0].return_information.shipping_address.street3 #=> String
1375
+ # resp.network_resources[0].return_information.shipping_label #=> String
1340
1376
  # resp.network_resources[0].serial_number #=> String
1341
- # resp.network_resources[0].status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED"
1377
+ # resp.network_resources[0].status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED", "CREATING_SHIPPING_LABEL"
1342
1378
  # resp.network_resources[0].status_reason #=> String
1343
1379
  # resp.network_resources[0].type #=> String, one of "RADIO_UNIT"
1344
1380
  # resp.network_resources[0].vendor #=> String
@@ -1621,6 +1657,112 @@ module Aws::PrivateNetworks
1621
1657
  req.send_request(options)
1622
1658
  end
1623
1659
 
1660
+ # Starts an update of the specified network resource.
1661
+ #
1662
+ # After you submit a request to replace or return a network resource,
1663
+ # the status of the network resource is `CREATING_SHIPPING_LABEL`. The
1664
+ # shipping label is available when the status of the network resource is
1665
+ # `PENDING_RETURN`. After the network resource is successfully returned,
1666
+ # its status is `DELETED`. For more information, see [Return a radio
1667
+ # unit][1].
1668
+ #
1669
+ #
1670
+ #
1671
+ # [1]: https://docs.aws.amazon.com/private-networks/latest/userguide/radio-units.html#return-radio-unit
1672
+ #
1673
+ # @option params [required, String] :network_resource_arn
1674
+ # The Amazon Resource Name (ARN) of the network resource.
1675
+ #
1676
+ # @option params [String] :return_reason
1677
+ # The reason for the return. Providing a reason for a return is
1678
+ # optional.
1679
+ #
1680
+ # @option params [Types::Address] :shipping_address
1681
+ # The shipping address. If you don't provide a shipping address when
1682
+ # replacing or returning a network resource, we use the address from the
1683
+ # original order for the network resource.
1684
+ #
1685
+ # @option params [required, String] :update_type
1686
+ # The update type.
1687
+ #
1688
+ # * `REPLACE` - Submits a request to replace a defective radio unit. We
1689
+ # provide a shipping label that you can use for the return process and
1690
+ # we ship a replacement radio unit to you.
1691
+ #
1692
+ # * `RETURN` - Submits a request to replace a radio unit that you no
1693
+ # longer need. We provide a shipping label that you can use for the
1694
+ # return process.
1695
+ #
1696
+ # @return [Types::StartNetworkResourceUpdateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1697
+ #
1698
+ # * {Types::StartNetworkResourceUpdateResponse#network_resource #network_resource} => Types::NetworkResource
1699
+ #
1700
+ # @example Request syntax with placeholder values
1701
+ #
1702
+ # resp = client.start_network_resource_update({
1703
+ # network_resource_arn: "Arn", # required
1704
+ # return_reason: "StartNetworkResourceUpdateRequestReturnReasonString",
1705
+ # shipping_address: {
1706
+ # city: "AddressContent", # required
1707
+ # company: "AddressContent",
1708
+ # country: "AddressContent", # required
1709
+ # name: "AddressContent", # required
1710
+ # phone_number: "AddressContent",
1711
+ # postal_code: "AddressContent", # required
1712
+ # state_or_province: "AddressContent", # required
1713
+ # street1: "AddressContent", # required
1714
+ # street2: "AddressContent",
1715
+ # street3: "AddressContent",
1716
+ # },
1717
+ # update_type: "REPLACE", # required, accepts REPLACE, RETURN
1718
+ # })
1719
+ #
1720
+ # @example Response structure
1721
+ #
1722
+ # resp.network_resource.attributes #=> Array
1723
+ # resp.network_resource.attributes[0].name #=> String
1724
+ # resp.network_resource.attributes[0].value #=> String
1725
+ # resp.network_resource.created_at #=> Time
1726
+ # resp.network_resource.description #=> String
1727
+ # resp.network_resource.health #=> String, one of "INITIAL", "HEALTHY", "UNHEALTHY"
1728
+ # resp.network_resource.model #=> String
1729
+ # resp.network_resource.network_arn #=> String
1730
+ # resp.network_resource.network_resource_arn #=> String
1731
+ # resp.network_resource.network_site_arn #=> String
1732
+ # resp.network_resource.order_arn #=> String
1733
+ # resp.network_resource.position.elevation #=> Float
1734
+ # resp.network_resource.position.elevation_reference #=> String, one of "AGL", "AMSL"
1735
+ # resp.network_resource.position.elevation_unit #=> String, one of "FEET"
1736
+ # resp.network_resource.position.latitude #=> Float
1737
+ # resp.network_resource.position.longitude #=> Float
1738
+ # resp.network_resource.return_information.replacement_order_arn #=> String
1739
+ # resp.network_resource.return_information.return_reason #=> String
1740
+ # resp.network_resource.return_information.shipping_address.city #=> String
1741
+ # resp.network_resource.return_information.shipping_address.company #=> String
1742
+ # resp.network_resource.return_information.shipping_address.country #=> String
1743
+ # resp.network_resource.return_information.shipping_address.name #=> String
1744
+ # resp.network_resource.return_information.shipping_address.phone_number #=> String
1745
+ # resp.network_resource.return_information.shipping_address.postal_code #=> String
1746
+ # resp.network_resource.return_information.shipping_address.state_or_province #=> String
1747
+ # resp.network_resource.return_information.shipping_address.street1 #=> String
1748
+ # resp.network_resource.return_information.shipping_address.street2 #=> String
1749
+ # resp.network_resource.return_information.shipping_address.street3 #=> String
1750
+ # resp.network_resource.return_information.shipping_label #=> String
1751
+ # resp.network_resource.serial_number #=> String
1752
+ # resp.network_resource.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED", "CREATING_SHIPPING_LABEL"
1753
+ # resp.network_resource.status_reason #=> String
1754
+ # resp.network_resource.type #=> String, one of "RADIO_UNIT"
1755
+ # resp.network_resource.vendor #=> String
1756
+ #
1757
+ # @see http://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/StartNetworkResourceUpdate AWS API Documentation
1758
+ #
1759
+ # @overload start_network_resource_update(params = {})
1760
+ # @param [Hash] params ({})
1761
+ def start_network_resource_update(params = {}, options = {})
1762
+ req = build_request(:start_network_resource_update, params)
1763
+ req.send_request(options)
1764
+ end
1765
+
1624
1766
  # Adds tags to the specified resource.
1625
1767
  #
1626
1768
  # @option params [required, String] :resource_arn
@@ -1849,7 +1991,7 @@ module Aws::PrivateNetworks
1849
1991
  params: params,
1850
1992
  config: config)
1851
1993
  context[:gem_name] = 'aws-sdk-privatenetworks'
1852
- context[:gem_version] = '1.2.0'
1994
+ context[:gem_version] = '1.4.0'
1853
1995
  Seahorse::Client::Request.new(handlers, context)
1854
1996
  end
1855
1997
 
@@ -119,7 +119,11 @@ module Aws::PrivateNetworks
119
119
  PingResponse = Shapes::StructureShape.new(name: 'PingResponse')
120
120
  Position = Shapes::StructureShape.new(name: 'Position')
121
121
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
122
+ ReturnInformation = Shapes::StructureShape.new(name: 'ReturnInformation')
122
123
  SitePlan = Shapes::StructureShape.new(name: 'SitePlan')
124
+ StartNetworkResourceUpdateRequest = Shapes::StructureShape.new(name: 'StartNetworkResourceUpdateRequest')
125
+ StartNetworkResourceUpdateRequestReturnReasonString = Shapes::StringShape.new(name: 'StartNetworkResourceUpdateRequestReturnReasonString')
126
+ StartNetworkResourceUpdateResponse = Shapes::StructureShape.new(name: 'StartNetworkResourceUpdateResponse')
123
127
  String = Shapes::StringShape.new(name: 'String')
124
128
  TagKey = Shapes::StringShape.new(name: 'TagKey')
125
129
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -136,6 +140,7 @@ module Aws::PrivateNetworks
136
140
  UpdateNetworkSitePlanRequest = Shapes::StructureShape.new(name: 'UpdateNetworkSitePlanRequest')
137
141
  UpdateNetworkSiteRequest = Shapes::StructureShape.new(name: 'UpdateNetworkSiteRequest')
138
142
  UpdateNetworkSiteResponse = Shapes::StructureShape.new(name: 'UpdateNetworkSiteResponse')
143
+ UpdateType = Shapes::StringShape.new(name: 'UpdateType')
139
144
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
140
145
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
141
146
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -295,7 +300,7 @@ module Aws::PrivateNetworks
295
300
  LimitExceededException.struct_class = Types::LimitExceededException
296
301
 
297
302
  ListDeviceIdentifiersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: DeviceIdentifierFilters, location_name: "filters"))
298
- ListDeviceIdentifiersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDeviceIdentifiersRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
303
+ ListDeviceIdentifiersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDeviceIdentifiersRequestMaxResultsInteger, location_name: "maxResults"))
299
304
  ListDeviceIdentifiersRequest.add_member(:network_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "networkArn"))
300
305
  ListDeviceIdentifiersRequest.add_member(:start_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "startToken"))
301
306
  ListDeviceIdentifiersRequest.struct_class = Types::ListDeviceIdentifiersRequest
@@ -305,7 +310,7 @@ module Aws::PrivateNetworks
305
310
  ListDeviceIdentifiersResponse.struct_class = Types::ListDeviceIdentifiersResponse
306
311
 
307
312
  ListNetworkResourcesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: NetworkResourceFilters, location_name: "filters"))
308
- ListNetworkResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNetworkResourcesRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
313
+ ListNetworkResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNetworkResourcesRequestMaxResultsInteger, location_name: "maxResults"))
309
314
  ListNetworkResourcesRequest.add_member(:network_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "networkArn"))
310
315
  ListNetworkResourcesRequest.add_member(:start_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "startToken"))
311
316
  ListNetworkResourcesRequest.struct_class = Types::ListNetworkResourcesRequest
@@ -315,7 +320,7 @@ module Aws::PrivateNetworks
315
320
  ListNetworkResourcesResponse.struct_class = Types::ListNetworkResourcesResponse
316
321
 
317
322
  ListNetworkSitesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: NetworkSiteFilters, location_name: "filters"))
318
- ListNetworkSitesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNetworkSitesRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
323
+ ListNetworkSitesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNetworkSitesRequestMaxResultsInteger, location_name: "maxResults"))
319
324
  ListNetworkSitesRequest.add_member(:network_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "networkArn"))
320
325
  ListNetworkSitesRequest.add_member(:start_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "startToken"))
321
326
  ListNetworkSitesRequest.struct_class = Types::ListNetworkSitesRequest
@@ -325,7 +330,7 @@ module Aws::PrivateNetworks
325
330
  ListNetworkSitesResponse.struct_class = Types::ListNetworkSitesResponse
326
331
 
327
332
  ListNetworksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: NetworkFilters, location_name: "filters"))
328
- ListNetworksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNetworksRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
333
+ ListNetworksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNetworksRequestMaxResultsInteger, location_name: "maxResults"))
329
334
  ListNetworksRequest.add_member(:start_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "startToken"))
330
335
  ListNetworksRequest.struct_class = Types::ListNetworksRequest
331
336
 
@@ -334,7 +339,7 @@ module Aws::PrivateNetworks
334
339
  ListNetworksResponse.struct_class = Types::ListNetworksResponse
335
340
 
336
341
  ListOrdersRequest.add_member(:filters, Shapes::ShapeRef.new(shape: OrderFilters, location_name: "filters"))
337
- ListOrdersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListOrdersRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
342
+ ListOrdersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListOrdersRequestMaxResultsInteger, location_name: "maxResults"))
338
343
  ListOrdersRequest.add_member(:network_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "networkArn"))
339
344
  ListOrdersRequest.add_member(:start_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "startToken"))
340
345
  ListOrdersRequest.struct_class = Types::ListOrdersRequest
@@ -380,6 +385,7 @@ module Aws::PrivateNetworks
380
385
  NetworkResource.add_member(:network_site_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "networkSiteArn"))
381
386
  NetworkResource.add_member(:order_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "orderArn"))
382
387
  NetworkResource.add_member(:position, Shapes::ShapeRef.new(shape: Position, location_name: "position"))
388
+ NetworkResource.add_member(:return_information, Shapes::ShapeRef.new(shape: ReturnInformation, location_name: "returnInformation"))
383
389
  NetworkResource.add_member(:serial_number, Shapes::ShapeRef.new(shape: String, location_name: "serialNumber"))
384
390
  NetworkResource.add_member(:status, Shapes::ShapeRef.new(shape: NetworkResourceStatus, location_name: "status"))
385
391
  NetworkResource.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
@@ -454,10 +460,25 @@ module Aws::PrivateNetworks
454
460
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
455
461
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
456
462
 
463
+ ReturnInformation.add_member(:replacement_order_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "replacementOrderArn"))
464
+ ReturnInformation.add_member(:return_reason, Shapes::ShapeRef.new(shape: String, location_name: "returnReason"))
465
+ ReturnInformation.add_member(:shipping_address, Shapes::ShapeRef.new(shape: Address, location_name: "shippingAddress"))
466
+ ReturnInformation.add_member(:shipping_label, Shapes::ShapeRef.new(shape: String, location_name: "shippingLabel"))
467
+ ReturnInformation.struct_class = Types::ReturnInformation
468
+
457
469
  SitePlan.add_member(:options, Shapes::ShapeRef.new(shape: Options, location_name: "options"))
458
470
  SitePlan.add_member(:resource_definitions, Shapes::ShapeRef.new(shape: NetworkResourceDefinitions, location_name: "resourceDefinitions"))
459
471
  SitePlan.struct_class = Types::SitePlan
460
472
 
473
+ StartNetworkResourceUpdateRequest.add_member(:network_resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "networkResourceArn"))
474
+ StartNetworkResourceUpdateRequest.add_member(:return_reason, Shapes::ShapeRef.new(shape: StartNetworkResourceUpdateRequestReturnReasonString, location_name: "returnReason"))
475
+ StartNetworkResourceUpdateRequest.add_member(:shipping_address, Shapes::ShapeRef.new(shape: Address, location_name: "shippingAddress"))
476
+ StartNetworkResourceUpdateRequest.add_member(:update_type, Shapes::ShapeRef.new(shape: UpdateType, required: true, location_name: "updateType"))
477
+ StartNetworkResourceUpdateRequest.struct_class = Types::StartNetworkResourceUpdateRequest
478
+
479
+ StartNetworkResourceUpdateResponse.add_member(:network_resource, Shapes::ShapeRef.new(shape: NetworkResource, location_name: "networkResource"))
480
+ StartNetworkResourceUpdateResponse.struct_class = Types::StartNetworkResourceUpdateResponse
481
+
461
482
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
462
483
 
463
484
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -610,6 +631,7 @@ module Aws::PrivateNetworks
610
631
  o.input = Shapes::ShapeRef.new(shape: DeleteNetworkRequest)
611
632
  o.output = Shapes::ShapeRef.new(shape: DeleteNetworkResponse)
612
633
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
634
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
613
635
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
614
636
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
615
637
  end)
@@ -621,6 +643,7 @@ module Aws::PrivateNetworks
621
643
  o.input = Shapes::ShapeRef.new(shape: DeleteNetworkSiteRequest)
622
644
  o.output = Shapes::ShapeRef.new(shape: DeleteNetworkSiteResponse)
623
645
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
646
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
624
647
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
625
648
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
626
649
  end)
@@ -787,6 +810,17 @@ module Aws::PrivateNetworks
787
810
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
788
811
  end)
789
812
 
813
+ api.add_operation(:start_network_resource_update, Seahorse::Model::Operation.new.tap do |o|
814
+ o.name = "StartNetworkResourceUpdate"
815
+ o.http_method = "POST"
816
+ o.http_request_uri = "/v1/network-resources/update"
817
+ o.input = Shapes::ShapeRef.new(shape: StartNetworkResourceUpdateRequest)
818
+ o.output = Shapes::ShapeRef.new(shape: StartNetworkResourceUpdateResponse)
819
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
820
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
821
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
822
+ end)
823
+
790
824
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
791
825
  o.name = "TagResource"
792
826
  o.http_method = "POST"
@@ -9,103 +9,46 @@
9
9
 
10
10
  module Aws::PrivateNetworks
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
20
+ end
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
21
25
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://private-networks-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://private-networks-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://private-networks.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
45
+ end
46
+ return Aws::Endpoints::Endpoint.new(url: "https://private-networks.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
47
+ end
48
+ end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
50
+ raise ArgumentError, 'No endpoint could be resolved'
24
51
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
52
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbi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6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
108
-
109
- JSON
110
53
  end
111
54
  end
@@ -305,6 +305,20 @@ module Aws::PrivateNetworks
305
305
  end
306
306
  end
307
307
 
308
+ class StartNetworkResourceUpdate
309
+ def self.build(context)
310
+ unless context.config.regional_endpoint
311
+ endpoint = context.config.endpoint.to_s
312
+ end
313
+ Aws::PrivateNetworks::EndpointParameters.new(
314
+ region: context.config.region,
315
+ use_dual_stack: context.config.use_dualstack_endpoint,
316
+ use_fips: context.config.use_fips_endpoint,
317
+ endpoint: endpoint,
318
+ )
319
+ end
320
+ end
321
+
308
322
  class TagResource
309
323
  def self.build(context)
310
324
  unless context.config.regional_endpoint
@@ -98,6 +98,8 @@ module Aws::PrivateNetworks
98
98
  Aws::PrivateNetworks::Endpoints::ListTagsForResource.build(context)
99
99
  when :ping
100
100
  Aws::PrivateNetworks::Endpoints::Ping.build(context)
101
+ when :start_network_resource_update
102
+ Aws::PrivateNetworks::Endpoints::StartNetworkResourceUpdate.build(context)
101
103
  when :tag_resource
102
104
  Aws::PrivateNetworks::Endpoints::TagResource.build(context)
103
105
  when :untag_resource
@@ -23,13 +23,6 @@ module Aws::PrivateNetworks
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
- # @note When making an API call, you may pass AcknowledgeOrderReceiptRequest
27
- # data as a hash:
28
- #
29
- # {
30
- # order_arn: "Arn", # required
31
- # }
32
- #
33
26
  # @!attribute [rw] order_arn
34
27
  # The Amazon Resource Name (ARN) of the order.
35
28
  # @return [String]
@@ -54,14 +47,6 @@ module Aws::PrivateNetworks
54
47
  include Aws::Structure
55
48
  end
56
49
 
57
- # @note When making an API call, you may pass ActivateDeviceIdentifierRequest
58
- # data as a hash:
59
- #
60
- # {
61
- # client_token: "ClientToken",
62
- # device_identifier_arn: "Arn", # required
63
- # }
64
- #
65
50
  # @!attribute [rw] client_token
66
51
  # Unique, case-sensitive identifier that you provide to ensure the
67
52
  # idempotency of the request. For more information, see [How to ensure
@@ -102,26 +87,6 @@ module Aws::PrivateNetworks
102
87
  include Aws::Structure
103
88
  end
104
89
 
105
- # @note When making an API call, you may pass ActivateNetworkSiteRequest
106
- # data as a hash:
107
- #
108
- # {
109
- # client_token: "ClientToken",
110
- # network_site_arn: "Arn", # required
111
- # shipping_address: { # required
112
- # city: "AddressContent", # required
113
- # company: "AddressContent",
114
- # country: "AddressContent", # required
115
- # name: "AddressContent", # required
116
- # phone_number: "AddressContent",
117
- # postal_code: "AddressContent", # required
118
- # state_or_province: "AddressContent", # required
119
- # street1: "AddressContent", # required
120
- # street2: "AddressContent",
121
- # street3: "AddressContent",
122
- # },
123
- # }
124
- #
125
90
  # @!attribute [rw] client_token
126
91
  # Unique, case-sensitive identifier that you provide to ensure the
127
92
  # idempotency of the request. For more information, see [How to ensure
@@ -164,22 +129,6 @@ module Aws::PrivateNetworks
164
129
 
165
130
  # Information about an address.
166
131
  #
167
- # @note When making an API call, you may pass Address
168
- # data as a hash:
169
- #
170
- # {
171
- # city: "AddressContent", # required
172
- # company: "AddressContent",
173
- # country: "AddressContent", # required
174
- # name: "AddressContent", # required
175
- # phone_number: "AddressContent",
176
- # postal_code: "AddressContent", # required
177
- # state_or_province: "AddressContent", # required
178
- # street1: "AddressContent", # required
179
- # street2: "AddressContent",
180
- # street3: "AddressContent",
181
- # }
182
- #
183
132
  # @!attribute [rw] city
184
133
  # The city for this address.
185
134
  # @return [String]
@@ -237,24 +186,6 @@ module Aws::PrivateNetworks
237
186
  include Aws::Structure
238
187
  end
239
188
 
240
- # @note When making an API call, you may pass ConfigureAccessPointRequest
241
- # data as a hash:
242
- #
243
- # {
244
- # access_point_arn: "Arn", # required
245
- # cpi_secret_key: "ConfigureAccessPointRequestCpiSecretKeyString",
246
- # cpi_user_id: "ConfigureAccessPointRequestCpiUserIdString",
247
- # cpi_user_password: "ConfigureAccessPointRequestCpiUserPasswordString",
248
- # cpi_username: "ConfigureAccessPointRequestCpiUsernameString",
249
- # position: {
250
- # elevation: 1.0,
251
- # elevation_reference: "AGL", # accepts AGL, AMSL
252
- # elevation_unit: "FEET", # accepts FEET
253
- # latitude: 1.0,
254
- # longitude: 1.0,
255
- # },
256
- # }
257
- #
258
189
  # @!attribute [rw] access_point_arn
259
190
  # The Amazon Resource Name (ARN) of the network resource.
260
191
  # @return [String]
@@ -308,18 +239,6 @@ module Aws::PrivateNetworks
308
239
  include Aws::Structure
309
240
  end
310
241
 
311
- # @note When making an API call, you may pass CreateNetworkRequest
312
- # data as a hash:
313
- #
314
- # {
315
- # client_token: "ClientToken",
316
- # description: "Description",
317
- # network_name: "Name", # required
318
- # tags: {
319
- # "TagKey" => "TagValue",
320
- # },
321
- # }
322
- #
323
242
  # @!attribute [rw] client_token
324
243
  # Unique, case-sensitive identifier that you provide to ensure the
325
244
  # idempotency of the request. For more information, see [How to ensure
@@ -371,41 +290,6 @@ module Aws::PrivateNetworks
371
290
  include Aws::Structure
372
291
  end
373
292
 
374
- # @note When making an API call, you may pass CreateNetworkSiteRequest
375
- # data as a hash:
376
- #
377
- # {
378
- # availability_zone: "String",
379
- # availability_zone_id: "String",
380
- # client_token: "ClientToken",
381
- # description: "Description",
382
- # network_arn: "Arn", # required
383
- # network_site_name: "Name", # required
384
- # pending_plan: {
385
- # options: [
386
- # {
387
- # name: "String", # required
388
- # value: "String",
389
- # },
390
- # ],
391
- # resource_definitions: [
392
- # {
393
- # count: 1, # required
394
- # options: [
395
- # {
396
- # name: "String", # required
397
- # value: "String",
398
- # },
399
- # ],
400
- # type: "RADIO_UNIT", # required, accepts RADIO_UNIT, DEVICE_IDENTIFIER
401
- # },
402
- # ],
403
- # },
404
- # tags: {
405
- # "TagKey" => "TagValue",
406
- # },
407
- # }
408
- #
409
293
  # @!attribute [rw] availability_zone
410
294
  # The Availability Zone that is the parent of this site. You can't
411
295
  # change the Availability Zone after you create the site.
@@ -479,14 +363,6 @@ module Aws::PrivateNetworks
479
363
  include Aws::Structure
480
364
  end
481
365
 
482
- # @note When making an API call, you may pass DeactivateDeviceIdentifierRequest
483
- # data as a hash:
484
- #
485
- # {
486
- # client_token: "ClientToken",
487
- # device_identifier_arn: "Arn", # required
488
- # }
489
- #
490
366
  # @!attribute [rw] client_token
491
367
  # Unique, case-sensitive identifier that you provide to ensure the
492
368
  # idempotency of the request. For more information, see [How to ensure
@@ -522,14 +398,6 @@ module Aws::PrivateNetworks
522
398
  include Aws::Structure
523
399
  end
524
400
 
525
- # @note When making an API call, you may pass DeleteNetworkRequest
526
- # data as a hash:
527
- #
528
- # {
529
- # client_token: "ClientToken",
530
- # network_arn: "Arn", # required
531
- # }
532
- #
533
401
  # @!attribute [rw] client_token
534
402
  # Unique, case-sensitive identifier that you provide to ensure the
535
403
  # idempotency of the request. For more information, see [How to ensure
@@ -565,14 +433,6 @@ module Aws::PrivateNetworks
565
433
  include Aws::Structure
566
434
  end
567
435
 
568
- # @note When making an API call, you may pass DeleteNetworkSiteRequest
569
- # data as a hash:
570
- #
571
- # {
572
- # client_token: "ClientToken",
573
- # network_site_arn: "Arn", # required
574
- # }
575
- #
576
436
  # @!attribute [rw] client_token
577
437
  # Unique, case-sensitive identifier that you provide to ensure the
578
438
  # idempotency of the request. For more information, see [How to ensure
@@ -666,13 +526,6 @@ module Aws::PrivateNetworks
666
526
  include Aws::Structure
667
527
  end
668
528
 
669
- # @note When making an API call, you may pass GetDeviceIdentifierRequest
670
- # data as a hash:
671
- #
672
- # {
673
- # device_identifier_arn: "Arn", # required
674
- # }
675
- #
676
529
  # @!attribute [rw] device_identifier_arn
677
530
  # The Amazon Resource Name (ARN) of the device identifier.
678
531
  # @return [String]
@@ -702,13 +555,6 @@ module Aws::PrivateNetworks
702
555
  include Aws::Structure
703
556
  end
704
557
 
705
- # @note When making an API call, you may pass GetNetworkRequest
706
- # data as a hash:
707
- #
708
- # {
709
- # network_arn: "Arn", # required
710
- # }
711
- #
712
558
  # @!attribute [rw] network_arn
713
559
  # The Amazon Resource Name (ARN) of the network.
714
560
  # @return [String]
@@ -721,13 +567,6 @@ module Aws::PrivateNetworks
721
567
  include Aws::Structure
722
568
  end
723
569
 
724
- # @note When making an API call, you may pass GetNetworkResourceRequest
725
- # data as a hash:
726
- #
727
- # {
728
- # network_resource_arn: "Arn", # required
729
- # }
730
- #
731
570
  # @!attribute [rw] network_resource_arn
732
571
  # The Amazon Resource Name (ARN) of the network resource.
733
572
  # @return [String]
@@ -774,13 +613,6 @@ module Aws::PrivateNetworks
774
613
  include Aws::Structure
775
614
  end
776
615
 
777
- # @note When making an API call, you may pass GetNetworkSiteRequest
778
- # data as a hash:
779
- #
780
- # {
781
- # network_site_arn: "Arn", # required
782
- # }
783
- #
784
616
  # @!attribute [rw] network_site_arn
785
617
  # The Amazon Resource Name (ARN) of the network site.
786
618
  # @return [String]
@@ -810,13 +642,6 @@ module Aws::PrivateNetworks
810
642
  include Aws::Structure
811
643
  end
812
644
 
813
- # @note When making an API call, you may pass GetOrderRequest
814
- # data as a hash:
815
- #
816
- # {
817
- # order_arn: "Arn", # required
818
- # }
819
- #
820
645
  # @!attribute [rw] order_arn
821
646
  # The Amazon Resource Name (ARN) of the order.
822
647
  # @return [String]
@@ -878,18 +703,6 @@ module Aws::PrivateNetworks
878
703
  include Aws::Structure
879
704
  end
880
705
 
881
- # @note When making an API call, you may pass ListDeviceIdentifiersRequest
882
- # data as a hash:
883
- #
884
- # {
885
- # filters: {
886
- # "STATUS" => ["String"],
887
- # },
888
- # max_results: 1,
889
- # network_arn: "Arn", # required
890
- # start_token: "PaginationToken",
891
- # }
892
- #
893
706
  # @!attribute [rw] filters
894
707
  # The filters.
895
708
  #
@@ -945,18 +758,6 @@ module Aws::PrivateNetworks
945
758
  include Aws::Structure
946
759
  end
947
760
 
948
- # @note When making an API call, you may pass ListNetworkResourcesRequest
949
- # data as a hash:
950
- #
951
- # {
952
- # filters: {
953
- # "ORDER" => ["String"],
954
- # },
955
- # max_results: 1,
956
- # network_arn: "Arn", # required
957
- # start_token: "PaginationToken",
958
- # }
959
- #
960
761
  # @!attribute [rw] filters
961
762
  # The filters.
962
763
  #
@@ -1010,18 +811,6 @@ module Aws::PrivateNetworks
1010
811
  include Aws::Structure
1011
812
  end
1012
813
 
1013
- # @note When making an API call, you may pass ListNetworkSitesRequest
1014
- # data as a hash:
1015
- #
1016
- # {
1017
- # filters: {
1018
- # "STATUS" => ["String"],
1019
- # },
1020
- # max_results: 1,
1021
- # network_arn: "Arn", # required
1022
- # start_token: "PaginationToken",
1023
- # }
1024
- #
1025
814
  # @!attribute [rw] filters
1026
815
  # The filters. Add filters to your request to return a more specific
1027
816
  # list of results. Use filters to match the status of the network
@@ -1077,17 +866,6 @@ module Aws::PrivateNetworks
1077
866
  include Aws::Structure
1078
867
  end
1079
868
 
1080
- # @note When making an API call, you may pass ListNetworksRequest
1081
- # data as a hash:
1082
- #
1083
- # {
1084
- # filters: {
1085
- # "STATUS" => ["String"],
1086
- # },
1087
- # max_results: 1,
1088
- # start_token: "PaginationToken",
1089
- # }
1090
- #
1091
869
  # @!attribute [rw] filters
1092
870
  # The filters.
1093
871
  #
@@ -1136,18 +914,6 @@ module Aws::PrivateNetworks
1136
914
  include Aws::Structure
1137
915
  end
1138
916
 
1139
- # @note When making an API call, you may pass ListOrdersRequest
1140
- # data as a hash:
1141
- #
1142
- # {
1143
- # filters: {
1144
- # "STATUS" => ["String"],
1145
- # },
1146
- # max_results: 1,
1147
- # network_arn: "Arn", # required
1148
- # start_token: "PaginationToken",
1149
- # }
1150
- #
1151
917
  # @!attribute [rw] filters
1152
918
  # The filters.
1153
919
  #
@@ -1202,13 +968,6 @@ module Aws::PrivateNetworks
1202
968
  include Aws::Structure
1203
969
  end
1204
970
 
1205
- # @note When making an API call, you may pass ListTagsForResourceRequest
1206
- # data as a hash:
1207
- #
1208
- # {
1209
- # resource_arn: "Arn", # required
1210
- # }
1211
- #
1212
971
  # @!attribute [rw] resource_arn
1213
972
  # The Amazon Resource Name (ARN) of the resource.
1214
973
  # @return [String]
@@ -1235,14 +994,6 @@ module Aws::PrivateNetworks
1235
994
 
1236
995
  # Information about a name/value pair.
1237
996
  #
1238
- # @note When making an API call, you may pass NameValuePair
1239
- # data as a hash:
1240
- #
1241
- # {
1242
- # name: "String", # required
1243
- # value: "String",
1244
- # }
1245
- #
1246
997
  # @!attribute [rw] name
1247
998
  # The name of the pair.
1248
999
  # @return [String]
@@ -1344,6 +1095,10 @@ module Aws::PrivateNetworks
1344
1095
  # The position of the network resource.
1345
1096
  # @return [Types::Position]
1346
1097
  #
1098
+ # @!attribute [rw] return_information
1099
+ # Information about a request to return the network resource.
1100
+ # @return [Types::ReturnInformation]
1101
+ #
1347
1102
  # @!attribute [rw] serial_number
1348
1103
  # The serial number of the network resource.
1349
1104
  # @return [String]
@@ -1377,6 +1132,7 @@ module Aws::PrivateNetworks
1377
1132
  :network_site_arn,
1378
1133
  :order_arn,
1379
1134
  :position,
1135
+ :return_information,
1380
1136
  :serial_number,
1381
1137
  :status,
1382
1138
  :status_reason,
@@ -1388,20 +1144,6 @@ module Aws::PrivateNetworks
1388
1144
 
1389
1145
  # Information about a network resource definition.
1390
1146
  #
1391
- # @note When making an API call, you may pass NetworkResourceDefinition
1392
- # data as a hash:
1393
- #
1394
- # {
1395
- # count: 1, # required
1396
- # options: [
1397
- # {
1398
- # name: "String", # required
1399
- # value: "String",
1400
- # },
1401
- # ],
1402
- # type: "RADIO_UNIT", # required, accepts RADIO_UNIT, DEVICE_IDENTIFIER
1403
- # }
1404
- #
1405
1147
  # @!attribute [rw] count
1406
1148
  # The count in the network resource definition.
1407
1149
  # @return [Integer]
@@ -1549,17 +1291,6 @@ module Aws::PrivateNetworks
1549
1291
 
1550
1292
  # Information about a position.
1551
1293
  #
1552
- # @note When making an API call, you may pass Position
1553
- # data as a hash:
1554
- #
1555
- # {
1556
- # elevation: 1.0,
1557
- # elevation_reference: "AGL", # accepts AGL, AMSL
1558
- # elevation_unit: "FEET", # accepts FEET
1559
- # latitude: 1.0,
1560
- # longitude: 1.0,
1561
- # }
1562
- #
1563
1294
  # @!attribute [rw] elevation
1564
1295
  # The elevation of the equipment at this position.
1565
1296
  # @return [Float]
@@ -1616,31 +1347,44 @@ module Aws::PrivateNetworks
1616
1347
  include Aws::Structure
1617
1348
  end
1618
1349
 
1619
- # Information about a site plan.
1350
+ # Information about a request to return a network resource.
1351
+ #
1352
+ # @!attribute [rw] replacement_order_arn
1353
+ # The Amazon Resource Name (ARN) of the replacement order.
1354
+ # @return [String]
1355
+ #
1356
+ # @!attribute [rw] return_reason
1357
+ # The reason for the return. If the return request did not include a
1358
+ # reason for the return, this value is null.
1359
+ # @return [String]
1360
+ #
1361
+ # @!attribute [rw] shipping_address
1362
+ # The shipping address.
1363
+ # @return [Types::Address]
1364
+ #
1365
+ # @!attribute [rw] shipping_label
1366
+ # The URL of the shipping label. The shipping label is available for
1367
+ # download only if the status of the network resource is
1368
+ # `PENDING_RETURN`. For more information, see [Return a radio
1369
+ # unit][1].
1620
1370
  #
1621
- # @note When making an API call, you may pass SitePlan
1622
- # data as a hash:
1623
- #
1624
- # {
1625
- # options: [
1626
- # {
1627
- # name: "String", # required
1628
- # value: "String",
1629
- # },
1630
- # ],
1631
- # resource_definitions: [
1632
- # {
1633
- # count: 1, # required
1634
- # options: [
1635
- # {
1636
- # name: "String", # required
1637
- # value: "String",
1638
- # },
1639
- # ],
1640
- # type: "RADIO_UNIT", # required, accepts RADIO_UNIT, DEVICE_IDENTIFIER
1641
- # },
1642
- # ],
1643
- # }
1371
+ #
1372
+ #
1373
+ # [1]: https://docs.aws.amazon.com/private-networks/latest/userguide/radio-units.html#return-radio-unit
1374
+ # @return [String]
1375
+ #
1376
+ # @see http://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/ReturnInformation AWS API Documentation
1377
+ #
1378
+ class ReturnInformation < Struct.new(
1379
+ :replacement_order_arn,
1380
+ :return_reason,
1381
+ :shipping_address,
1382
+ :shipping_label)
1383
+ SENSITIVE = []
1384
+ include Aws::Structure
1385
+ end
1386
+
1387
+ # Information about a site plan.
1644
1388
  #
1645
1389
  # @!attribute [rw] options
1646
1390
  # The options of the plan.
@@ -1659,16 +1403,56 @@ module Aws::PrivateNetworks
1659
1403
  include Aws::Structure
1660
1404
  end
1661
1405
 
1662
- # @note When making an API call, you may pass TagResourceRequest
1663
- # data as a hash:
1406
+ # @!attribute [rw] network_resource_arn
1407
+ # The Amazon Resource Name (ARN) of the network resource.
1408
+ # @return [String]
1409
+ #
1410
+ # @!attribute [rw] return_reason
1411
+ # The reason for the return. Providing a reason for a return is
1412
+ # optional.
1413
+ # @return [String]
1664
1414
  #
1665
- # {
1666
- # resource_arn: "Arn", # required
1667
- # tags: { # required
1668
- # "TagKey" => "TagValue",
1669
- # },
1670
- # }
1415
+ # @!attribute [rw] shipping_address
1416
+ # The shipping address. If you don't provide a shipping address when
1417
+ # replacing or returning a network resource, we use the address from
1418
+ # the original order for the network resource.
1419
+ # @return [Types::Address]
1671
1420
  #
1421
+ # @!attribute [rw] update_type
1422
+ # The update type.
1423
+ #
1424
+ # * `REPLACE` - Submits a request to replace a defective radio unit.
1425
+ # We provide a shipping label that you can use for the return
1426
+ # process and we ship a replacement radio unit to you.
1427
+ #
1428
+ # * `RETURN` - Submits a request to replace a radio unit that you no
1429
+ # longer need. We provide a shipping label that you can use for the
1430
+ # return process.
1431
+ # @return [String]
1432
+ #
1433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/StartNetworkResourceUpdateRequest AWS API Documentation
1434
+ #
1435
+ class StartNetworkResourceUpdateRequest < Struct.new(
1436
+ :network_resource_arn,
1437
+ :return_reason,
1438
+ :shipping_address,
1439
+ :update_type)
1440
+ SENSITIVE = []
1441
+ include Aws::Structure
1442
+ end
1443
+
1444
+ # @!attribute [rw] network_resource
1445
+ # The network resource.
1446
+ # @return [Types::NetworkResource]
1447
+ #
1448
+ # @see http://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/StartNetworkResourceUpdateResponse AWS API Documentation
1449
+ #
1450
+ class StartNetworkResourceUpdateResponse < Struct.new(
1451
+ :network_resource)
1452
+ SENSITIVE = []
1453
+ include Aws::Structure
1454
+ end
1455
+
1672
1456
  # @!attribute [rw] resource_arn
1673
1457
  # The Amazon Resource Name (ARN) of the resource.
1674
1458
  # @return [String]
@@ -1717,14 +1501,6 @@ module Aws::PrivateNetworks
1717
1501
  include Aws::Structure
1718
1502
  end
1719
1503
 
1720
- # @note When making an API call, you may pass UntagResourceRequest
1721
- # data as a hash:
1722
- #
1723
- # {
1724
- # resource_arn: "Arn", # required
1725
- # tag_keys: ["TagKey"], # required
1726
- # }
1727
- #
1728
1504
  # @!attribute [rw] resource_arn
1729
1505
  # The Amazon Resource Name (ARN) of the resource.
1730
1506
  # @return [String]
@@ -1746,34 +1522,6 @@ module Aws::PrivateNetworks
1746
1522
  #
1747
1523
  class UntagResourceResponse < Aws::EmptyStructure; end
1748
1524
 
1749
- # @note When making an API call, you may pass UpdateNetworkSitePlanRequest
1750
- # data as a hash:
1751
- #
1752
- # {
1753
- # client_token: "ClientToken",
1754
- # network_site_arn: "Arn", # required
1755
- # pending_plan: { # required
1756
- # options: [
1757
- # {
1758
- # name: "String", # required
1759
- # value: "String",
1760
- # },
1761
- # ],
1762
- # resource_definitions: [
1763
- # {
1764
- # count: 1, # required
1765
- # options: [
1766
- # {
1767
- # name: "String", # required
1768
- # value: "String",
1769
- # },
1770
- # ],
1771
- # type: "RADIO_UNIT", # required, accepts RADIO_UNIT, DEVICE_IDENTIFIER
1772
- # },
1773
- # ],
1774
- # },
1775
- # }
1776
- #
1777
1525
  # @!attribute [rw] client_token
1778
1526
  # Unique, case-sensitive identifier that you provide to ensure the
1779
1527
  # idempotency of the request. For more information, see [How to ensure
@@ -1802,15 +1550,6 @@ module Aws::PrivateNetworks
1802
1550
  include Aws::Structure
1803
1551
  end
1804
1552
 
1805
- # @note When making an API call, you may pass UpdateNetworkSiteRequest
1806
- # data as a hash:
1807
- #
1808
- # {
1809
- # client_token: "ClientToken",
1810
- # description: "Description",
1811
- # network_site_arn: "Arn", # required
1812
- # }
1813
- #
1814
1553
  # @!attribute [rw] client_token
1815
1554
  # Unique, case-sensitive identifier that you provide to ensure the
1816
1555
  # idempotency of the request. For more information, see [How to ensure
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-privatenetworks/customizations'
52
52
  # @!group service
53
53
  module Aws::PrivateNetworks
54
54
 
55
- GEM_VERSION = '1.2.0'
55
+ GEM_VERSION = '1.4.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-privatenetworks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-28 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core