aws-sdk-privatenetworks 1.3.0 → 1.5.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: 8be391ed40f3474a4a59216bf604330ead05858cc4b491f0c48d0d3832c32536
4
- data.tar.gz: 0f3c7d4a40d6e0f0d9e6bdacbe0376c825139a3818ae243fdcfd11a4ff951255
3
+ metadata.gz: 1bdb65d3cae499f2844fd8d0f7fd21df5944cb1536aafe8c8aa8afa13f49e383
4
+ data.tar.gz: 94cfa11f0deb4819b987374d4f978e24c13abfc060ecb382e6057d85db345f15
5
5
  SHA512:
6
- metadata.gz: cc4c064b17116046406bb0bb88e64152ae57ae24a324c7fd92accc80805d5221ded9bfc4ae2af45e0a4a59b3173a55f9207310bcbbdf487585746f032db23c87
7
- data.tar.gz: 818992e038a9a8dc25b108253c183ed7a1ce6adfe08bc9644ff7d6c6a1f076e77bda460b554f29373024182cc38e696162ea437075dcaa9f802e1034df3836ec
6
+ metadata.gz: b230a13a5bb6d97cc11b718dac77c693200ae819c108b237345fa49ab1fda1784e1f23fa12239c21180444759da9128d665f6b0d1a301f7c5b6d8d342f6bf5ad
7
+ data.tar.gz: 823f62abde335ce3b73405f2c16d2f79be546c1fc05178751805716ed63a5ebf69bdf23696714e72332c8fc21d8e30b23e90d73fbc312f659f1e9e303068d535
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.4.0 (2023-02-15)
10
+ ------------------
11
+
12
+ * Feature - This release introduces a new StartNetworkResourceUpdate API, which enables return/replacement of hardware from a NetworkSite.
13
+
4
14
  1.3.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.5.0
@@ -275,6 +275,11 @@ module Aws::PrivateNetworks
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -613,8 +618,21 @@ module Aws::PrivateNetworks
613
618
  # resp.access_point.position.elevation_unit #=> String, one of "FEET"
614
619
  # resp.access_point.position.latitude #=> Float
615
620
  # resp.access_point.position.longitude #=> Float
621
+ # resp.access_point.return_information.replacement_order_arn #=> String
622
+ # resp.access_point.return_information.return_reason #=> String
623
+ # resp.access_point.return_information.shipping_address.city #=> String
624
+ # resp.access_point.return_information.shipping_address.company #=> String
625
+ # resp.access_point.return_information.shipping_address.country #=> String
626
+ # resp.access_point.return_information.shipping_address.name #=> String
627
+ # resp.access_point.return_information.shipping_address.phone_number #=> String
628
+ # resp.access_point.return_information.shipping_address.postal_code #=> String
629
+ # resp.access_point.return_information.shipping_address.state_or_province #=> String
630
+ # resp.access_point.return_information.shipping_address.street1 #=> String
631
+ # resp.access_point.return_information.shipping_address.street2 #=> String
632
+ # resp.access_point.return_information.shipping_address.street3 #=> String
633
+ # resp.access_point.return_information.shipping_label #=> String
616
634
  # resp.access_point.serial_number #=> String
617
- # resp.access_point.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED"
635
+ # resp.access_point.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED", "CREATING_SHIPPING_LABEL"
618
636
  # resp.access_point.status_reason #=> String
619
637
  # resp.access_point.type #=> String, one of "RADIO_UNIT"
620
638
  # resp.access_point.vendor #=> String
@@ -1076,8 +1094,21 @@ module Aws::PrivateNetworks
1076
1094
  # resp.network_resource.position.elevation_unit #=> String, one of "FEET"
1077
1095
  # resp.network_resource.position.latitude #=> Float
1078
1096
  # resp.network_resource.position.longitude #=> Float
1097
+ # resp.network_resource.return_information.replacement_order_arn #=> String
1098
+ # resp.network_resource.return_information.return_reason #=> String
1099
+ # resp.network_resource.return_information.shipping_address.city #=> String
1100
+ # resp.network_resource.return_information.shipping_address.company #=> String
1101
+ # resp.network_resource.return_information.shipping_address.country #=> String
1102
+ # resp.network_resource.return_information.shipping_address.name #=> String
1103
+ # resp.network_resource.return_information.shipping_address.phone_number #=> String
1104
+ # resp.network_resource.return_information.shipping_address.postal_code #=> String
1105
+ # resp.network_resource.return_information.shipping_address.state_or_province #=> String
1106
+ # resp.network_resource.return_information.shipping_address.street1 #=> String
1107
+ # resp.network_resource.return_information.shipping_address.street2 #=> String
1108
+ # resp.network_resource.return_information.shipping_address.street3 #=> String
1109
+ # resp.network_resource.return_information.shipping_label #=> String
1079
1110
  # resp.network_resource.serial_number #=> String
1080
- # resp.network_resource.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED"
1111
+ # resp.network_resource.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED", "CREATING_SHIPPING_LABEL"
1081
1112
  # resp.network_resource.status_reason #=> String
1082
1113
  # resp.network_resource.type #=> String, one of "RADIO_UNIT"
1083
1114
  # resp.network_resource.vendor #=> String
@@ -1202,11 +1233,8 @@ module Aws::PrivateNetworks
1202
1233
  # Name (ARN) of an order, the status of device identifiers, or the ARN
1203
1234
  # of the traffic group.
1204
1235
  #
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>
1236
+ # If you specify multiple filters, filters are joined with an OR, and
1237
+ # the request returns results that match all of the specified filters.
1210
1238
  #
1211
1239
  # @option params [Hash<String,Array>] :filters
1212
1240
  # The filters.
@@ -1337,8 +1365,21 @@ module Aws::PrivateNetworks
1337
1365
  # resp.network_resources[0].position.elevation_unit #=> String, one of "FEET"
1338
1366
  # resp.network_resources[0].position.latitude #=> Float
1339
1367
  # resp.network_resources[0].position.longitude #=> Float
1368
+ # resp.network_resources[0].return_information.replacement_order_arn #=> String
1369
+ # resp.network_resources[0].return_information.return_reason #=> String
1370
+ # resp.network_resources[0].return_information.shipping_address.city #=> String
1371
+ # resp.network_resources[0].return_information.shipping_address.company #=> String
1372
+ # resp.network_resources[0].return_information.shipping_address.country #=> String
1373
+ # resp.network_resources[0].return_information.shipping_address.name #=> String
1374
+ # resp.network_resources[0].return_information.shipping_address.phone_number #=> String
1375
+ # resp.network_resources[0].return_information.shipping_address.postal_code #=> String
1376
+ # resp.network_resources[0].return_information.shipping_address.state_or_province #=> String
1377
+ # resp.network_resources[0].return_information.shipping_address.street1 #=> String
1378
+ # resp.network_resources[0].return_information.shipping_address.street2 #=> String
1379
+ # resp.network_resources[0].return_information.shipping_address.street3 #=> String
1380
+ # resp.network_resources[0].return_information.shipping_label #=> String
1340
1381
  # 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"
1382
+ # resp.network_resources[0].status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED", "CREATING_SHIPPING_LABEL"
1342
1383
  # resp.network_resources[0].status_reason #=> String
1343
1384
  # resp.network_resources[0].type #=> String, one of "RADIO_UNIT"
1344
1385
  # resp.network_resources[0].vendor #=> String
@@ -1621,6 +1662,112 @@ module Aws::PrivateNetworks
1621
1662
  req.send_request(options)
1622
1663
  end
1623
1664
 
1665
+ # Starts an update of the specified network resource.
1666
+ #
1667
+ # After you submit a request to replace or return a network resource,
1668
+ # the status of the network resource is `CREATING_SHIPPING_LABEL`. The
1669
+ # shipping label is available when the status of the network resource is
1670
+ # `PENDING_RETURN`. After the network resource is successfully returned,
1671
+ # its status is `DELETED`. For more information, see [Return a radio
1672
+ # unit][1].
1673
+ #
1674
+ #
1675
+ #
1676
+ # [1]: https://docs.aws.amazon.com/private-networks/latest/userguide/radio-units.html#return-radio-unit
1677
+ #
1678
+ # @option params [required, String] :network_resource_arn
1679
+ # The Amazon Resource Name (ARN) of the network resource.
1680
+ #
1681
+ # @option params [String] :return_reason
1682
+ # The reason for the return. Providing a reason for a return is
1683
+ # optional.
1684
+ #
1685
+ # @option params [Types::Address] :shipping_address
1686
+ # The shipping address. If you don't provide a shipping address when
1687
+ # replacing or returning a network resource, we use the address from the
1688
+ # original order for the network resource.
1689
+ #
1690
+ # @option params [required, String] :update_type
1691
+ # The update type.
1692
+ #
1693
+ # * `REPLACE` - Submits a request to replace a defective radio unit. We
1694
+ # provide a shipping label that you can use for the return process and
1695
+ # we ship a replacement radio unit to you.
1696
+ #
1697
+ # * `RETURN` - Submits a request to replace a radio unit that you no
1698
+ # longer need. We provide a shipping label that you can use for the
1699
+ # return process.
1700
+ #
1701
+ # @return [Types::StartNetworkResourceUpdateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1702
+ #
1703
+ # * {Types::StartNetworkResourceUpdateResponse#network_resource #network_resource} => Types::NetworkResource
1704
+ #
1705
+ # @example Request syntax with placeholder values
1706
+ #
1707
+ # resp = client.start_network_resource_update({
1708
+ # network_resource_arn: "Arn", # required
1709
+ # return_reason: "StartNetworkResourceUpdateRequestReturnReasonString",
1710
+ # shipping_address: {
1711
+ # city: "AddressContent", # required
1712
+ # company: "AddressContent",
1713
+ # country: "AddressContent", # required
1714
+ # name: "AddressContent", # required
1715
+ # phone_number: "AddressContent",
1716
+ # postal_code: "AddressContent", # required
1717
+ # state_or_province: "AddressContent", # required
1718
+ # street1: "AddressContent", # required
1719
+ # street2: "AddressContent",
1720
+ # street3: "AddressContent",
1721
+ # },
1722
+ # update_type: "REPLACE", # required, accepts REPLACE, RETURN
1723
+ # })
1724
+ #
1725
+ # @example Response structure
1726
+ #
1727
+ # resp.network_resource.attributes #=> Array
1728
+ # resp.network_resource.attributes[0].name #=> String
1729
+ # resp.network_resource.attributes[0].value #=> String
1730
+ # resp.network_resource.created_at #=> Time
1731
+ # resp.network_resource.description #=> String
1732
+ # resp.network_resource.health #=> String, one of "INITIAL", "HEALTHY", "UNHEALTHY"
1733
+ # resp.network_resource.model #=> String
1734
+ # resp.network_resource.network_arn #=> String
1735
+ # resp.network_resource.network_resource_arn #=> String
1736
+ # resp.network_resource.network_site_arn #=> String
1737
+ # resp.network_resource.order_arn #=> String
1738
+ # resp.network_resource.position.elevation #=> Float
1739
+ # resp.network_resource.position.elevation_reference #=> String, one of "AGL", "AMSL"
1740
+ # resp.network_resource.position.elevation_unit #=> String, one of "FEET"
1741
+ # resp.network_resource.position.latitude #=> Float
1742
+ # resp.network_resource.position.longitude #=> Float
1743
+ # resp.network_resource.return_information.replacement_order_arn #=> String
1744
+ # resp.network_resource.return_information.return_reason #=> String
1745
+ # resp.network_resource.return_information.shipping_address.city #=> String
1746
+ # resp.network_resource.return_information.shipping_address.company #=> String
1747
+ # resp.network_resource.return_information.shipping_address.country #=> String
1748
+ # resp.network_resource.return_information.shipping_address.name #=> String
1749
+ # resp.network_resource.return_information.shipping_address.phone_number #=> String
1750
+ # resp.network_resource.return_information.shipping_address.postal_code #=> String
1751
+ # resp.network_resource.return_information.shipping_address.state_or_province #=> String
1752
+ # resp.network_resource.return_information.shipping_address.street1 #=> String
1753
+ # resp.network_resource.return_information.shipping_address.street2 #=> String
1754
+ # resp.network_resource.return_information.shipping_address.street3 #=> String
1755
+ # resp.network_resource.return_information.shipping_label #=> String
1756
+ # resp.network_resource.serial_number #=> String
1757
+ # resp.network_resource.status #=> String, one of "PENDING", "SHIPPED", "PROVISIONING", "PROVISIONED", "AVAILABLE", "DELETING", "PENDING_RETURN", "DELETED", "CREATING_SHIPPING_LABEL"
1758
+ # resp.network_resource.status_reason #=> String
1759
+ # resp.network_resource.type #=> String, one of "RADIO_UNIT"
1760
+ # resp.network_resource.vendor #=> String
1761
+ #
1762
+ # @see http://docs.aws.amazon.com/goto/WebAPI/privatenetworks-2021-12-03/StartNetworkResourceUpdate AWS API Documentation
1763
+ #
1764
+ # @overload start_network_resource_update(params = {})
1765
+ # @param [Hash] params ({})
1766
+ def start_network_resource_update(params = {}, options = {})
1767
+ req = build_request(:start_network_resource_update, params)
1768
+ req.send_request(options)
1769
+ end
1770
+
1624
1771
  # Adds tags to the specified resource.
1625
1772
  #
1626
1773
  # @option params [required, String] :resource_arn
@@ -1849,7 +1996,7 @@ module Aws::PrivateNetworks
1849
1996
  params: params,
1850
1997
  config: config)
1851
1998
  context[:gem_name] = 'aws-sdk-privatenetworks'
1852
- context[:gem_version] = '1.3.0'
1999
+ context[:gem_version] = '1.5.0'
1853
2000
  Seahorse::Client::Request.new(handlers, context)
1854
2001
  end
1855
2002
 
@@ -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"
@@ -14,36 +14,39 @@ module Aws::PrivateNetworks
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- 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"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://private-networks-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://private-networks-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://private-networks.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ 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"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://private-networks.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://private-networks.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  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
@@ -1095,6 +1095,10 @@ module Aws::PrivateNetworks
1095
1095
  # The position of the network resource.
1096
1096
  # @return [Types::Position]
1097
1097
  #
1098
+ # @!attribute [rw] return_information
1099
+ # Information about a request to return the network resource.
1100
+ # @return [Types::ReturnInformation]
1101
+ #
1098
1102
  # @!attribute [rw] serial_number
1099
1103
  # The serial number of the network resource.
1100
1104
  # @return [String]
@@ -1128,6 +1132,7 @@ module Aws::PrivateNetworks
1128
1132
  :network_site_arn,
1129
1133
  :order_arn,
1130
1134
  :position,
1135
+ :return_information,
1131
1136
  :serial_number,
1132
1137
  :status,
1133
1138
  :status_reason,
@@ -1342,6 +1347,43 @@ module Aws::PrivateNetworks
1342
1347
  include Aws::Structure
1343
1348
  end
1344
1349
 
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].
1370
+ #
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
+
1345
1387
  # Information about a site plan.
1346
1388
  #
1347
1389
  # @!attribute [rw] options
@@ -1361,6 +1403,56 @@ module Aws::PrivateNetworks
1361
1403
  include Aws::Structure
1362
1404
  end
1363
1405
 
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]
1414
+ #
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]
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
+
1364
1456
  # @!attribute [rw] resource_arn
1365
1457
  # The Amazon Resource Name (ARN) of the resource.
1366
1458
  # @return [String]
@@ -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.3.0'
55
+ GEM_VERSION = '1.5.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.3.0
4
+ version: 1.5.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.165.0
22
+ version: 3.174.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement