Skip to content

Commit

Permalink
feat(client-ec2): Add new state values for IPAMs, IPAM Scopes, and IP…
Browse files Browse the repository at this point in the history
…AM Pools.
  • Loading branch information
awstools committed May 6, 2022
1 parent 0089b2f commit 6c6525c
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 15 deletions.
30 changes: 15 additions & 15 deletions clients/client-ec2/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const regionHash: RegionHash = {
"ap-south-1": {
variants: [
{
hostname: "api.ec2.ap-south-1.aws",
hostname: "ec2.ap-south-1.api.aws",
tags: ["dualstack"],
},
],
Expand All @@ -22,41 +22,41 @@ const regionHash: RegionHash = {
"eu-west-1": {
variants: [
{
hostname: "api.ec2.eu-west-1.aws",
hostname: "ec2.eu-west-1.api.aws",
tags: ["dualstack"],
},
],
},
"sa-east-1": {
variants: [
{
hostname: "api.ec2.sa-east-1.aws",
hostname: "ec2.sa-east-1.api.aws",
tags: ["dualstack"],
},
],
},
"us-east-1": {
variants: [
{
hostname: "api.ec2.us-east-1.aws",
tags: ["dualstack"],
},
{
hostname: "ec2-fips.us-east-1.amazonaws.com",
tags: ["fips"],
},
{
hostname: "ec2.us-east-1.api.aws",
tags: ["dualstack"],
},
],
},
"us-east-2": {
variants: [
{
hostname: "api.ec2.us-east-2.aws",
tags: ["dualstack"],
},
{
hostname: "ec2-fips.us-east-2.amazonaws.com",
tags: ["fips"],
},
{
hostname: "ec2.us-east-2.api.aws",
tags: ["dualstack"],
},
],
},
"us-gov-east-1": {
Expand Down Expand Up @@ -87,14 +87,14 @@ const regionHash: RegionHash = {
},
"us-west-2": {
variants: [
{
hostname: "api.ec2.us-west-2.aws",
tags: ["dualstack"],
},
{
hostname: "ec2-fips.us-west-2.amazonaws.com",
tags: ["fips"],
},
{
hostname: "ec2.us-west-2.api.aws",
tags: ["dualstack"],
},
],
},
};
Expand Down
9 changes: 9 additions & 0 deletions clients/client-ec2/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2886,9 +2886,12 @@ export enum IpamState {
delete_complete = "delete-complete",
delete_failed = "delete-failed",
delete_in_progress = "delete-in-progress",
isolate_complete = "isolate-complete",
isolate_in_progress = "isolate-in-progress",
modify_complete = "modify-complete",
modify_failed = "modify-failed",
modify_in_progress = "modify-in-progress",
restore_in_progress = "restore-in-progress",
}

/**
Expand Down Expand Up @@ -3145,9 +3148,12 @@ export enum IpamPoolState {
delete_complete = "delete-complete",
delete_failed = "delete-failed",
delete_in_progress = "delete-in-progress",
isolate_complete = "isolate-complete",
isolate_in_progress = "isolate-in-progress",
modify_complete = "modify-complete",
modify_failed = "modify-failed",
modify_in_progress = "modify-in-progress",
restore_in_progress = "restore-in-progress",
}

/**
Expand Down Expand Up @@ -3346,9 +3352,12 @@ export enum IpamScopeState {
delete_complete = "delete-complete",
delete_failed = "delete-failed",
delete_in_progress = "delete-in-progress",
isolate_complete = "isolate-complete",
isolate_in_progress = "isolate-in-progress",
modify_complete = "modify-complete",
modify_failed = "modify-failed",
modify_in_progress = "modify-in-progress",
restore_in_progress = "restore-in-progress",
}

/**
Expand Down
36 changes: 36 additions & 0 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -48913,6 +48913,18 @@
{
"value": "delete-failed",
"name": "delete_failed"
},
{
"value": "isolate-in-progress",
"name": "isolate_in_progress"
},
{
"value": "isolate-complete",
"name": "isolate_complete"
},
{
"value": "restore-in-progress",
"name": "restore_in_progress"
}
]
}
Expand Down Expand Up @@ -49261,6 +49273,18 @@
{
"value": "delete-failed",
"name": "delete_failed"
},
{
"value": "isolate-in-progress",
"name": "isolate_in_progress"
},
{
"value": "isolate-complete",
"name": "isolate_complete"
},
{
"value": "restore-in-progress",
"name": "restore_in_progress"
}
]
}
Expand Down Expand Up @@ -49328,6 +49352,18 @@
{
"value": "delete-failed",
"name": "delete_failed"
},
{
"value": "isolate-in-progress",
"name": "isolate_in_progress"
},
{
"value": "isolate-complete",
"name": "isolate_complete"
},
{
"value": "restore-in-progress",
"name": "restore_in_progress"
}
]
}
Expand Down

0 comments on commit 6c6525c

Please sign in to comment.