Skip to content

Commit 647408e

Browse files
Update API model
1 parent c051e36 commit 647408e

File tree

6 files changed

+950
-131
lines changed

6 files changed

+950
-131
lines changed

tools/code-generation/smithy/api-descriptions/bedrock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2786,7 +2786,7 @@
27862786
"min": 20,
27872787
"max": 1011
27882788
},
2789-
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}/[a-z0-9]{12})$"
2789+
"smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})/[a-z0-9]{12}$"
27902790
}
27912791
},
27922792
"com.amazonaws.bedrock#CustomModelName": {

tools/code-generation/smithy/api-descriptions/emr-serverless.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@
140140
"traits": {
141141
"smithy.api#documentation": "<p>The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.</p>"
142142
}
143+
},
144+
"identityCenterConfiguration": {
145+
"target": "com.amazonaws.emrserverless#IdentityCenterConfiguration",
146+
"traits": {
147+
"smithy.api#documentation": "<p>The IAM Identity Center configuration applied to enable trusted identity propagation. </p>"
148+
}
143149
}
144150
},
145151
"traits": {
@@ -1524,6 +1530,12 @@
15241530
"traits": {
15251531
"smithy.api#documentation": "<p>The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.</p>"
15261532
}
1533+
},
1534+
"identityCenterConfiguration": {
1535+
"target": "com.amazonaws.emrserverless#IdentityCenterConfigurationInput",
1536+
"traits": {
1537+
"smithy.api#documentation": "<p>The IAM Identity Center Configuration accepts the Identity Center instance parameter required to enable trusted identity propagation. This configuration allows identity propagation between integrated services and the Identity Center instance.</p>"
1538+
}
15271539
}
15281540
}
15291541
},
@@ -1931,6 +1943,56 @@
19311943
"smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):iam::([0-9]{12}):(role((\\u002F)|(\\u002F[\\u0021-\\u007F]+\\u002F))[\\w+=,.@-]+)$"
19321944
}
19331945
},
1946+
"com.amazonaws.emrserverless#IdentityCenterApplicationArn": {
1947+
"type": "string",
1948+
"traits": {
1949+
"smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):sso::\\d{12}:application/(sso)?ins-[a-zA-Z0-9-.]{16}/apl-[a-zA-Z0-9]{16}$"
1950+
}
1951+
},
1952+
"com.amazonaws.emrserverless#IdentityCenterConfiguration": {
1953+
"type": "structure",
1954+
"members": {
1955+
"identityCenterInstanceArn": {
1956+
"target": "com.amazonaws.emrserverless#IdentityCenterInstanceArn",
1957+
"traits": {
1958+
"smithy.api#documentation": "<p>The ARN of the IAM Identity Center instance.</p>"
1959+
}
1960+
},
1961+
"identityCenterApplicationArn": {
1962+
"target": "com.amazonaws.emrserverless#IdentityCenterApplicationArn",
1963+
"traits": {
1964+
"smithy.api#documentation": "<p>The ARN of the EMR Serverless created IAM Identity Center Application that provides trusted-identity propagation.</p>"
1965+
}
1966+
}
1967+
},
1968+
"traits": {
1969+
"smithy.api#documentation": "<p>The IAM Identity Center Configuration that includes the Identify Center instance and application ARNs that provide trusted-identity propagation.</p>"
1970+
}
1971+
},
1972+
"com.amazonaws.emrserverless#IdentityCenterConfigurationInput": {
1973+
"type": "structure",
1974+
"members": {
1975+
"identityCenterInstanceArn": {
1976+
"target": "com.amazonaws.emrserverless#IdentityCenterInstanceArn",
1977+
"traits": {
1978+
"smithy.api#documentation": "<p>The ARN of the IAM Identity Center instance.</p>"
1979+
}
1980+
}
1981+
},
1982+
"traits": {
1983+
"smithy.api#documentation": "<p>Specifies the IAM Identity Center configuration used to enable or disable trusted identity propagation. When provided, this configuration determines how the application interacts with IAM Identity Center for user authentication and access control.</p>"
1984+
}
1985+
},
1986+
"com.amazonaws.emrserverless#IdentityCenterInstanceArn": {
1987+
"type": "string",
1988+
"traits": {
1989+
"smithy.api#length": {
1990+
"min": 10,
1991+
"max": 1024
1992+
},
1993+
"smithy.api#pattern": "^arn:(aws[a-zA-Z0-9-]*):sso:::instance/(sso)?ins-[a-zA-Z0-9-.]{16}$"
1994+
}
1995+
},
19341996
"com.amazonaws.emrserverless#ImageConfiguration": {
19351997
"type": "structure",
19361998
"members": {
@@ -4035,6 +4097,12 @@
40354097
"traits": {
40364098
"smithy.api#documentation": "<p>The scheduler configuration for batch and streaming jobs running on this application. Supported with release labels emr-7.0.0 and above.</p>"
40374099
}
4100+
},
4101+
"identityCenterConfiguration": {
4102+
"target": "com.amazonaws.emrserverless#IdentityCenterConfigurationInput",
4103+
"traits": {
4104+
"smithy.api#documentation": "<p>Specifies the IAM Identity Center configuration used to enable or disable trusted identity propagation. When provided, this configuration determines how the application interacts with IAM Identity Center for user authentication and access control.</p>"
4105+
}
40384106
}
40394107
}
40404108
},

0 commit comments

Comments
 (0)