public void DescribeWorkspacesMarshallTest() { var request = InstantiateClassGenerator.Execute <DescribeWorkspacesRequest>(); var marshaller = new DescribeWorkspacesRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <DescribeWorkspacesRequest>(request, jsonRequest); var webResponse = new WebResponseData { Headers = { { "x-amzn-RequestId", Guid.NewGuid().ToString() }, { "x-amz-crc32", "0" } } }; var jsonResponse = new JsonSampleGenerator(service_model, service_model.FindOperation("DescribeWorkspaces").ResponseStructure).Execute(); webResponse.Headers.Add("Content-Length", UTF8Encoding.UTF8.GetBytes(jsonResponse).Length.ToString()); UnmarshallerContext context = new JsonUnmarshallerContext(Utils.CreateStreamFromString(jsonResponse), false, webResponse); var response = DescribeWorkspacesResponseUnmarshaller.Instance.Unmarshall(context) as DescribeWorkspacesResponse; InstantiateClassGenerator.ValidateObjectFullyInstantiated(response); }
public void StopAssessmentRunMarshallTest() { var request = InstantiateClassGenerator.Execute <StopAssessmentRunRequest>(); var marshaller = new StopAssessmentRunRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <StopAssessmentRunRequest>(request, jsonRequest); }
public void RegisterCrossAccountAccessRoleMarshallTest() { var request = InstantiateClassGenerator.Execute <RegisterCrossAccountAccessRoleRequest>(); var marshaller = new RegisterCrossAccountAccessRoleRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <RegisterCrossAccountAccessRoleRequest>(request, jsonRequest); }
public void UpdateInstanceCustomHealthStatusMarshallTest() { var request = InstantiateClassGenerator.Execute <UpdateInstanceCustomHealthStatusRequest>(); var marshaller = new UpdateInstanceCustomHealthStatusRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <UpdateInstanceCustomHealthStatusRequest>(request, jsonRequest); }
public void PutThirdPartyJobSuccessResultMarshallTest() { var request = InstantiateClassGenerator.Execute <PutThirdPartyJobSuccessResultRequest>(); var marshaller = new PutThirdPartyJobSuccessResultRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <PutThirdPartyJobSuccessResultRequest>(request, jsonRequest); }
public void SkipWaitTimeForInstanceTerminationMarshallTest() { var request = InstantiateClassGenerator.Execute <SkipWaitTimeForInstanceTerminationRequest>(); var marshaller = new SkipWaitTimeForInstanceTerminationRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <SkipWaitTimeForInstanceTerminationRequest>(request, jsonRequest); }
public void DeleteNotificationChannelMarshallTest() { var request = InstantiateClassGenerator.Execute <DeleteNotificationChannelRequest>(); var marshaller = new DeleteNotificationChannelRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <DeleteNotificationChannelRequest>(request, jsonRequest); }
public void PutSubscriptionFilterMarshallTest() { var request = InstantiateClassGenerator.Execute <PutSubscriptionFilterRequest>(); var marshaller = new PutSubscriptionFilterRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <PutSubscriptionFilterRequest>(request, jsonRequest); }
public void AdminDeleteUserMarshallTest() { var request = InstantiateClassGenerator.Execute <AdminDeleteUserRequest>(); var marshaller = new AdminDeleteUserRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <AdminDeleteUserRequest>(request, jsonRequest); }
public void DeregisterStreamConsumerMarshallTest() { var request = InstantiateClassGenerator.Execute <DeregisterStreamConsumerRequest>(); var marshaller = new DeregisterStreamConsumerRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <DeregisterStreamConsumerRequest>(request, jsonRequest); }
public void RespondDecisionTaskCompletedMarshallTest() { var request = InstantiateClassGenerator.Execute <RespondDecisionTaskCompletedRequest>(); var marshaller = new RespondDecisionTaskCompletedRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <RespondDecisionTaskCompletedRequest>(request, jsonRequest); }
public void RequestCancelWorkflowExecutionMarshallTest() { var request = InstantiateClassGenerator.Execute <RequestCancelWorkflowExecutionRequest>(); var marshaller = new RequestCancelWorkflowExecutionRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <RequestCancelWorkflowExecutionRequest>(request, jsonRequest); }
public void DeprecateWorkflowTypeMarshallTest() { var request = InstantiateClassGenerator.Execute <DeprecateWorkflowTypeRequest>(); var marshaller = new DeprecateWorkflowTypeRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <DeprecateWorkflowTypeRequest>(request, jsonRequest); }
public void UpdateCertificateAuthorityMarshallTest() { var request = InstantiateClassGenerator.Execute <UpdateCertificateAuthorityRequest>(); var marshaller = new UpdateCertificateAuthorityRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <UpdateCertificateAuthorityRequest>(request, jsonRequest); }
public void RemoveTagsFromOnPremisesInstancesMarshallTest() { var request = InstantiateClassGenerator.Execute <RemoveTagsFromOnPremisesInstancesRequest>(); var marshaller = new RemoveTagsFromOnPremisesInstancesRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <RemoveTagsFromOnPremisesInstancesRequest>(request, jsonRequest); }
public void EnableKeyRotationMarshallTest() { var request = InstantiateClassGenerator.Execute <EnableKeyRotationRequest>(); var marshaller = new EnableKeyRotationRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <EnableKeyRotationRequest>(request, jsonRequest); }
public void UntagResourceMarshallTest() { var request = InstantiateClassGenerator.Execute <UntagResourceRequest>(); var marshaller = new UntagResourceRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <UntagResourceRequest>(request, jsonRequest); }
public void ModifyInstanceGroupsMarshallTest() { var request = InstantiateClassGenerator.Execute <ModifyInstanceGroupsRequest>(); var marshaller = new ModifyInstanceGroupsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <ModifyInstanceGroupsRequest>(request, jsonRequest); }
public void CreateLogStreamMarshallTest() { var request = InstantiateClassGenerator.Execute <CreateLogStreamRequest>(); var marshaller = new CreateLogStreamRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <CreateLogStreamRequest>(request, jsonRequest); }
public void SetVisibleToAllUsersMarshallTest() { var request = InstantiateClassGenerator.Execute <SetVisibleToAllUsersRequest>(); var marshaller = new SetVisibleToAllUsersRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <SetVisibleToAllUsersRequest>(request, jsonRequest); }
public void DisassociateAdminAccountMarshallTest() { var request = InstantiateClassGenerator.Execute <DisassociateAdminAccountRequest>(); var marshaller = new DisassociateAdminAccountRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <DisassociateAdminAccountRequest>(request, jsonRequest); }
public void TerminateJobFlowsMarshallTest() { var request = InstantiateClassGenerator.Execute <TerminateJobFlowsRequest>(); var marshaller = new TerminateJobFlowsRequestMarshaller(); var internalRequest = marshaller.Marshall(request); var jsonRequest = UTF8Encoding.UTF8.GetString(internalRequest.Content); Comparer.CompareObjectToJson <TerminateJobFlowsRequest>(request, jsonRequest); }