aws-sdk-outposts 1.25.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b1549dfe48146459ee3cae896b1fbb0b10b3deea33919e9733a327ea2cdf67d
4
- data.tar.gz: c9a0354011e7c0ba41ba382fe57b7c8dd0da5bf72cb3623b65097691e3461ba7
3
+ metadata.gz: 723b84b4217390a6a4c557a07791b6cef39bcb234de37164cc32f01331d3c17e
4
+ data.tar.gz: ed86658b4a5b5a836e06b512722062cf0bd78cff5d62802bd6988b482b605863
5
5
  SHA512:
6
- metadata.gz: 7ead2c475f4837230d458ee8b013363e2650aec1730baa69f517c27ba0e0ef0082279adee6c49c8fb4350706184f7d6394c513028973ce097fa3f84671f5361c
7
- data.tar.gz: 9080046c02d376b8975b1de027275adf3a1906d6dc6976ea6c2da1a1e22d2939f8a612f0954fe8c00e223ec5a6c2ae21ea4b9b131bacfa10978eda54897a1bbd
6
+ metadata.gz: a18b143e1cffb958d3159a2a3208a26c4e11684f2c056c03e4772a4142dc93be89635d86a24954fa69e5b8d9040f81c6a50a073ebee70249573af63923a7c72a
7
+ data.tar.gz: 724aaed5d5bdf8545102b77222f3b9239a797ef603af5ffcd84b09a3d08fc0cb7480ff1971a9536413bf51348b1ab22deb631885b6b20dc4a9218bb23ee9d52f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2021-12-08)
5
+ ------------------
6
+
7
+ * Feature - This release adds the UpdateOutpost API.
8
+
4
9
  1.25.0 (2021-11-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.25.0
1
+ 1.26.0
@@ -426,7 +426,7 @@ module Aws::Outposts
426
426
  # The description of the Outpost.
427
427
  #
428
428
  # @option params [required, String] :site_id
429
- # The ID of the site.
429
+ # The ID or the Amazon Resource Name (ARN) of the site.
430
430
  #
431
431
  # @option params [String] :availability_zone
432
432
  # The Availability Zone.
@@ -605,7 +605,7 @@ module Aws::Outposts
605
605
  # Deletes the Outpost.
606
606
  #
607
607
  # @option params [required, String] :outpost_id
608
- # The ID of the Outpost.
608
+ # The ID or the Amazon Resource Name (ARN) of the Outpost.
609
609
  #
610
610
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
611
611
  #
@@ -627,7 +627,7 @@ module Aws::Outposts
627
627
  # Deletes the site.
628
628
  #
629
629
  # @option params [required, String] :site_id
630
- # The ID of the site.
630
+ # The ID or the Amazon Resource Name (ARN) of the site.
631
631
  #
632
632
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
633
633
  #
@@ -726,7 +726,7 @@ module Aws::Outposts
726
726
  # Gets information about the specified Outpost.
727
727
  #
728
728
  # @option params [required, String] :outpost_id
729
- # The ID of the Outpost.
729
+ # The ID or the Amazon Resource Name (ARN) of the Outpost.
730
730
  #
731
731
  # @return [Types::GetOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
732
732
  #
@@ -766,7 +766,7 @@ module Aws::Outposts
766
766
  # Lists the instance types for the specified Outpost.
767
767
  #
768
768
  # @option params [required, String] :outpost_id
769
- # The ID of the Outpost.
769
+ # The ID or the Amazon Resource Name (ARN) of the Outpost.
770
770
  #
771
771
  # @option params [String] :next_token
772
772
  # The pagination token.
@@ -809,7 +809,7 @@ module Aws::Outposts
809
809
  # Gets information about the specified Outpost site.
810
810
  #
811
811
  # @option params [required, String] :site_id
812
- # The ID of the site.
812
+ # The ID or the Amazon Resource Name (ARN) of the site.
813
813
  #
814
814
  # @return [Types::GetSiteOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
815
815
  #
@@ -856,7 +856,7 @@ module Aws::Outposts
856
856
  # Gets the site address.
857
857
  #
858
858
  # @option params [required, String] :site_id
859
- # The ID of the site.
859
+ # The ID or the Amazon Resource Name (ARN) of the site.
860
860
  #
861
861
  # @option params [required, String] :address_type
862
862
  # The type of the address you request.
@@ -1246,10 +1246,62 @@ module Aws::Outposts
1246
1246
  req.send_request(options)
1247
1247
  end
1248
1248
 
1249
+ # Updates an Outpost.
1250
+ #
1251
+ # @option params [required, String] :outpost_id
1252
+ # The ID or the Amazon Resource Name (ARN) of the Outpost.
1253
+ #
1254
+ # @option params [String] :name
1255
+ # The name of the Outpost.
1256
+ #
1257
+ # @option params [String] :description
1258
+ # The description of the Outpost.
1259
+ #
1260
+ # @option params [String] :supported_hardware_type
1261
+ # The type of hardware for this Outpost.
1262
+ #
1263
+ # @return [Types::UpdateOutpostOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1264
+ #
1265
+ # * {Types::UpdateOutpostOutput#outpost #outpost} => Types::Outpost
1266
+ #
1267
+ # @example Request syntax with placeholder values
1268
+ #
1269
+ # resp = client.update_outpost({
1270
+ # outpost_id: "OutpostId", # required
1271
+ # name: "OutpostName",
1272
+ # description: "OutpostDescription",
1273
+ # supported_hardware_type: "RACK", # accepts RACK, SERVER
1274
+ # })
1275
+ #
1276
+ # @example Response structure
1277
+ #
1278
+ # resp.outpost.outpost_id #=> String
1279
+ # resp.outpost.owner_id #=> String
1280
+ # resp.outpost.outpost_arn #=> String
1281
+ # resp.outpost.site_id #=> String
1282
+ # resp.outpost.name #=> String
1283
+ # resp.outpost.description #=> String
1284
+ # resp.outpost.life_cycle_status #=> String
1285
+ # resp.outpost.availability_zone #=> String
1286
+ # resp.outpost.availability_zone_id #=> String
1287
+ # resp.outpost.tags #=> Hash
1288
+ # resp.outpost.tags["TagKey"] #=> String
1289
+ # resp.outpost.site_arn #=> String
1290
+ # resp.outpost.supported_hardware_type #=> String, one of "RACK", "SERVER"
1291
+ #
1292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateOutpost AWS API Documentation
1293
+ #
1294
+ # @overload update_outpost(params = {})
1295
+ # @param [Hash] params ({})
1296
+ def update_outpost(params = {}, options = {})
1297
+ req = build_request(:update_outpost, params)
1298
+ req.send_request(options)
1299
+ end
1300
+
1249
1301
  # Updates the site.
1250
1302
  #
1251
1303
  # @option params [required, String] :site_id
1252
- # The ID of the site.
1304
+ # The ID or the Amazon Resource Name (ARN) of the site.
1253
1305
  #
1254
1306
  # @option params [String] :name
1255
1307
  # The name of the site.
@@ -1315,7 +1367,7 @@ module Aws::Outposts
1315
1367
  # deactivated.
1316
1368
  #
1317
1369
  # @option params [required, String] :site_id
1318
- # The ID of the site.
1370
+ # The ID or the Amazon Resource Name (ARN) of the site.
1319
1371
  #
1320
1372
  # @option params [required, String] :address_type
1321
1373
  # The type of the address.
@@ -1385,7 +1437,7 @@ module Aws::Outposts
1385
1437
  # [1]: https://docs.aws.amazon.com/outposts/latest/userguide/outposts-requirements.html#checklist
1386
1438
  #
1387
1439
  # @option params [required, String] :site_id
1388
- # The ID of the site.
1440
+ # The ID or the Amazon Resource Name (ARN) of the site.
1389
1441
  #
1390
1442
  # @option params [String] :power_draw_kva
1391
1443
  # Specify in kVA the power draw available at the hardware placement
@@ -1545,7 +1597,7 @@ module Aws::Outposts
1545
1597
  params: params,
1546
1598
  config: config)
1547
1599
  context[:gem_name] = 'aws-sdk-outposts'
1548
- context[:gem_version] = '1.25.0'
1600
+ context[:gem_version] = '1.26.0'
1549
1601
  Seahorse::Client::Request.new(handlers, context)
1550
1602
  end
1551
1603
 
@@ -147,6 +147,8 @@ module Aws::Outposts
147
147
  Token = Shapes::StringShape.new(name: 'Token')
148
148
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
149
149
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
150
+ UpdateOutpostInput = Shapes::StructureShape.new(name: 'UpdateOutpostInput')
151
+ UpdateOutpostOutput = Shapes::StructureShape.new(name: 'UpdateOutpostOutput')
150
152
  UpdateSiteAddressInput = Shapes::StructureShape.new(name: 'UpdateSiteAddressInput')
151
153
  UpdateSiteAddressOutput = Shapes::StructureShape.new(name: 'UpdateSiteAddressOutput')
152
154
  UpdateSiteInput = Shapes::StructureShape.new(name: 'UpdateSiteInput')
@@ -455,6 +457,15 @@ module Aws::Outposts
455
457
 
456
458
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
457
459
 
460
+ UpdateOutpostInput.add_member(:outpost_id, Shapes::ShapeRef.new(shape: OutpostId, required: true, location: "uri", location_name: "OutpostId"))
461
+ UpdateOutpostInput.add_member(:name, Shapes::ShapeRef.new(shape: OutpostName, location_name: "Name"))
462
+ UpdateOutpostInput.add_member(:description, Shapes::ShapeRef.new(shape: OutpostDescription, location_name: "Description"))
463
+ UpdateOutpostInput.add_member(:supported_hardware_type, Shapes::ShapeRef.new(shape: SupportedHardwareType, location_name: "SupportedHardwareType"))
464
+ UpdateOutpostInput.struct_class = Types::UpdateOutpostInput
465
+
466
+ UpdateOutpostOutput.add_member(:outpost, Shapes::ShapeRef.new(shape: Outpost, location_name: "Outpost"))
467
+ UpdateOutpostOutput.struct_class = Types::UpdateOutpostOutput
468
+
458
469
  UpdateSiteAddressInput.add_member(:site_id, Shapes::ShapeRef.new(shape: SiteId, required: true, location: "uri", location_name: "SiteId"))
459
470
  UpdateSiteAddressInput.add_member(:address_type, Shapes::ShapeRef.new(shape: AddressType, required: true, location_name: "AddressType"))
460
471
  UpdateSiteAddressInput.add_member(:address, Shapes::ShapeRef.new(shape: Address, required: true, location_name: "Address"))
@@ -766,6 +777,19 @@ module Aws::Outposts
766
777
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
767
778
  end)
768
779
 
780
+ api.add_operation(:update_outpost, Seahorse::Model::Operation.new.tap do |o|
781
+ o.name = "UpdateOutpost"
782
+ o.http_method = "PATCH"
783
+ o.http_request_uri = "/outposts/{OutpostId}"
784
+ o.input = Shapes::ShapeRef.new(shape: UpdateOutpostInput)
785
+ o.output = Shapes::ShapeRef.new(shape: UpdateOutpostOutput)
786
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
787
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
788
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
789
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
790
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
791
+ end)
792
+
769
793
  api.add_operation(:update_site, Seahorse::Model::Operation.new.tap do |o|
770
794
  o.name = "UpdateSite"
771
795
  o.http_method = "PATCH"
@@ -273,7 +273,7 @@ module Aws::Outposts
273
273
  # @return [String]
274
274
  #
275
275
  # @!attribute [rw] site_id
276
- # The ID of the site.
276
+ # The ID or the Amazon Resource Name (ARN) of the site.
277
277
  # @return [String]
278
278
  #
279
279
  # @!attribute [rw] availability_zone
@@ -441,7 +441,7 @@ module Aws::Outposts
441
441
  # }
442
442
  #
443
443
  # @!attribute [rw] outpost_id
444
- # The ID of the Outpost.
444
+ # The ID or the Amazon Resource Name (ARN) of the Outpost.
445
445
  # @return [String]
446
446
  #
447
447
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteOutpostInput AWS API Documentation
@@ -464,7 +464,7 @@ module Aws::Outposts
464
464
  # }
465
465
  #
466
466
  # @!attribute [rw] site_id
467
- # The ID of the site.
467
+ # The ID or the Amazon Resource Name (ARN) of the site.
468
468
  # @return [String]
469
469
  #
470
470
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/DeleteSiteInput AWS API Documentation
@@ -573,7 +573,7 @@ module Aws::Outposts
573
573
  # }
574
574
  #
575
575
  # @!attribute [rw] outpost_id
576
- # The ID of the Outpost.
576
+ # The ID or the Amazon Resource Name (ARN) of the Outpost.
577
577
  # @return [String]
578
578
  #
579
579
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostInput AWS API Documentation
@@ -594,7 +594,7 @@ module Aws::Outposts
594
594
  # }
595
595
  #
596
596
  # @!attribute [rw] outpost_id
597
- # The ID of the Outpost.
597
+ # The ID or the Amazon Resource Name (ARN) of the Outpost.
598
598
  # @return [String]
599
599
  #
600
600
  # @!attribute [rw] next_token
@@ -663,7 +663,7 @@ module Aws::Outposts
663
663
  # }
664
664
  #
665
665
  # @!attribute [rw] site_id
666
- # The ID of the site.
666
+ # The ID or the Amazon Resource Name (ARN) of the site.
667
667
  # @return [String]
668
668
  #
669
669
  # @!attribute [rw] address_type
@@ -709,7 +709,7 @@ module Aws::Outposts
709
709
  # }
710
710
  #
711
711
  # @!attribute [rw] site_id
712
- # The ID of the site.
712
+ # The ID or the Amazon Resource Name (ARN) of the site.
713
713
  # @return [String]
714
714
  #
715
715
  # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetSiteInput AWS API Documentation
@@ -1507,6 +1507,55 @@ module Aws::Outposts
1507
1507
  #
1508
1508
  class UntagResourceResponse < Aws::EmptyStructure; end
1509
1509
 
1510
+ # @note When making an API call, you may pass UpdateOutpostInput
1511
+ # data as a hash:
1512
+ #
1513
+ # {
1514
+ # outpost_id: "OutpostId", # required
1515
+ # name: "OutpostName",
1516
+ # description: "OutpostDescription",
1517
+ # supported_hardware_type: "RACK", # accepts RACK, SERVER
1518
+ # }
1519
+ #
1520
+ # @!attribute [rw] outpost_id
1521
+ # The ID or the Amazon Resource Name (ARN) of the Outpost.
1522
+ # @return [String]
1523
+ #
1524
+ # @!attribute [rw] name
1525
+ # The name of the Outpost.
1526
+ # @return [String]
1527
+ #
1528
+ # @!attribute [rw] description
1529
+ # The description of the Outpost.
1530
+ # @return [String]
1531
+ #
1532
+ # @!attribute [rw] supported_hardware_type
1533
+ # The type of hardware for this Outpost.
1534
+ # @return [String]
1535
+ #
1536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateOutpostInput AWS API Documentation
1537
+ #
1538
+ class UpdateOutpostInput < Struct.new(
1539
+ :outpost_id,
1540
+ :name,
1541
+ :description,
1542
+ :supported_hardware_type)
1543
+ SENSITIVE = []
1544
+ include Aws::Structure
1545
+ end
1546
+
1547
+ # @!attribute [rw] outpost
1548
+ # Information about an Outpost.
1549
+ # @return [Types::Outpost]
1550
+ #
1551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/UpdateOutpostOutput AWS API Documentation
1552
+ #
1553
+ class UpdateOutpostOutput < Struct.new(
1554
+ :outpost)
1555
+ SENSITIVE = []
1556
+ include Aws::Structure
1557
+ end
1558
+
1510
1559
  # @note When making an API call, you may pass UpdateSiteAddressInput
1511
1560
  # data as a hash:
1512
1561
  #
@@ -1529,7 +1578,7 @@ module Aws::Outposts
1529
1578
  # }
1530
1579
  #
1531
1580
  # @!attribute [rw] site_id
1532
- # The ID of the site.
1581
+ # The ID or the Amazon Resource Name (ARN) of the site.
1533
1582
  # @return [String]
1534
1583
  #
1535
1584
  # @!attribute [rw] address_type
@@ -1578,7 +1627,7 @@ module Aws::Outposts
1578
1627
  # }
1579
1628
  #
1580
1629
  # @!attribute [rw] site_id
1581
- # The ID of the site.
1630
+ # The ID or the Amazon Resource Name (ARN) of the site.
1582
1631
  # @return [String]
1583
1632
  #
1584
1633
  # @!attribute [rw] name
@@ -1633,7 +1682,7 @@ module Aws::Outposts
1633
1682
  # }
1634
1683
  #
1635
1684
  # @!attribute [rw] site_id
1636
- # The ID of the site.
1685
+ # The ID or the Amazon Resource Name (ARN) of the site.
1637
1686
  # @return [String]
1638
1687
  #
1639
1688
  # @!attribute [rw] power_draw_kva
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-outposts/customizations'
48
48
  # @!group service
49
49
  module Aws::Outposts
50
50
 
51
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.26.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-outposts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.26.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: 2021-11-30 00:00:00.000000000 Z
11
+ date: 2021-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core