aws-sdk-privatenetworks 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-privatenetworks/client.rb +151 -9
- data/lib/aws-sdk-privatenetworks/client_api.rb +39 -5
- data/lib/aws-sdk-privatenetworks/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-privatenetworks/endpoints.rb +14 -0
- data/lib/aws-sdk-privatenetworks/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-privatenetworks/types.rb +92 -0
- data/lib/aws-sdk-privatenetworks.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '05196690cd642c3d6cde053fc205fc00ad914bc1e9c3b6b6cf788c8b64d33f66'
|
4
|
+
data.tar.gz: d5a3fad20d8d403897681a9fb18e31da0fca516d18cdb4e38dcd303f727bf3bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c92ded89b4ab68fb0b4567d324209a8ee9057b578789e8bc80efc60cb9604dab6afedb57106b76792d2b41f058572c2094441430e274c9d0af5451a020fbba6
|
7
|
+
data.tar.gz: c8cecb9a4ee2531321c7627f638aadc777db45769509783f4f75b0d4c9f96c26ad7cdc29633c1de3a18cd1aff17ba9cf5ab7a4588811ddd1820ac1012af6777c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
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
|
+
|
4
9
|
1.3.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
-
#
|
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.
|
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"
|
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"
|
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"
|
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"
|
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"
|
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
|
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
|
-
|
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
|
-
|
41
|
-
|
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
|
-
|
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]
|
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.
|
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: 2023-
|
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
|