本文整理汇总了C#中AWSSDK_DotNet35.UnitTests.TestTools.AWSQueryValidator.Validate方法的典型用法代码示例。如果您正苦于以下问题:C# AWSQueryValidator.Validate方法的具体用法?C# AWSQueryValidator.Validate怎么用?C# AWSQueryValidator.Validate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AWSSDK_DotNet35.UnitTests.TestTools.AWSQueryValidator
的用法示例。
在下文中一共展示了AWSQueryValidator.Validate方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CancelUpdateStackMarshallTest
public void CancelUpdateStackMarshallTest()
{
var operation = service_model.FindOperation("CancelUpdateStack");
var request = InstantiateClassGenerator.Execute<CancelUpdateStackRequest>();
var marshaller = new CancelUpdateStackRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例2: ChangeMessageVisibilityMarshallTest
public void ChangeMessageVisibilityMarshallTest()
{
var operation = service_model.FindOperation("ChangeMessageVisibility");
var request = InstantiateClassGenerator.Execute<ChangeMessageVisibilityRequest>();
var marshaller = new ChangeMessageVisibilityRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例3: AddClientIDToOpenIDConnectProviderMarshallTest
public void AddClientIDToOpenIDConnectProviderMarshallTest()
{
var operation = service_model.FindOperation("AddClientIDToOpenIDConnectProvider");
var request = InstantiateClassGenerator.Execute<AddClientIDToOpenIDConnectProviderRequest>();
var marshaller = new AddClientIDToOpenIDConnectProviderRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例4: AddRoleToInstanceProfileMarshallTest
public void AddRoleToInstanceProfileMarshallTest()
{
var operation = service_model.FindOperation("AddRoleToInstanceProfile");
var request = InstantiateClassGenerator.Execute<AddRoleToInstanceProfileRequest>();
var marshaller = new AddRoleToInstanceProfileRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例5: DeleteAlarmsMarshallTest
public void DeleteAlarmsMarshallTest()
{
var operation = service_model.FindOperation("DeleteAlarms");
var request = InstantiateClassGenerator.Execute<DeleteAlarmsRequest>();
var marshaller = new DeleteAlarmsRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例6: AbortEnvironmentUpdateMarshallTest
public void AbortEnvironmentUpdateMarshallTest()
{
var operation = service_model.FindOperation("AbortEnvironmentUpdate");
var request = InstantiateClassGenerator.Execute<AbortEnvironmentUpdateRequest>();
var marshaller = new AbortEnvironmentUpdateRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例7: AllocateAddressMarshallTest
public void AllocateAddressMarshallTest()
{
var operation = service_model.FindOperation("AllocateAddress");
var request = InstantiateClassGenerator.Execute<AllocateAddressRequest>();
var marshaller = new AllocateAddressRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
UnmarshallerContext context = new EC2UnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, new WebResponseData());
var response = AllocateAddressResponseUnmarshaller.Instance.Unmarshall(context)
as AllocateAddressResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
示例8: ContinueUpdateRollbackMarshallTest
public void ContinueUpdateRollbackMarshallTest()
{
var operation = service_model.FindOperation("ContinueUpdateRollback");
var request = InstantiateClassGenerator.Execute<ContinueUpdateRollbackRequest>();
var marshaller = new ContinueUpdateRollbackRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null);
var response = ContinueUpdateRollbackResponseUnmarshaller.Instance.Unmarshall(context)
as ContinueUpdateRollbackResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
示例9: AddSourceIdentifierToSubscriptionMarshallTest
public void AddSourceIdentifierToSubscriptionMarshallTest()
{
var operation = service_model.FindOperation("AddSourceIdentifierToSubscription");
var request = InstantiateClassGenerator.Execute<AddSourceIdentifierToSubscriptionRequest>();
var marshaller = new AddSourceIdentifierToSubscriptionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null);
var response = AddSourceIdentifierToSubscriptionResponseUnmarshaller.Instance.Unmarshall(context)
as AddSourceIdentifierToSubscriptionResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
示例10: AuthorizeClusterSecurityGroupIngressMarshallTest
public void AuthorizeClusterSecurityGroupIngressMarshallTest()
{
var operation = service_model.FindOperation("AuthorizeClusterSecurityGroupIngress");
var request = InstantiateClassGenerator.Execute<AuthorizeClusterSecurityGroupIngressRequest>();
var marshaller = new AuthorizeClusterSecurityGroupIngressRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute();
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), false, null);
var response = AuthorizeClusterSecurityGroupIngressResponseUnmarshaller.Instance.Unmarshall(context)
as AuthorizeClusterSecurityGroupIngressResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
示例11: ReplaceNetworkAclEntryMarshallTest
public void ReplaceNetworkAclEntryMarshallTest()
{
var operation = service_model.FindOperation("ReplaceNetworkAclEntry");
var request = InstantiateClassGenerator.Execute<ReplaceNetworkAclEntryRequest>();
var marshaller = new ReplaceNetworkAclEntryRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例12: ModifyIdentityIdFormatMarshallTest
public void ModifyIdentityIdFormatMarshallTest()
{
var operation = service_model.FindOperation("ModifyIdentityIdFormat");
var request = InstantiateClassGenerator.Execute<ModifyIdentityIdFormatRequest>();
var marshaller = new ModifyIdentityIdFormatRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例13: EnableVolumeIOMarshallTest
public void EnableVolumeIOMarshallTest()
{
var operation = service_model.FindOperation("EnableVolumeIO");
var request = InstantiateClassGenerator.Execute<EnableVolumeIORequest>();
var marshaller = new EnableVolumeIORequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例14: AttachInternetGatewayMarshallTest
public void AttachInternetGatewayMarshallTest()
{
var operation = service_model.FindOperation("AttachInternetGateway");
var request = InstantiateClassGenerator.Execute<AttachInternetGatewayRequest>();
var marshaller = new AttachInternetGatewayRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
示例15: SetPlatformApplicationAttributesMarshallTest
public void SetPlatformApplicationAttributesMarshallTest()
{
var operation = service_model.FindOperation("SetPlatformApplicationAttributes");
var request = InstantiateClassGenerator.Execute<SetPlatformApplicationAttributesRequest>();
var marshaller = new SetPlatformApplicationAttributesRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}