Skip to content

Commit 07f488d

Browse files
Introduces AccessType, a new filter value for the DescribeSessions API.
1 parent 9ac7f1d commit 07f488d

17 files changed

+761
-1045
lines changed

generator/ServiceModels/ssm/ssm-2014-11-06.api.json

Lines changed: 55 additions & 81 deletions
Large diffs are not rendered by default.

generator/ServiceModels/ssm/ssm-2014-11-06.docs.json

Lines changed: 441 additions & 865 deletions
Large diffs are not rendered by default.

generator/ServiceModels/ssm/ssm-2014-11-06.normal.json

Lines changed: 62 additions & 85 deletions
Large diffs are not rendered by default.

sdk/src/Services/SimpleSystemsManagement/Generated/Model/DescribeDocumentPermissionRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ internal bool IsSetMaxResults()
6666
/// <summary>
6767
/// Gets and sets the property Name.
6868
/// <para>
69-
/// The name of the document for which you are the owner.
69+
/// The name of the document for which you are the owner.
7070
/// </para>
7171
/// </summary>
7272
[AWSProperty(Required=true)]

sdk/src/Services/SimpleSystemsManagement/Generated/Model/DescribeDocumentPermissionResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public partial class DescribeDocumentPermissionResponse : AmazonWebServiceRespon
4242
/// Gets and sets the property AccountIds.
4343
/// <para>
4444
/// The account IDs that have permission to use this document. The ID can be either an
45-
/// Amazon Web Services account or <i>All</i>.
45+
/// Amazon Web Services account number or <c>all</c>.
4646
/// </para>
4747
/// <para />
4848
/// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned

sdk/src/Services/SimpleSystemsManagement/Generated/Model/DescribeDocumentRequest.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public DescribeDocumentRequest() { }
4747
/// <summary>
4848
/// Instantiates DescribeDocumentRequest with the parameterized properties
4949
/// </summary>
50-
/// <param name="name">The name of the SSM document.</param>
50+
/// <param name="name">The name of the SSM document. <note> If you're calling a shared SSM document from a different Amazon Web Services account, <c>Name</c> is the full Amazon Resource Name (ARN) of the document. </note></param>
5151
public DescribeDocumentRequest(string name)
5252
{
5353
_name = name;
@@ -77,6 +77,12 @@ internal bool IsSetDocumentVersion()
7777
/// <para>
7878
/// The name of the SSM document.
7979
/// </para>
80+
/// <note>
81+
/// <para>
82+
/// If you're calling a shared SSM document from a different Amazon Web Services account,
83+
/// <c>Name</c> is the full Amazon Resource Name (ARN) of the document.
84+
/// </para>
85+
/// </note>
8086
/// </summary>
8187
[AWSProperty(Required=true)]
8288
public string Name

sdk/src/Services/SimpleSystemsManagement/Generated/Model/InstanceInformationStringFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public partial class InstanceInformationStringFilter
4545
///
4646
/// <para>
4747
/// Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole
48-
/// | InstanceIds | PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes
48+
/// | InstanceIds | PingStatus | PlatformType | ResourceType | SourceIds | SourceTypes
4949
/// | "tag-key" | "tag:<c>{keyname}</c>
5050
/// </para>
5151
/// <ul> <li>

sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/CreateDocumentResponseUnmarshaller.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ public override AmazonServiceException UnmarshallException(JsonUnmarshallerConte
107107
{
108108
return MaxDocumentSizeExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse, ref readerCopy);
109109
}
110+
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyUpdates"))
111+
{
112+
return TooManyUpdatesExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse, ref readerCopy);
113+
}
110114
}
111115
return new AmazonSimpleSystemsManagementException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
112116
}

sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/DeleteDocumentResponseUnmarshaller.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ public override AmazonServiceException UnmarshallException(JsonUnmarshallerConte
8787
{
8888
return InvalidDocumentOperationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse, ref readerCopy);
8989
}
90+
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyUpdates"))
91+
{
92+
return TooManyUpdatesExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse, ref readerCopy);
93+
}
9094
}
9195
return new AmazonSimpleSystemsManagementException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
9296
}

sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/SessionUnmarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ public Session Unmarshall(JsonUnmarshallerContext context, ref StreamingUtf8Json
5656
int targetDepth = context.CurrentDepth;
5757
while (context.ReadAtDepth(targetDepth, ref reader))
5858
{
59+
if (context.TestExpression("AccessType", targetDepth))
60+
{
61+
var unmarshaller = StringUnmarshaller.Instance;
62+
unmarshalledObject.AccessType = unmarshaller.Unmarshall(context, ref reader);
63+
continue;
64+
}
5965
if (context.TestExpression("Details", targetDepth))
6066
{
6167
var unmarshaller = StringUnmarshaller.Instance;

0 commit comments

Comments
 (0)