Skip to content

Commit f09624a

Browse files
author
awstools
committed
Updates SDK to v2.1326.0
1 parent c44ef6f commit f09624a

20 files changed

+972
-81
lines changed

.changes/2.1326.0.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "CodeCatalyst",
5+
"description": "Published Dev Environments StopDevEnvironmentSession API"
6+
},
7+
{
8+
"type": "feature",
9+
"category": "Pricing",
10+
"description": "This release adds 2 new APIs - ListPriceLists which returns a list of applicable price lists, and GetPriceListFileUrl which outputs a URL to retrieve your price lists from the generated file from ListPriceLists"
11+
},
12+
{
13+
"type": "feature",
14+
"category": "S3Outposts",
15+
"description": "S3 on Outposts introduces a new API ListOutpostsWithS3, with this API you can list all your Outposts with S3 capacity."
16+
}
17+
]

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1325.0-->
2+
<!--LATEST=2.1326.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1326.0
6+
* feature: CodeCatalyst: Published Dev Environments StopDevEnvironmentSession API
7+
* feature: Pricing: This release adds 2 new APIs - ListPriceLists which returns a list of applicable price lists, and GetPriceListFileUrl which outputs a URL to retrieve your price lists from the generated file from ListPriceLists
8+
* feature: S3Outposts: S3 on Outposts introduces a new API ListOutpostsWithS3, with this API you can list all your Outposts with S3 capacity.
9+
510
## 2.1325.0
611
* feature: Comprehend: Amazon Comprehend now supports flywheels to help you train and manage new model versions for custom models.
712
* feature: EC2: This release allows IMDS support to be set to v2-only on an existing AMI, so that all future instances launched from that AMI will use IMDSv2 by default.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ for further details.
5757
To use the SDK in the browser, simply add the following script tag to your
5858
HTML pages:
5959

60-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1325.0.min.js"></script>
60+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1326.0.min.js"></script>
6161

6262
You can also build a custom browser SDK with your specified set of AWS services.
6363
This can allow you to reduce the SDK's size, specify different API versions of

apis/codecatalyst-2022-09-28.min.json

Lines changed: 64 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
"output": {
3434
"type": "structure",
3535
"required": [
36-
"secret"
36+
"secret",
37+
"name",
38+
"expiresTime",
39+
"accessTokenId"
3740
],
3841
"members": {
3942
"secret": {
@@ -43,7 +46,8 @@
4346
"name": {},
4447
"expiresTime": {
4548
"shape": "S3"
46-
}
49+
},
50+
"accessTokenId": {}
4751
}
4852
}
4953
},
@@ -86,7 +90,7 @@
8690
"clientToken": {},
8791
"alias": {},
8892
"ides": {
89-
"shape": "Se"
93+
"shape": "Sf"
9094
},
9195
"instanceType": {},
9296
"inactivityTimeoutMinutes": {
@@ -888,6 +892,9 @@
888892
},
889893
"output": {
890894
"type": "structure",
895+
"required": [
896+
"items"
897+
],
891898
"members": {
892899
"nextToken": {},
893900
"items": {
@@ -968,7 +975,7 @@
968975
"locationName": "id"
969976
},
970977
"ides": {
971-
"shape": "Se"
978+
"shape": "Sf"
972979
},
973980
"instanceType": {},
974981
"inactivityTimeoutMinutes": {
@@ -1121,6 +1128,56 @@
11211128
},
11221129
"idempotent": true
11231130
},
1131+
"StopDevEnvironmentSession": {
1132+
"http": {
1133+
"method": "DELETE",
1134+
"requestUri": "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}",
1135+
"responseCode": 200
1136+
},
1137+
"input": {
1138+
"type": "structure",
1139+
"required": [
1140+
"spaceName",
1141+
"projectName",
1142+
"id",
1143+
"sessionId"
1144+
],
1145+
"members": {
1146+
"spaceName": {
1147+
"location": "uri",
1148+
"locationName": "spaceName"
1149+
},
1150+
"projectName": {
1151+
"location": "uri",
1152+
"locationName": "projectName"
1153+
},
1154+
"id": {
1155+
"location": "uri",
1156+
"locationName": "id"
1157+
},
1158+
"sessionId": {
1159+
"location": "uri",
1160+
"locationName": "sessionId"
1161+
}
1162+
}
1163+
},
1164+
"output": {
1165+
"type": "structure",
1166+
"required": [
1167+
"spaceName",
1168+
"projectName",
1169+
"id",
1170+
"sessionId"
1171+
],
1172+
"members": {
1173+
"spaceName": {},
1174+
"projectName": {},
1175+
"id": {},
1176+
"sessionId": {}
1177+
}
1178+
},
1179+
"idempotent": true
1180+
},
11241181
"UpdateDevEnvironment": {
11251182
"http": {
11261183
"method": "PATCH",
@@ -1149,7 +1206,7 @@
11491206
},
11501207
"alias": {},
11511208
"ides": {
1152-
"shape": "Se"
1209+
"shape": "Sf"
11531210
},
11541211
"instanceType": {},
11551212
"inactivityTimeoutMinutes": {
@@ -1171,7 +1228,7 @@
11711228
"projectName": {},
11721229
"alias": {},
11731230
"ides": {
1174-
"shape": "Se"
1231+
"shape": "Sf"
11751232
},
11761233
"instanceType": {},
11771234
"inactivityTimeoutMinutes": {
@@ -1201,7 +1258,7 @@
12011258
"type": "timestamp",
12021259
"timestampFormat": "iso8601"
12031260
},
1204-
"Se": {
1261+
"Sf": {
12051262
"type": "list",
12061263
"member": {
12071264
"type": "structure",

apis/codecatalyst-2022-09-28.normal.json

Lines changed: 127 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"shape": "AccessDeniedException"
8181
}
8282
],
83-
"documentation": "<p>Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project. By default, a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. </p>",
83+
"documentation": "<p>Creates a Dev Environment in Amazon CodeCatalyst, a cloud-based development Dev Environment that you can use to quickly work on the code stored in the source repositories of your project. </p> <note> <p>When created in the Amazon CodeCatalyst console, by default a Dev Environment is configured to have a 2 core processor, 4GB of RAM, and 16GB of persistent storage. None of these defaults apply to a Dev Environment created programmatically.</p> </note>",
8484
"idempotent": true
8585
},
8686
"CreateProject": {
@@ -789,6 +789,42 @@
789789
"documentation": "<p>Pauses a specified Dev Environment and places it in a non-running state. Stopped Dev Environments do not consume compute minutes.</p>",
790790
"idempotent": true
791791
},
792+
"StopDevEnvironmentSession": {
793+
"name": "StopDevEnvironmentSession",
794+
"http": {
795+
"method": "DELETE",
796+
"requestUri": "/v1/spaces/{spaceName}/projects/{projectName}/devEnvironments/{id}/session/{sessionId}",
797+
"responseCode": 200
798+
},
799+
"input": {
800+
"shape": "StopDevEnvironmentSessionRequest"
801+
},
802+
"output": {
803+
"shape": "StopDevEnvironmentSessionResponse"
804+
},
805+
"errors": [
806+
{
807+
"shape": "ThrottlingException"
808+
},
809+
{
810+
"shape": "ConflictException"
811+
},
812+
{
813+
"shape": "ValidationException"
814+
},
815+
{
816+
"shape": "ServiceQuotaExceededException"
817+
},
818+
{
819+
"shape": "ResourceNotFoundException"
820+
},
821+
{
822+
"shape": "AccessDeniedException"
823+
}
824+
],
825+
"documentation": "<p>Stops a session for a specified Dev Environment.</p>",
826+
"idempotent": true
827+
},
792828
"UpdateDevEnvironment": {
793829
"name": "UpdateDevEnvironment",
794830
"http": {
@@ -941,7 +977,10 @@
941977
"CreateAccessTokenResponse": {
942978
"type": "structure",
943979
"required": [
944-
"secret"
980+
"secret",
981+
"name",
982+
"expiresTime",
983+
"accessTokenId"
945984
],
946985
"members": {
947986
"secret": {
@@ -955,6 +994,10 @@
955994
"expiresTime": {
956995
"shape": "SyntheticTimestamp_date_time",
957996
"documentation": "<p>The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in <a href=\"https://www.rfc-editor.org/rfc/rfc3339#section-5.6\">RFC 3339</a>. If not specified, the default is one year from creation.</p>"
997+
},
998+
"accessTokenId": {
999+
"shape": "AccessTokenId",
1000+
"documentation": "<p>The system-generated unique ID of the access token.</p>"
9581001
}
9591002
}
9601003
},
@@ -1005,7 +1048,7 @@
10051048
},
10061049
"persistentStorage": {
10071050
"shape": "PersistentStorageConfiguration",
1008-
"documentation": "<p>Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage.</p> <note> <p>Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.</p> </note>"
1051+
"documentation": "<p>Information about the amount of storage allocated to the Dev Environment. </p> <note> <p>By default, a Dev Environment is configured to have 16GB of persistent storage when created from the Amazon CodeCatalyst console, but there is no default when programmatically creating a Dev Environment. Valid values for persistent storage are based on memory sizes in 16GB increments. Valid values are 16, 32, and 64.</p> </note>"
10091052
}
10101053
}
10111054
},
@@ -1882,11 +1925,11 @@
18821925
"members": {
18831926
"runtime": {
18841927
"shape": "IdeConfigurationRuntimeString",
1885-
"documentation": "<p>A link to the IDE runtime image.</p>"
1928+
"documentation": "<p>A link to the IDE runtime image. </p> <note> <p>This parameter is not required for <code>VSCode</code>.</p> </note>"
18861929
},
18871930
"name": {
18881931
"shape": "IdeConfigurationNameString",
1889-
"documentation": "<p>The name of the IDE.</p>"
1932+
"documentation": "<p>The name of the IDE. Valid values include <code>Cloud9</code>, <code>IntelliJ</code>, <code>PyCharm</code>, <code>GoLand</code>, and <code>VSCode</code>.</p>"
18901933
}
18911934
},
18921935
"documentation": "<p>Information about the configuration of an integrated development environment (IDE) for a Dev Environment.</p>"
@@ -2321,6 +2364,9 @@
23212364
},
23222365
"ListSourceRepositoryBranchesResponse": {
23232366
"type": "structure",
2367+
"required": [
2368+
"items"
2369+
],
23242370
"members": {
23252371
"nextToken": {
23262372
"shape": "String",
@@ -2564,7 +2610,7 @@
25642610
"members": {
25652611
"name": {
25662612
"shape": "NameString",
2567-
"documentation": "<p> <i>We need to know what this is and the basic usage information so that third-party developers know how to use this data type.</i> </p>"
2613+
"documentation": "<p>The name of the space.</p>"
25682614
},
25692615
"regionName": {
25702616
"shape": "RegionString",
@@ -2775,6 +2821,78 @@
27752821
}
27762822
}
27772823
},
2824+
"StopDevEnvironmentSessionRequest": {
2825+
"type": "structure",
2826+
"required": [
2827+
"spaceName",
2828+
"projectName",
2829+
"id",
2830+
"sessionId"
2831+
],
2832+
"members": {
2833+
"spaceName": {
2834+
"shape": "NameString",
2835+
"documentation": "<p>The name of the space.</p>",
2836+
"location": "uri",
2837+
"locationName": "spaceName"
2838+
},
2839+
"projectName": {
2840+
"shape": "NameString",
2841+
"documentation": "<p>The name of the project in the space.</p>",
2842+
"location": "uri",
2843+
"locationName": "projectName"
2844+
},
2845+
"id": {
2846+
"shape": "Uuid",
2847+
"documentation": "<p>The system-generated unique ID of the Dev Environment. To obtain this ID, use <a>ListDevEnvironments</a>.</p>",
2848+
"location": "uri",
2849+
"locationName": "id"
2850+
},
2851+
"sessionId": {
2852+
"shape": "StopDevEnvironmentSessionRequestSessionIdString",
2853+
"documentation": "<p>The system-generated unique ID of the Dev Environment session. This ID is returned by <a>StartDevEnvironmentSession</a>.</p>",
2854+
"location": "uri",
2855+
"locationName": "sessionId"
2856+
}
2857+
}
2858+
},
2859+
"StopDevEnvironmentSessionRequestSessionIdString": {
2860+
"type": "string",
2861+
"max": 96,
2862+
"min": 1
2863+
},
2864+
"StopDevEnvironmentSessionResponse": {
2865+
"type": "structure",
2866+
"required": [
2867+
"spaceName",
2868+
"projectName",
2869+
"id",
2870+
"sessionId"
2871+
],
2872+
"members": {
2873+
"spaceName": {
2874+
"shape": "NameString",
2875+
"documentation": "<p>The name of the space.</p>"
2876+
},
2877+
"projectName": {
2878+
"shape": "NameString",
2879+
"documentation": "<p>The name of the project in the space.</p>"
2880+
},
2881+
"id": {
2882+
"shape": "Uuid",
2883+
"documentation": "<p>The system-generated unique ID of the Dev Environment.</p>"
2884+
},
2885+
"sessionId": {
2886+
"shape": "StopDevEnvironmentSessionResponseSessionIdString",
2887+
"documentation": "<p>The system-generated unique ID of the Dev Environment session.</p>"
2888+
}
2889+
}
2890+
},
2891+
"StopDevEnvironmentSessionResponseSessionIdString": {
2892+
"type": "string",
2893+
"max": 96,
2894+
"min": 1
2895+
},
27782896
"String": {
27792897
"type": "string"
27802898
},
@@ -2843,8 +2961,8 @@
28432961
"UpdateDevEnvironmentRequestAliasString": {
28442962
"type": "string",
28452963
"max": 128,
2846-
"min": 1,
2847-
"pattern": "[a-zA-Z0-9]+(?:[-_\\.][a-zA-Z0-9]+)*"
2964+
"min": 0,
2965+
"pattern": "$|^[a-zA-Z0-9]+(?:[-_\\.][a-zA-Z0-9]+)*"
28482966
},
28492967
"UpdateDevEnvironmentResponse": {
28502968
"type": "structure",
@@ -2947,5 +3065,5 @@
29473065
"min": 1
29483066
}
29493067
},
2950-
"documentation": "<note> <p> <b>Amazon CodeCatalyst is in preview release and subject to change.</b> </p> </note> <p>Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst API to work with the following objects. </p> <p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p> <ul> <li> <p> <a>CreateAccessToken</a>, which creates a personal access token (PAT) for the current user.</p> </li> <li> <p> <a>CreateDevEnvironment</a>, which creates a Dev Environment, where you can quickly work on the code stored in the source repositories of your project.</p> </li> <li> <p> <a>CreateProject</a> which creates a project in a specified space.</p> </li> <li> <p> <a>CreateSourceRepositoryBranch</a>, which creates a branch in a specified repository where you can work on code.</p> </li> <li> <p> <a>DeleteDevEnvironment</a>, which deletes a Dev Environment.</p> </li> <li> <p> <a>GetDevEnvironment</a>, which returns information about a Dev Environment.</p> </li> <li> <p> <a>GetProject</a>, which returns information about a project.</p> </li> <li> <p> <a>GetSourceRepositoryCloneUrls</a>, which returns information about the URLs that can be used with a Git client to clone a source repository.</p> </li> <li> <p> <a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.</p> </li> <li> <p> <a>GetUserDetails</a>, which returns information about a user in Amazon CodeCatalyst.</p> </li> <li> <p> <a>ListDevEnvironments</a>, which retrives a list of Dev Environments in a project.</p> </li> <li> <p> <a>ListProjects</a>, which retrieves a list of projects in a space.</p> </li> <li> <p> <a>ListSourceRepositories</a>, which retrieves a list of source repositories in a project.</p> </li> <li> <p> <a>ListSourceRepositoryBranches</a>, which retrieves a list of branches in a source repository.</p> </li> <li> <p> <a>ListSpaces</a>, which retrieves a list of spaces.</p> </li> <li> <p> <a>StartDevEnvironment</a>, which starts a specified Dev Environment and puts it into an active state.</p> </li> <li> <p> <a>StartDevEnvironmentSession</a>, which starts a session to a specified Dev Environment.</p> </li> <li> <p> <a>StopDevEnvironment</a>, which stops a specified Dev Environment and puts it into an stopped state.</p> </li> <li> <p> <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p> </li> <li> <p> <a>VerifySession</a>, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.</p> </li> </ul> <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p> <ul> <li> <p> <a>DeleteAccessToken</a>, which deletes a specified personal access token (PAT).</p> </li> <li> <p> <a>ListAccessTokens</a>, which lists all personal access tokens (PATs) associated with a user.</p> </li> <li> <p> <a>ListEventLogs</a>, which retrieves a list of events that occurred during a specified time period in a space.</p> </li> </ul>"
3068+
"documentation": "<note> <p> <b>Amazon CodeCatalyst is in preview release and subject to change.</b> </p> </note> <p>Welcome to the Amazon CodeCatalyst API reference. This reference provides descriptions of operations and data types for Amazon CodeCatalyst. You can use the Amazon CodeCatalyst API to work with the following objects. </p> <p>Dev Environments and the Amazon Web Services Toolkits, by calling the following:</p> <ul> <li> <p> <a>CreateAccessToken</a>, which creates a personal access token (PAT) for the current user.</p> </li> <li> <p> <a>CreateDevEnvironment</a>, which creates a Dev Environment, where you can quickly work on the code stored in the source repositories of your project.</p> </li> <li> <p> <a>CreateProject</a> which creates a project in a specified space.</p> </li> <li> <p> <a>CreateSourceRepositoryBranch</a>, which creates a branch in a specified repository where you can work on code.</p> </li> <li> <p> <a>DeleteDevEnvironment</a>, which deletes a Dev Environment.</p> </li> <li> <p> <a>GetDevEnvironment</a>, which returns information about a Dev Environment.</p> </li> <li> <p> <a>GetProject</a>, which returns information about a project.</p> </li> <li> <p> <a>GetSourceRepositoryCloneUrls</a>, which returns information about the URLs that can be used with a Git client to clone a source repository.</p> </li> <li> <p> <a>GetSubscription</a>, which returns information about the Amazon Web Services account used for billing purposes and the billing plan for the space.</p> </li> <li> <p> <a>GetUserDetails</a>, which returns information about a user in Amazon CodeCatalyst.</p> </li> <li> <p> <a>ListDevEnvironments</a>, which retrives a list of Dev Environments in a project.</p> </li> <li> <p> <a>ListProjects</a>, which retrieves a list of projects in a space.</p> </li> <li> <p> <a>ListSourceRepositories</a>, which retrieves a list of source repositories in a project.</p> </li> <li> <p> <a>ListSourceRepositoryBranches</a>, which retrieves a list of branches in a source repository.</p> </li> <li> <p> <a>ListSpaces</a>, which retrieves a list of spaces.</p> </li> <li> <p> <a>StartDevEnvironment</a>, which starts a specified Dev Environment and puts it into an active state.</p> </li> <li> <p> <a>StartDevEnvironmentSession</a>, which starts a session to a specified Dev Environment.</p> </li> <li> <p> <a>StopDevEnvironment</a>, which stops a specified Dev Environment and puts it into an stopped state.</p> </li> <li> <p> <a>StopDevEnvironmentSession</a>, which stops a session for a specified Dev Environment.</p> </li> <li> <p> <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p> </li> <li> <p> <a>VerifySession</a>, which verifies whether the calling user has a valid Amazon CodeCatalyst login and session.</p> </li> </ul> <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p> <ul> <li> <p> <a>DeleteAccessToken</a>, which deletes a specified personal access token (PAT).</p> </li> <li> <p> <a>ListAccessTokens</a>, which lists all personal access tokens (PATs) associated with a user.</p> </li> <li> <p> <a>ListEventLogs</a>, which retrieves a list of events that occurred during a specified time period in a space.</p> </li> </ul>"
29513069
}

0 commit comments

Comments
 (0)