Skip to content

Commit 05ab27e

Browse files
authored
Feature: Deployment Config (#191)
Issue #, if available: Description of changes: generator.yaml - CRUD shapes for deployment config are not the same, rename fixes that. Introducing status field pendingdeployment summary which will give user move context over their deployment. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent a7bb62f commit 05ab27e

10 files changed

+921
-56
lines changed
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2023-01-12T22:18:47Z"
3-
build_hash: 1b20baf45a0b73a11b296050322a384c705fa897
2+
build_date: "2023-01-04T22:46:39Z"
3+
build_hash: 12246c7da82841b351ec7a9e1f139f9338f2784b
44
go_version: go1.17.13
5-
version: v0.22.0
6-
api_directory_checksum: 7dc5a8a82dd2d1520727afa30836d23b5c0925b3
5+
version: v0.21.0
6+
api_directory_checksum: 19b63f2ee6b7e14b2f6d254a6caff0b9867539e5
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.44.117
99
generator_config_info:
10-
file_checksum: 0dbded7103f1cdd041678e22ac0fffcc6ec12ff1
10+
file_checksum: fd845048bf7dc84ecd3ea1ed1784b831d8f42645
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/endpoint.go

+5-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/generator.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ resources:
8383
template_path: common/sdk_delete_pre_build_request.go.tpl
8484
sdk_delete_post_request:
8585
template_path: common/sdk_delete_post_request.go.tpl
86+
renames:
87+
operations:
88+
DescribeEndpoint:
89+
input_fields:
90+
LastDeploymentConfig: DeploymentConfig
8691
fields:
8792
EndpointStatus:
8893
is_read_only: true
@@ -114,6 +119,11 @@ resources:
114119
from:
115120
operation: DescribeEndpoint
116121
path: ProductionVariants
122+
PendingDeploymentSummary:
123+
is_read_only: true
124+
from:
125+
operation: DescribeEndpoint
126+
path: PendingDeploymentSummary
117127
Tags:
118128
compare:
119129
is_ignored: true
@@ -1007,7 +1017,6 @@ ignore:
10071017
shape_names:
10081018
# RSessionAppSettings is an empty struct that causes generation errors
10091019
- RSessionAppSettings
1010-
- DeploymentConfig
10111020
- ProductionVariantServerlessConfig
10121021
- ExecutionRoleIdentityConfig
10131022
- HyperParameterTuningResourceConfig

apis/v1alpha1/types.go

+57
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/zz_generated.deepcopy.go

+171
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)