Skip to content

Commit e95eb02

Browse files
author
AWS
committed
AWS Outposts Update: This release adds the UpdateOutpost API.
1 parent 8c5af16 commit e95eb02

File tree

2 files changed

+61
-5
lines changed

2 files changed

+61
-5
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Outposts",
4+
"contributor": "",
5+
"description": "This release adds the UpdateOutpost API."
6+
}

services/outposts/src/main/resources/codegen-resources/service-2.json

Lines changed: 55 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,23 @@
317317
],
318318
"documentation":"<p>Removes tags from the specified resource.</p>"
319319
},
320+
"UpdateOutpost":{
321+
"name":"UpdateOutpost",
322+
"http":{
323+
"method":"PATCH",
324+
"requestUri":"/outposts/{OutpostId}"
325+
},
326+
"input":{"shape":"UpdateOutpostInput"},
327+
"output":{"shape":"UpdateOutpostOutput"},
328+
"errors":[
329+
{"shape":"ValidationException"},
330+
{"shape":"ConflictException"},
331+
{"shape":"NotFoundException"},
332+
{"shape":"AccessDeniedException"},
333+
{"shape":"InternalServerException"}
334+
],
335+
"documentation":"<p> Updates an Outpost. </p>"
336+
},
320337
"UpdateSite":{
321338
"name":"UpdateSite",
322339
"http":{
@@ -665,7 +682,10 @@
665682
"members":{
666683
"Name":{"shape":"OutpostName"},
667684
"Description":{"shape":"OutpostDescription"},
668-
"SiteId":{"shape":"SiteId"},
685+
"SiteId":{
686+
"shape":"SiteId",
687+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the site. </p>"
688+
},
669689
"AvailabilityZone":{"shape":"AvailabilityZone"},
670690
"AvailabilityZoneId":{"shape":"AvailabilityZoneId"},
671691
"Tags":{
@@ -724,7 +744,7 @@
724744
"members":{
725745
"OutpostId":{
726746
"shape":"OutpostId",
727-
"documentation":"<p> The ID of the Outpost. </p>",
747+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the Outpost. </p>",
728748
"location":"uri",
729749
"locationName":"OutpostId"
730750
}
@@ -741,6 +761,7 @@
741761
"members":{
742762
"SiteId":{
743763
"shape":"SiteId",
764+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the site. </p>",
744765
"location":"uri",
745766
"locationName":"SiteId"
746767
}
@@ -847,7 +868,7 @@
847868
"members":{
848869
"OutpostId":{
849870
"shape":"OutpostId",
850-
"documentation":"<p> The ID of the Outpost. </p>",
871+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the Outpost. </p>",
851872
"location":"uri",
852873
"locationName":"OutpostId"
853874
}
@@ -859,7 +880,7 @@
859880
"members":{
860881
"OutpostId":{
861882
"shape":"OutpostId",
862-
"documentation":"<p> The ID of the Outpost. </p>",
883+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the Outpost. </p>",
863884
"location":"uri",
864885
"locationName":"OutpostId"
865886
},
@@ -902,6 +923,7 @@
902923
"members":{
903924
"SiteId":{
904925
"shape":"SiteId",
926+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the site. </p>",
905927
"location":"uri",
906928
"locationName":"SiteId"
907929
},
@@ -933,6 +955,7 @@
933955
"members":{
934956
"SiteId":{
935957
"shape":"SiteId",
958+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the site. </p>",
936959
"location":"uri",
937960
"locationName":"SiteId"
938961
}
@@ -1596,7 +1619,7 @@
15961619
},
15971620
"SiteId":{
15981621
"type":"string",
1599-
"documentation":"<p>The ID of the site.</p>",
1622+
"documentation":"<p> The ID of the site. </p>",
16001623
"max":255,
16011624
"min":1,
16021625
"pattern":"^(arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:site/)?(os-[a-f0-9]{17})$"
@@ -1736,6 +1759,30 @@
17361759
"members":{
17371760
}
17381761
},
1762+
"UpdateOutpostInput":{
1763+
"type":"structure",
1764+
"required":["OutpostId"],
1765+
"members":{
1766+
"OutpostId":{
1767+
"shape":"OutpostId",
1768+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the Outpost. </p>",
1769+
"location":"uri",
1770+
"locationName":"OutpostId"
1771+
},
1772+
"Name":{"shape":"OutpostName"},
1773+
"Description":{"shape":"OutpostDescription"},
1774+
"SupportedHardwareType":{
1775+
"shape":"SupportedHardwareType",
1776+
"documentation":"<p> The type of hardware for this Outpost. </p>"
1777+
}
1778+
}
1779+
},
1780+
"UpdateOutpostOutput":{
1781+
"type":"structure",
1782+
"members":{
1783+
"Outpost":{"shape":"Outpost"}
1784+
}
1785+
},
17391786
"UpdateSiteAddressInput":{
17401787
"type":"structure",
17411788
"required":[
@@ -1746,6 +1793,7 @@
17461793
"members":{
17471794
"SiteId":{
17481795
"shape":"SiteId",
1796+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the site. </p>",
17491797
"location":"uri",
17501798
"locationName":"SiteId"
17511799
},
@@ -1778,6 +1826,7 @@
17781826
"members":{
17791827
"SiteId":{
17801828
"shape":"SiteId",
1829+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the site. </p>",
17811830
"location":"uri",
17821831
"locationName":"SiteId"
17831832
},
@@ -1801,6 +1850,7 @@
18011850
"members":{
18021851
"SiteId":{
18031852
"shape":"SiteId",
1853+
"documentation":"<p> The ID or the Amazon Resource Name (ARN) of the site. </p>",
18041854
"location":"uri",
18051855
"locationName":"SiteId"
18061856
},

0 commit comments

Comments
 (0)