예제 #1
0
        internal virtual AssociateAttributeGroupResponse AssociateAttributeGroup(AssociateAttributeGroupRequest request)
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = AssociateAttributeGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;

            return(Invoke <AssociateAttributeGroupResponse>(request, options));
        }
예제 #2
0
        /// <summary>
        /// Associates an attribute group with an application to augment the application's metadata
        /// with the group's attributes. This way applications can be described with user-defined
        /// details which are machine-readable (e.g. for third-party integrations).
        /// </summary>
        /// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup service method.</param>
        /// <param name="cancellationToken">
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// </param>
        ///
        /// <returns>The response from the AssociateAttributeGroup service method, as returned by AppRegistry.</returns>
        /// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
        /// The service is experiencing internal problems.
        /// </exception>
        /// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
        /// The specified resource does not exist.
        /// </exception>
        /// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
        /// The maximum number of resources per account has been reached.
        /// </exception>
        /// <exception cref="Amazon.AppRegistry.Model.ValidationException">
        /// The request has invalid or missing parameters.
        /// </exception>
        /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
        public virtual Task <AssociateAttributeGroupResponse> AssociateAttributeGroupAsync(AssociateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();

            options.RequestMarshaller    = AssociateAttributeGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;

            return(InvokeAsync <AssociateAttributeGroupResponse>(request, options, cancellationToken));
        }