DeletePlatformVersionRequest
Namespace:
AWSSDK.ElasticBeanstalk
We found 10 examples in language CSharp for this search.
You will see 25 fragments of code.
Other methods
Other methods
Project:awssdks
File:DeletePlatformVersionRequestMarshaller.cs
Examples:1
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((DeletePlatformVersionRequest)input);
}
Project:aws-sdk-net
File:DeletePlatformVersionRequestMarshaller.cs
Examples:1
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((DeletePlatformVersionRequest)input);
}
Project:aws-sdk-net-xamarin
File:DeletePlatformVersionRequestMarshaller.cs
Examples:1
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((DeletePlatformVersionRequest)input);
}
Project:aws-sdk-net
File:DeletePlatformVersionRequestMarshaller.cs
Examples:1
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((DeletePlatformVersionRequest)input);
}
Project:myawskendra
File:DeletePlatformVersionRequestMarshaller.cs
Examples:1
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((DeletePlatformVersionRequest)input);
}
Project:aws-sdk-net
File:DeletePlatformVersionRequestMarshaller.cs
Examples:1
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((DeletePlatformVersionRequest)input);
}
Project:aws-sdk-net
File:DeletePlatformVersionRequest.cs
Examples:1
// Check to see if PlatformArn property is set
internal bool IsSetPlatformArn()
{
return this._platformArn != null;
}
Project:aws-sdk-net
File:ElasticBeanstalkMarshallingTests.cs
Examples:6
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
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();
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void AbortEnvironmentUpdate_InsufficientPrivilegesExceptionMarshallTest()
{
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();
var exception = operation.Exceptions.First(e => e.Name.Equals("InsufficientPrivilegesException"));
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception);
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true);
var response = AbortEnvironmentUpdateResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void ApplyEnvironmentManagedActionMarshallTest()
{
var operation = service_model.FindOperation("ApplyEnvironmentManagedAction");
var request = InstantiateClassGenerator.Execute<ApplyEnvironmentManagedActionRequest>();
var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
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 = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance.Unmarshall(context)
as ApplyEnvironmentManagedActionResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void ApplyEnvironmentManagedAction_ElasticBeanstalkServiceExceptionMarshallTest()
{
var operation = service_model.FindOperation("ApplyEnvironmentManagedAction");
var request = InstantiateClassGenerator.Execute<ApplyEnvironmentManagedActionRequest>();
var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var exception = operation.Exceptions.First(e => e.Name.Equals("ElasticBeanstalkServiceException"));
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception);
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true);
var response = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void ApplyEnvironmentManagedAction_ManagedActionInvalidStateExceptionMarshallTest()
{
var operation = service_model.FindOperation("ApplyEnvironmentManagedAction");
var request = InstantiateClassGenerator.Execute<ApplyEnvironmentManagedActionRequest>();
var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var exception = operation.Exceptions.First(e => e.Name.Equals("ManagedActionInvalidStateException"));
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception);
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true);
var response = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void AssociateEnvironmentOperationsRoleMarshallTest()
{
var operation = service_model.FindOperation("AssociateEnvironmentOperationsRole");
var request = InstantiateClassGenerator.Execute<AssociateEnvironmentOperationsRoleRequest>();
var marshaller = new AssociateEnvironmentOperationsRoleRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
Project:awssdks
File:ElasticBeanstalkMarshallingTests.cs
Examples:6
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
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();
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void AbortEnvironmentUpdate_InsufficientPrivilegesExceptionMarshallTest()
{
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();
var exception = operation.Exceptions.First(e => e.Name.Equals("InsufficientPrivilegesException"));
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception);
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true);
var response = AbortEnvironmentUpdateResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void ApplyEnvironmentManagedActionMarshallTest()
{
var operation = service_model.FindOperation("ApplyEnvironmentManagedAction");
var request = InstantiateClassGenerator.Execute<ApplyEnvironmentManagedActionRequest>();
var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
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 = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance.Unmarshall(context)
as ApplyEnvironmentManagedActionResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void ApplyEnvironmentManagedAction_ElasticBeanstalkServiceExceptionMarshallTest()
{
var operation = service_model.FindOperation("ApplyEnvironmentManagedAction");
var request = InstantiateClassGenerator.Execute<ApplyEnvironmentManagedActionRequest>();
var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var exception = operation.Exceptions.First(e => e.Name.Equals("ElasticBeanstalkServiceException"));
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception);
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true);
var response = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void ApplyEnvironmentManagedAction_ManagedActionInvalidStateExceptionMarshallTest()
{
var operation = service_model.FindOperation("ApplyEnvironmentManagedAction");
var request = InstantiateClassGenerator.Execute<ApplyEnvironmentManagedActionRequest>();
var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var exception = operation.Exceptions.First(e => e.Name.Equals("ManagedActionInvalidStateException"));
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception);
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true);
var response = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void AssociateEnvironmentOperationsRoleMarshallTest()
{
var operation = service_model.FindOperation("AssociateEnvironmentOperationsRole");
var request = InstantiateClassGenerator.Execute<AssociateEnvironmentOperationsRoleRequest>();
var marshaller = new AssociateEnvironmentOperationsRoleRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
Project:aws-sdk-net-xamarin
File:ElasticBeanstalkMarshallingTests.cs
Examples:6
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
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();
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void AbortEnvironmentUpdate_InsufficientPrivilegesExceptionMarshallTest()
{
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();
var exception = operation.Exceptions.First(e => e.Name.Equals("InsufficientPrivilegesException"));
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception);
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true);
var response = AbortEnvironmentUpdateResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void ApplyEnvironmentManagedActionMarshallTest()
{
var operation = service_model.FindOperation("ApplyEnvironmentManagedAction");
var request = InstantiateClassGenerator.Execute<ApplyEnvironmentManagedActionRequest>();
var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
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 = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance.Unmarshall(context)
as ApplyEnvironmentManagedActionResponse;
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void ApplyEnvironmentManagedAction_ElasticBeanstalkServiceExceptionMarshallTest()
{
var operation = service_model.FindOperation("ApplyEnvironmentManagedAction");
var request = InstantiateClassGenerator.Execute<ApplyEnvironmentManagedActionRequest>();
var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var exception = operation.Exceptions.First(e => e.Name.Equals("ElasticBeanstalkServiceException"));
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception);
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true);
var response = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void ApplyEnvironmentManagedAction_ManagedActionInvalidStateExceptionMarshallTest()
{
var operation = service_model.FindOperation("ApplyEnvironmentManagedAction");
var request = InstantiateClassGenerator.Execute<ApplyEnvironmentManagedActionRequest>();
var marshaller = new ApplyEnvironmentManagedActionRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
var exception = operation.Exceptions.First(e => e.Name.Equals("ManagedActionInvalidStateException"));
var payloadResponse = new XmlSampleGenerator(service_model, operation).Execute(exception);
var context = new XmlUnmarshallerContext(Utils.CreateStreamFromString(payloadResponse), true, null, true);
var response = ApplyEnvironmentManagedActionResponseUnmarshaller.Instance.UnmarshallException(context, null, System.Net.HttpStatusCode.OK);
InstantiateClassGenerator.ValidateObjectFullyInstantiated(response);
}
[TestMethod]
[TestCategory("UnitTest")]
[TestCategory("Query")]
[TestCategory("ElasticBeanstalk")]
public void AssociateEnvironmentOperationsRoleMarshallTest()
{
var operation = service_model.FindOperation("AssociateEnvironmentOperationsRole");
var request = InstantiateClassGenerator.Execute<AssociateEnvironmentOperationsRoleRequest>();
var marshaller = new AssociateEnvironmentOperationsRoleRequestMarshaller();
var internalRequest = marshaller.Marshall(request);
var validator = new AWSQueryValidator(internalRequest.Parameters, request, service_model, operation);
validator.Validate();
}
Amazon.ElasticBeanstalk.Model.DeletePlatformVersionRequest : IAmazonWebServiceRequest
Constructors :
public DeletePlatformVersionRequest()Methods :
public String get_PlatformArn()public Void set_PlatformArn(String value = )
public Type GetType()
public String ToString()
public Boolean Equals(Object obj = )
public Int32 GetHashCode()