Skip to content

Commit

Permalink
This release adds the new API UpdateRoute that allows route to be upd…
Browse files Browse the repository at this point in the history
…ated to ACTIVE/INACTIVE state. In addition, CreateRoute API will now allow users to create route in ACTIVE/INACTIVE state.
  • Loading branch information
aws-sdk-dotnet-automation committed Jun 23, 2022
1 parent dabe47b commit 6ca0210
Show file tree
Hide file tree
Showing 24 changed files with 5,004 additions and 109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,23 @@
{"shape":"ValidationException"}
],
"idempotent":true
},
"UpdateRoute":{
"name":"UpdateRoute",
"http":{
"method":"PATCH",
"requestUri":"/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}",
"responseCode":200
},
"input":{"shape":"UpdateRouteRequest"},
"output":{"shape":"UpdateRouteResponse"},
"errors":[
{"shape":"ResourceNotFoundException"},
{"shape":"InternalServerException"},
{"shape":"ValidationException"},
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"}
]
}
},
"shapes":{
Expand Down Expand Up @@ -674,6 +691,7 @@
"shape":"ClientToken",
"idempotencyToken":true
},
"DefaultRoute":{"shape":"DefaultRouteInput"},
"EnvironmentIdentifier":{
"shape":"EnvironmentId",
"location":"uri",
Expand Down Expand Up @@ -755,6 +773,12 @@
"VpcId":{"shape":"VpcId"}
}
},
"DefaultRouteInput":{
"type":"structure",
"members":{
"ActivationState":{"shape":"RouteActivationState"}
}
},
"DeleteApplicationRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -1539,7 +1563,10 @@
"RetryAfterSeconds":{"type":"integer"},
"RouteActivationState":{
"type":"string",
"enum":["ACTIVE"]
"enum":[
"ACTIVE",
"INACTIVE"
]
},
"RouteId":{
"type":"string",
Expand Down Expand Up @@ -1767,6 +1794,44 @@
"members":{
}
},
"UpdateRouteRequest":{
"type":"structure",
"required":[
"ActivationState",
"ApplicationIdentifier",
"EnvironmentIdentifier",
"RouteIdentifier"
],
"members":{
"ActivationState":{"shape":"RouteActivationState"},
"ApplicationIdentifier":{
"shape":"ApplicationId",
"location":"uri",
"locationName":"ApplicationIdentifier"
},
"EnvironmentIdentifier":{
"shape":"EnvironmentId",
"location":"uri",
"locationName":"EnvironmentIdentifier"
},
"RouteIdentifier":{
"shape":"RouteId",
"location":"uri",
"locationName":"RouteIdentifier"
}
}
},
"UpdateRouteResponse":{
"type":"structure",
"members":{
"ApplicationId":{"shape":"ApplicationId"},
"Arn":{"shape":"ResourceArn"},
"LastUpdatedTime":{"shape":"Timestamp"},
"RouteId":{"shape":"RouteId"},
"ServiceId":{"shape":"ServiceId"},
"State":{"shape":"RouteState"}
}
},
"Uri":{
"type":"string",
"max":2048,
Expand Down

Large diffs are not rendered by default.

Loading

0 comments on commit 6ca0210

Please sign in to comment.