Skip to content

Commit 787d7f8

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 41e0b26 commit 787d7f8

File tree

4 files changed

+137
-160
lines changed

4 files changed

+137
-160
lines changed

codegen/sdk-codegen/aws-models/appstream.json

+12-77
Original file line numberDiff line numberDiff line change
@@ -1187,13 +1187,8 @@
11871187
"DesiredInstances": {
11881188
"target": "com.amazonaws.appstream#Integer",
11891189
"traits": {
1190-
"smithy.api#documentation": "<p>The desired number of streaming instances.</p>"
1191-
}
1192-
},
1193-
"DesiredSessions": {
1194-
"target": "com.amazonaws.appstream#Integer",
1195-
"traits": {
1196-
"smithy.api#documentation": "<p>The desired number of user sessions for a multi-session fleet. This is not allowed for single-session fleets.</p>\n <p>When you create a fleet, you must set either the DesiredSessions or DesiredInstances attribute, based on the type of fleet you create. You can’t define both attributes or leave both attributes blank.</p>"
1190+
"smithy.api#documentation": "<p>The desired number of streaming instances.</p>",
1191+
"smithy.api#required": {}
11971192
}
11981193
}
11991194
},
@@ -1228,30 +1223,6 @@
12281223
"traits": {
12291224
"smithy.api#documentation": "<p>The number of currently available instances that can be used to stream\n sessions.</p>"
12301225
}
1231-
},
1232-
"DesiredUserSessions": {
1233-
"target": "com.amazonaws.appstream#Integer",
1234-
"traits": {
1235-
"smithy.api#documentation": "<p>The total number of sessions slots that are either running or pending. This represents the total number of concurrent streaming sessions your fleet can support in a steady state.</p>\n <p>DesiredUserSessionCapacity = ActualUserSessionCapacity + PendingUserSessionCapacity</p>\n <p>This only applies to multi-session fleets.</p>"
1236-
}
1237-
},
1238-
"AvailableUserSessions": {
1239-
"target": "com.amazonaws.appstream#Integer",
1240-
"traits": {
1241-
"smithy.api#documentation": "<p>The number of idle session slots currently available for user sessions.</p>\n <p>AvailableUserSessionCapacity = ActualUserSessionCapacity - ActiveUserSessions</p>\n <p>This only applies to multi-session fleets.</p>"
1242-
}
1243-
},
1244-
"ActiveUserSessions": {
1245-
"target": "com.amazonaws.appstream#Integer",
1246-
"traits": {
1247-
"smithy.api#documentation": "<p>The number of user sessions currently being used for streaming sessions. This only applies to multi-session fleets.</p>"
1248-
}
1249-
},
1250-
"ActualUserSessions": {
1251-
"target": "com.amazonaws.appstream#Integer",
1252-
"traits": {
1253-
"smithy.api#documentation": "<p>The total number of session slots that are available for streaming or are currently streaming.</p>\n <p>ActualUserSessionCapacity = AvailableUserSessionCapacity + ActiveUserSessions</p>\n <p>This only applies to multi-session fleets.</p>"
1254-
}
12551226
}
12561227
},
12571228
"traits": {
@@ -2017,7 +1988,7 @@
20171988
"MaxUserDurationInSeconds": {
20181989
"target": "com.amazonaws.appstream#Integer",
20191990
"traits": {
2020-
"smithy.api#documentation": "<p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>\n <p>Specify a value between 600 and 432000.</p>"
1991+
"smithy.api#documentation": "<p>The maximum amount of time that a streaming session can remain active, in seconds. If users are still connected to a streaming instance five minutes before this limit is reached, they are prompted to save any open documents before being disconnected. After this time elapses, the instance is terminated and replaced by a new instance.</p>\n <p>Specify a value between 600 and 360000.</p>"
20211992
}
20221993
},
20231994
"DisconnectTimeoutInSeconds": {
@@ -2097,12 +2068,6 @@
20972068
"traits": {
20982069
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>"
20992070
}
2100-
},
2101-
"MaxSessionsPerInstance": {
2102-
"target": "com.amazonaws.appstream#Integer",
2103-
"traits": {
2104-
"smithy.api#documentation": "<p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>"
2105-
}
21062071
}
21072072
},
21082073
"traits": {
@@ -3863,7 +3828,7 @@
38633828
"matcher": {
38643829
"output": {
38653830
"path": "Fleets[].State",
3866-
"expected": "ACTIVE",
3831+
"expected": "RUNNING",
38673832
"comparator": "allStringEquals"
38683833
}
38693834
}
@@ -3873,7 +3838,7 @@
38733838
"matcher": {
38743839
"output": {
38753840
"path": "Fleets[].State",
3876-
"expected": "PENDING_DEACTIVATE",
3841+
"expected": "STOPPING",
38773842
"comparator": "anyStringEquals"
38783843
}
38793844
}
@@ -3883,7 +3848,7 @@
38833848
"matcher": {
38843849
"output": {
38853850
"path": "Fleets[].State",
3886-
"expected": "INACTIVE",
3851+
"expected": "STOPPED",
38873852
"comparator": "anyStringEquals"
38883853
}
38893854
}
@@ -3898,7 +3863,7 @@
38983863
"matcher": {
38993864
"output": {
39003865
"path": "Fleets[].State",
3901-
"expected": "INACTIVE",
3866+
"expected": "STOPPED",
39023867
"comparator": "allStringEquals"
39033868
}
39043869
}
@@ -3908,7 +3873,7 @@
39083873
"matcher": {
39093874
"output": {
39103875
"path": "Fleets[].State",
3911-
"expected": "PENDING_ACTIVATE",
3876+
"expected": "STARTING",
39123877
"comparator": "anyStringEquals"
39133878
}
39143879
}
@@ -3918,7 +3883,7 @@
39183883
"matcher": {
39193884
"output": {
39203885
"path": "Fleets[].State",
3921-
"expected": "ACTIVE",
3886+
"expected": "RUNNING",
39223887
"comparator": "anyStringEquals"
39233888
}
39243889
}
@@ -4226,14 +4191,14 @@
42264191
"type": "structure",
42274192
"members": {
42284193
"StackName": {
4229-
"target": "com.amazonaws.appstream#Name",
4194+
"target": "com.amazonaws.appstream#String",
42304195
"traits": {
42314196
"smithy.api#documentation": "<p>The name of the stack. This value is case-sensitive.</p>",
42324197
"smithy.api#required": {}
42334198
}
42344199
},
42354200
"FleetName": {
4236-
"target": "com.amazonaws.appstream#Name",
4201+
"target": "com.amazonaws.appstream#String",
42374202
"traits": {
42384203
"smithy.api#documentation": "<p>The name of the fleet. This value is case-sensitive.</p>",
42394204
"smithy.api#required": {}
@@ -4262,12 +4227,6 @@
42624227
"traits": {
42634228
"smithy.api#documentation": "<p>The authentication method. Specify <code>API</code> for a user\n authenticated using a streaming URL or <code>SAML</code> for a SAML federated user. \n The default is to authenticate users using a streaming URL.</p>"
42644229
}
4265-
},
4266-
"InstanceId": {
4267-
"target": "com.amazonaws.appstream#String",
4268-
"traits": {
4269-
"smithy.api#documentation": "<p>The identifier for the instance hosting the session.</p>"
4270-
}
42714230
}
42724231
},
42734232
"traits": {
@@ -5378,12 +5337,6 @@
53785337
"traits": {
53795338
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets.</p>"
53805339
}
5381-
},
5382-
"MaxSessionsPerInstance": {
5383-
"target": "com.amazonaws.appstream#Integer",
5384-
"traits": {
5385-
"smithy.api#documentation": "<p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>"
5386-
}
53875340
}
53885341
},
53895342
"traits": {
@@ -5428,12 +5381,6 @@
54285381
"traits": {
54295382
"smithy.api#enumValue": "SESSION_SCRIPT_S3_LOCATION"
54305383
}
5431-
},
5432-
"MAX_SESSIONS_PER_INSTANCE": {
5433-
"target": "smithy.api#Unit",
5434-
"traits": {
5435-
"smithy.api#enumValue": "MAX_SESSIONS_PER_INSTANCE"
5436-
}
54375384
}
54385385
},
54395386
"traits": {
@@ -8092,12 +8039,6 @@
80928039
"traits": {
80938040
"smithy.api#documentation": "<p>The network details for the streaming session.</p>"
80948041
}
8095-
},
8096-
"InstanceId": {
8097-
"target": "com.amazonaws.appstream#String",
8098-
"traits": {
8099-
"smithy.api#documentation": "<p>The identifier for the instance hosting the session.</p>"
8100-
}
81018042
}
81028043
},
81038044
"traits": {
@@ -9466,7 +9407,7 @@
94669407
}
94679408
},
94689409
"Name": {
9469-
"target": "com.amazonaws.appstream#Name",
9410+
"target": "com.amazonaws.appstream#String",
94709411
"traits": {
94719412
"smithy.api#documentation": "<p>A unique name for the fleet.</p>"
94729413
}
@@ -9580,12 +9521,6 @@
95809521
"traits": {
95819522
"smithy.api#documentation": "<p>The S3 location of the session scripts configuration zip file. This only applies to Elastic fleets. </p>"
95829523
}
9583-
},
9584-
"MaxSessionsPerInstance": {
9585-
"target": "com.amazonaws.appstream#Integer",
9586-
"traits": {
9587-
"smithy.api#documentation": "<p>The maximum number of user sessions on an instance. This only applies to multi-session fleets.</p>"
9588-
}
95899524
}
95909525
},
95919526
"traits": {

codegen/sdk-codegen/aws-models/connect.json

+6
Original file line numberDiff line numberDiff line change
@@ -12142,6 +12142,12 @@
1214212142
"traits": {
1214312143
"smithy.api#enumValue": "OnContactEvaluationSubmit"
1214412144
}
12145+
},
12146+
"OnMetricDataUpdate": {
12147+
"target": "smithy.api#Unit",
12148+
"traits": {
12149+
"smithy.api#enumValue": "OnMetricDataUpdate"
12150+
}
1214512151
}
1214612152
}
1214712153
},

codegen/sdk-codegen/aws-models/datasync.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5175,7 +5175,7 @@
51755175
}
51765176
],
51775177
"traits": {
5178-
"smithy.api#documentation": "<p>Creates recommendations about where to migrate your data to in Amazon Web Services.\n Recommendations are generated based on information that DataSync Discovery collects about your\n on-premises storage system's resources. For more information, see <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html\">Recommendations\n provided by DataSync Discovery</a>.</p>\n <p>Once generated, you can view your recommendations by using the <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResources.html\">DescribeStorageSystemResources</a> operation.</p>\n <note>\n <p>If your <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/discovery-job-statuses.html#discovery-job-statuses-table\">discovery job completes successfully</a>, you don't need to use this operation. DataSync\n Discovery generates the recommendations for you automatically.</p>\n </note>",
5178+
"smithy.api#documentation": "<p>Creates recommendations about where to migrate your data to in Amazon Web Services.\n Recommendations are generated based on information that DataSync Discovery collects about your\n on-premises storage system's resources. For more information, see <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/discovery-understand-recommendations.html\">Recommendations\n provided by DataSync Discovery</a>.</p>\n <p>Once generated, you can view your recommendations by using the <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/API_DescribeStorageSystemResources.html\">DescribeStorageSystemResources</a> operation.</p>",
51795179
"smithy.api#endpoint": {
51805180
"hostPrefix": "discovery-"
51815181
}
@@ -7446,7 +7446,7 @@
74467446
"Verified": {
74477447
"target": "com.amazonaws.datasync#ReportOverride",
74487448
"traits": {
7449-
"smithy.api#documentation": "<p>Specifies the level of reporting for the files, objects, and directories that DataSync attempted to verify at the end of your transfer. This only applies if you <a href=\"https://docs.aws.amazon.com/datasync/latest/userguide/configure-data-verification-options.html\">configure your task</a> to verify data during and after the transfer (which DataSync does by default).</p>"
7449+
"smithy.api#documentation": "<p>Specifies the level of reporting for the files, objects, and directories that DataSync attempted to verify at the end of your transfer.</p>"
74507450
}
74517451
},
74527452
"Deleted": {

0 commit comments

Comments
 (0)