Skip to content

Commit 8d215a7

Browse files
Update API model
1 parent cadddcc commit 8d215a7

File tree

5 files changed

+4895
-10
lines changed

5 files changed

+4895
-10
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@
12561256
"min": 1,
12571257
"max": 2048
12581258
},
1259-
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)|(^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?))$|(^arn:aws:sagemaker:[a-z0-9-]+:[0-9]{12}:endpoint/[a-zA-Z0-9-]+$)|(^arn:aws(-[^:]+)?:bedrock:([0-9a-z-]{1,20}):([0-9]{12}):default-prompt-router/[a-zA-Z0-9-:.]+$)$"
1259+
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)|(^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?))$|(^arn:aws:sagemaker:[a-z0-9-]+:[0-9]{12}:endpoint/[a-zA-Z0-9-]+$)|(^arn:aws(-[^:]+)?:bedrock:([0-9a-z-]{1,20}):([0-9]{12}):(default-)?prompt-router/[a-zA-Z0-9-:.]+$)$"
12601260
}
12611261
},
12621262
"com.amazonaws.bedrockruntime#Converse": {
@@ -3650,7 +3650,7 @@
36503650
"min": 1,
36513651
"max": 2048
36523652
},
3653-
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$|(^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?))$|(^arn:aws:sagemaker:[a-z0-9-]+:[0-9]{12}:endpoint/[a-zA-Z0-9-]+$)|(^arn:aws(-[^:]+)?:bedrock:([0-9a-z-]{1,20}):([0-9]{12}):default-prompt-router/[a-zA-Z0-9-:.]+$)$"
3653+
"smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)|([a-zA-Z0-9-:.]+)$|(^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:prompt/[0-9a-zA-Z]{10}(?::[0-9]{1,5})?))$|(^arn:aws:sagemaker:[a-z0-9-]+:[0-9]{12}:endpoint/[a-zA-Z0-9-]+$)|(^arn:aws(-[^:]+)?:bedrock:([0-9a-z-]{1,20}):([0-9]{12}):(default-)?prompt-router/[a-zA-Z0-9-:.]+$)$"
36543654
}
36553655
},
36563656
"com.amazonaws.bedrockruntime#InvokeModelRequest": {

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

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@
11491149
"ServerHostname": {
11501150
"target": "com.amazonaws.datasync#ServerHostname",
11511151
"traits": {
1152-
"smithy.api#documentation": "<p>Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file\n server that your DataSync agent connects to.</p>",
1152+
"smithy.api#documentation": "<p>Specifies the DNS name or IP version 4 address of the NFS file\n server that your DataSync agent connects to.</p>",
11531153
"smithy.api#required": {}
11541154
}
11551155
},
@@ -1219,7 +1219,7 @@
12191219
"ServerHostname": {
12201220
"target": "com.amazonaws.datasync#ServerHostname",
12211221
"traits": {
1222-
"smithy.api#documentation": "<p>Specifies the domain name or IP address of the object storage server. A DataSync\n agent uses this hostname to mount the object storage server in a network.</p>",
1222+
"smithy.api#documentation": "<p>Specifies the domain name or IP version 4 (IPv4) address of the object storage server that your DataSync\n agent connects to.</p>",
12231223
"smithy.api#required": {}
12241224
}
12251225
},
@@ -1414,7 +1414,7 @@
14141414
"ServerHostname": {
14151415
"target": "com.amazonaws.datasync#ServerHostname",
14161416
"traits": {
1417-
"smithy.api#documentation": "<p>Specifies the domain name or IP address of the SMB file server that your DataSync agent will mount.</p>\n <p>Remember the following when configuring this parameter:</p>\n <ul>\n <li>\n <p>You can't specify an IP version 6 (IPv6) address.</p>\n </li>\n <li>\n <p>If you're using Kerberos authentication, you must specify a domain name.</p>\n </li>\n </ul>",
1417+
"smithy.api#documentation": "<p>Specifies the domain name or IP address of the SMB file server that your DataSync agent connects to.</p>\n <p>Remember the following when configuring this parameter:</p>\n <ul>\n <li>\n <p>You can't specify an IP version 6 (IPv6) address.</p>\n </li>\n <li>\n <p>If you're using Kerberos authentication, you must specify a domain name.</p>\n </li>\n </ul>",
14181418
"smithy.api#required": {}
14191419
}
14201420
},
@@ -1458,7 +1458,7 @@
14581458
"AuthenticationType": {
14591459
"target": "com.amazonaws.datasync#SmbAuthenticationType",
14601460
"traits": {
1461-
"smithy.api#documentation": "<p>Specifies the authentication protocol that DataSync uses to connect to your SMB\n file server. DataSync supports <code>NTLM</code> (default) and <code>KERBEROS</code>\n authentication.</p>"
1461+
"smithy.api#documentation": "<p>Specifies the authentication protocol that DataSync uses to connect to your SMB\n file server. DataSync supports <code>NTLM</code> (default) and <code>KERBEROS</code>\n authentication.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions\">Providing DataSync access to SMB file servers</a>.</p>"
14621462
}
14631463
},
14641464
"DnsIpAddresses": {
@@ -1470,7 +1470,7 @@
14701470
"KerberosPrincipal": {
14711471
"target": "com.amazonaws.datasync#KerberosPrincipal",
14721472
"traits": {
1473-
"smithy.api#documentation": "<p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has\n permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>A Kerberos principal might look like <code>HOST/kerberosuser@EXAMPLE.COM</code>.</p>\n <p>Principal names are case sensitive. Your DataSync task execution will fail if\n the principal that you specify for this parameter doesn’t exactly match the principal that you\n use to create the keytab file.</p>"
1473+
"smithy.api#documentation": "<p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has\n permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>A Kerberos principal might look like <code>HOST/kerberosuser@MYDOMAIN.ORG</code>.</p>\n <p>Principal names are case sensitive. Your DataSync task execution will fail if\n the principal that you specify for this parameter doesn’t exactly match the principal that you\n use to create the keytab file.</p>"
14741474
}
14751475
},
14761476
"KerberosKeytab": {
@@ -9819,6 +9819,12 @@
98199819
"smithy.api#documentation": "<p>Specifies the export path in your NFS file server that you want DataSync to\n mount.</p>\n <p>This path (or a subdirectory of the path) is where DataSync transfers data to\n or from. For information on configuring an export for DataSync, see <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/create-nfs-location.html#accessing-nfs\">Accessing NFS file servers</a>.</p>"
98209820
}
98219821
},
9822+
"ServerHostname": {
9823+
"target": "com.amazonaws.datasync#ServerHostname",
9824+
"traits": {
9825+
"smithy.api#documentation": "<p>Specifies the DNS name or IP version 4 (IPv4) address of the NFS file\n server that your DataSync agent connects to.</p>"
9826+
}
9827+
},
98229828
"OnPremConfig": {
98239829
"target": "com.amazonaws.datasync#OnPremConfig"
98249830
},
@@ -9885,6 +9891,12 @@
98859891
"smithy.api#documentation": "<p>Specifies the object prefix for your object storage server. If this is a source location,\n DataSync only copies objects with this prefix. If this is a destination location, DataSync\n writes all objects with this prefix.</p>"
98869892
}
98879893
},
9894+
"ServerHostname": {
9895+
"target": "com.amazonaws.datasync#ServerHostname",
9896+
"traits": {
9897+
"smithy.api#documentation": "<p>Specifies the domain name or IP version 4 (IPv4) address of the object storage server that your DataSync\n agent connects to.</p>"
9898+
}
9899+
},
98889900
"AccessKey": {
98899901
"target": "com.amazonaws.datasync#ObjectStorageAccessKey",
98909902
"traits": {
@@ -10014,6 +10026,12 @@
1001410026
"smithy.api#documentation": "<p>Specifies the name of the share exported by your SMB file server where DataSync\n will read or write data. You can include a subdirectory in the share path (for example,\n <code>/path/to/subdirectory</code>). Make sure that other SMB clients in your network can\n also mount this path.</p>\n <p>To copy all data in the specified subdirectory, DataSync must be able to mount\n the SMB share and access all of its data. For more information, see <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions\">Providing DataSync access to SMB file servers</a>.</p>"
1001510027
}
1001610028
},
10029+
"ServerHostname": {
10030+
"target": "com.amazonaws.datasync#ServerHostname",
10031+
"traits": {
10032+
"smithy.api#documentation": "<p>Specifies the domain name or IP address of the SMB file server that your DataSync agent connects to.</p>\n <p>Remember the following when configuring this parameter:</p>\n <ul>\n <li>\n <p>You can't specify an IP version 6 (IPv6) address.</p>\n </li>\n <li>\n <p>If you're using Kerberos authentication, you must specify a domain name.</p>\n </li>\n </ul>"
10033+
}
10034+
},
1001710035
"User": {
1001810036
"target": "com.amazonaws.datasync#SmbUser",
1001910037
"traits": {
@@ -10044,7 +10062,7 @@
1004410062
"AuthenticationType": {
1004510063
"target": "com.amazonaws.datasync#SmbAuthenticationType",
1004610064
"traits": {
10047-
"smithy.api#documentation": "<p>Specifies the authentication protocol that DataSync uses to connect to your SMB\n file server. DataSync supports <code>NTLM</code> (default) and <code>KERBEROS</code>\n authentication.</p>"
10065+
"smithy.api#documentation": "<p>Specifies the authentication protocol that DataSync uses to connect to your SMB\n file server. DataSync supports <code>NTLM</code> (default) and <code>KERBEROS</code>\n authentication.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/create-smb-location.html#configuring-smb-permissions\">Providing DataSync access to SMB file servers</a>.</p>"
1004810066
}
1004910067
},
1005010068
"DnsIpAddresses": {
@@ -10056,7 +10074,7 @@
1005610074
"KerberosPrincipal": {
1005710075
"target": "com.amazonaws.datasync#KerberosPrincipal",
1005810076
"traits": {
10059-
"smithy.api#documentation": "<p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has\n permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>A Kerberos principal might look like <code>HOST/kerberosuser@EXAMPLE.COM</code>.</p>\n <p>Principal names are case sensitive. Your DataSync task execution will fail if\n the principal that you specify for this parameter doesn’t exactly match the principal that you\n use to create the keytab file.</p>"
10077+
"smithy.api#documentation": "<p>Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has\n permission to access the files, folders, and file metadata in your SMB file server.</p>\n <p>A Kerberos principal might look like <code>HOST/kerberosuser@MYDOMAIN.ORG</code>.</p>\n <p>Principal names are case sensitive. Your DataSync task execution will fail if\n the principal that you specify for this parameter doesn’t exactly match the principal that you\n use to create the keytab file.</p>"
1006010078
}
1006110079
},
1006210080
"KerberosKeytab": {

0 commit comments

Comments
 (0)