Skip to content

Commit 147db55

Browse files
authored
Domain resource (#127)
Domain resource Take a look at following files : - generator.yaml - hook.go - template/ By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent deec55e commit 147db55

27 files changed

+3247
-27
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ do **not** create a public Github issue.
8282

8383
## License
8484

85-
This project is [licensed](/LICENSE) under the Apache-2.0 License.
85+
This project is [licensed][./LICENSE] under the Apache-2.0 License.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2021-10-21T19:55:26Z"
3-
build_hash: 1eaee0ea592ad5752cb9d403e2c13e9a7bdb8d33
4-
go_version: go1.17.1
2+
build_date: "2021-11-03T20:01:07Z"
3+
build_hash: 4b30ff5578e2f570d1c5b1741f3098be0d78e246
4+
go_version: go1.14.15
55
version: v0.15.1
6-
api_directory_checksum: e768091ac8c8e31bb92321a47724cb9ffb5b0ee3
6+
api_directory_checksum: 74c0ee4a0554b45895a5e2003b81d67a1bcb177b
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.38.11
99
generator_config_info:
10-
file_checksum: 8c59f7c55e4d6a9b98b623a0736a37c7a22e4882
10+
file_checksum: 7b14f782f2b75e5fe8ada871134bea6e7690118c
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/domain.go

Lines changed: 110 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/enums.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/generator.yaml

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,49 @@ resources:
713713
is_ignored: true
714714
OnStart:
715715
compare:
716-
is_ignored: true
716+
is_ignored: true
717+
Domain:
718+
exceptions:
719+
errors:
720+
404:
721+
code: ResourceNotFound
722+
terminal_codes:
723+
- ResourceNotFound
724+
- InvalidParameterCombination
725+
- InvalidParameterValue
726+
- MissingParameter
727+
hooks:
728+
sdk_create_post_set_output:
729+
template_path: domain/sdk_create_post_set_output.go.tpl
730+
sdk_read_one_post_set_output:
731+
code: rm.customDescribeDomainSetOutput(ko)
732+
sdk_update_pre_build_request:
733+
template_path: common/sdk_update_pre_build_request.go.tpl
734+
dk_delete_pre_build_request:
735+
template_path: common/sdk_delete_pre_build_request.go.tpl
736+
sdk_delete_post_request:
737+
template_path: common/sdk_delete_post_request.go.tpl
738+
fields:
739+
DomainId:
740+
is_read_only: true
741+
print:
742+
name: DOMAIN-ID
743+
from:
744+
operation: DescribeDomain
745+
path: DomainId
746+
Status:
747+
is_read_only: true
748+
print:
749+
name: STATUS
750+
from:
751+
operation: DescribeDomain
752+
path: Status
753+
AppNetworkAccessType:
754+
late_initialize:
755+
min_backoff_seconds: 5
756+
Tags:
757+
compare:
758+
is_ignored: true
717759
ignore:
718760
resource_names:
719761
- Algorithm
@@ -727,7 +769,7 @@ ignore:
727769
- Context
728770
# - DataQualityJobDefinition
729771
- DeviceFleet
730-
- Domain
772+
# - Domain
731773
- EdgePackagingJob
732774
# - EndpointConfig
733775
# - Endpoint
@@ -761,4 +803,4 @@ ignore:
761803
- Workforce
762804
- Workteam
763805
operations:
764-
- UpdateTrainingJob
806+
- UpdateTrainingJob

0 commit comments

Comments
 (0)