/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the greengrass-2017-06-07.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.Greengrass.Model; using Amazon.Greengrass.Model.Internal.MarshallTransformations; using Amazon.Greengrass.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Greengrass { /// /// Implementation for accessing Greengrass /// /// AWS IoT Greengrass seamlessly extends AWS onto physical devices so they can act locally /// on the data they generate, while still using the cloud for management, analytics, /// and durable storage. AWS IoT Greengrass ensures your devices can respond quickly to /// local events and operate with intermittent connectivity. AWS IoT Greengrass minimizes /// the cost of transmitting data to the cloud by allowing you to author AWS Lambda functions /// that execute locally. /// public partial class AmazonGreengrassClient : AmazonServiceClient, IAmazonGreengrass { private static IServiceMetadata serviceMetadata = new AmazonGreengrassMetadata(); #region Constructors /// /// Constructs AmazonGreengrassClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// public AmazonGreengrassClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonGreengrassConfig()) { } /// /// Constructs AmazonGreengrassClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The region to connect. public AmazonGreengrassClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonGreengrassConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonGreengrassClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// /// <?xml version="1.0" encoding="utf-8" ?> /// <configuration> /// <appSettings> /// <add key="AWSProfileName" value="AWS Default"/> /// </appSettings> /// </configuration> /// /// /// /// The AmazonGreengrassClient Configuration Object public AmazonGreengrassClient(AmazonGreengrassConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonGreengrassClient with AWS Credentials /// /// AWS Credentials public AmazonGreengrassClient(AWSCredentials credentials) : this(credentials, new AmazonGreengrassConfig()) { } /// /// Constructs AmazonGreengrassClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonGreengrassClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonGreengrassConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonGreengrassClient with AWS Credentials and an /// AmazonGreengrassClient Configuration object. /// /// AWS Credentials /// The AmazonGreengrassClient Configuration Object public AmazonGreengrassClient(AWSCredentials credentials, AmazonGreengrassConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonGreengrassClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonGreengrassClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonGreengrassConfig()) { } /// /// Constructs AmazonGreengrassClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonGreengrassClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonGreengrassConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonGreengrassClient with AWS Access Key ID, AWS Secret Key and an /// AmazonGreengrassClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonGreengrassClient Configuration Object public AmazonGreengrassClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonGreengrassConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonGreengrassClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonGreengrassClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonGreengrassConfig()) { } /// /// Constructs AmazonGreengrassClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The region to connect. public AmazonGreengrassClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonGreengrassConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonGreengrassClient with AWS Access Key ID, AWS Secret Key and an /// AmazonGreengrassClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonGreengrassClient Configuration Object public AmazonGreengrassClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonGreengrassConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonGreengrassEndpointResolver()); } /// /// Capture metadata for the service. /// protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// /// Disposes the service client. /// protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region AssociateRoleToGroup /// /// Associates a role with a group. Your Greengrass core will use the role to access AWS /// cloud services. The role's permissions should allow Greengrass core Lambda functions /// to perform actions against the cloud. /// /// Container for the necessary parameters to execute the AssociateRoleToGroup service method. /// /// The response from the AssociateRoleToGroup service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for AssociateRoleToGroup Operation public virtual AssociateRoleToGroupResponse AssociateRoleToGroup(AssociateRoleToGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateRoleToGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateRoleToGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AssociateRoleToGroup operation. /// /// /// Container for the necessary parameters to execute the AssociateRoleToGroup operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateRoleToGroup /// operation. /// REST API Reference for AssociateRoleToGroup Operation public virtual IAsyncResult BeginAssociateRoleToGroup(AssociateRoleToGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateRoleToGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateRoleToGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AssociateRoleToGroup operation. /// /// /// The IAsyncResult returned by the call to BeginAssociateRoleToGroup. /// /// Returns a AssociateRoleToGroupResult from Greengrass. /// REST API Reference for AssociateRoleToGroup Operation public virtual AssociateRoleToGroupResponse EndAssociateRoleToGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region AssociateServiceRoleToAccount /// /// Associates a role with your account. AWS IoT Greengrass will use the role to access /// your Lambda functions and AWS IoT resources. This is necessary for deployments to /// succeed. The role must have at least minimum permissions in the policy ''AWSGreengrassResourceAccessRolePolicy''. /// /// Container for the necessary parameters to execute the AssociateServiceRoleToAccount service method. /// /// The response from the AssociateServiceRoleToAccount service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for AssociateServiceRoleToAccount Operation public virtual AssociateServiceRoleToAccountResponse AssociateServiceRoleToAccount(AssociateServiceRoleToAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateServiceRoleToAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateServiceRoleToAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AssociateServiceRoleToAccount operation. /// /// /// Container for the necessary parameters to execute the AssociateServiceRoleToAccount operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateServiceRoleToAccount /// operation. /// REST API Reference for AssociateServiceRoleToAccount Operation public virtual IAsyncResult BeginAssociateServiceRoleToAccount(AssociateServiceRoleToAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateServiceRoleToAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateServiceRoleToAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AssociateServiceRoleToAccount operation. /// /// /// The IAsyncResult returned by the call to BeginAssociateServiceRoleToAccount. /// /// Returns a AssociateServiceRoleToAccountResult from Greengrass. /// REST API Reference for AssociateServiceRoleToAccount Operation public virtual AssociateServiceRoleToAccountResponse EndAssociateServiceRoleToAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateConnectorDefinition /// /// Creates a connector definition. You may provide the initial version of the connector /// definition now or use ''CreateConnectorDefinitionVersion'' at a later time. /// /// Container for the necessary parameters to execute the CreateConnectorDefinition service method. /// /// The response from the CreateConnectorDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateConnectorDefinition Operation public virtual CreateConnectorDefinitionResponse CreateConnectorDefinition(CreateConnectorDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectorDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectorDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateConnectorDefinition operation. /// /// /// Container for the necessary parameters to execute the CreateConnectorDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConnectorDefinition /// operation. /// REST API Reference for CreateConnectorDefinition Operation public virtual IAsyncResult BeginCreateConnectorDefinition(CreateConnectorDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectorDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectorDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateConnectorDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginCreateConnectorDefinition. /// /// Returns a CreateConnectorDefinitionResult from Greengrass. /// REST API Reference for CreateConnectorDefinition Operation public virtual CreateConnectorDefinitionResponse EndCreateConnectorDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateConnectorDefinitionVersion /// /// Creates a version of a connector definition which has already been defined. /// /// Container for the necessary parameters to execute the CreateConnectorDefinitionVersion service method. /// /// The response from the CreateConnectorDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateConnectorDefinitionVersion Operation public virtual CreateConnectorDefinitionVersionResponse CreateConnectorDefinitionVersion(CreateConnectorDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectorDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectorDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateConnectorDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the CreateConnectorDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateConnectorDefinitionVersion /// operation. /// REST API Reference for CreateConnectorDefinitionVersion Operation public virtual IAsyncResult BeginCreateConnectorDefinitionVersion(CreateConnectorDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateConnectorDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateConnectorDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateConnectorDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateConnectorDefinitionVersion. /// /// Returns a CreateConnectorDefinitionVersionResult from Greengrass. /// REST API Reference for CreateConnectorDefinitionVersion Operation public virtual CreateConnectorDefinitionVersionResponse EndCreateConnectorDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCoreDefinition /// /// Creates a core definition. You may provide the initial version of the core definition /// now or use ''CreateCoreDefinitionVersion'' at a later time. Greengrass groups must /// each contain exactly one Greengrass core. /// /// Container for the necessary parameters to execute the CreateCoreDefinition service method. /// /// The response from the CreateCoreDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateCoreDefinition Operation public virtual CreateCoreDefinitionResponse CreateCoreDefinition(CreateCoreDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoreDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoreDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCoreDefinition operation. /// /// /// Container for the necessary parameters to execute the CreateCoreDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCoreDefinition /// operation. /// REST API Reference for CreateCoreDefinition Operation public virtual IAsyncResult BeginCreateCoreDefinition(CreateCoreDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoreDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoreDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCoreDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCoreDefinition. /// /// Returns a CreateCoreDefinitionResult from Greengrass. /// REST API Reference for CreateCoreDefinition Operation public virtual CreateCoreDefinitionResponse EndCreateCoreDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCoreDefinitionVersion /// /// Creates a version of a core definition that has already been defined. Greengrass groups /// must each contain exactly one Greengrass core. /// /// Container for the necessary parameters to execute the CreateCoreDefinitionVersion service method. /// /// The response from the CreateCoreDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateCoreDefinitionVersion Operation public virtual CreateCoreDefinitionVersionResponse CreateCoreDefinitionVersion(CreateCoreDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoreDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoreDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCoreDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the CreateCoreDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCoreDefinitionVersion /// operation. /// REST API Reference for CreateCoreDefinitionVersion Operation public virtual IAsyncResult BeginCreateCoreDefinitionVersion(CreateCoreDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCoreDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCoreDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCoreDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCoreDefinitionVersion. /// /// Returns a CreateCoreDefinitionVersionResult from Greengrass. /// REST API Reference for CreateCoreDefinitionVersion Operation public virtual CreateCoreDefinitionVersionResponse EndCreateCoreDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDeployment /// /// Creates a deployment. ''CreateDeployment'' requests are idempotent with respect to /// the ''X-Amzn-Client-Token'' token and the request parameters. /// /// Container for the necessary parameters to execute the CreateDeployment service method. /// /// The response from the CreateDeployment service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateDeployment Operation public virtual CreateDeploymentResponse CreateDeployment(CreateDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDeployment operation. /// /// /// Container for the necessary parameters to execute the CreateDeployment operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDeployment /// operation. /// REST API Reference for CreateDeployment Operation public virtual IAsyncResult BeginCreateDeployment(CreateDeploymentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeploymentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDeployment operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDeployment. /// /// Returns a CreateDeploymentResult from Greengrass. /// REST API Reference for CreateDeployment Operation public virtual CreateDeploymentResponse EndCreateDeployment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDeviceDefinition /// /// Creates a device definition. You may provide the initial version of the device definition /// now or use ''CreateDeviceDefinitionVersion'' at a later time. /// /// Container for the necessary parameters to execute the CreateDeviceDefinition service method. /// /// The response from the CreateDeviceDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateDeviceDefinition Operation public virtual CreateDeviceDefinitionResponse CreateDeviceDefinition(CreateDeviceDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeviceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeviceDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDeviceDefinition operation. /// /// /// Container for the necessary parameters to execute the CreateDeviceDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDeviceDefinition /// operation. /// REST API Reference for CreateDeviceDefinition Operation public virtual IAsyncResult BeginCreateDeviceDefinition(CreateDeviceDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeviceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeviceDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDeviceDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDeviceDefinition. /// /// Returns a CreateDeviceDefinitionResult from Greengrass. /// REST API Reference for CreateDeviceDefinition Operation public virtual CreateDeviceDefinitionResponse EndCreateDeviceDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDeviceDefinitionVersion /// /// Creates a version of a device definition that has already been defined. /// /// Container for the necessary parameters to execute the CreateDeviceDefinitionVersion service method. /// /// The response from the CreateDeviceDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateDeviceDefinitionVersion Operation public virtual CreateDeviceDefinitionVersionResponse CreateDeviceDefinitionVersion(CreateDeviceDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeviceDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeviceDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDeviceDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the CreateDeviceDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDeviceDefinitionVersion /// operation. /// REST API Reference for CreateDeviceDefinitionVersion Operation public virtual IAsyncResult BeginCreateDeviceDefinitionVersion(CreateDeviceDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDeviceDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDeviceDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDeviceDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDeviceDefinitionVersion. /// /// Returns a CreateDeviceDefinitionVersionResult from Greengrass. /// REST API Reference for CreateDeviceDefinitionVersion Operation public virtual CreateDeviceDefinitionVersionResponse EndCreateDeviceDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateFunctionDefinition /// /// Creates a Lambda function definition which contains a list of Lambda functions and /// their configurations to be used in a group. You can create an initial version of the /// definition by providing a list of Lambda functions and their configurations now, or /// use ''CreateFunctionDefinitionVersion'' later. /// /// Container for the necessary parameters to execute the CreateFunctionDefinition service method. /// /// The response from the CreateFunctionDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateFunctionDefinition Operation public virtual CreateFunctionDefinitionResponse CreateFunctionDefinition(CreateFunctionDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFunctionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFunctionDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateFunctionDefinition operation. /// /// /// Container for the necessary parameters to execute the CreateFunctionDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFunctionDefinition /// operation. /// REST API Reference for CreateFunctionDefinition Operation public virtual IAsyncResult BeginCreateFunctionDefinition(CreateFunctionDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFunctionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFunctionDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateFunctionDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginCreateFunctionDefinition. /// /// Returns a CreateFunctionDefinitionResult from Greengrass. /// REST API Reference for CreateFunctionDefinition Operation public virtual CreateFunctionDefinitionResponse EndCreateFunctionDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateFunctionDefinitionVersion /// /// Creates a version of a Lambda function definition that has already been defined. /// /// Container for the necessary parameters to execute the CreateFunctionDefinitionVersion service method. /// /// The response from the CreateFunctionDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateFunctionDefinitionVersion Operation public virtual CreateFunctionDefinitionVersionResponse CreateFunctionDefinitionVersion(CreateFunctionDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFunctionDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFunctionDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateFunctionDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the CreateFunctionDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFunctionDefinitionVersion /// operation. /// REST API Reference for CreateFunctionDefinitionVersion Operation public virtual IAsyncResult BeginCreateFunctionDefinitionVersion(CreateFunctionDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFunctionDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFunctionDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateFunctionDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateFunctionDefinitionVersion. /// /// Returns a CreateFunctionDefinitionVersionResult from Greengrass. /// REST API Reference for CreateFunctionDefinitionVersion Operation public virtual CreateFunctionDefinitionVersionResponse EndCreateFunctionDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateGroup /// /// Creates a group. You may provide the initial version of the group or use ''CreateGroupVersion'' /// at a later time. Tip: You can use the ''gg_group_setup'' package (https://github.com/awslabs/aws-greengrass-group-setup) /// as a library or command-line application to create and deploy Greengrass groups. /// /// Container for the necessary parameters to execute the CreateGroup service method. /// /// The response from the CreateGroup service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateGroup Operation public virtual CreateGroupResponse CreateGroup(CreateGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateGroup operation. /// /// /// Container for the necessary parameters to execute the CreateGroup operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateGroup /// operation. /// REST API Reference for CreateGroup Operation public virtual IAsyncResult BeginCreateGroup(CreateGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateGroup. /// /// Returns a CreateGroupResult from Greengrass. /// REST API Reference for CreateGroup Operation public virtual CreateGroupResponse EndCreateGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateGroupCertificateAuthority /// /// Creates a CA for the group. If a CA already exists, it will rotate the existing CA. /// /// Container for the necessary parameters to execute the CreateGroupCertificateAuthority service method. /// /// The response from the CreateGroupCertificateAuthority service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for CreateGroupCertificateAuthority Operation public virtual CreateGroupCertificateAuthorityResponse CreateGroupCertificateAuthority(CreateGroupCertificateAuthorityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupCertificateAuthorityRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupCertificateAuthorityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateGroupCertificateAuthority operation. /// /// /// Container for the necessary parameters to execute the CreateGroupCertificateAuthority operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateGroupCertificateAuthority /// operation. /// REST API Reference for CreateGroupCertificateAuthority Operation public virtual IAsyncResult BeginCreateGroupCertificateAuthority(CreateGroupCertificateAuthorityRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupCertificateAuthorityRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupCertificateAuthorityResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateGroupCertificateAuthority operation. /// /// /// The IAsyncResult returned by the call to BeginCreateGroupCertificateAuthority. /// /// Returns a CreateGroupCertificateAuthorityResult from Greengrass. /// REST API Reference for CreateGroupCertificateAuthority Operation public virtual CreateGroupCertificateAuthorityResponse EndCreateGroupCertificateAuthority(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateGroupVersion /// /// Creates a version of a group which has already been defined. /// /// Container for the necessary parameters to execute the CreateGroupVersion service method. /// /// The response from the CreateGroupVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateGroupVersion Operation public virtual CreateGroupVersionResponse CreateGroupVersion(CreateGroupVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateGroupVersion operation. /// /// /// Container for the necessary parameters to execute the CreateGroupVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateGroupVersion /// operation. /// REST API Reference for CreateGroupVersion Operation public virtual IAsyncResult BeginCreateGroupVersion(CreateGroupVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGroupVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGroupVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateGroupVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateGroupVersion. /// /// Returns a CreateGroupVersionResult from Greengrass. /// REST API Reference for CreateGroupVersion Operation public virtual CreateGroupVersionResponse EndCreateGroupVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateLoggerDefinition /// /// Creates a logger definition. You may provide the initial version of the logger definition /// now or use ''CreateLoggerDefinitionVersion'' at a later time. /// /// Container for the necessary parameters to execute the CreateLoggerDefinition service method. /// /// The response from the CreateLoggerDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateLoggerDefinition Operation public virtual CreateLoggerDefinitionResponse CreateLoggerDefinition(CreateLoggerDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLoggerDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLoggerDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateLoggerDefinition operation. /// /// /// Container for the necessary parameters to execute the CreateLoggerDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateLoggerDefinition /// operation. /// REST API Reference for CreateLoggerDefinition Operation public virtual IAsyncResult BeginCreateLoggerDefinition(CreateLoggerDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLoggerDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLoggerDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateLoggerDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginCreateLoggerDefinition. /// /// Returns a CreateLoggerDefinitionResult from Greengrass. /// REST API Reference for CreateLoggerDefinition Operation public virtual CreateLoggerDefinitionResponse EndCreateLoggerDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateLoggerDefinitionVersion /// /// Creates a version of a logger definition that has already been defined. /// /// Container for the necessary parameters to execute the CreateLoggerDefinitionVersion service method. /// /// The response from the CreateLoggerDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateLoggerDefinitionVersion Operation public virtual CreateLoggerDefinitionVersionResponse CreateLoggerDefinitionVersion(CreateLoggerDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLoggerDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLoggerDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateLoggerDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the CreateLoggerDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateLoggerDefinitionVersion /// operation. /// REST API Reference for CreateLoggerDefinitionVersion Operation public virtual IAsyncResult BeginCreateLoggerDefinitionVersion(CreateLoggerDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLoggerDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLoggerDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateLoggerDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateLoggerDefinitionVersion. /// /// Returns a CreateLoggerDefinitionVersionResult from Greengrass. /// REST API Reference for CreateLoggerDefinitionVersion Operation public virtual CreateLoggerDefinitionVersionResponse EndCreateLoggerDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateResourceDefinition /// /// Creates a resource definition which contains a list of resources to be used in a group. /// You can create an initial version of the definition by providing a list of resources /// now, or use ''CreateResourceDefinitionVersion'' later. /// /// Container for the necessary parameters to execute the CreateResourceDefinition service method. /// /// The response from the CreateResourceDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateResourceDefinition Operation public virtual CreateResourceDefinitionResponse CreateResourceDefinition(CreateResourceDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourceDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateResourceDefinition operation. /// /// /// Container for the necessary parameters to execute the CreateResourceDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateResourceDefinition /// operation. /// REST API Reference for CreateResourceDefinition Operation public virtual IAsyncResult BeginCreateResourceDefinition(CreateResourceDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourceDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateResourceDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginCreateResourceDefinition. /// /// Returns a CreateResourceDefinitionResult from Greengrass. /// REST API Reference for CreateResourceDefinition Operation public virtual CreateResourceDefinitionResponse EndCreateResourceDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateResourceDefinitionVersion /// /// Creates a version of a resource definition that has already been defined. /// /// Container for the necessary parameters to execute the CreateResourceDefinitionVersion service method. /// /// The response from the CreateResourceDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateResourceDefinitionVersion Operation public virtual CreateResourceDefinitionVersionResponse CreateResourceDefinitionVersion(CreateResourceDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourceDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourceDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateResourceDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the CreateResourceDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateResourceDefinitionVersion /// operation. /// REST API Reference for CreateResourceDefinitionVersion Operation public virtual IAsyncResult BeginCreateResourceDefinitionVersion(CreateResourceDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateResourceDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateResourceDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateResourceDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateResourceDefinitionVersion. /// /// Returns a CreateResourceDefinitionVersionResult from Greengrass. /// REST API Reference for CreateResourceDefinitionVersion Operation public virtual CreateResourceDefinitionVersionResponse EndCreateResourceDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSoftwareUpdateJob /// /// Creates a software update for a core or group of cores (specified as an IoT thing /// group.) Use this to update the OTA Agent as well as the Greengrass core software. /// It makes use of the IoT Jobs feature which provides additional commands to manage /// a Greengrass core software update job. /// /// Container for the necessary parameters to execute the CreateSoftwareUpdateJob service method. /// /// The response from the CreateSoftwareUpdateJob service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for CreateSoftwareUpdateJob Operation public virtual CreateSoftwareUpdateJobResponse CreateSoftwareUpdateJob(CreateSoftwareUpdateJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSoftwareUpdateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSoftwareUpdateJobResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSoftwareUpdateJob operation. /// /// /// Container for the necessary parameters to execute the CreateSoftwareUpdateJob operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSoftwareUpdateJob /// operation. /// REST API Reference for CreateSoftwareUpdateJob Operation public virtual IAsyncResult BeginCreateSoftwareUpdateJob(CreateSoftwareUpdateJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSoftwareUpdateJobRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSoftwareUpdateJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSoftwareUpdateJob operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSoftwareUpdateJob. /// /// Returns a CreateSoftwareUpdateJobResult from Greengrass. /// REST API Reference for CreateSoftwareUpdateJob Operation public virtual CreateSoftwareUpdateJobResponse EndCreateSoftwareUpdateJob(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSubscriptionDefinition /// /// Creates a subscription definition. You may provide the initial version of the subscription /// definition now or use ''CreateSubscriptionDefinitionVersion'' at a later time. /// /// Container for the necessary parameters to execute the CreateSubscriptionDefinition service method. /// /// The response from the CreateSubscriptionDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateSubscriptionDefinition Operation public virtual CreateSubscriptionDefinitionResponse CreateSubscriptionDefinition(CreateSubscriptionDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubscriptionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubscriptionDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSubscriptionDefinition operation. /// /// /// Container for the necessary parameters to execute the CreateSubscriptionDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSubscriptionDefinition /// operation. /// REST API Reference for CreateSubscriptionDefinition Operation public virtual IAsyncResult BeginCreateSubscriptionDefinition(CreateSubscriptionDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubscriptionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubscriptionDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSubscriptionDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSubscriptionDefinition. /// /// Returns a CreateSubscriptionDefinitionResult from Greengrass. /// REST API Reference for CreateSubscriptionDefinition Operation public virtual CreateSubscriptionDefinitionResponse EndCreateSubscriptionDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSubscriptionDefinitionVersion /// /// Creates a version of a subscription definition which has already been defined. /// /// Container for the necessary parameters to execute the CreateSubscriptionDefinitionVersion service method. /// /// The response from the CreateSubscriptionDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for CreateSubscriptionDefinitionVersion Operation public virtual CreateSubscriptionDefinitionVersionResponse CreateSubscriptionDefinitionVersion(CreateSubscriptionDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubscriptionDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubscriptionDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSubscriptionDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the CreateSubscriptionDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSubscriptionDefinitionVersion /// operation. /// REST API Reference for CreateSubscriptionDefinitionVersion Operation public virtual IAsyncResult BeginCreateSubscriptionDefinitionVersion(CreateSubscriptionDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSubscriptionDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSubscriptionDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSubscriptionDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSubscriptionDefinitionVersion. /// /// Returns a CreateSubscriptionDefinitionVersionResult from Greengrass. /// REST API Reference for CreateSubscriptionDefinitionVersion Operation public virtual CreateSubscriptionDefinitionVersionResponse EndCreateSubscriptionDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteConnectorDefinition /// /// Deletes a connector definition. /// /// Container for the necessary parameters to execute the DeleteConnectorDefinition service method. /// /// The response from the DeleteConnectorDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for DeleteConnectorDefinition Operation public virtual DeleteConnectorDefinitionResponse DeleteConnectorDefinition(DeleteConnectorDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectorDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectorDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteConnectorDefinition operation. /// /// /// Container for the necessary parameters to execute the DeleteConnectorDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteConnectorDefinition /// operation. /// REST API Reference for DeleteConnectorDefinition Operation public virtual IAsyncResult BeginDeleteConnectorDefinition(DeleteConnectorDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteConnectorDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteConnectorDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteConnectorDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteConnectorDefinition. /// /// Returns a DeleteConnectorDefinitionResult from Greengrass. /// REST API Reference for DeleteConnectorDefinition Operation public virtual DeleteConnectorDefinitionResponse EndDeleteConnectorDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteCoreDefinition /// /// Deletes a core definition. /// /// Container for the necessary parameters to execute the DeleteCoreDefinition service method. /// /// The response from the DeleteCoreDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for DeleteCoreDefinition Operation public virtual DeleteCoreDefinitionResponse DeleteCoreDefinition(DeleteCoreDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoreDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoreDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteCoreDefinition operation. /// /// /// Container for the necessary parameters to execute the DeleteCoreDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteCoreDefinition /// operation. /// REST API Reference for DeleteCoreDefinition Operation public virtual IAsyncResult BeginDeleteCoreDefinition(DeleteCoreDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteCoreDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteCoreDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteCoreDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteCoreDefinition. /// /// Returns a DeleteCoreDefinitionResult from Greengrass. /// REST API Reference for DeleteCoreDefinition Operation public virtual DeleteCoreDefinitionResponse EndDeleteCoreDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDeviceDefinition /// /// Deletes a device definition. /// /// Container for the necessary parameters to execute the DeleteDeviceDefinition service method. /// /// The response from the DeleteDeviceDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for DeleteDeviceDefinition Operation public virtual DeleteDeviceDefinitionResponse DeleteDeviceDefinition(DeleteDeviceDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeviceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeviceDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDeviceDefinition operation. /// /// /// Container for the necessary parameters to execute the DeleteDeviceDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDeviceDefinition /// operation. /// REST API Reference for DeleteDeviceDefinition Operation public virtual IAsyncResult BeginDeleteDeviceDefinition(DeleteDeviceDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDeviceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDeviceDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDeviceDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDeviceDefinition. /// /// Returns a DeleteDeviceDefinitionResult from Greengrass. /// REST API Reference for DeleteDeviceDefinition Operation public virtual DeleteDeviceDefinitionResponse EndDeleteDeviceDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteFunctionDefinition /// /// Deletes a Lambda function definition. /// /// Container for the necessary parameters to execute the DeleteFunctionDefinition service method. /// /// The response from the DeleteFunctionDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for DeleteFunctionDefinition Operation public virtual DeleteFunctionDefinitionResponse DeleteFunctionDefinition(DeleteFunctionDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFunctionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFunctionDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteFunctionDefinition operation. /// /// /// Container for the necessary parameters to execute the DeleteFunctionDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFunctionDefinition /// operation. /// REST API Reference for DeleteFunctionDefinition Operation public virtual IAsyncResult BeginDeleteFunctionDefinition(DeleteFunctionDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteFunctionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteFunctionDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteFunctionDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteFunctionDefinition. /// /// Returns a DeleteFunctionDefinitionResult from Greengrass. /// REST API Reference for DeleteFunctionDefinition Operation public virtual DeleteFunctionDefinitionResponse EndDeleteFunctionDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteGroup /// /// Deletes a group. /// /// Container for the necessary parameters to execute the DeleteGroup service method. /// /// The response from the DeleteGroup service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for DeleteGroup Operation public virtual DeleteGroupResponse DeleteGroup(DeleteGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteGroup operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteGroup /// operation. /// REST API Reference for DeleteGroup Operation public virtual IAsyncResult BeginDeleteGroup(DeleteGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteGroup. /// /// Returns a DeleteGroupResult from Greengrass. /// REST API Reference for DeleteGroup Operation public virtual DeleteGroupResponse EndDeleteGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteLoggerDefinition /// /// Deletes a logger definition. /// /// Container for the necessary parameters to execute the DeleteLoggerDefinition service method. /// /// The response from the DeleteLoggerDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for DeleteLoggerDefinition Operation public virtual DeleteLoggerDefinitionResponse DeleteLoggerDefinition(DeleteLoggerDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLoggerDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLoggerDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteLoggerDefinition operation. /// /// /// Container for the necessary parameters to execute the DeleteLoggerDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteLoggerDefinition /// operation. /// REST API Reference for DeleteLoggerDefinition Operation public virtual IAsyncResult BeginDeleteLoggerDefinition(DeleteLoggerDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLoggerDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLoggerDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteLoggerDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteLoggerDefinition. /// /// Returns a DeleteLoggerDefinitionResult from Greengrass. /// REST API Reference for DeleteLoggerDefinition Operation public virtual DeleteLoggerDefinitionResponse EndDeleteLoggerDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteResourceDefinition /// /// Deletes a resource definition. /// /// Container for the necessary parameters to execute the DeleteResourceDefinition service method. /// /// The response from the DeleteResourceDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for DeleteResourceDefinition Operation public virtual DeleteResourceDefinitionResponse DeleteResourceDefinition(DeleteResourceDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourceDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteResourceDefinition operation. /// /// /// Container for the necessary parameters to execute the DeleteResourceDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteResourceDefinition /// operation. /// REST API Reference for DeleteResourceDefinition Operation public virtual IAsyncResult BeginDeleteResourceDefinition(DeleteResourceDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteResourceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteResourceDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteResourceDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteResourceDefinition. /// /// Returns a DeleteResourceDefinitionResult from Greengrass. /// REST API Reference for DeleteResourceDefinition Operation public virtual DeleteResourceDefinitionResponse EndDeleteResourceDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSubscriptionDefinition /// /// Deletes a subscription definition. /// /// Container for the necessary parameters to execute the DeleteSubscriptionDefinition service method. /// /// The response from the DeleteSubscriptionDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for DeleteSubscriptionDefinition Operation public virtual DeleteSubscriptionDefinitionResponse DeleteSubscriptionDefinition(DeleteSubscriptionDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSubscriptionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSubscriptionDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSubscriptionDefinition operation. /// /// /// Container for the necessary parameters to execute the DeleteSubscriptionDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSubscriptionDefinition /// operation. /// REST API Reference for DeleteSubscriptionDefinition Operation public virtual IAsyncResult BeginDeleteSubscriptionDefinition(DeleteSubscriptionDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSubscriptionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSubscriptionDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSubscriptionDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSubscriptionDefinition. /// /// Returns a DeleteSubscriptionDefinitionResult from Greengrass. /// REST API Reference for DeleteSubscriptionDefinition Operation public virtual DeleteSubscriptionDefinitionResponse EndDeleteSubscriptionDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisassociateRoleFromGroup /// /// Disassociates the role from a group. /// /// Container for the necessary parameters to execute the DisassociateRoleFromGroup service method. /// /// The response from the DisassociateRoleFromGroup service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for DisassociateRoleFromGroup Operation public virtual DisassociateRoleFromGroupResponse DisassociateRoleFromGroup(DisassociateRoleFromGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRoleFromGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRoleFromGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisassociateRoleFromGroup operation. /// /// /// Container for the necessary parameters to execute the DisassociateRoleFromGroup operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateRoleFromGroup /// operation. /// REST API Reference for DisassociateRoleFromGroup Operation public virtual IAsyncResult BeginDisassociateRoleFromGroup(DisassociateRoleFromGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRoleFromGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRoleFromGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisassociateRoleFromGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateRoleFromGroup. /// /// Returns a DisassociateRoleFromGroupResult from Greengrass. /// REST API Reference for DisassociateRoleFromGroup Operation public virtual DisassociateRoleFromGroupResponse EndDisassociateRoleFromGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisassociateServiceRoleFromAccount /// /// Disassociates the service role from your account. Without a service role, deployments /// will not work. /// /// Container for the necessary parameters to execute the DisassociateServiceRoleFromAccount service method. /// /// The response from the DisassociateServiceRoleFromAccount service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for DisassociateServiceRoleFromAccount Operation public virtual DisassociateServiceRoleFromAccountResponse DisassociateServiceRoleFromAccount(DisassociateServiceRoleFromAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateServiceRoleFromAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateServiceRoleFromAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisassociateServiceRoleFromAccount operation. /// /// /// Container for the necessary parameters to execute the DisassociateServiceRoleFromAccount operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateServiceRoleFromAccount /// operation. /// REST API Reference for DisassociateServiceRoleFromAccount Operation public virtual IAsyncResult BeginDisassociateServiceRoleFromAccount(DisassociateServiceRoleFromAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateServiceRoleFromAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateServiceRoleFromAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisassociateServiceRoleFromAccount operation. /// /// /// The IAsyncResult returned by the call to BeginDisassociateServiceRoleFromAccount. /// /// Returns a DisassociateServiceRoleFromAccountResult from Greengrass. /// REST API Reference for DisassociateServiceRoleFromAccount Operation public virtual DisassociateServiceRoleFromAccountResponse EndDisassociateServiceRoleFromAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetAssociatedRole /// /// Retrieves the role associated with a particular group. /// /// Container for the necessary parameters to execute the GetAssociatedRole service method. /// /// The response from the GetAssociatedRole service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for GetAssociatedRole Operation public virtual GetAssociatedRoleResponse GetAssociatedRole(GetAssociatedRoleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssociatedRoleRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssociatedRoleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetAssociatedRole operation. /// /// /// Container for the necessary parameters to execute the GetAssociatedRole operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAssociatedRole /// operation. /// REST API Reference for GetAssociatedRole Operation public virtual IAsyncResult BeginGetAssociatedRole(GetAssociatedRoleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAssociatedRoleRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAssociatedRoleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAssociatedRole operation. /// /// /// The IAsyncResult returned by the call to BeginGetAssociatedRole. /// /// Returns a GetAssociatedRoleResult from Greengrass. /// REST API Reference for GetAssociatedRole Operation public virtual GetAssociatedRoleResponse EndGetAssociatedRole(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetBulkDeploymentStatus /// /// Returns the status of a bulk deployment. /// /// Container for the necessary parameters to execute the GetBulkDeploymentStatus service method. /// /// The response from the GetBulkDeploymentStatus service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetBulkDeploymentStatus Operation public virtual GetBulkDeploymentStatusResponse GetBulkDeploymentStatus(GetBulkDeploymentStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBulkDeploymentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBulkDeploymentStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetBulkDeploymentStatus operation. /// /// /// Container for the necessary parameters to execute the GetBulkDeploymentStatus operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetBulkDeploymentStatus /// operation. /// REST API Reference for GetBulkDeploymentStatus Operation public virtual IAsyncResult BeginGetBulkDeploymentStatus(GetBulkDeploymentStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBulkDeploymentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBulkDeploymentStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetBulkDeploymentStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetBulkDeploymentStatus. /// /// Returns a GetBulkDeploymentStatusResult from Greengrass. /// REST API Reference for GetBulkDeploymentStatus Operation public virtual GetBulkDeploymentStatusResponse EndGetBulkDeploymentStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetConnectivityInfo /// /// Retrieves the connectivity information for a core. /// /// Container for the necessary parameters to execute the GetConnectivityInfo service method. /// /// The response from the GetConnectivityInfo service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for GetConnectivityInfo Operation public virtual GetConnectivityInfoResponse GetConnectivityInfo(GetConnectivityInfoRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectivityInfoRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectivityInfoResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetConnectivityInfo operation. /// /// /// Container for the necessary parameters to execute the GetConnectivityInfo operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConnectivityInfo /// operation. /// REST API Reference for GetConnectivityInfo Operation public virtual IAsyncResult BeginGetConnectivityInfo(GetConnectivityInfoRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectivityInfoRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectivityInfoResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetConnectivityInfo operation. /// /// /// The IAsyncResult returned by the call to BeginGetConnectivityInfo. /// /// Returns a GetConnectivityInfoResult from Greengrass. /// REST API Reference for GetConnectivityInfo Operation public virtual GetConnectivityInfoResponse EndGetConnectivityInfo(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetConnectorDefinition /// /// Retrieves information about a connector definition. /// /// Container for the necessary parameters to execute the GetConnectorDefinition service method. /// /// The response from the GetConnectorDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetConnectorDefinition Operation public virtual GetConnectorDefinitionResponse GetConnectorDefinition(GetConnectorDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectorDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectorDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetConnectorDefinition operation. /// /// /// Container for the necessary parameters to execute the GetConnectorDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConnectorDefinition /// operation. /// REST API Reference for GetConnectorDefinition Operation public virtual IAsyncResult BeginGetConnectorDefinition(GetConnectorDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectorDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectorDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetConnectorDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginGetConnectorDefinition. /// /// Returns a GetConnectorDefinitionResult from Greengrass. /// REST API Reference for GetConnectorDefinition Operation public virtual GetConnectorDefinitionResponse EndGetConnectorDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetConnectorDefinitionVersion /// /// Retrieves information about a connector definition version, including the connectors /// that the version contains. Connectors are prebuilt modules that interact with local /// infrastructure, device protocols, AWS, and other cloud services. /// /// Container for the necessary parameters to execute the GetConnectorDefinitionVersion service method. /// /// The response from the GetConnectorDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetConnectorDefinitionVersion Operation public virtual GetConnectorDefinitionVersionResponse GetConnectorDefinitionVersion(GetConnectorDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectorDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectorDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetConnectorDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the GetConnectorDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConnectorDefinitionVersion /// operation. /// REST API Reference for GetConnectorDefinitionVersion Operation public virtual IAsyncResult BeginGetConnectorDefinitionVersion(GetConnectorDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetConnectorDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetConnectorDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetConnectorDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetConnectorDefinitionVersion. /// /// Returns a GetConnectorDefinitionVersionResult from Greengrass. /// REST API Reference for GetConnectorDefinitionVersion Operation public virtual GetConnectorDefinitionVersionResponse EndGetConnectorDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCoreDefinition /// /// Retrieves information about a core definition version. /// /// Container for the necessary parameters to execute the GetCoreDefinition service method. /// /// The response from the GetCoreDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetCoreDefinition Operation public virtual GetCoreDefinitionResponse GetCoreDefinition(GetCoreDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCoreDefinition operation. /// /// /// Container for the necessary parameters to execute the GetCoreDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCoreDefinition /// operation. /// REST API Reference for GetCoreDefinition Operation public virtual IAsyncResult BeginGetCoreDefinition(GetCoreDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCoreDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginGetCoreDefinition. /// /// Returns a GetCoreDefinitionResult from Greengrass. /// REST API Reference for GetCoreDefinition Operation public virtual GetCoreDefinitionResponse EndGetCoreDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCoreDefinitionVersion /// /// Retrieves information about a core definition version. /// /// Container for the necessary parameters to execute the GetCoreDefinitionVersion service method. /// /// The response from the GetCoreDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetCoreDefinitionVersion Operation public virtual GetCoreDefinitionVersionResponse GetCoreDefinitionVersion(GetCoreDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCoreDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the GetCoreDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCoreDefinitionVersion /// operation. /// REST API Reference for GetCoreDefinitionVersion Operation public virtual IAsyncResult BeginGetCoreDefinitionVersion(GetCoreDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCoreDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCoreDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCoreDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetCoreDefinitionVersion. /// /// Returns a GetCoreDefinitionVersionResult from Greengrass. /// REST API Reference for GetCoreDefinitionVersion Operation public virtual GetCoreDefinitionVersionResponse EndGetCoreDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDeploymentStatus /// /// Returns the status of a deployment. /// /// Container for the necessary parameters to execute the GetDeploymentStatus service method. /// /// The response from the GetDeploymentStatus service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetDeploymentStatus Operation public virtual GetDeploymentStatusResponse GetDeploymentStatus(GetDeploymentStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDeploymentStatus operation. /// /// /// Container for the necessary parameters to execute the GetDeploymentStatus operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeploymentStatus /// operation. /// REST API Reference for GetDeploymentStatus Operation public virtual IAsyncResult BeginGetDeploymentStatus(GetDeploymentStatusRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeploymentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeploymentStatusResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDeploymentStatus operation. /// /// /// The IAsyncResult returned by the call to BeginGetDeploymentStatus. /// /// Returns a GetDeploymentStatusResult from Greengrass. /// REST API Reference for GetDeploymentStatus Operation public virtual GetDeploymentStatusResponse EndGetDeploymentStatus(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDeviceDefinition /// /// Retrieves information about a device definition. /// /// Container for the necessary parameters to execute the GetDeviceDefinition service method. /// /// The response from the GetDeviceDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetDeviceDefinition Operation public virtual GetDeviceDefinitionResponse GetDeviceDefinition(GetDeviceDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeviceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeviceDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDeviceDefinition operation. /// /// /// Container for the necessary parameters to execute the GetDeviceDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeviceDefinition /// operation. /// REST API Reference for GetDeviceDefinition Operation public virtual IAsyncResult BeginGetDeviceDefinition(GetDeviceDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeviceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeviceDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDeviceDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginGetDeviceDefinition. /// /// Returns a GetDeviceDefinitionResult from Greengrass. /// REST API Reference for GetDeviceDefinition Operation public virtual GetDeviceDefinitionResponse EndGetDeviceDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDeviceDefinitionVersion /// /// Retrieves information about a device definition version. /// /// Container for the necessary parameters to execute the GetDeviceDefinitionVersion service method. /// /// The response from the GetDeviceDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetDeviceDefinitionVersion Operation public virtual GetDeviceDefinitionVersionResponse GetDeviceDefinitionVersion(GetDeviceDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeviceDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeviceDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDeviceDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the GetDeviceDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDeviceDefinitionVersion /// operation. /// REST API Reference for GetDeviceDefinitionVersion Operation public virtual IAsyncResult BeginGetDeviceDefinitionVersion(GetDeviceDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDeviceDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDeviceDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDeviceDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetDeviceDefinitionVersion. /// /// Returns a GetDeviceDefinitionVersionResult from Greengrass. /// REST API Reference for GetDeviceDefinitionVersion Operation public virtual GetDeviceDefinitionVersionResponse EndGetDeviceDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetFunctionDefinition /// /// Retrieves information about a Lambda function definition, including its creation time /// and latest version. /// /// Container for the necessary parameters to execute the GetFunctionDefinition service method. /// /// The response from the GetFunctionDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetFunctionDefinition Operation public virtual GetFunctionDefinitionResponse GetFunctionDefinition(GetFunctionDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFunctionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFunctionDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetFunctionDefinition operation. /// /// /// Container for the necessary parameters to execute the GetFunctionDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFunctionDefinition /// operation. /// REST API Reference for GetFunctionDefinition Operation public virtual IAsyncResult BeginGetFunctionDefinition(GetFunctionDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFunctionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFunctionDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetFunctionDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginGetFunctionDefinition. /// /// Returns a GetFunctionDefinitionResult from Greengrass. /// REST API Reference for GetFunctionDefinition Operation public virtual GetFunctionDefinitionResponse EndGetFunctionDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetFunctionDefinitionVersion /// /// Retrieves information about a Lambda function definition version, including which /// Lambda functions are included in the version and their configurations. /// /// Container for the necessary parameters to execute the GetFunctionDefinitionVersion service method. /// /// The response from the GetFunctionDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetFunctionDefinitionVersion Operation public virtual GetFunctionDefinitionVersionResponse GetFunctionDefinitionVersion(GetFunctionDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFunctionDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFunctionDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetFunctionDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the GetFunctionDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFunctionDefinitionVersion /// operation. /// REST API Reference for GetFunctionDefinitionVersion Operation public virtual IAsyncResult BeginGetFunctionDefinitionVersion(GetFunctionDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFunctionDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFunctionDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetFunctionDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetFunctionDefinitionVersion. /// /// Returns a GetFunctionDefinitionVersionResult from Greengrass. /// REST API Reference for GetFunctionDefinitionVersion Operation public virtual GetFunctionDefinitionVersionResponse EndGetFunctionDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetGroup /// /// Retrieves information about a group. /// /// Container for the necessary parameters to execute the GetGroup service method. /// /// The response from the GetGroup service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetGroup Operation public virtual GetGroupResponse GetGroup(GetGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetGroup operation. /// /// /// Container for the necessary parameters to execute the GetGroup operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetGroup /// operation. /// REST API Reference for GetGroup Operation public virtual IAsyncResult BeginGetGroup(GetGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetGroup operation. /// /// /// The IAsyncResult returned by the call to BeginGetGroup. /// /// Returns a GetGroupResult from Greengrass. /// REST API Reference for GetGroup Operation public virtual GetGroupResponse EndGetGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetGroupCertificateAuthority /// /// Retreives the CA associated with a group. Returns the public key of the CA. /// /// Container for the necessary parameters to execute the GetGroupCertificateAuthority service method. /// /// The response from the GetGroupCertificateAuthority service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for GetGroupCertificateAuthority Operation public virtual GetGroupCertificateAuthorityResponse GetGroupCertificateAuthority(GetGroupCertificateAuthorityRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupCertificateAuthorityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupCertificateAuthorityResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetGroupCertificateAuthority operation. /// /// /// Container for the necessary parameters to execute the GetGroupCertificateAuthority operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetGroupCertificateAuthority /// operation. /// REST API Reference for GetGroupCertificateAuthority Operation public virtual IAsyncResult BeginGetGroupCertificateAuthority(GetGroupCertificateAuthorityRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupCertificateAuthorityRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupCertificateAuthorityResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetGroupCertificateAuthority operation. /// /// /// The IAsyncResult returned by the call to BeginGetGroupCertificateAuthority. /// /// Returns a GetGroupCertificateAuthorityResult from Greengrass. /// REST API Reference for GetGroupCertificateAuthority Operation public virtual GetGroupCertificateAuthorityResponse EndGetGroupCertificateAuthority(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetGroupCertificateConfiguration /// /// Retrieves the current configuration for the CA used by the group. /// /// Container for the necessary parameters to execute the GetGroupCertificateConfiguration service method. /// /// The response from the GetGroupCertificateConfiguration service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for GetGroupCertificateConfiguration Operation public virtual GetGroupCertificateConfigurationResponse GetGroupCertificateConfiguration(GetGroupCertificateConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupCertificateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupCertificateConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetGroupCertificateConfiguration operation. /// /// /// Container for the necessary parameters to execute the GetGroupCertificateConfiguration operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetGroupCertificateConfiguration /// operation. /// REST API Reference for GetGroupCertificateConfiguration Operation public virtual IAsyncResult BeginGetGroupCertificateConfiguration(GetGroupCertificateConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupCertificateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupCertificateConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetGroupCertificateConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginGetGroupCertificateConfiguration. /// /// Returns a GetGroupCertificateConfigurationResult from Greengrass. /// REST API Reference for GetGroupCertificateConfiguration Operation public virtual GetGroupCertificateConfigurationResponse EndGetGroupCertificateConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetGroupVersion /// /// Retrieves information about a group version. /// /// Container for the necessary parameters to execute the GetGroupVersion service method. /// /// The response from the GetGroupVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetGroupVersion Operation public virtual GetGroupVersionResponse GetGroupVersion(GetGroupVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetGroupVersion operation. /// /// /// Container for the necessary parameters to execute the GetGroupVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetGroupVersion /// operation. /// REST API Reference for GetGroupVersion Operation public virtual IAsyncResult BeginGetGroupVersion(GetGroupVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetGroupVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetGroupVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetGroupVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetGroupVersion. /// /// Returns a GetGroupVersionResult from Greengrass. /// REST API Reference for GetGroupVersion Operation public virtual GetGroupVersionResponse EndGetGroupVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetLoggerDefinition /// /// Retrieves information about a logger definition. /// /// Container for the necessary parameters to execute the GetLoggerDefinition service method. /// /// The response from the GetLoggerDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetLoggerDefinition Operation public virtual GetLoggerDefinitionResponse GetLoggerDefinition(GetLoggerDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLoggerDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLoggerDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetLoggerDefinition operation. /// /// /// Container for the necessary parameters to execute the GetLoggerDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetLoggerDefinition /// operation. /// REST API Reference for GetLoggerDefinition Operation public virtual IAsyncResult BeginGetLoggerDefinition(GetLoggerDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetLoggerDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLoggerDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetLoggerDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginGetLoggerDefinition. /// /// Returns a GetLoggerDefinitionResult from Greengrass. /// REST API Reference for GetLoggerDefinition Operation public virtual GetLoggerDefinitionResponse EndGetLoggerDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetLoggerDefinitionVersion /// /// Retrieves information about a logger definition version. /// /// Container for the necessary parameters to execute the GetLoggerDefinitionVersion service method. /// /// The response from the GetLoggerDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetLoggerDefinitionVersion Operation public virtual GetLoggerDefinitionVersionResponse GetLoggerDefinitionVersion(GetLoggerDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLoggerDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLoggerDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetLoggerDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the GetLoggerDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetLoggerDefinitionVersion /// operation. /// REST API Reference for GetLoggerDefinitionVersion Operation public virtual IAsyncResult BeginGetLoggerDefinitionVersion(GetLoggerDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetLoggerDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLoggerDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetLoggerDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetLoggerDefinitionVersion. /// /// Returns a GetLoggerDefinitionVersionResult from Greengrass. /// REST API Reference for GetLoggerDefinitionVersion Operation public virtual GetLoggerDefinitionVersionResponse EndGetLoggerDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetResourceDefinition /// /// Retrieves information about a resource definition, including its creation time and /// latest version. /// /// Container for the necessary parameters to execute the GetResourceDefinition service method. /// /// The response from the GetResourceDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetResourceDefinition Operation public virtual GetResourceDefinitionResponse GetResourceDefinition(GetResourceDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetResourceDefinition operation. /// /// /// Container for the necessary parameters to execute the GetResourceDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResourceDefinition /// operation. /// REST API Reference for GetResourceDefinition Operation public virtual IAsyncResult BeginGetResourceDefinition(GetResourceDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetResourceDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginGetResourceDefinition. /// /// Returns a GetResourceDefinitionResult from Greengrass. /// REST API Reference for GetResourceDefinition Operation public virtual GetResourceDefinitionResponse EndGetResourceDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetResourceDefinitionVersion /// /// Retrieves information about a resource definition version, including which resources /// are included in the version. /// /// Container for the necessary parameters to execute the GetResourceDefinitionVersion service method. /// /// The response from the GetResourceDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetResourceDefinitionVersion Operation public virtual GetResourceDefinitionVersionResponse GetResourceDefinitionVersion(GetResourceDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetResourceDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the GetResourceDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetResourceDefinitionVersion /// operation. /// REST API Reference for GetResourceDefinitionVersion Operation public virtual IAsyncResult BeginGetResourceDefinitionVersion(GetResourceDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetResourceDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetResourceDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetResourceDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetResourceDefinitionVersion. /// /// Returns a GetResourceDefinitionVersionResult from Greengrass. /// REST API Reference for GetResourceDefinitionVersion Operation public virtual GetResourceDefinitionVersionResponse EndGetResourceDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetServiceRoleForAccount /// /// Retrieves the service role that is attached to your account. /// /// Container for the necessary parameters to execute the GetServiceRoleForAccount service method. /// /// The response from the GetServiceRoleForAccount service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetServiceRoleForAccount Operation public virtual GetServiceRoleForAccountResponse GetServiceRoleForAccount(GetServiceRoleForAccountRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetServiceRoleForAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetServiceRoleForAccountResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetServiceRoleForAccount operation. /// /// /// Container for the necessary parameters to execute the GetServiceRoleForAccount operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetServiceRoleForAccount /// operation. /// REST API Reference for GetServiceRoleForAccount Operation public virtual IAsyncResult BeginGetServiceRoleForAccount(GetServiceRoleForAccountRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetServiceRoleForAccountRequestMarshaller.Instance; options.ResponseUnmarshaller = GetServiceRoleForAccountResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetServiceRoleForAccount operation. /// /// /// The IAsyncResult returned by the call to BeginGetServiceRoleForAccount. /// /// Returns a GetServiceRoleForAccountResult from Greengrass. /// REST API Reference for GetServiceRoleForAccount Operation public virtual GetServiceRoleForAccountResponse EndGetServiceRoleForAccount(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSubscriptionDefinition /// /// Retrieves information about a subscription definition. /// /// Container for the necessary parameters to execute the GetSubscriptionDefinition service method. /// /// The response from the GetSubscriptionDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetSubscriptionDefinition Operation public virtual GetSubscriptionDefinitionResponse GetSubscriptionDefinition(GetSubscriptionDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSubscriptionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSubscriptionDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSubscriptionDefinition operation. /// /// /// Container for the necessary parameters to execute the GetSubscriptionDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSubscriptionDefinition /// operation. /// REST API Reference for GetSubscriptionDefinition Operation public virtual IAsyncResult BeginGetSubscriptionDefinition(GetSubscriptionDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSubscriptionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSubscriptionDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSubscriptionDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginGetSubscriptionDefinition. /// /// Returns a GetSubscriptionDefinitionResult from Greengrass. /// REST API Reference for GetSubscriptionDefinition Operation public virtual GetSubscriptionDefinitionResponse EndGetSubscriptionDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetSubscriptionDefinitionVersion /// /// Retrieves information about a subscription definition version. /// /// Container for the necessary parameters to execute the GetSubscriptionDefinitionVersion service method. /// /// The response from the GetSubscriptionDefinitionVersion service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for GetSubscriptionDefinitionVersion Operation public virtual GetSubscriptionDefinitionVersionResponse GetSubscriptionDefinitionVersion(GetSubscriptionDefinitionVersionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetSubscriptionDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSubscriptionDefinitionVersionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetSubscriptionDefinitionVersion operation. /// /// /// Container for the necessary parameters to execute the GetSubscriptionDefinitionVersion operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSubscriptionDefinitionVersion /// operation. /// REST API Reference for GetSubscriptionDefinitionVersion Operation public virtual IAsyncResult BeginGetSubscriptionDefinitionVersion(GetSubscriptionDefinitionVersionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetSubscriptionDefinitionVersionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetSubscriptionDefinitionVersionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetSubscriptionDefinitionVersion operation. /// /// /// The IAsyncResult returned by the call to BeginGetSubscriptionDefinitionVersion. /// /// Returns a GetSubscriptionDefinitionVersionResult from Greengrass. /// REST API Reference for GetSubscriptionDefinitionVersion Operation public virtual GetSubscriptionDefinitionVersionResponse EndGetSubscriptionDefinitionVersion(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetThingRuntimeConfiguration /// /// Get the runtime configuration of a thing. /// /// Container for the necessary parameters to execute the GetThingRuntimeConfiguration service method. /// /// The response from the GetThingRuntimeConfiguration service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for GetThingRuntimeConfiguration Operation public virtual GetThingRuntimeConfigurationResponse GetThingRuntimeConfiguration(GetThingRuntimeConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetThingRuntimeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThingRuntimeConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetThingRuntimeConfiguration operation. /// /// /// Container for the necessary parameters to execute the GetThingRuntimeConfiguration operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetThingRuntimeConfiguration /// operation. /// REST API Reference for GetThingRuntimeConfiguration Operation public virtual IAsyncResult BeginGetThingRuntimeConfiguration(GetThingRuntimeConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetThingRuntimeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetThingRuntimeConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetThingRuntimeConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginGetThingRuntimeConfiguration. /// /// Returns a GetThingRuntimeConfigurationResult from Greengrass. /// REST API Reference for GetThingRuntimeConfiguration Operation public virtual GetThingRuntimeConfigurationResponse EndGetThingRuntimeConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListBulkDeploymentDetailedReports /// /// Gets a paginated list of the deployments that have been started in a bulk deployment /// operation, and their current deployment status. /// /// Container for the necessary parameters to execute the ListBulkDeploymentDetailedReports service method. /// /// The response from the ListBulkDeploymentDetailedReports service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListBulkDeploymentDetailedReports Operation public virtual ListBulkDeploymentDetailedReportsResponse ListBulkDeploymentDetailedReports(ListBulkDeploymentDetailedReportsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBulkDeploymentDetailedReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBulkDeploymentDetailedReportsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBulkDeploymentDetailedReports operation. /// /// /// Container for the necessary parameters to execute the ListBulkDeploymentDetailedReports operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBulkDeploymentDetailedReports /// operation. /// REST API Reference for ListBulkDeploymentDetailedReports Operation public virtual IAsyncResult BeginListBulkDeploymentDetailedReports(ListBulkDeploymentDetailedReportsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBulkDeploymentDetailedReportsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBulkDeploymentDetailedReportsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBulkDeploymentDetailedReports operation. /// /// /// The IAsyncResult returned by the call to BeginListBulkDeploymentDetailedReports. /// /// Returns a ListBulkDeploymentDetailedReportsResult from Greengrass. /// REST API Reference for ListBulkDeploymentDetailedReports Operation public virtual ListBulkDeploymentDetailedReportsResponse EndListBulkDeploymentDetailedReports(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListBulkDeployments /// /// Returns a list of bulk deployments. /// /// Container for the necessary parameters to execute the ListBulkDeployments service method. /// /// The response from the ListBulkDeployments service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListBulkDeployments Operation public virtual ListBulkDeploymentsResponse ListBulkDeployments(ListBulkDeploymentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBulkDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBulkDeploymentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListBulkDeployments operation. /// /// /// Container for the necessary parameters to execute the ListBulkDeployments operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListBulkDeployments /// operation. /// REST API Reference for ListBulkDeployments Operation public virtual IAsyncResult BeginListBulkDeployments(ListBulkDeploymentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBulkDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBulkDeploymentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListBulkDeployments operation. /// /// /// The IAsyncResult returned by the call to BeginListBulkDeployments. /// /// Returns a ListBulkDeploymentsResult from Greengrass. /// REST API Reference for ListBulkDeployments Operation public virtual ListBulkDeploymentsResponse EndListBulkDeployments(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListConnectorDefinitions /// /// Retrieves a list of connector definitions. /// /// Container for the necessary parameters to execute the ListConnectorDefinitions service method. /// /// The response from the ListConnectorDefinitions service method, as returned by Greengrass. /// REST API Reference for ListConnectorDefinitions Operation public virtual ListConnectorDefinitionsResponse ListConnectorDefinitions(ListConnectorDefinitionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListConnectorDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConnectorDefinitionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListConnectorDefinitions operation. /// /// /// Container for the necessary parameters to execute the ListConnectorDefinitions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConnectorDefinitions /// operation. /// REST API Reference for ListConnectorDefinitions Operation public virtual IAsyncResult BeginListConnectorDefinitions(ListConnectorDefinitionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListConnectorDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConnectorDefinitionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListConnectorDefinitions operation. /// /// /// The IAsyncResult returned by the call to BeginListConnectorDefinitions. /// /// Returns a ListConnectorDefinitionsResult from Greengrass. /// REST API Reference for ListConnectorDefinitions Operation public virtual ListConnectorDefinitionsResponse EndListConnectorDefinitions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListConnectorDefinitionVersions /// /// Lists the versions of a connector definition, which are containers for connectors. /// Connectors run on the Greengrass core and contain built-in integration with local /// infrastructure, device protocols, AWS, and other cloud services. /// /// Container for the necessary parameters to execute the ListConnectorDefinitionVersions service method. /// /// The response from the ListConnectorDefinitionVersions service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListConnectorDefinitionVersions Operation public virtual ListConnectorDefinitionVersionsResponse ListConnectorDefinitionVersions(ListConnectorDefinitionVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListConnectorDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConnectorDefinitionVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListConnectorDefinitionVersions operation. /// /// /// Container for the necessary parameters to execute the ListConnectorDefinitionVersions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListConnectorDefinitionVersions /// operation. /// REST API Reference for ListConnectorDefinitionVersions Operation public virtual IAsyncResult BeginListConnectorDefinitionVersions(ListConnectorDefinitionVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListConnectorDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListConnectorDefinitionVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListConnectorDefinitionVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListConnectorDefinitionVersions. /// /// Returns a ListConnectorDefinitionVersionsResult from Greengrass. /// REST API Reference for ListConnectorDefinitionVersions Operation public virtual ListConnectorDefinitionVersionsResponse EndListConnectorDefinitionVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCoreDefinitions /// /// Retrieves a list of core definitions. /// /// Container for the necessary parameters to execute the ListCoreDefinitions service method. /// /// The response from the ListCoreDefinitions service method, as returned by Greengrass. /// REST API Reference for ListCoreDefinitions Operation public virtual ListCoreDefinitionsResponse ListCoreDefinitions(ListCoreDefinitionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoreDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoreDefinitionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCoreDefinitions operation. /// /// /// Container for the necessary parameters to execute the ListCoreDefinitions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCoreDefinitions /// operation. /// REST API Reference for ListCoreDefinitions Operation public virtual IAsyncResult BeginListCoreDefinitions(ListCoreDefinitionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoreDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoreDefinitionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCoreDefinitions operation. /// /// /// The IAsyncResult returned by the call to BeginListCoreDefinitions. /// /// Returns a ListCoreDefinitionsResult from Greengrass. /// REST API Reference for ListCoreDefinitions Operation public virtual ListCoreDefinitionsResponse EndListCoreDefinitions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCoreDefinitionVersions /// /// Lists the versions of a core definition. /// /// Container for the necessary parameters to execute the ListCoreDefinitionVersions service method. /// /// The response from the ListCoreDefinitionVersions service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListCoreDefinitionVersions Operation public virtual ListCoreDefinitionVersionsResponse ListCoreDefinitionVersions(ListCoreDefinitionVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoreDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoreDefinitionVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCoreDefinitionVersions operation. /// /// /// Container for the necessary parameters to execute the ListCoreDefinitionVersions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCoreDefinitionVersions /// operation. /// REST API Reference for ListCoreDefinitionVersions Operation public virtual IAsyncResult BeginListCoreDefinitionVersions(ListCoreDefinitionVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCoreDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCoreDefinitionVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCoreDefinitionVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListCoreDefinitionVersions. /// /// Returns a ListCoreDefinitionVersionsResult from Greengrass. /// REST API Reference for ListCoreDefinitionVersions Operation public virtual ListCoreDefinitionVersionsResponse EndListCoreDefinitionVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDeployments /// /// Returns a history of deployments for the group. /// /// Container for the necessary parameters to execute the ListDeployments service method. /// /// The response from the ListDeployments service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListDeployments Operation public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDeployments operation. /// /// /// Container for the necessary parameters to execute the ListDeployments operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeployments /// operation. /// REST API Reference for ListDeployments Operation public virtual IAsyncResult BeginListDeployments(ListDeploymentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDeployments operation. /// /// /// The IAsyncResult returned by the call to BeginListDeployments. /// /// Returns a ListDeploymentsResult from Greengrass. /// REST API Reference for ListDeployments Operation public virtual ListDeploymentsResponse EndListDeployments(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDeviceDefinitions /// /// Retrieves a list of device definitions. /// /// Container for the necessary parameters to execute the ListDeviceDefinitions service method. /// /// The response from the ListDeviceDefinitions service method, as returned by Greengrass. /// REST API Reference for ListDeviceDefinitions Operation public virtual ListDeviceDefinitionsResponse ListDeviceDefinitions(ListDeviceDefinitionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeviceDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeviceDefinitionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDeviceDefinitions operation. /// /// /// Container for the necessary parameters to execute the ListDeviceDefinitions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeviceDefinitions /// operation. /// REST API Reference for ListDeviceDefinitions Operation public virtual IAsyncResult BeginListDeviceDefinitions(ListDeviceDefinitionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeviceDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeviceDefinitionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDeviceDefinitions operation. /// /// /// The IAsyncResult returned by the call to BeginListDeviceDefinitions. /// /// Returns a ListDeviceDefinitionsResult from Greengrass. /// REST API Reference for ListDeviceDefinitions Operation public virtual ListDeviceDefinitionsResponse EndListDeviceDefinitions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDeviceDefinitionVersions /// /// Lists the versions of a device definition. /// /// Container for the necessary parameters to execute the ListDeviceDefinitionVersions service method. /// /// The response from the ListDeviceDefinitionVersions service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListDeviceDefinitionVersions Operation public virtual ListDeviceDefinitionVersionsResponse ListDeviceDefinitionVersions(ListDeviceDefinitionVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeviceDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeviceDefinitionVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDeviceDefinitionVersions operation. /// /// /// Container for the necessary parameters to execute the ListDeviceDefinitionVersions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDeviceDefinitionVersions /// operation. /// REST API Reference for ListDeviceDefinitionVersions Operation public virtual IAsyncResult BeginListDeviceDefinitionVersions(ListDeviceDefinitionVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDeviceDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDeviceDefinitionVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDeviceDefinitionVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListDeviceDefinitionVersions. /// /// Returns a ListDeviceDefinitionVersionsResult from Greengrass. /// REST API Reference for ListDeviceDefinitionVersions Operation public virtual ListDeviceDefinitionVersionsResponse EndListDeviceDefinitionVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFunctionDefinitions /// /// Retrieves a list of Lambda function definitions. /// /// Container for the necessary parameters to execute the ListFunctionDefinitions service method. /// /// The response from the ListFunctionDefinitions service method, as returned by Greengrass. /// REST API Reference for ListFunctionDefinitions Operation public virtual ListFunctionDefinitionsResponse ListFunctionDefinitions(ListFunctionDefinitionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFunctionDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFunctionDefinitionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFunctionDefinitions operation. /// /// /// Container for the necessary parameters to execute the ListFunctionDefinitions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFunctionDefinitions /// operation. /// REST API Reference for ListFunctionDefinitions Operation public virtual IAsyncResult BeginListFunctionDefinitions(ListFunctionDefinitionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFunctionDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFunctionDefinitionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFunctionDefinitions operation. /// /// /// The IAsyncResult returned by the call to BeginListFunctionDefinitions. /// /// Returns a ListFunctionDefinitionsResult from Greengrass. /// REST API Reference for ListFunctionDefinitions Operation public virtual ListFunctionDefinitionsResponse EndListFunctionDefinitions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFunctionDefinitionVersions /// /// Lists the versions of a Lambda function definition. /// /// Container for the necessary parameters to execute the ListFunctionDefinitionVersions service method. /// /// The response from the ListFunctionDefinitionVersions service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListFunctionDefinitionVersions Operation public virtual ListFunctionDefinitionVersionsResponse ListFunctionDefinitionVersions(ListFunctionDefinitionVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFunctionDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFunctionDefinitionVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFunctionDefinitionVersions operation. /// /// /// Container for the necessary parameters to execute the ListFunctionDefinitionVersions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFunctionDefinitionVersions /// operation. /// REST API Reference for ListFunctionDefinitionVersions Operation public virtual IAsyncResult BeginListFunctionDefinitionVersions(ListFunctionDefinitionVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFunctionDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFunctionDefinitionVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFunctionDefinitionVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListFunctionDefinitionVersions. /// /// Returns a ListFunctionDefinitionVersionsResult from Greengrass. /// REST API Reference for ListFunctionDefinitionVersions Operation public virtual ListFunctionDefinitionVersionsResponse EndListFunctionDefinitionVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListGroupCertificateAuthorities /// /// Retrieves the current CAs for a group. /// /// Container for the necessary parameters to execute the ListGroupCertificateAuthorities service method. /// /// The response from the ListGroupCertificateAuthorities service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for ListGroupCertificateAuthorities Operation public virtual ListGroupCertificateAuthoritiesResponse ListGroupCertificateAuthorities(ListGroupCertificateAuthoritiesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupCertificateAuthoritiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupCertificateAuthoritiesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListGroupCertificateAuthorities operation. /// /// /// Container for the necessary parameters to execute the ListGroupCertificateAuthorities operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGroupCertificateAuthorities /// operation. /// REST API Reference for ListGroupCertificateAuthorities Operation public virtual IAsyncResult BeginListGroupCertificateAuthorities(ListGroupCertificateAuthoritiesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupCertificateAuthoritiesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupCertificateAuthoritiesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListGroupCertificateAuthorities operation. /// /// /// The IAsyncResult returned by the call to BeginListGroupCertificateAuthorities. /// /// Returns a ListGroupCertificateAuthoritiesResult from Greengrass. /// REST API Reference for ListGroupCertificateAuthorities Operation public virtual ListGroupCertificateAuthoritiesResponse EndListGroupCertificateAuthorities(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListGroups /// /// Retrieves a list of groups. /// /// Container for the necessary parameters to execute the ListGroups service method. /// /// The response from the ListGroups service method, as returned by Greengrass. /// REST API Reference for ListGroups Operation public virtual ListGroupsResponse ListGroups(ListGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListGroups operation. /// /// /// Container for the necessary parameters to execute the ListGroups operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGroups /// operation. /// REST API Reference for ListGroups Operation public virtual IAsyncResult BeginListGroups(ListGroupsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListGroups operation. /// /// /// The IAsyncResult returned by the call to BeginListGroups. /// /// Returns a ListGroupsResult from Greengrass. /// REST API Reference for ListGroups Operation public virtual ListGroupsResponse EndListGroups(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListGroupVersions /// /// Lists the versions of a group. /// /// Container for the necessary parameters to execute the ListGroupVersions service method. /// /// The response from the ListGroupVersions service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListGroupVersions Operation public virtual ListGroupVersionsResponse ListGroupVersions(ListGroupVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListGroupVersions operation. /// /// /// Container for the necessary parameters to execute the ListGroupVersions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGroupVersions /// operation. /// REST API Reference for ListGroupVersions Operation public virtual IAsyncResult BeginListGroupVersions(ListGroupVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListGroupVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGroupVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListGroupVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListGroupVersions. /// /// Returns a ListGroupVersionsResult from Greengrass. /// REST API Reference for ListGroupVersions Operation public virtual ListGroupVersionsResponse EndListGroupVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListLoggerDefinitions /// /// Retrieves a list of logger definitions. /// /// Container for the necessary parameters to execute the ListLoggerDefinitions service method. /// /// The response from the ListLoggerDefinitions service method, as returned by Greengrass. /// REST API Reference for ListLoggerDefinitions Operation public virtual ListLoggerDefinitionsResponse ListLoggerDefinitions(ListLoggerDefinitionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLoggerDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLoggerDefinitionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListLoggerDefinitions operation. /// /// /// Container for the necessary parameters to execute the ListLoggerDefinitions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListLoggerDefinitions /// operation. /// REST API Reference for ListLoggerDefinitions Operation public virtual IAsyncResult BeginListLoggerDefinitions(ListLoggerDefinitionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListLoggerDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLoggerDefinitionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListLoggerDefinitions operation. /// /// /// The IAsyncResult returned by the call to BeginListLoggerDefinitions. /// /// Returns a ListLoggerDefinitionsResult from Greengrass. /// REST API Reference for ListLoggerDefinitions Operation public virtual ListLoggerDefinitionsResponse EndListLoggerDefinitions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListLoggerDefinitionVersions /// /// Lists the versions of a logger definition. /// /// Container for the necessary parameters to execute the ListLoggerDefinitionVersions service method. /// /// The response from the ListLoggerDefinitionVersions service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListLoggerDefinitionVersions Operation public virtual ListLoggerDefinitionVersionsResponse ListLoggerDefinitionVersions(ListLoggerDefinitionVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLoggerDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLoggerDefinitionVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListLoggerDefinitionVersions operation. /// /// /// Container for the necessary parameters to execute the ListLoggerDefinitionVersions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListLoggerDefinitionVersions /// operation. /// REST API Reference for ListLoggerDefinitionVersions Operation public virtual IAsyncResult BeginListLoggerDefinitionVersions(ListLoggerDefinitionVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListLoggerDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLoggerDefinitionVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListLoggerDefinitionVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListLoggerDefinitionVersions. /// /// Returns a ListLoggerDefinitionVersionsResult from Greengrass. /// REST API Reference for ListLoggerDefinitionVersions Operation public virtual ListLoggerDefinitionVersionsResponse EndListLoggerDefinitionVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListResourceDefinitions /// /// Retrieves a list of resource definitions. /// /// Container for the necessary parameters to execute the ListResourceDefinitions service method. /// /// The response from the ListResourceDefinitions service method, as returned by Greengrass. /// REST API Reference for ListResourceDefinitions Operation public virtual ListResourceDefinitionsResponse ListResourceDefinitions(ListResourceDefinitionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceDefinitionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListResourceDefinitions operation. /// /// /// Container for the necessary parameters to execute the ListResourceDefinitions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListResourceDefinitions /// operation. /// REST API Reference for ListResourceDefinitions Operation public virtual IAsyncResult BeginListResourceDefinitions(ListResourceDefinitionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceDefinitionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListResourceDefinitions operation. /// /// /// The IAsyncResult returned by the call to BeginListResourceDefinitions. /// /// Returns a ListResourceDefinitionsResult from Greengrass. /// REST API Reference for ListResourceDefinitions Operation public virtual ListResourceDefinitionsResponse EndListResourceDefinitions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListResourceDefinitionVersions /// /// Lists the versions of a resource definition. /// /// Container for the necessary parameters to execute the ListResourceDefinitionVersions service method. /// /// The response from the ListResourceDefinitionVersions service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListResourceDefinitionVersions Operation public virtual ListResourceDefinitionVersionsResponse ListResourceDefinitionVersions(ListResourceDefinitionVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceDefinitionVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListResourceDefinitionVersions operation. /// /// /// Container for the necessary parameters to execute the ListResourceDefinitionVersions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListResourceDefinitionVersions /// operation. /// REST API Reference for ListResourceDefinitionVersions Operation public virtual IAsyncResult BeginListResourceDefinitionVersions(ListResourceDefinitionVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListResourceDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListResourceDefinitionVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListResourceDefinitionVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListResourceDefinitionVersions. /// /// Returns a ListResourceDefinitionVersionsResult from Greengrass. /// REST API Reference for ListResourceDefinitionVersions Operation public virtual ListResourceDefinitionVersionsResponse EndListResourceDefinitionVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSubscriptionDefinitions /// /// Retrieves a list of subscription definitions. /// /// Container for the necessary parameters to execute the ListSubscriptionDefinitions service method. /// /// The response from the ListSubscriptionDefinitions service method, as returned by Greengrass. /// REST API Reference for ListSubscriptionDefinitions Operation public virtual ListSubscriptionDefinitionsResponse ListSubscriptionDefinitions(ListSubscriptionDefinitionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubscriptionDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubscriptionDefinitionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSubscriptionDefinitions operation. /// /// /// Container for the necessary parameters to execute the ListSubscriptionDefinitions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSubscriptionDefinitions /// operation. /// REST API Reference for ListSubscriptionDefinitions Operation public virtual IAsyncResult BeginListSubscriptionDefinitions(ListSubscriptionDefinitionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubscriptionDefinitionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubscriptionDefinitionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSubscriptionDefinitions operation. /// /// /// The IAsyncResult returned by the call to BeginListSubscriptionDefinitions. /// /// Returns a ListSubscriptionDefinitionsResult from Greengrass. /// REST API Reference for ListSubscriptionDefinitions Operation public virtual ListSubscriptionDefinitionsResponse EndListSubscriptionDefinitions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSubscriptionDefinitionVersions /// /// Lists the versions of a subscription definition. /// /// Container for the necessary parameters to execute the ListSubscriptionDefinitionVersions service method. /// /// The response from the ListSubscriptionDefinitionVersions service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListSubscriptionDefinitionVersions Operation public virtual ListSubscriptionDefinitionVersionsResponse ListSubscriptionDefinitionVersions(ListSubscriptionDefinitionVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubscriptionDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubscriptionDefinitionVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSubscriptionDefinitionVersions operation. /// /// /// Container for the necessary parameters to execute the ListSubscriptionDefinitionVersions operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSubscriptionDefinitionVersions /// operation. /// REST API Reference for ListSubscriptionDefinitionVersions Operation public virtual IAsyncResult BeginListSubscriptionDefinitionVersions(ListSubscriptionDefinitionVersionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSubscriptionDefinitionVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSubscriptionDefinitionVersionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSubscriptionDefinitionVersions operation. /// /// /// The IAsyncResult returned by the call to BeginListSubscriptionDefinitionVersions. /// /// Returns a ListSubscriptionDefinitionVersionsResult from Greengrass. /// REST API Reference for ListSubscriptionDefinitionVersions Operation public virtual ListSubscriptionDefinitionVersionsResponse EndListSubscriptionDefinitionVersions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Retrieves a list of resource tags for a resource arn. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from Greengrass. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ResetDeployments /// /// Resets a group's deployments. /// /// Container for the necessary parameters to execute the ResetDeployments service method. /// /// The response from the ResetDeployments service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for ResetDeployments Operation public virtual ResetDeploymentsResponse ResetDeployments(ResetDeploymentsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResetDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetDeploymentsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ResetDeployments operation. /// /// /// Container for the necessary parameters to execute the ResetDeployments operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndResetDeployments /// operation. /// REST API Reference for ResetDeployments Operation public virtual IAsyncResult BeginResetDeployments(ResetDeploymentsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ResetDeploymentsRequestMarshaller.Instance; options.ResponseUnmarshaller = ResetDeploymentsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ResetDeployments operation. /// /// /// The IAsyncResult returned by the call to BeginResetDeployments. /// /// Returns a ResetDeploymentsResult from Greengrass. /// REST API Reference for ResetDeployments Operation public virtual ResetDeploymentsResponse EndResetDeployments(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartBulkDeployment /// /// Deploys multiple groups in one operation. This action starts the bulk deployment of /// a specified set of group versions. Each group version deployment will be triggered /// with an adaptive rate that has a fixed upper limit. We recommend that you include /// an ''X-Amzn-Client-Token'' token in every ''StartBulkDeployment'' request. These requests /// are idempotent with respect to the token and the request parameters. /// /// Container for the necessary parameters to execute the StartBulkDeployment service method. /// /// The response from the StartBulkDeployment service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for StartBulkDeployment Operation public virtual StartBulkDeploymentResponse StartBulkDeployment(StartBulkDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartBulkDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartBulkDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartBulkDeployment operation. /// /// /// Container for the necessary parameters to execute the StartBulkDeployment operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartBulkDeployment /// operation. /// REST API Reference for StartBulkDeployment Operation public virtual IAsyncResult BeginStartBulkDeployment(StartBulkDeploymentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartBulkDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StartBulkDeploymentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartBulkDeployment operation. /// /// /// The IAsyncResult returned by the call to BeginStartBulkDeployment. /// /// Returns a StartBulkDeploymentResult from Greengrass. /// REST API Reference for StartBulkDeployment Operation public virtual StartBulkDeploymentResponse EndStartBulkDeployment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopBulkDeployment /// /// Stops the execution of a bulk deployment. This action returns a status of ''Stopping'' /// until the deployment is stopped. You cannot start a new bulk deployment while a previous /// deployment is in the ''Stopping'' state. This action doesn't rollback completed deployments /// or cancel pending deployments. /// /// Container for the necessary parameters to execute the StopBulkDeployment service method. /// /// The response from the StopBulkDeployment service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for StopBulkDeployment Operation public virtual StopBulkDeploymentResponse StopBulkDeployment(StopBulkDeploymentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopBulkDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopBulkDeploymentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopBulkDeployment operation. /// /// /// Container for the necessary parameters to execute the StopBulkDeployment operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopBulkDeployment /// operation. /// REST API Reference for StopBulkDeployment Operation public virtual IAsyncResult BeginStopBulkDeployment(StopBulkDeploymentRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopBulkDeploymentRequestMarshaller.Instance; options.ResponseUnmarshaller = StopBulkDeploymentResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopBulkDeployment operation. /// /// /// The IAsyncResult returned by the call to BeginStopBulkDeployment. /// /// Returns a StopBulkDeploymentResult from Greengrass. /// REST API Reference for StopBulkDeployment Operation public virtual StopBulkDeploymentResponse EndStopBulkDeployment(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds tags to a Greengrass resource. Valid resources are 'Group', 'ConnectorDefinition', /// 'CoreDefinition', 'DeviceDefinition', 'FunctionDefinition', 'LoggerDefinition', 'SubscriptionDefinition', /// 'ResourceDefinition', and 'BulkDeployment'. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from Greengrass. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Remove resource tags from a Greengrass Resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from Greengrass. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateConnectivityInfo /// /// Updates the connectivity information for the core. Any devices that belong to the /// group which has this core will receive this information in order to find the location /// of the core and connect to it. /// /// Container for the necessary parameters to execute the UpdateConnectivityInfo service method. /// /// The response from the UpdateConnectivityInfo service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for UpdateConnectivityInfo Operation public virtual UpdateConnectivityInfoResponse UpdateConnectivityInfo(UpdateConnectivityInfoRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConnectivityInfoRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConnectivityInfoResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateConnectivityInfo operation. /// /// /// Container for the necessary parameters to execute the UpdateConnectivityInfo operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConnectivityInfo /// operation. /// REST API Reference for UpdateConnectivityInfo Operation public virtual IAsyncResult BeginUpdateConnectivityInfo(UpdateConnectivityInfoRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConnectivityInfoRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConnectivityInfoResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateConnectivityInfo operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateConnectivityInfo. /// /// Returns a UpdateConnectivityInfoResult from Greengrass. /// REST API Reference for UpdateConnectivityInfo Operation public virtual UpdateConnectivityInfoResponse EndUpdateConnectivityInfo(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateConnectorDefinition /// /// Updates a connector definition. /// /// Container for the necessary parameters to execute the UpdateConnectorDefinition service method. /// /// The response from the UpdateConnectorDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for UpdateConnectorDefinition Operation public virtual UpdateConnectorDefinitionResponse UpdateConnectorDefinition(UpdateConnectorDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConnectorDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConnectorDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateConnectorDefinition operation. /// /// /// Container for the necessary parameters to execute the UpdateConnectorDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConnectorDefinition /// operation. /// REST API Reference for UpdateConnectorDefinition Operation public virtual IAsyncResult BeginUpdateConnectorDefinition(UpdateConnectorDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateConnectorDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateConnectorDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateConnectorDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateConnectorDefinition. /// /// Returns a UpdateConnectorDefinitionResult from Greengrass. /// REST API Reference for UpdateConnectorDefinition Operation public virtual UpdateConnectorDefinitionResponse EndUpdateConnectorDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCoreDefinition /// /// Updates a core definition. /// /// Container for the necessary parameters to execute the UpdateCoreDefinition service method. /// /// The response from the UpdateCoreDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for UpdateCoreDefinition Operation public virtual UpdateCoreDefinitionResponse UpdateCoreDefinition(UpdateCoreDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCoreDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCoreDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCoreDefinition operation. /// /// /// Container for the necessary parameters to execute the UpdateCoreDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateCoreDefinition /// operation. /// REST API Reference for UpdateCoreDefinition Operation public virtual IAsyncResult BeginUpdateCoreDefinition(UpdateCoreDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCoreDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCoreDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCoreDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCoreDefinition. /// /// Returns a UpdateCoreDefinitionResult from Greengrass. /// REST API Reference for UpdateCoreDefinition Operation public virtual UpdateCoreDefinitionResponse EndUpdateCoreDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateDeviceDefinition /// /// Updates a device definition. /// /// Container for the necessary parameters to execute the UpdateDeviceDefinition service method. /// /// The response from the UpdateDeviceDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for UpdateDeviceDefinition Operation public virtual UpdateDeviceDefinitionResponse UpdateDeviceDefinition(UpdateDeviceDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeviceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeviceDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateDeviceDefinition operation. /// /// /// Container for the necessary parameters to execute the UpdateDeviceDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateDeviceDefinition /// operation. /// REST API Reference for UpdateDeviceDefinition Operation public virtual IAsyncResult BeginUpdateDeviceDefinition(UpdateDeviceDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateDeviceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateDeviceDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateDeviceDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateDeviceDefinition. /// /// Returns a UpdateDeviceDefinitionResult from Greengrass. /// REST API Reference for UpdateDeviceDefinition Operation public virtual UpdateDeviceDefinitionResponse EndUpdateDeviceDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateFunctionDefinition /// /// Updates a Lambda function definition. /// /// Container for the necessary parameters to execute the UpdateFunctionDefinition service method. /// /// The response from the UpdateFunctionDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for UpdateFunctionDefinition Operation public virtual UpdateFunctionDefinitionResponse UpdateFunctionDefinition(UpdateFunctionDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFunctionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFunctionDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateFunctionDefinition operation. /// /// /// Container for the necessary parameters to execute the UpdateFunctionDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFunctionDefinition /// operation. /// REST API Reference for UpdateFunctionDefinition Operation public virtual IAsyncResult BeginUpdateFunctionDefinition(UpdateFunctionDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFunctionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFunctionDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateFunctionDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateFunctionDefinition. /// /// Returns a UpdateFunctionDefinitionResult from Greengrass. /// REST API Reference for UpdateFunctionDefinition Operation public virtual UpdateFunctionDefinitionResponse EndUpdateFunctionDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateGroup /// /// Updates a group. /// /// Container for the necessary parameters to execute the UpdateGroup service method. /// /// The response from the UpdateGroup service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for UpdateGroup Operation public virtual UpdateGroupResponse UpdateGroup(UpdateGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateGroup operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateGroup /// operation. /// REST API Reference for UpdateGroup Operation public virtual IAsyncResult BeginUpdateGroup(UpdateGroupRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGroupResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateGroup. /// /// Returns a UpdateGroupResult from Greengrass. /// REST API Reference for UpdateGroup Operation public virtual UpdateGroupResponse EndUpdateGroup(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateGroupCertificateConfiguration /// /// Updates the Certificate expiry time for a group. /// /// Container for the necessary parameters to execute the UpdateGroupCertificateConfiguration service method. /// /// The response from the UpdateGroupCertificateConfiguration service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for UpdateGroupCertificateConfiguration Operation public virtual UpdateGroupCertificateConfigurationResponse UpdateGroupCertificateConfiguration(UpdateGroupCertificateConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGroupCertificateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGroupCertificateConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateGroupCertificateConfiguration operation. /// /// /// Container for the necessary parameters to execute the UpdateGroupCertificateConfiguration operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateGroupCertificateConfiguration /// operation. /// REST API Reference for UpdateGroupCertificateConfiguration Operation public virtual IAsyncResult BeginUpdateGroupCertificateConfiguration(UpdateGroupCertificateConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGroupCertificateConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGroupCertificateConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateGroupCertificateConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateGroupCertificateConfiguration. /// /// Returns a UpdateGroupCertificateConfigurationResult from Greengrass. /// REST API Reference for UpdateGroupCertificateConfiguration Operation public virtual UpdateGroupCertificateConfigurationResponse EndUpdateGroupCertificateConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateLoggerDefinition /// /// Updates a logger definition. /// /// Container for the necessary parameters to execute the UpdateLoggerDefinition service method. /// /// The response from the UpdateLoggerDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for UpdateLoggerDefinition Operation public virtual UpdateLoggerDefinitionResponse UpdateLoggerDefinition(UpdateLoggerDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLoggerDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLoggerDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateLoggerDefinition operation. /// /// /// Container for the necessary parameters to execute the UpdateLoggerDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateLoggerDefinition /// operation. /// REST API Reference for UpdateLoggerDefinition Operation public virtual IAsyncResult BeginUpdateLoggerDefinition(UpdateLoggerDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLoggerDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLoggerDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateLoggerDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateLoggerDefinition. /// /// Returns a UpdateLoggerDefinitionResult from Greengrass. /// REST API Reference for UpdateLoggerDefinition Operation public virtual UpdateLoggerDefinitionResponse EndUpdateLoggerDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateResourceDefinition /// /// Updates a resource definition. /// /// Container for the necessary parameters to execute the UpdateResourceDefinition service method. /// /// The response from the UpdateResourceDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for UpdateResourceDefinition Operation public virtual UpdateResourceDefinitionResponse UpdateResourceDefinition(UpdateResourceDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateResourceDefinition operation. /// /// /// Container for the necessary parameters to execute the UpdateResourceDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateResourceDefinition /// operation. /// REST API Reference for UpdateResourceDefinition Operation public virtual IAsyncResult BeginUpdateResourceDefinition(UpdateResourceDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateResourceDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateResourceDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateResourceDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateResourceDefinition. /// /// Returns a UpdateResourceDefinitionResult from Greengrass. /// REST API Reference for UpdateResourceDefinition Operation public virtual UpdateResourceDefinitionResponse EndUpdateResourceDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSubscriptionDefinition /// /// Updates a subscription definition. /// /// Container for the necessary parameters to execute the UpdateSubscriptionDefinition service method. /// /// The response from the UpdateSubscriptionDefinition service method, as returned by Greengrass. /// /// General error information. /// /// REST API Reference for UpdateSubscriptionDefinition Operation public virtual UpdateSubscriptionDefinitionResponse UpdateSubscriptionDefinition(UpdateSubscriptionDefinitionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSubscriptionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSubscriptionDefinitionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSubscriptionDefinition operation. /// /// /// Container for the necessary parameters to execute the UpdateSubscriptionDefinition operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSubscriptionDefinition /// operation. /// REST API Reference for UpdateSubscriptionDefinition Operation public virtual IAsyncResult BeginUpdateSubscriptionDefinition(UpdateSubscriptionDefinitionRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSubscriptionDefinitionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSubscriptionDefinitionResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSubscriptionDefinition operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSubscriptionDefinition. /// /// Returns a UpdateSubscriptionDefinitionResult from Greengrass. /// REST API Reference for UpdateSubscriptionDefinition Operation public virtual UpdateSubscriptionDefinitionResponse EndUpdateSubscriptionDefinition(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateThingRuntimeConfiguration /// /// Updates the runtime configuration of a thing. /// /// Container for the necessary parameters to execute the UpdateThingRuntimeConfiguration service method. /// /// The response from the UpdateThingRuntimeConfiguration service method, as returned by Greengrass. /// /// General error information. /// /// /// General error information. /// /// REST API Reference for UpdateThingRuntimeConfiguration Operation public virtual UpdateThingRuntimeConfigurationResponse UpdateThingRuntimeConfiguration(UpdateThingRuntimeConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThingRuntimeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThingRuntimeConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateThingRuntimeConfiguration operation. /// /// /// Container for the necessary parameters to execute the UpdateThingRuntimeConfiguration operation on AmazonGreengrassClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateThingRuntimeConfiguration /// operation. /// REST API Reference for UpdateThingRuntimeConfiguration Operation public virtual IAsyncResult BeginUpdateThingRuntimeConfiguration(UpdateThingRuntimeConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateThingRuntimeConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateThingRuntimeConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateThingRuntimeConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateThingRuntimeConfiguration. /// /// Returns a UpdateThingRuntimeConfigurationResult from Greengrass. /// REST API Reference for UpdateThingRuntimeConfiguration Operation public virtual UpdateThingRuntimeConfigurationResponse EndUpdateThingRuntimeConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }