Skip to content

Commit 41c298a

Browse files
author
AWS
committed
AWS Outposts Update: This change allows listAssets to surface pending and non-compute asset information. Adds the INSTALLING asset state enum and the STORAGE, POWERSHELF, SWITCH, and NETWORKING AssetTypes.
1 parent 6079a91 commit 41c298a

2 files changed

Lines changed: 31 additions & 5 deletions

File tree

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 change allows listAssets to surface pending and non-compute asset information. Adds the INSTALLING asset state enum and the STORAGE, POWERSHELF, SWITCH, and NETWORKING AssetTypes."
6+
}

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

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -819,12 +819,25 @@
819819
"enum":[
820820
"ACTIVE",
821821
"RETIRING",
822-
"ISOLATED"
822+
"ISOLATED",
823+
"INSTALLING"
823824
]
824825
},
825826
"AssetType":{
826827
"type":"string",
827-
"enum":["COMPUTE"]
828+
"enum":[
829+
"COMPUTE",
830+
"STORAGE",
831+
"POWERSHELF",
832+
"SWITCH",
833+
"NETWORKING"
834+
]
835+
},
836+
"AssetTypeList":{
837+
"type":"list",
838+
"member":{"shape":"AssetType"},
839+
"max":5,
840+
"min":1
828841
},
829842
"AvailabilityZone":{
830843
"type":"string",
@@ -1110,7 +1123,8 @@
11101123
"enum":[
11111124
"ACTIVE",
11121125
"ISOLATED",
1113-
"RETIRING"
1126+
"RETIRING",
1127+
"INSTALLING"
11141128
]
11151129
},
11161130
"ComputeAttributes":{
@@ -1122,7 +1136,7 @@
11221136
},
11231137
"State":{
11241138
"shape":"ComputeAssetState",
1125-
"documentation":"<p>The state.</p> <ul> <li> <p>ACTIVE - The asset is available and can provide capacity for new compute resources.</p> </li> <li> <p>ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.</p> </li> <li> <p>RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.</p> </li> </ul>"
1139+
"documentation":"<p>The state.</p> <ul> <li> <p>ACTIVE - The asset is available and can provide capacity for new compute resources.</p> </li> <li> <p>ISOLATED - The asset is undergoing maintenance and can't provide capacity for new compute resources. Existing compute resources on the asset are not affected.</p> </li> <li> <p>RETIRING - The underlying hardware for the asset is degraded. Capacity for new compute resources is reduced. Amazon Web Services sends notifications for resources that must be stopped before the asset can be replaced.</p> </li> <li> <p>INSTALLING - The asset is being installed and can't yet provide capacity for new compute resources.</p> </li> </ul>"
11261140
},
11271141
"InstanceFamilies":{
11281142
"shape":"InstanceFamilies",
@@ -2049,6 +2063,12 @@
20492063
"documentation":"<p>Filters the results by state.</p>",
20502064
"location":"querystring",
20512065
"locationName":"StatusFilter"
2066+
},
2067+
"AssetTypeFilter":{
2068+
"shape":"AssetTypeList",
2069+
"documentation":"<p>Filters the results by asset type.</p> <ul> <li> <p>COMPUTE - Server asset used for customer compute </p> </li> <li> <p>STORAGE - Server asset used by storage services </p> </li> <li> <p>POWERSHELF - Powershelf assets </p> </li> <li> <p>SWITCH - Switch assets </p> </li> <li> <p>NETWORKING - Asset managed by Amazon Web Services for networking purposes </p> </li> </ul>",
2070+
"location":"querystring",
2071+
"locationName":"AssetTypeFilter"
20522072
}
20532073
}
20542074
},
@@ -2990,7 +3010,7 @@
29903010
"StatusList":{
29913011
"type":"list",
29923012
"member":{"shape":"AssetState"},
2993-
"max":3,
3013+
"max":5,
29943014
"min":1
29953015
},
29963016
"String":{

0 commit comments

Comments
 (0)