Skip to content

Commit 5a66a86

Browse files
Introduces AccessType, a new filter value for the DescribeSessions API.
1 parent 2d8e051 commit 5a66a86

19 files changed

+795
-1049
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
/// </summary>
4848
[AWSProperty(Max=20)]

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
@@ -105,6 +105,10 @@ public override AmazonServiceException UnmarshallException(JsonUnmarshallerConte
105105
{
106106
return MaxDocumentSizeExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
107107
}
108+
if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyUpdates"))
109+
{
110+
return TooManyUpdatesExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
111+
}
108112
}
109113
return new AmazonSimpleSystemsManagementException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
110114
}

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

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

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ public Session Unmarshall(JsonUnmarshallerContext context)
6666
int targetDepth = context.CurrentDepth;
6767
while (context.ReadAtDepth(targetDepth))
6868
{
69+
if (context.TestExpression("AccessType", targetDepth))
70+
{
71+
var unmarshaller = StringUnmarshaller.Instance;
72+
unmarshalledObject.AccessType = unmarshaller.Unmarshall(context);
73+
continue;
74+
}
6975
if (context.TestExpression("Details", targetDepth))
7076
{
7177
var unmarshaller = StringUnmarshaller.Instance;

0 commit comments

Comments
 (0)