Skip to content

Commit c6c49c5

Browse files
alextwoodskstich
authored andcommitted
Remove @unstable from endpoint modifier traits
1 parent 2530788 commit c6c49c5

5 files changed

Lines changed: 1 addition & 8 deletions

File tree

smithy-aws-endpoints/src/main/resources/META-INF/smithy/aws.endpoints.smithy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ structure endpointsModifier { }
2020
breakingChanges: [{change: "remove"}]
2121
)
2222
@endpointsModifier
23-
@unstable
2423
structure standardRegionalEndpoints {
2524
/// A map of partition to partition special cases -
2625
/// endpoints for a partition that do not follow the standard patterns.
@@ -92,7 +91,6 @@ structure RegionSpecialCase {
9291
breakingChanges: [{change: "any"}]
9392
)
9493
@endpointsModifier
95-
@unstable
9694
structure standardPartitionalEndpoints {
9795
/// The pattern type to use for the partition endpoint.
9896
@required
@@ -146,7 +144,6 @@ structure PartitionEndpointSpecialCase {
146144
breakingChanges: [{change: "any"}]
147145
)
148146
@endpointsModifier
149-
@unstable
150147
structure dualStackOnlyEndpoints { }
151148

152149
/// Marks that a services has hand written endpoint rules.
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
[WARNING] example#Service1: This shape applies a trait that is unstable: aws.endpoints#standardRegionalEndpoints | UnstableTrait.aws.endpoints#standardRegionalEndpoints
21
[DANGER] example#Service1: Endpoint `https://myservice.{invalid}.{dnsSuffix}` contains unsupported patterns: {invalid} | AwsSpecialCaseEndpoint.UnsupportedEndpointPattern
32
[DANGER] example#Service1: Endpoint `{invalid}-fips.{region}.{badSuffix}` contains unsupported patterns: {invalid}, {badSuffix} | AwsSpecialCaseEndpoint.UnsupportedEndpointPattern
43
[DANGER] example#Service1: Endpoint `{invalid}-fips.{region}.{badSuffix}` should start with scheme `http://` or `https://` | AwsSpecialCaseEndpoint.InvalidEndpointPatternScheme
54
[ERROR] example#Service1: Endpoint `{invalid}-fips.{region}.{badSuffix}` should be a valid URL. | AwsSpecialCaseEndpoint.InvalidEndpointPatternUrl
65
[ERROR] example#Service1: Endpoint `https://{region}. invalidurl {dnsSuffix}` should be a valid URL. | AwsSpecialCaseEndpoint.InvalidEndpointPatternUrl
7-
[WARNING] example#Service2: This shape applies a trait that is unstable: aws.endpoints#standardPartitionalEndpoints | UnstableTrait.aws.endpoints#standardPartitionalEndpoints
86
[DANGER] example#Service2: Endpoint `myservice.{invalid}.{dnsSuffix}` should start with scheme `http://` or `https://` | AwsSpecialCaseEndpoint.InvalidEndpointPatternScheme
97
[DANGER] example#Service2: Endpoint `myservice.{invalid}.{dnsSuffix}` contains unsupported patterns: {invalid} | AwsSpecialCaseEndpoint.UnsupportedEndpointPattern
108
[ERROR] example#Service2: Endpoint `myservice.{invalid}.{dnsSuffix}` should be a valid URL. | AwsSpecialCaseEndpoint.InvalidEndpointPatternUrl
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
[WARNING] smithy.example#MyService: This shape applies a trait that is unstable: aws.endpoints#dualStackOnlyEndpoints | UnstableTrait.aws.endpoints#dualStackOnlyEndpoints
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[WARNING] smithy.example#MyService: This shape applies a trait that is unstable: aws.endpoints#standardPartitionalEndpoints | UnstableTrait.aws.endpoints#standardPartitionalEndpoints
1+
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
[WARNING] smithy.example#MyService: This shape applies a trait that is unstable: aws.endpoints#standardRegionalEndpoints | UnstableTrait.aws.endpoints#standardRegionalEndpoints

0 commit comments

Comments
 (0)