Skip to content

Capacity reservations feature implementation #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
fda18b6
capacity_reservations_feature: Initial PR to add capacity reservation…
Jan 9, 2025
fa68807
capacity_reservations_feature: Initial PR to add capacity reservation…
Jan 9, 2025
2e07fa5
capacity_reservations_feature: Changes after running release
Jan 21, 2025
a2c1d7f
capacity_reservations_feature: Add hook to update tags
Jan 23, 2025
3192dbd
capacity_reservations_feature: Update generator.yaml to add delete fu…
Jan 23, 2025
3bca0cf
capacity_reservations_feature: Update metadata
Jan 23, 2025
79401e2
capacity_reservations_feature: Add additional printer columns
Jan 24, 2025
0a650bb
capacity_reservations_feature: Fix update logic to update tags and ot…
Jan 26, 2025
f317928
capacity_reservations_feature: Modify update logic to immediately fet…
Jan 28, 2025
604229a
capacity_reservations_feature: Add tests for capacity reservation CRU…
Jan 29, 2025
c3f284f
capacity_reservations_feature: Add tests for capacity reservation CRU…
Jan 29, 2025
0e17f58
Merge branch 'main' into capacity_reservations_feature
Jan 29, 2025
1215ef0
capacity_reservations_feature: latest build date
Jan 29, 2025
5f69200
capacity_reservations_feature: add newlines
Jan 29, 2025
b820390
capacity_reservations_feature: Add additional info to the spec
Jan 31, 2025
5e183b5
capacity_reservations_feature: Update ATTRIBUTION.MD
Feb 4, 2025
bb365b1
Merge branch 'main' into capacity_reservations_feature
Feb 7, 2025
e3cf18f
capacity_reservations_feature: Update release and attribution file
Feb 7, 2025
18cdeae
capacity_reservations_feature: Remove ClientToken and Dryrun fields
Feb 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,735 changes: 996 additions & 739 deletions ATTRIBUTION.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀🚀🚀

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2025-02-06T03:30:50Z"
build_date: "2025-02-09T23:26:36Z"
build_hash: 8762917215d9902b2011a2b0b1b0c776855a683e
go_version: go1.23.5
version: v0.42.0
api_directory_checksum: 14f0962baec09e795bcb014604b6515df6f0b85f
go_version: go1.23.4
version: v0.42.0-dirty
api_directory_checksum: 6da0928938d9fb2e79fb8f7ab09fa6da0c5f3049
api_version: v1alpha1
aws_sdk_go_version: v1.32.6
generator_config_info:
file_checksum: 9ecd77fb465ff926f889ba25e718ad6472b71a75
file_checksum: b3d6924c2a4a2252ea9a7fa775eb86bd1660eeef
original_file_name: generator.yaml
last_modification:
reason: API generation
275 changes: 275 additions & 0 deletions apis/v1alpha1/capacity_reservation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 34 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ ignore:
field_paths:
- AllocateAddressInput.DryRun
- AllocateAddressInput.TagSpecifications
- CreateCapacityReservationInput.TagSpecifications
- CreateCapacityReservationInput.DryRun
- CreateCapacityReservationInput.ClientToken
- CreateDhcpOptionsInput.DryRun
- CreateDhcpOptionsInput.TagSpecifications
- CreateFlowLogsInput.DryRun
Expand Down Expand Up @@ -113,7 +116,7 @@ ignore:
- IpamExternalResourceVerificationToken
- VpcBlockPublicAccessExclusion
- AccountAttribute
- CapacityReservation
# - CapacityReservation
- CapacityReservationFleet
- CarrierGateway
- ClientVpnEndpoint
Expand Down Expand Up @@ -200,6 +203,10 @@ operations:
operation_type:
- Create
resource_name: ElasticIPAddress
CancelCapacityReservation:
operation_type:
- Delete
resource_name: CapacityReservation
DescribeAddresses:
operation_type:
- List
Expand Down Expand Up @@ -273,6 +280,32 @@ operations:
- Update
resource_name: VpcPeeringConnection
resources:
CapacityReservation:
fields:
Tags:
from:
operation: CreateTags
path: Tags
AdditionalInfo:
from:
operation: ModifyCapacityReservation
path: AdditionalInfo
CapacityReservationID:
print:
name: ID
State:
print:
name: STATE
StartDate:
print:
name: START_DATE
hooks:
sdk_create_post_build_request:
template_path: hooks/capacity_reservation/sdk_create_post_build_request.go.tpl
sdk_update_pre_build_request:
template_path: hooks/capacity_reservation/sdk_update_pre_build_request.go.tpl
sdk_update_post_set_output:
template_path: hooks/capacity_reservation/sdk_update_post_set_output.go.tpl
DhcpOptions:
exceptions:
terminal_codes:
Expand Down
Loading