repo_name
stringlengths 1
52
| repo_creator
stringclasses 6
values | programming_language
stringclasses 4
values | code
stringlengths 0
9.68M
| num_lines
int64 1
234k
|
---|---|---|---|---|
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the CreateFunction operation.
/// </summary>
public partial class CreateFunctionResponse : AmazonWebServiceResponse
{
private FunctionConfiguration _functionConfiguration;
/// <summary>
/// Gets and sets the property FunctionConfiguration.
/// <para>
/// The <code>Function</code> object.
/// </para>
/// </summary>
public FunctionConfiguration FunctionConfiguration
{
get { return this._functionConfiguration; }
set { this._functionConfiguration = value; }
}
// Check to see if FunctionConfiguration property is set
internal bool IsSetFunctionConfiguration()
{
return this._functionConfiguration != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the CreateGraphqlApi operation.
/// Creates a <code>GraphqlApi</code> object.
/// </summary>
public partial class CreateGraphqlApiRequest : AmazonAppSyncRequest
{
private List<AdditionalAuthenticationProvider> _additionalAuthenticationProviders = new List<AdditionalAuthenticationProvider>();
private GraphQLApiType _apiType;
private AuthenticationType _authenticationType;
private LambdaAuthorizerConfig _lambdaAuthorizerConfig;
private LogConfig _logConfig;
private string _mergedApiExecutionRoleArn;
private string _name;
private OpenIDConnectConfig _openidConnectConfig;
private string _ownerContact;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
private UserPoolConfig _userPoolConfig;
private GraphQLApiVisibility _visibility;
private bool? _xrayEnabled;
/// <summary>
/// Gets and sets the property AdditionalAuthenticationProviders.
/// <para>
/// A list of additional authentication providers for the <code>GraphqlApi</code> API.
/// </para>
/// </summary>
public List<AdditionalAuthenticationProvider> AdditionalAuthenticationProviders
{
get { return this._additionalAuthenticationProviders; }
set { this._additionalAuthenticationProviders = value; }
}
// Check to see if AdditionalAuthenticationProviders property is set
internal bool IsSetAdditionalAuthenticationProviders()
{
return this._additionalAuthenticationProviders != null && this._additionalAuthenticationProviders.Count > 0;
}
/// <summary>
/// Gets and sets the property ApiType.
/// <para>
/// The value that indicates whether the GraphQL API is a standard API (<code>GRAPHQL</code>)
/// or merged API (<code>MERGED</code>).
/// </para>
/// </summary>
public GraphQLApiType ApiType
{
get { return this._apiType; }
set { this._apiType = value; }
}
// Check to see if ApiType property is set
internal bool IsSetApiType()
{
return this._apiType != null;
}
/// <summary>
/// Gets and sets the property AuthenticationType.
/// <para>
/// The authentication type: API key, Identity and Access Management (IAM), OpenID Connect
/// (OIDC), Amazon Cognito user pools, or Lambda.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AuthenticationType AuthenticationType
{
get { return this._authenticationType; }
set { this._authenticationType = value; }
}
// Check to see if AuthenticationType property is set
internal bool IsSetAuthenticationType()
{
return this._authenticationType != null;
}
/// <summary>
/// Gets and sets the property LambdaAuthorizerConfig.
/// <para>
/// Configuration for Lambda function authorization.
/// </para>
/// </summary>
public LambdaAuthorizerConfig LambdaAuthorizerConfig
{
get { return this._lambdaAuthorizerConfig; }
set { this._lambdaAuthorizerConfig = value; }
}
// Check to see if LambdaAuthorizerConfig property is set
internal bool IsSetLambdaAuthorizerConfig()
{
return this._lambdaAuthorizerConfig != null;
}
/// <summary>
/// Gets and sets the property LogConfig.
/// <para>
/// The Amazon CloudWatch Logs configuration.
/// </para>
/// </summary>
public LogConfig LogConfig
{
get { return this._logConfig; }
set { this._logConfig = value; }
}
// Check to see if LogConfig property is set
internal bool IsSetLogConfig()
{
return this._logConfig != null;
}
/// <summary>
/// Gets and sets the property MergedApiExecutionRoleArn.
/// <para>
/// The Identity and Access Management service role ARN for a merged API. The AppSync
/// service assumes this role on behalf of the Merged API to validate access to source
/// APIs at runtime and to prompt the <code>AUTO_MERGE</code> to update the merged API
/// endpoint with the source API changes automatically.
/// </para>
/// </summary>
public string MergedApiExecutionRoleArn
{
get { return this._mergedApiExecutionRoleArn; }
set { this._mergedApiExecutionRoleArn = value; }
}
// Check to see if MergedApiExecutionRoleArn property is set
internal bool IsSetMergedApiExecutionRoleArn()
{
return this._mergedApiExecutionRoleArn != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// A user-supplied name for the <code>GraphqlApi</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property OpenIDConnectConfig.
/// <para>
/// The OIDC configuration.
/// </para>
/// </summary>
public OpenIDConnectConfig OpenIDConnectConfig
{
get { return this._openidConnectConfig; }
set { this._openidConnectConfig = value; }
}
// Check to see if OpenIDConnectConfig property is set
internal bool IsSetOpenIDConnectConfig()
{
return this._openidConnectConfig != null;
}
/// <summary>
/// Gets and sets the property OwnerContact.
/// <para>
/// The owner contact information for an API resource.
/// </para>
///
/// <para>
/// This field accepts any string input with a length of 0 - 256 characters.
/// </para>
/// </summary>
public string OwnerContact
{
get { return this._ownerContact; }
set { this._ownerContact = value; }
}
// Check to see if OwnerContact property is set
internal bool IsSetOwnerContact()
{
return this._ownerContact != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// A <code>TagMap</code> object.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property UserPoolConfig.
/// <para>
/// The Amazon Cognito user pool configuration.
/// </para>
/// </summary>
public UserPoolConfig UserPoolConfig
{
get { return this._userPoolConfig; }
set { this._userPoolConfig = value; }
}
// Check to see if UserPoolConfig property is set
internal bool IsSetUserPoolConfig()
{
return this._userPoolConfig != null;
}
/// <summary>
/// Gets and sets the property Visibility.
/// <para>
/// Sets the value of the GraphQL API to public (<code>GLOBAL</code>) or private (<code>PRIVATE</code>).
/// If no value is provided, the visibility will be set to <code>GLOBAL</code> by default.
/// This value cannot be changed once the API has been created.
/// </para>
/// </summary>
public GraphQLApiVisibility Visibility
{
get { return this._visibility; }
set { this._visibility = value; }
}
// Check to see if Visibility property is set
internal bool IsSetVisibility()
{
return this._visibility != null;
}
/// <summary>
/// Gets and sets the property XrayEnabled.
/// <para>
/// A flag indicating whether to use X-Ray tracing for the <code>GraphqlApi</code>.
/// </para>
/// </summary>
public bool XrayEnabled
{
get { return this._xrayEnabled.GetValueOrDefault(); }
set { this._xrayEnabled = value; }
}
// Check to see if XrayEnabled property is set
internal bool IsSetXrayEnabled()
{
return this._xrayEnabled.HasValue;
}
}
}
| 300 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the CreateGraphqlApi operation.
/// </summary>
public partial class CreateGraphqlApiResponse : AmazonWebServiceResponse
{
private GraphqlApi _graphqlApi;
/// <summary>
/// Gets and sets the property GraphqlApi.
/// <para>
/// The <code>GraphqlApi</code>.
/// </para>
/// </summary>
public GraphqlApi GraphqlApi
{
get { return this._graphqlApi; }
set { this._graphqlApi = value; }
}
// Check to see if GraphqlApi property is set
internal bool IsSetGraphqlApi()
{
return this._graphqlApi != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the CreateResolver operation.
/// Creates a <code>Resolver</code> object.
///
///
/// <para>
/// A resolver converts incoming requests into a format that a data source can understand,
/// and converts the data source's responses into GraphQL.
/// </para>
/// </summary>
public partial class CreateResolverRequest : AmazonAppSyncRequest
{
private string _apiId;
private CachingConfig _cachingConfig;
private string _code;
private string _dataSourceName;
private string _fieldName;
private ResolverKind _kind;
private int? _maxBatchSize;
private PipelineConfig _pipelineConfig;
private string _requestMappingTemplate;
private string _responseMappingTemplate;
private AppSyncRuntime _runtime;
private SyncConfig _syncConfig;
private string _typeName;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The ID for the GraphQL API for which the resolver is being created.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property CachingConfig.
/// <para>
/// The caching configuration for the resolver.
/// </para>
/// </summary>
public CachingConfig CachingConfig
{
get { return this._cachingConfig; }
set { this._cachingConfig = value; }
}
// Check to see if CachingConfig property is set
internal bool IsSetCachingConfig()
{
return this._cachingConfig != null;
}
/// <summary>
/// Gets and sets the property Code.
/// <para>
/// The <code>resolver</code> code that contains the request and response functions. When
/// code is used, the <code>runtime</code> is required. The <code>runtime</code> value
/// must be <code>APPSYNC_JS</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=32768)]
public string Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
/// <summary>
/// Gets and sets the property DataSourceName.
/// <para>
/// The name of the data source for which the resolver is being created.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string DataSourceName
{
get { return this._dataSourceName; }
set { this._dataSourceName = value; }
}
// Check to see if DataSourceName property is set
internal bool IsSetDataSourceName()
{
return this._dataSourceName != null;
}
/// <summary>
/// Gets and sets the property FieldName.
/// <para>
/// The name of the field to attach the resolver to.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string FieldName
{
get { return this._fieldName; }
set { this._fieldName = value; }
}
// Check to see if FieldName property is set
internal bool IsSetFieldName()
{
return this._fieldName != null;
}
/// <summary>
/// Gets and sets the property Kind.
/// <para>
/// The resolver type.
/// </para>
/// <ul> <li>
/// <para>
/// <b>UNIT</b>: A UNIT resolver type. A UNIT resolver is the default resolver type.
/// You can use a UNIT resolver to run a GraphQL query against a single data source.
/// </para>
/// </li> <li>
/// <para>
/// <b>PIPELINE</b>: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke
/// a series of <code>Function</code> objects in a serial manner. You can use a pipeline
/// resolver to run a GraphQL query against multiple data sources.
/// </para>
/// </li> </ul>
/// </summary>
public ResolverKind Kind
{
get { return this._kind; }
set { this._kind = value; }
}
// Check to see if Kind property is set
internal bool IsSetKind()
{
return this._kind != null;
}
/// <summary>
/// Gets and sets the property MaxBatchSize.
/// <para>
/// The maximum batching size for a resolver.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2000)]
public int MaxBatchSize
{
get { return this._maxBatchSize.GetValueOrDefault(); }
set { this._maxBatchSize = value; }
}
// Check to see if MaxBatchSize property is set
internal bool IsSetMaxBatchSize()
{
return this._maxBatchSize.HasValue;
}
/// <summary>
/// Gets and sets the property PipelineConfig.
/// <para>
/// The <code>PipelineConfig</code>.
/// </para>
/// </summary>
public PipelineConfig PipelineConfig
{
get { return this._pipelineConfig; }
set { this._pipelineConfig = value; }
}
// Check to see if PipelineConfig property is set
internal bool IsSetPipelineConfig()
{
return this._pipelineConfig != null;
}
/// <summary>
/// Gets and sets the property RequestMappingTemplate.
/// <para>
/// The mapping template to use for requests.
/// </para>
///
/// <para>
/// A resolver uses a request mapping template to convert a GraphQL expression into a
/// format that a data source can understand. Mapping templates are written in Apache
/// Velocity Template Language (VTL).
/// </para>
///
/// <para>
/// VTL request mapping templates are optional when using an Lambda data source. For all
/// other data sources, VTL request and response mapping templates are required.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string RequestMappingTemplate
{
get { return this._requestMappingTemplate; }
set { this._requestMappingTemplate = value; }
}
// Check to see if RequestMappingTemplate property is set
internal bool IsSetRequestMappingTemplate()
{
return this._requestMappingTemplate != null;
}
/// <summary>
/// Gets and sets the property ResponseMappingTemplate.
/// <para>
/// The mapping template to use for responses from the data source.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string ResponseMappingTemplate
{
get { return this._responseMappingTemplate; }
set { this._responseMappingTemplate = value; }
}
// Check to see if ResponseMappingTemplate property is set
internal bool IsSetResponseMappingTemplate()
{
return this._responseMappingTemplate != null;
}
/// <summary>
/// Gets and sets the property Runtime.
/// </summary>
public AppSyncRuntime Runtime
{
get { return this._runtime; }
set { this._runtime = value; }
}
// Check to see if Runtime property is set
internal bool IsSetRuntime()
{
return this._runtime != null;
}
/// <summary>
/// Gets and sets the property SyncConfig.
/// <para>
/// The <code>SyncConfig</code> for a resolver attached to a versioned data source.
/// </para>
/// </summary>
public SyncConfig SyncConfig
{
get { return this._syncConfig; }
set { this._syncConfig = value; }
}
// Check to see if SyncConfig property is set
internal bool IsSetSyncConfig()
{
return this._syncConfig != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The name of the <code>Type</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
}
}
| 322 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the CreateResolver operation.
/// </summary>
public partial class CreateResolverResponse : AmazonWebServiceResponse
{
private Resolver _resolver;
/// <summary>
/// Gets and sets the property Resolver.
/// <para>
/// The <code>Resolver</code> object.
/// </para>
/// </summary>
public Resolver Resolver
{
get { return this._resolver; }
set { this._resolver = value; }
}
// Check to see if Resolver property is set
internal bool IsSetResolver()
{
return this._resolver != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the CreateType operation.
/// Creates a <code>Type</code> object.
/// </summary>
public partial class CreateTypeRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _definition;
private TypeDefinitionFormat _format;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property Definition.
/// <para>
/// The type definition, in GraphQL Schema Definition Language (SDL) format.
/// </para>
///
/// <para>
/// For more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL
/// documentation</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Definition
{
get { return this._definition; }
set { this._definition = value; }
}
// Check to see if Definition property is set
internal bool IsSetDefinition()
{
return this._definition != null;
}
/// <summary>
/// Gets and sets the property Format.
/// <para>
/// The type format: SDL or JSON.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TypeDefinitionFormat Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
}
}
| 104 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the CreateType operation.
/// </summary>
public partial class CreateTypeResponse : AmazonWebServiceResponse
{
private Type _type;
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The <code>Type</code> object.
/// </para>
/// </summary>
public Type Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes a data source.
/// </summary>
public partial class DataSource
{
private string _dataSourceArn;
private string _description;
private DynamodbDataSourceConfig _dynamodbConfig;
private ElasticsearchDataSourceConfig _elasticsearchConfig;
private EventBridgeDataSourceConfig _eventBridgeConfig;
private HttpDataSourceConfig _httpConfig;
private LambdaDataSourceConfig _lambdaConfig;
private string _name;
private OpenSearchServiceDataSourceConfig _openSearchServiceConfig;
private RelationalDatabaseDataSourceConfig _relationalDatabaseConfig;
private string _serviceRoleArn;
private DataSourceType _type;
/// <summary>
/// Gets and sets the property DataSourceArn.
/// <para>
/// The data source Amazon Resource Name (ARN).
/// </para>
/// </summary>
public string DataSourceArn
{
get { return this._dataSourceArn; }
set { this._dataSourceArn = value; }
}
// Check to see if DataSourceArn property is set
internal bool IsSetDataSourceArn()
{
return this._dataSourceArn != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The description of the data source.
/// </para>
/// </summary>
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property DynamodbConfig.
/// <para>
/// DynamoDB settings.
/// </para>
/// </summary>
public DynamodbDataSourceConfig DynamodbConfig
{
get { return this._dynamodbConfig; }
set { this._dynamodbConfig = value; }
}
// Check to see if DynamodbConfig property is set
internal bool IsSetDynamodbConfig()
{
return this._dynamodbConfig != null;
}
/// <summary>
/// Gets and sets the property ElasticsearchConfig.
/// <para>
/// Amazon OpenSearch Service settings.
/// </para>
/// </summary>
public ElasticsearchDataSourceConfig ElasticsearchConfig
{
get { return this._elasticsearchConfig; }
set { this._elasticsearchConfig = value; }
}
// Check to see if ElasticsearchConfig property is set
internal bool IsSetElasticsearchConfig()
{
return this._elasticsearchConfig != null;
}
/// <summary>
/// Gets and sets the property EventBridgeConfig.
/// <para>
/// Amazon EventBridge settings.
/// </para>
/// </summary>
public EventBridgeDataSourceConfig EventBridgeConfig
{
get { return this._eventBridgeConfig; }
set { this._eventBridgeConfig = value; }
}
// Check to see if EventBridgeConfig property is set
internal bool IsSetEventBridgeConfig()
{
return this._eventBridgeConfig != null;
}
/// <summary>
/// Gets and sets the property HttpConfig.
/// <para>
/// HTTP endpoint settings.
/// </para>
/// </summary>
public HttpDataSourceConfig HttpConfig
{
get { return this._httpConfig; }
set { this._httpConfig = value; }
}
// Check to see if HttpConfig property is set
internal bool IsSetHttpConfig()
{
return this._httpConfig != null;
}
/// <summary>
/// Gets and sets the property LambdaConfig.
/// <para>
/// Lambda settings.
/// </para>
/// </summary>
public LambdaDataSourceConfig LambdaConfig
{
get { return this._lambdaConfig; }
set { this._lambdaConfig = value; }
}
// Check to see if LambdaConfig property is set
internal bool IsSetLambdaConfig()
{
return this._lambdaConfig != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the data source.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property OpenSearchServiceConfig.
/// <para>
/// Amazon OpenSearch Service settings.
/// </para>
/// </summary>
public OpenSearchServiceDataSourceConfig OpenSearchServiceConfig
{
get { return this._openSearchServiceConfig; }
set { this._openSearchServiceConfig = value; }
}
// Check to see if OpenSearchServiceConfig property is set
internal bool IsSetOpenSearchServiceConfig()
{
return this._openSearchServiceConfig != null;
}
/// <summary>
/// Gets and sets the property RelationalDatabaseConfig.
/// <para>
/// Relational database settings.
/// </para>
/// </summary>
public RelationalDatabaseDataSourceConfig RelationalDatabaseConfig
{
get { return this._relationalDatabaseConfig; }
set { this._relationalDatabaseConfig = value; }
}
// Check to see if RelationalDatabaseConfig property is set
internal bool IsSetRelationalDatabaseConfig()
{
return this._relationalDatabaseConfig != null;
}
/// <summary>
/// Gets and sets the property ServiceRoleArn.
/// <para>
/// The Identity and Access Management (IAM) service role Amazon Resource Name (ARN) for
/// the data source. The system assumes this role when accessing the data source.
/// </para>
/// </summary>
public string ServiceRoleArn
{
get { return this._serviceRoleArn; }
set { this._serviceRoleArn = value; }
}
// Check to see if ServiceRoleArn property is set
internal bool IsSetServiceRoleArn()
{
return this._serviceRoleArn != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The type of the data source.
/// </para>
/// <ul> <li>
/// <para>
/// <b>AWS_LAMBDA</b>: The data source is an Lambda function.
/// </para>
/// </li> <li>
/// <para>
/// <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.
/// </para>
/// </li> <li>
/// <para>
/// <b>AMAZON_ELASTICSEARCH</b>: The data source is an Amazon OpenSearch Service domain.
/// </para>
/// </li> <li>
/// <para>
/// <b>AMAZON_OPENSEARCH_SERVICE</b>: The data source is an Amazon OpenSearch Service
/// domain.
/// </para>
/// </li> <li>
/// <para>
/// <b>AMAZON_EVENTBRIDGE</b>: The data source is an Amazon EventBridge configuration.
/// </para>
/// </li> <li>
/// <para>
/// <b>NONE</b>: There is no data source. Use this type when you want to invoke a GraphQL
/// operation without connecting to a data source, such as when you're performing data
/// transformation with resolvers or invoking a subscription from a mutation.
/// </para>
/// </li> <li>
/// <para>
/// <b>HTTP</b>: The data source is an HTTP endpoint.
/// </para>
/// </li> <li>
/// <para>
/// <b>RELATIONAL_DATABASE</b>: The data source is a relational database.
/// </para>
/// </li> </ul>
/// </summary>
public DataSourceType Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 304 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DeleteApiCache operation.
/// Deletes an <code>ApiCache</code> object.
/// </summary>
public partial class DeleteApiCacheRequest : AmazonAppSyncRequest
{
private string _apiId;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Represents the output of a <code>DeleteApiCache</code> operation.
/// </summary>
public partial class DeleteApiCacheResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DeleteApiKey operation.
/// Deletes an API key.
/// </summary>
public partial class DeleteApiKeyRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _id;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property Id.
/// <para>
/// The ID for the API key.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Id
{
get { return this._id; }
set { this._id = value; }
}
// Check to see if Id property is set
internal bool IsSetId()
{
return this._id != null;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DeleteApiKey operation.
/// </summary>
public partial class DeleteApiKeyResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DeleteDataSource operation.
/// Deletes a <code>DataSource</code> object.
/// </summary>
public partial class DeleteDataSourceRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _name;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the data source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DeleteDataSource operation.
/// </summary>
public partial class DeleteDataSourceResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DeleteDomainName operation.
/// Deletes a custom <code>DomainName</code> object.
/// </summary>
public partial class DeleteDomainNameRequest : AmazonAppSyncRequest
{
private string _domainName;
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The domain name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=253)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DeleteDomainName operation.
/// </summary>
public partial class DeleteDomainNameResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DeleteFunction operation.
/// Deletes a <code>Function</code>.
/// </summary>
public partial class DeleteFunctionRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _functionId;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The GraphQL API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property FunctionId.
/// <para>
/// The <code>Function</code> ID.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string FunctionId
{
get { return this._functionId; }
set { this._functionId = value; }
}
// Check to see if FunctionId property is set
internal bool IsSetFunctionId()
{
return this._functionId != null;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DeleteFunction operation.
/// </summary>
public partial class DeleteFunctionResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DeleteGraphqlApi operation.
/// Deletes a <code>GraphqlApi</code> object.
/// </summary>
public partial class DeleteGraphqlApiRequest : AmazonAppSyncRequest
{
private string _apiId;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DeleteGraphqlApi operation.
/// </summary>
public partial class DeleteGraphqlApiResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DeleteResolver operation.
/// Deletes a <code>Resolver</code> object.
/// </summary>
public partial class DeleteResolverRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _fieldName;
private string _typeName;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property FieldName.
/// <para>
/// The resolver field name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string FieldName
{
get { return this._fieldName; }
set { this._fieldName = value; }
}
// Check to see if FieldName property is set
internal bool IsSetFieldName()
{
return this._fieldName != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The name of the resolver type.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
}
}
| 99 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DeleteResolver operation.
/// </summary>
public partial class DeleteResolverResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DeleteType operation.
/// Deletes a <code>Type</code> object.
/// </summary>
public partial class DeleteTypeRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _typeName;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The type name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DeleteType operation.
/// </summary>
public partial class DeleteTypeResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes a Delta Sync configuration.
/// </summary>
public partial class DeltaSyncConfig
{
private long? _baseTableTTL;
private string _deltaSyncTableName;
private long? _deltaSyncTableTTL;
/// <summary>
/// Gets and sets the property BaseTableTTL.
/// <para>
/// The number of minutes that an Item is stored in the data source.
/// </para>
/// </summary>
public long BaseTableTTL
{
get { return this._baseTableTTL.GetValueOrDefault(); }
set { this._baseTableTTL = value; }
}
// Check to see if BaseTableTTL property is set
internal bool IsSetBaseTableTTL()
{
return this._baseTableTTL.HasValue;
}
/// <summary>
/// Gets and sets the property DeltaSyncTableName.
/// <para>
/// The Delta Sync table name.
/// </para>
/// </summary>
public string DeltaSyncTableName
{
get { return this._deltaSyncTableName; }
set { this._deltaSyncTableName = value; }
}
// Check to see if DeltaSyncTableName property is set
internal bool IsSetDeltaSyncTableName()
{
return this._deltaSyncTableName != null;
}
/// <summary>
/// Gets and sets the property DeltaSyncTableTTL.
/// <para>
/// The number of minutes that a Delta Sync log entry is stored in the Delta Sync table.
/// </para>
/// </summary>
public long DeltaSyncTableTTL
{
get { return this._deltaSyncTableTTL.GetValueOrDefault(); }
set { this._deltaSyncTableTTL = value; }
}
// Check to see if DeltaSyncTableTTL property is set
internal bool IsSetDeltaSyncTableTTL()
{
return this._deltaSyncTableTTL.HasValue;
}
}
}
| 95 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DisassociateApi operation.
/// Removes an <code>ApiAssociation</code> object from a custom domain.
/// </summary>
public partial class DisassociateApiRequest : AmazonAppSyncRequest
{
private string _domainName;
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The domain name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=253)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DisassociateApi operation.
/// </summary>
public partial class DisassociateApiResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DisassociateMergedGraphqlApi operation.
/// Deletes an association between a Merged API and source API using the source API's
/// identifier and the association ID.
/// </summary>
public partial class DisassociateMergedGraphqlApiRequest : AmazonAppSyncRequest
{
private string _associationId;
private string _sourceApiIdentifier;
/// <summary>
/// Gets and sets the property AssociationId.
/// <para>
/// The ID generated by the AppSync service for the source API association.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AssociationId
{
get { return this._associationId; }
set { this._associationId = value; }
}
// Check to see if AssociationId property is set
internal bool IsSetAssociationId()
{
return this._associationId != null;
}
/// <summary>
/// Gets and sets the property SourceApiIdentifier.
/// <para>
/// The identifier of the AppSync Source API. This is generated by the AppSync service.
/// In most cases, source APIs (especially in your account) only require the API ID value
/// or ARN of the source API. However, source APIs from other accounts (cross-account
/// use cases) strictly require the full resource ARN of the source API.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string SourceApiIdentifier
{
get { return this._sourceApiIdentifier; }
set { this._sourceApiIdentifier = value; }
}
// Check to see if SourceApiIdentifier property is set
internal bool IsSetSourceApiIdentifier()
{
return this._sourceApiIdentifier != null;
}
}
}
| 83 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DisassociateMergedGraphqlApi operation.
/// </summary>
public partial class DisassociateMergedGraphqlApiResponse : AmazonWebServiceResponse
{
private SourceApiAssociationStatus _sourceApiAssociationStatus;
/// <summary>
/// Gets and sets the property SourceApiAssociationStatus.
/// <para>
/// The state of the source API association.
/// </para>
/// </summary>
public SourceApiAssociationStatus SourceApiAssociationStatus
{
get { return this._sourceApiAssociationStatus; }
set { this._sourceApiAssociationStatus = value; }
}
// Check to see if SourceApiAssociationStatus property is set
internal bool IsSetSourceApiAssociationStatus()
{
return this._sourceApiAssociationStatus != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the DisassociateSourceGraphqlApi operation.
/// Deletes an association between a Merged API and source API using the Merged API's
/// identifier and the association ID.
/// </summary>
public partial class DisassociateSourceGraphqlApiRequest : AmazonAppSyncRequest
{
private string _associationId;
private string _mergedApiIdentifier;
/// <summary>
/// Gets and sets the property AssociationId.
/// <para>
/// The ID generated by the AppSync service for the source API association.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AssociationId
{
get { return this._associationId; }
set { this._associationId = value; }
}
// Check to see if AssociationId property is set
internal bool IsSetAssociationId()
{
return this._associationId != null;
}
/// <summary>
/// Gets and sets the property MergedApiIdentifier.
/// <para>
/// The identifier of the AppSync Merged API. This is generated by the AppSync service.
/// In most cases, Merged APIs (especially in your account) only require the API ID value
/// or ARN of the merged API. However, Merged APIs in other accounts (cross-account use
/// cases) strictly require the full resource ARN of the merged API.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string MergedApiIdentifier
{
get { return this._mergedApiIdentifier; }
set { this._mergedApiIdentifier = value; }
}
// Check to see if MergedApiIdentifier property is set
internal bool IsSetMergedApiIdentifier()
{
return this._mergedApiIdentifier != null;
}
}
}
| 83 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the DisassociateSourceGraphqlApi operation.
/// </summary>
public partial class DisassociateSourceGraphqlApiResponse : AmazonWebServiceResponse
{
private SourceApiAssociationStatus _sourceApiAssociationStatus;
/// <summary>
/// Gets and sets the property SourceApiAssociationStatus.
/// <para>
/// The state of the source API association.
/// </para>
/// </summary>
public SourceApiAssociationStatus SourceApiAssociationStatus
{
get { return this._sourceApiAssociationStatus; }
set { this._sourceApiAssociationStatus = value; }
}
// Check to see if SourceApiAssociationStatus property is set
internal bool IsSetSourceApiAssociationStatus()
{
return this._sourceApiAssociationStatus != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes a configuration for a custom domain.
/// </summary>
public partial class DomainNameConfig
{
private string _appsyncDomainName;
private string _certificateArn;
private string _description;
private string _domainName;
private string _hostedZoneId;
/// <summary>
/// Gets and sets the property AppsyncDomainName.
/// <para>
/// The domain name that AppSync provides.
/// </para>
/// </summary>
public string AppsyncDomainName
{
get { return this._appsyncDomainName; }
set { this._appsyncDomainName = value; }
}
// Check to see if AppsyncDomainName property is set
internal bool IsSetAppsyncDomainName()
{
return this._appsyncDomainName != null;
}
/// <summary>
/// Gets and sets the property CertificateArn.
/// <para>
/// The Amazon Resource Name (ARN) of the certificate. This can be an Certificate Manager
/// (ACM) certificate or an Identity and Access Management (IAM) server certificate.
/// </para>
/// </summary>
[AWSProperty(Min=20, Max=2048)]
public string CertificateArn
{
get { return this._certificateArn; }
set { this._certificateArn = value; }
}
// Check to see if CertificateArn property is set
internal bool IsSetCertificateArn()
{
return this._certificateArn != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description of the <code>DomainName</code> configuration.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=255)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The domain name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=253)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
/// <summary>
/// Gets and sets the property HostedZoneId.
/// <para>
/// The ID of your Amazon Route 53 hosted zone.
/// </para>
/// </summary>
public string HostedZoneId
{
get { return this._hostedZoneId; }
set { this._hostedZoneId = value; }
}
// Check to see if HostedZoneId property is set
internal bool IsSetHostedZoneId()
{
return this._hostedZoneId != null;
}
}
}
| 137 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes an Amazon DynamoDB data source configuration.
/// </summary>
public partial class DynamodbDataSourceConfig
{
private string _awsRegion;
private DeltaSyncConfig _deltaSyncConfig;
private string _tableName;
private bool? _useCallerCredentials;
private bool? _versioned;
/// <summary>
/// Gets and sets the property AwsRegion.
/// <para>
/// The Amazon Web Services Region.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AwsRegion
{
get { return this._awsRegion; }
set { this._awsRegion = value; }
}
// Check to see if AwsRegion property is set
internal bool IsSetAwsRegion()
{
return this._awsRegion != null;
}
/// <summary>
/// Gets and sets the property DeltaSyncConfig.
/// <para>
/// The <code>DeltaSyncConfig</code> for a versioned data source.
/// </para>
/// </summary>
public DeltaSyncConfig DeltaSyncConfig
{
get { return this._deltaSyncConfig; }
set { this._deltaSyncConfig = value; }
}
// Check to see if DeltaSyncConfig property is set
internal bool IsSetDeltaSyncConfig()
{
return this._deltaSyncConfig != null;
}
/// <summary>
/// Gets and sets the property TableName.
/// <para>
/// The table name.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string TableName
{
get { return this._tableName; }
set { this._tableName = value; }
}
// Check to see if TableName property is set
internal bool IsSetTableName()
{
return this._tableName != null;
}
/// <summary>
/// Gets and sets the property UseCallerCredentials.
/// <para>
/// Set to TRUE to use Amazon Cognito credentials with this data source.
/// </para>
/// </summary>
public bool UseCallerCredentials
{
get { return this._useCallerCredentials.GetValueOrDefault(); }
set { this._useCallerCredentials = value; }
}
// Check to see if UseCallerCredentials property is set
internal bool IsSetUseCallerCredentials()
{
return this._useCallerCredentials.HasValue;
}
/// <summary>
/// Gets and sets the property Versioned.
/// <para>
/// Set to TRUE to use Conflict Detection and Resolution with this data source.
/// </para>
/// </summary>
public bool Versioned
{
get { return this._versioned.GetValueOrDefault(); }
set { this._versioned = value; }
}
// Check to see if Versioned property is set
internal bool IsSetVersioned()
{
return this._versioned.HasValue;
}
}
}
| 135 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes an OpenSearch data source configuration.
///
///
/// <para>
/// As of September 2021, Amazon Elasticsearch service is Amazon OpenSearch Service. This
/// configuration is deprecated. For new data sources, use <a>OpenSearchServiceDataSourceConfig</a>
/// to specify an OpenSearch data source.
/// </para>
/// </summary>
public partial class ElasticsearchDataSourceConfig
{
private string _awsRegion;
private string _endpoint;
/// <summary>
/// Gets and sets the property AwsRegion.
/// <para>
/// The Amazon Web Services Region.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AwsRegion
{
get { return this._awsRegion; }
set { this._awsRegion = value; }
}
// Check to see if AwsRegion property is set
internal bool IsSetAwsRegion()
{
return this._awsRegion != null;
}
/// <summary>
/// Gets and sets the property Endpoint.
/// <para>
/// The endpoint.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Endpoint
{
get { return this._endpoint; }
set { this._endpoint = value; }
}
// Check to see if Endpoint property is set
internal bool IsSetEndpoint()
{
return this._endpoint != null;
}
}
}
| 85 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Contains the list of errors generated. When using JavaScript, this will apply to the
/// request or response function evaluation.
/// </summary>
public partial class ErrorDetail
{
private string _message;
/// <summary>
/// Gets and sets the property Message.
/// <para>
/// The error payload.
/// </para>
/// </summary>
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Contains the list of errors from a code evaluation response.
/// </summary>
public partial class EvaluateCodeErrorDetail
{
private List<CodeError> _codeErrors = new List<CodeError>();
private string _message;
/// <summary>
/// Gets and sets the property CodeErrors.
/// <para>
/// Contains the list of <code>CodeError</code> objects.
/// </para>
/// </summary>
public List<CodeError> CodeErrors
{
get { return this._codeErrors; }
set { this._codeErrors = value; }
}
// Check to see if CodeErrors property is set
internal bool IsSetCodeErrors()
{
return this._codeErrors != null && this._codeErrors.Count > 0;
}
/// <summary>
/// Gets and sets the property Message.
/// <para>
/// The error payload.
/// </para>
/// </summary>
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
}
}
| 76 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the EvaluateCode operation.
/// Evaluates the given code and returns the response. The code definition requirements
/// depend on the specified runtime. For <code>APPSYNC_JS</code> runtimes, the code defines
/// the request and response functions. The request function takes the incoming request
/// after a GraphQL operation is parsed and converts it into a request configuration for
/// the selected data source operation. The response function interprets responses from
/// the data source and maps it to the shape of the GraphQL field output type.
/// </summary>
public partial class EvaluateCodeRequest : AmazonAppSyncRequest
{
private string _code;
private string _context;
private string _function;
private AppSyncRuntime _runtime;
/// <summary>
/// Gets and sets the property Code.
/// <para>
/// The code definition to be evaluated. Note that <code>code</code> and <code>runtime</code>
/// are both required for this action. The <code>runtime</code> value must be <code>APPSYNC_JS</code>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=32768)]
public string Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
/// <summary>
/// Gets and sets the property Context.
/// <para>
/// The map that holds all of the contextual information for your resolver invocation.
/// A <code>context</code> is required for this action.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=2, Max=28000)]
public string Context
{
get { return this._context; }
set { this._context = value; }
}
// Check to see if Context property is set
internal bool IsSetContext()
{
return this._context != null;
}
/// <summary>
/// Gets and sets the property Function.
/// <para>
/// The function within the code to be evaluated. If provided, the valid values are <code>request</code>
/// and <code>response</code>.
/// </para>
/// </summary>
public string Function
{
get { return this._function; }
set { this._function = value; }
}
// Check to see if Function property is set
internal bool IsSetFunction()
{
return this._function != null;
}
/// <summary>
/// Gets and sets the property Runtime.
/// <para>
/// The runtime to be used when evaluating the code. Currently, only the <code>APPSYNC_JS</code>
/// runtime is supported.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AppSyncRuntime Runtime
{
get { return this._runtime; }
set { this._runtime = value; }
}
// Check to see if Runtime property is set
internal bool IsSetRuntime()
{
return this._runtime != null;
}
}
}
| 127 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the EvaluateCode operation.
/// </summary>
public partial class EvaluateCodeResponse : AmazonWebServiceResponse
{
private EvaluateCodeErrorDetail _error;
private string _evaluationResult;
private List<string> _logs = new List<string>();
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// Contains the payload of the response error.
/// </para>
/// </summary>
public EvaluateCodeErrorDetail Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property EvaluationResult.
/// <para>
/// The result of the evaluation operation.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=65536)]
public string EvaluationResult
{
get { return this._evaluationResult; }
set { this._evaluationResult = value; }
}
// Check to see if EvaluationResult property is set
internal bool IsSetEvaluationResult()
{
return this._evaluationResult != null;
}
/// <summary>
/// Gets and sets the property Logs.
/// <para>
/// A list of logs that were generated by calls to <code>util.log.info</code> and <code>util.log.error</code>
/// in the evaluated code.
/// </para>
/// </summary>
public List<string> Logs
{
get { return this._logs; }
set { this._logs = value; }
}
// Check to see if Logs property is set
internal bool IsSetLogs()
{
return this._logs != null && this._logs.Count > 0;
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the EvaluateMappingTemplate operation.
/// Evaluates a given template and returns the response. The mapping template can be a
/// request or response template.
///
///
/// <para>
/// Request templates take the incoming request after a GraphQL operation is parsed and
/// convert it into a request configuration for the selected data source operation. Response
/// templates interpret responses from the data source and map it to the shape of the
/// GraphQL field output type.
/// </para>
///
/// <para>
/// Mapping templates are written in the Apache Velocity Template Language (VTL).
/// </para>
/// </summary>
public partial class EvaluateMappingTemplateRequest : AmazonAppSyncRequest
{
private string _context;
private string _template;
/// <summary>
/// Gets and sets the property Context.
/// <para>
/// The map that holds all of the contextual information for your resolver invocation.
/// A <code>context</code> is required for this action.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=2, Max=28000)]
public string Context
{
get { return this._context; }
set { this._context = value; }
}
// Check to see if Context property is set
internal bool IsSetContext()
{
return this._context != null;
}
/// <summary>
/// Gets and sets the property Template.
/// <para>
/// The mapping template; this can be a request or response template. A <code>template</code>
/// is required for this action.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=2, Max=65536)]
public string Template
{
get { return this._template; }
set { this._template = value; }
}
// Check to see if Template property is set
internal bool IsSetTemplate()
{
return this._template != null;
}
}
}
| 94 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the EvaluateMappingTemplate operation.
/// </summary>
public partial class EvaluateMappingTemplateResponse : AmazonWebServiceResponse
{
private ErrorDetail _error;
private string _evaluationResult;
private List<string> _logs = new List<string>();
/// <summary>
/// Gets and sets the property Error.
/// <para>
/// The <code>ErrorDetail</code> object.
/// </para>
/// </summary>
public ErrorDetail Error
{
get { return this._error; }
set { this._error = value; }
}
// Check to see if Error property is set
internal bool IsSetError()
{
return this._error != null;
}
/// <summary>
/// Gets and sets the property EvaluationResult.
/// <para>
/// The mapping template; this can be a request or response template.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=65536)]
public string EvaluationResult
{
get { return this._evaluationResult; }
set { this._evaluationResult = value; }
}
// Check to see if EvaluationResult property is set
internal bool IsSetEvaluationResult()
{
return this._evaluationResult != null;
}
/// <summary>
/// Gets and sets the property Logs.
/// <para>
/// A list of logs that were generated by calls to <code>util.log.info</code> and <code>util.log.error</code>
/// in the evaluated code.
/// </para>
/// </summary>
public List<string> Logs
{
get { return this._logs; }
set { this._logs = value; }
}
// Check to see if Logs property is set
internal bool IsSetLogs()
{
return this._logs != null && this._logs.Count > 0;
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes an Amazon EventBridge bus data source configuration.
/// </summary>
public partial class EventBridgeDataSourceConfig
{
private string _eventBusArn;
/// <summary>
/// Gets and sets the property EventBusArn.
/// <para>
/// The ARN of the event bus. For more information about event buses, see <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html">Amazon
/// EventBridge event buses</a>.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string EventBusArn
{
get { return this._eventBusArn; }
set { this._eventBusArn = value; }
}
// Check to see if EventBusArn property is set
internal bool IsSetEventBusArn()
{
return this._eventBusArn != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the FlushApiCache operation.
/// Flushes an <code>ApiCache</code> object.
/// </summary>
public partial class FlushApiCacheRequest : AmazonAppSyncRequest
{
private string _apiId;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Represents the output of a <code>FlushApiCache</code> operation.
/// </summary>
public partial class FlushApiCacheResponse : AmazonWebServiceResponse
{
}
}
| 38 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// A function is a reusable entity. You can use multiple functions to compose the resolver
/// logic.
/// </summary>
public partial class FunctionConfiguration
{
private string _code;
private string _dataSourceName;
private string _description;
private string _functionArn;
private string _functionId;
private string _functionVersion;
private int? _maxBatchSize;
private string _name;
private string _requestMappingTemplate;
private string _responseMappingTemplate;
private AppSyncRuntime _runtime;
private SyncConfig _syncConfig;
/// <summary>
/// Gets and sets the property Code.
/// <para>
/// The <code>function</code> code that contains the request and response functions. When
/// code is used, the <code>runtime</code> is required. The <code>runtime</code> value
/// must be <code>APPSYNC_JS</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=32768)]
public string Code
{
get { return this._code; }
set { this._code = value; }
}
// Check to see if Code property is set
internal bool IsSetCode()
{
return this._code != null;
}
/// <summary>
/// Gets and sets the property DataSourceName.
/// <para>
/// The name of the <code>DataSource</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string DataSourceName
{
get { return this._dataSourceName; }
set { this._dataSourceName = value; }
}
// Check to see if DataSourceName property is set
internal bool IsSetDataSourceName()
{
return this._dataSourceName != null;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// The <code>Function</code> description.
/// </para>
/// </summary>
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property FunctionArn.
/// <para>
/// The Amazon Resource Name (ARN) of the <code>Function</code> object.
/// </para>
/// </summary>
public string FunctionArn
{
get { return this._functionArn; }
set { this._functionArn = value; }
}
// Check to see if FunctionArn property is set
internal bool IsSetFunctionArn()
{
return this._functionArn != null;
}
/// <summary>
/// Gets and sets the property FunctionId.
/// <para>
/// A unique ID representing the <code>Function</code> object.
/// </para>
/// </summary>
public string FunctionId
{
get { return this._functionId; }
set { this._functionId = value; }
}
// Check to see if FunctionId property is set
internal bool IsSetFunctionId()
{
return this._functionId != null;
}
/// <summary>
/// Gets and sets the property FunctionVersion.
/// <para>
/// The version of the request mapping template. Currently, only the 2018-05-29 version
/// of the template is supported.
/// </para>
/// </summary>
public string FunctionVersion
{
get { return this._functionVersion; }
set { this._functionVersion = value; }
}
// Check to see if FunctionVersion property is set
internal bool IsSetFunctionVersion()
{
return this._functionVersion != null;
}
/// <summary>
/// Gets and sets the property MaxBatchSize.
/// <para>
/// The maximum batching size for a resolver.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=2000)]
public int MaxBatchSize
{
get { return this._maxBatchSize.GetValueOrDefault(); }
set { this._maxBatchSize = value; }
}
// Check to see if MaxBatchSize property is set
internal bool IsSetMaxBatchSize()
{
return this._maxBatchSize.HasValue;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the <code>Function</code> object.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property RequestMappingTemplate.
/// <para>
/// The <code>Function</code> request mapping template. Functions support only the 2018-05-29
/// version of the request mapping template.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string RequestMappingTemplate
{
get { return this._requestMappingTemplate; }
set { this._requestMappingTemplate = value; }
}
// Check to see if RequestMappingTemplate property is set
internal bool IsSetRequestMappingTemplate()
{
return this._requestMappingTemplate != null;
}
/// <summary>
/// Gets and sets the property ResponseMappingTemplate.
/// <para>
/// The <code>Function</code> response mapping template.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string ResponseMappingTemplate
{
get { return this._responseMappingTemplate; }
set { this._responseMappingTemplate = value; }
}
// Check to see if ResponseMappingTemplate property is set
internal bool IsSetResponseMappingTemplate()
{
return this._responseMappingTemplate != null;
}
/// <summary>
/// Gets and sets the property Runtime.
/// </summary>
public AppSyncRuntime Runtime
{
get { return this._runtime; }
set { this._runtime = value; }
}
// Check to see if Runtime property is set
internal bool IsSetRuntime()
{
return this._runtime != null;
}
/// <summary>
/// Gets and sets the property SyncConfig.
/// </summary>
public SyncConfig SyncConfig
{
get { return this._syncConfig; }
set { this._syncConfig = value; }
}
// Check to see if SyncConfig property is set
internal bool IsSetSyncConfig()
{
return this._syncConfig != null;
}
}
}
| 271 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetApiAssociation operation.
/// Retrieves an <code>ApiAssociation</code> object.
/// </summary>
public partial class GetApiAssociationRequest : AmazonAppSyncRequest
{
private string _domainName;
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The domain name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=253)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetApiAssociation operation.
/// </summary>
public partial class GetApiAssociationResponse : AmazonWebServiceResponse
{
private ApiAssociation _apiAssociation;
/// <summary>
/// Gets and sets the property ApiAssociation.
/// <para>
/// The <code>ApiAssociation</code> object.
/// </para>
/// </summary>
public ApiAssociation ApiAssociation
{
get { return this._apiAssociation; }
set { this._apiAssociation = value; }
}
// Check to see if ApiAssociation property is set
internal bool IsSetApiAssociation()
{
return this._apiAssociation != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetApiCache operation.
/// Retrieves an <code>ApiCache</code> object.
/// </summary>
public partial class GetApiCacheRequest : AmazonAppSyncRequest
{
private string _apiId;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Represents the output of a <code>GetApiCache</code> operation.
/// </summary>
public partial class GetApiCacheResponse : AmazonWebServiceResponse
{
private ApiCache _apiCache;
/// <summary>
/// Gets and sets the property ApiCache.
/// <para>
/// The <code>ApiCache</code> object.
/// </para>
/// </summary>
public ApiCache ApiCache
{
get { return this._apiCache; }
set { this._apiCache = value; }
}
// Check to see if ApiCache property is set
internal bool IsSetApiCache()
{
return this._apiCache != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetDataSource operation.
/// Retrieves a <code>DataSource</code> object.
/// </summary>
public partial class GetDataSourceRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _name;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the data source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetDataSource operation.
/// </summary>
public partial class GetDataSourceResponse : AmazonWebServiceResponse
{
private DataSource _dataSource;
/// <summary>
/// Gets and sets the property DataSource.
/// <para>
/// The <code>DataSource</code> object.
/// </para>
/// </summary>
public DataSource DataSource
{
get { return this._dataSource; }
set { this._dataSource = value; }
}
// Check to see if DataSource property is set
internal bool IsSetDataSource()
{
return this._dataSource != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetDomainName operation.
/// Retrieves a custom <code>DomainName</code> object.
/// </summary>
public partial class GetDomainNameRequest : AmazonAppSyncRequest
{
private string _domainName;
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The domain name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=253)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetDomainName operation.
/// </summary>
public partial class GetDomainNameResponse : AmazonWebServiceResponse
{
private DomainNameConfig _domainNameConfig;
/// <summary>
/// Gets and sets the property DomainNameConfig.
/// <para>
/// The configuration for the <code>DomainName</code>.
/// </para>
/// </summary>
public DomainNameConfig DomainNameConfig
{
get { return this._domainNameConfig; }
set { this._domainNameConfig = value; }
}
// Check to see if DomainNameConfig property is set
internal bool IsSetDomainNameConfig()
{
return this._domainNameConfig != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetFunction operation.
/// Get a <code>Function</code>.
/// </summary>
public partial class GetFunctionRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _functionId;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The GraphQL API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property FunctionId.
/// <para>
/// The <code>Function</code> ID.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string FunctionId
{
get { return this._functionId; }
set { this._functionId = value; }
}
// Check to see if FunctionId property is set
internal bool IsSetFunctionId()
{
return this._functionId != null;
}
}
}
| 79 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetFunction operation.
/// </summary>
public partial class GetFunctionResponse : AmazonWebServiceResponse
{
private FunctionConfiguration _functionConfiguration;
/// <summary>
/// Gets and sets the property FunctionConfiguration.
/// <para>
/// The <code>Function</code> object.
/// </para>
/// </summary>
public FunctionConfiguration FunctionConfiguration
{
get { return this._functionConfiguration; }
set { this._functionConfiguration = value; }
}
// Check to see if FunctionConfiguration property is set
internal bool IsSetFunctionConfiguration()
{
return this._functionConfiguration != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetGraphqlApi operation.
/// Retrieves a <code>GraphqlApi</code> object.
/// </summary>
public partial class GetGraphqlApiRequest : AmazonAppSyncRequest
{
private string _apiId;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID for the GraphQL API.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetGraphqlApi operation.
/// </summary>
public partial class GetGraphqlApiResponse : AmazonWebServiceResponse
{
private GraphqlApi _graphqlApi;
/// <summary>
/// Gets and sets the property GraphqlApi.
/// <para>
/// The <code>GraphqlApi</code> object.
/// </para>
/// </summary>
public GraphqlApi GraphqlApi
{
get { return this._graphqlApi; }
set { this._graphqlApi = value; }
}
// Check to see if GraphqlApi property is set
internal bool IsSetGraphqlApi()
{
return this._graphqlApi != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetIntrospectionSchema operation.
/// Retrieves the introspection schema for a GraphQL API.
/// </summary>
public partial class GetIntrospectionSchemaRequest : AmazonAppSyncRequest
{
private string _apiId;
private OutputType _format;
private bool? _includeDirectives;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property Format.
/// <para>
/// The schema format: SDL or JSON.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public OutputType Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
/// <summary>
/// Gets and sets the property IncludeDirectives.
/// <para>
/// A flag that specifies whether the schema introspection should contain directives.
/// </para>
/// </summary>
public bool IncludeDirectives
{
get { return this._includeDirectives.GetValueOrDefault(); }
set { this._includeDirectives = value; }
}
// Check to see if IncludeDirectives property is set
internal bool IsSetIncludeDirectives()
{
return this._includeDirectives.HasValue;
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetIntrospectionSchema operation.
/// </summary>
public partial class GetIntrospectionSchemaResponse : AmazonWebServiceResponse
{
private MemoryStream _schema;
/// <summary>
/// Gets and sets the property Schema.
/// <para>
/// The schema, in GraphQL Schema Definition Language (SDL) format.
/// </para>
///
/// <para>
/// For more information, see the <a href="http://graphql.org/learn/schema/">GraphQL SDL
/// documentation</a>.
/// </para>
/// </summary>
public MemoryStream Schema
{
get { return this._schema; }
set { this._schema = value; }
}
// Check to see if Schema property is set
internal bool IsSetSchema()
{
return this._schema != null;
}
}
}
| 62 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetResolver operation.
/// Retrieves a <code>Resolver</code> object.
/// </summary>
public partial class GetResolverRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _fieldName;
private string _typeName;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property FieldName.
/// <para>
/// The resolver field name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string FieldName
{
get { return this._fieldName; }
set { this._fieldName = value; }
}
// Check to see if FieldName property is set
internal bool IsSetFieldName()
{
return this._fieldName != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The resolver type name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
}
}
| 99 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetResolver operation.
/// </summary>
public partial class GetResolverResponse : AmazonWebServiceResponse
{
private Resolver _resolver;
/// <summary>
/// Gets and sets the property Resolver.
/// <para>
/// The <code>Resolver</code> object.
/// </para>
/// </summary>
public Resolver Resolver
{
get { return this._resolver; }
set { this._resolver = value; }
}
// Check to see if Resolver property is set
internal bool IsSetResolver()
{
return this._resolver != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetSchemaCreationStatus operation.
/// Retrieves the current status of a schema creation operation.
/// </summary>
public partial class GetSchemaCreationStatusRequest : AmazonAppSyncRequest
{
private string _apiId;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetSchemaCreationStatus operation.
/// </summary>
public partial class GetSchemaCreationStatusResponse : AmazonWebServiceResponse
{
private string _details;
private SchemaStatus _status;
/// <summary>
/// Gets and sets the property Details.
/// <para>
/// Detailed information about the status of the schema creation operation.
/// </para>
/// </summary>
public string Details
{
get { return this._details; }
set { this._details = value; }
}
// Check to see if Details property is set
internal bool IsSetDetails()
{
return this._details != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current state of the schema (PROCESSING, FAILED, SUCCESS, or NOT_APPLICABLE).
/// When the schema is in the ACTIVE state, you can add data.
/// </para>
/// </summary>
public SchemaStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetSourceApiAssociation operation.
/// Retrieves a <code>SourceApiAssociation</code> object.
/// </summary>
public partial class GetSourceApiAssociationRequest : AmazonAppSyncRequest
{
private string _associationId;
private string _mergedApiIdentifier;
/// <summary>
/// Gets and sets the property AssociationId.
/// <para>
/// The ID generated by the AppSync service for the source API association.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AssociationId
{
get { return this._associationId; }
set { this._associationId = value; }
}
// Check to see if AssociationId property is set
internal bool IsSetAssociationId()
{
return this._associationId != null;
}
/// <summary>
/// Gets and sets the property MergedApiIdentifier.
/// <para>
/// The identifier of the AppSync Merged API. This is generated by the AppSync service.
/// In most cases, Merged APIs (especially in your account) only require the API ID value
/// or ARN of the merged API. However, Merged APIs in other accounts (cross-account use
/// cases) strictly require the full resource ARN of the merged API.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string MergedApiIdentifier
{
get { return this._mergedApiIdentifier; }
set { this._mergedApiIdentifier = value; }
}
// Check to see if MergedApiIdentifier property is set
internal bool IsSetMergedApiIdentifier()
{
return this._mergedApiIdentifier != null;
}
}
}
| 82 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetSourceApiAssociation operation.
/// </summary>
public partial class GetSourceApiAssociationResponse : AmazonWebServiceResponse
{
private SourceApiAssociation _sourceApiAssociation;
/// <summary>
/// Gets and sets the property SourceApiAssociation.
/// <para>
/// The <code>SourceApiAssociation</code> object data.
/// </para>
/// </summary>
public SourceApiAssociation SourceApiAssociation
{
get { return this._sourceApiAssociation; }
set { this._sourceApiAssociation = value; }
}
// Check to see if SourceApiAssociation property is set
internal bool IsSetSourceApiAssociation()
{
return this._sourceApiAssociation != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the GetType operation.
/// Retrieves a <code>Type</code> object.
/// </summary>
public partial class GetTypeRequest : AmazonAppSyncRequest
{
private string _apiId;
private TypeDefinitionFormat _format;
private string _typeName;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property Format.
/// <para>
/// The type format: SDL or JSON.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TypeDefinitionFormat Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The type name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=65536)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
}
}
| 99 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the GetType operation.
/// </summary>
public partial class GetTypeResponse : AmazonWebServiceResponse
{
private Type _type;
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The <code>Type</code> object.
/// </para>
/// </summary>
public Type Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
}
}
| 57 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes a GraphQL API.
/// </summary>
public partial class GraphqlApi
{
private List<AdditionalAuthenticationProvider> _additionalAuthenticationProviders = new List<AdditionalAuthenticationProvider>();
private string _apiId;
private GraphQLApiType _apiType;
private string _arn;
private AuthenticationType _authenticationType;
private Dictionary<string, string> _dns = new Dictionary<string, string>();
private LambdaAuthorizerConfig _lambdaAuthorizerConfig;
private LogConfig _logConfig;
private string _mergedApiExecutionRoleArn;
private string _name;
private OpenIDConnectConfig _openidConnectConfig;
private string _owner;
private string _ownerContact;
private Dictionary<string, string> _tags = new Dictionary<string, string>();
private Dictionary<string, string> _uris = new Dictionary<string, string>();
private UserPoolConfig _userPoolConfig;
private GraphQLApiVisibility _visibility;
private string _wafWebAclArn;
private bool? _xrayEnabled;
/// <summary>
/// Gets and sets the property AdditionalAuthenticationProviders.
/// <para>
/// A list of additional authentication providers for the <code>GraphqlApi</code> API.
/// </para>
/// </summary>
public List<AdditionalAuthenticationProvider> AdditionalAuthenticationProviders
{
get { return this._additionalAuthenticationProviders; }
set { this._additionalAuthenticationProviders = value; }
}
// Check to see if AdditionalAuthenticationProviders property is set
internal bool IsSetAdditionalAuthenticationProviders()
{
return this._additionalAuthenticationProviders != null && this._additionalAuthenticationProviders.Count > 0;
}
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property ApiType.
/// <para>
/// The value that indicates whether the GraphQL API is a standard API (<code>GRAPHQL</code>)
/// or merged API (<code>MERGED</code>).
/// </para>
/// </summary>
public GraphQLApiType ApiType
{
get { return this._apiType; }
set { this._apiType = value; }
}
// Check to see if ApiType property is set
internal bool IsSetApiType()
{
return this._apiType != null;
}
/// <summary>
/// Gets and sets the property Arn.
/// <para>
/// The Amazon Resource Name (ARN).
/// </para>
/// </summary>
public string Arn
{
get { return this._arn; }
set { this._arn = value; }
}
// Check to see if Arn property is set
internal bool IsSetArn()
{
return this._arn != null;
}
/// <summary>
/// Gets and sets the property AuthenticationType.
/// <para>
/// The authentication type.
/// </para>
/// </summary>
public AuthenticationType AuthenticationType
{
get { return this._authenticationType; }
set { this._authenticationType = value; }
}
// Check to see if AuthenticationType property is set
internal bool IsSetAuthenticationType()
{
return this._authenticationType != null;
}
/// <summary>
/// Gets and sets the property Dns.
/// <para>
/// The DNS records for the API.
/// </para>
/// </summary>
public Dictionary<string, string> Dns
{
get { return this._dns; }
set { this._dns = value; }
}
// Check to see if Dns property is set
internal bool IsSetDns()
{
return this._dns != null && this._dns.Count > 0;
}
/// <summary>
/// Gets and sets the property LambdaAuthorizerConfig.
/// <para>
/// Configuration for Lambda function authorization.
/// </para>
/// </summary>
public LambdaAuthorizerConfig LambdaAuthorizerConfig
{
get { return this._lambdaAuthorizerConfig; }
set { this._lambdaAuthorizerConfig = value; }
}
// Check to see if LambdaAuthorizerConfig property is set
internal bool IsSetLambdaAuthorizerConfig()
{
return this._lambdaAuthorizerConfig != null;
}
/// <summary>
/// Gets and sets the property LogConfig.
/// <para>
/// The Amazon CloudWatch Logs configuration.
/// </para>
/// </summary>
public LogConfig LogConfig
{
get { return this._logConfig; }
set { this._logConfig = value; }
}
// Check to see if LogConfig property is set
internal bool IsSetLogConfig()
{
return this._logConfig != null;
}
/// <summary>
/// Gets and sets the property MergedApiExecutionRoleArn.
/// <para>
/// The Identity and Access Management service role ARN for a merged API. The AppSync
/// service assumes this role on behalf of the Merged API to validate access to source
/// APIs at runtime and to prompt the <code>AUTO_MERGE</code> to update the merged API
/// endpoint with the source API changes automatically.
/// </para>
/// </summary>
public string MergedApiExecutionRoleArn
{
get { return this._mergedApiExecutionRoleArn; }
set { this._mergedApiExecutionRoleArn = value; }
}
// Check to see if MergedApiExecutionRoleArn property is set
internal bool IsSetMergedApiExecutionRoleArn()
{
return this._mergedApiExecutionRoleArn != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The API name.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property OpenIDConnectConfig.
/// <para>
/// The OpenID Connect configuration.
/// </para>
/// </summary>
public OpenIDConnectConfig OpenIDConnectConfig
{
get { return this._openidConnectConfig; }
set { this._openidConnectConfig = value; }
}
// Check to see if OpenIDConnectConfig property is set
internal bool IsSetOpenIDConnectConfig()
{
return this._openidConnectConfig != null;
}
/// <summary>
/// Gets and sets the property Owner.
/// <para>
/// The account owner of the GraphQL API.
/// </para>
/// </summary>
public string Owner
{
get { return this._owner; }
set { this._owner = value; }
}
// Check to see if Owner property is set
internal bool IsSetOwner()
{
return this._owner != null;
}
/// <summary>
/// Gets and sets the property OwnerContact.
/// <para>
/// The owner contact information for an API resource.
/// </para>
///
/// <para>
/// This field accepts any string input with a length of 0 - 256 characters.
/// </para>
/// </summary>
public string OwnerContact
{
get { return this._ownerContact; }
set { this._ownerContact = value; }
}
// Check to see if OwnerContact property is set
internal bool IsSetOwnerContact()
{
return this._ownerContact != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// The tags.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property Uris.
/// <para>
/// The URIs.
/// </para>
/// </summary>
public Dictionary<string, string> Uris
{
get { return this._uris; }
set { this._uris = value; }
}
// Check to see if Uris property is set
internal bool IsSetUris()
{
return this._uris != null && this._uris.Count > 0;
}
/// <summary>
/// Gets and sets the property UserPoolConfig.
/// <para>
/// The Amazon Cognito user pool configuration.
/// </para>
/// </summary>
public UserPoolConfig UserPoolConfig
{
get { return this._userPoolConfig; }
set { this._userPoolConfig = value; }
}
// Check to see if UserPoolConfig property is set
internal bool IsSetUserPoolConfig()
{
return this._userPoolConfig != null;
}
/// <summary>
/// Gets and sets the property Visibility.
/// <para>
/// Sets the value of the GraphQL API to public (<code>GLOBAL</code>) or private (<code>PRIVATE</code>).
/// If no value is provided, the visibility will be set to <code>GLOBAL</code> by default.
/// This value cannot be changed once the API has been created.
/// </para>
/// </summary>
public GraphQLApiVisibility Visibility
{
get { return this._visibility; }
set { this._visibility = value; }
}
// Check to see if Visibility property is set
internal bool IsSetVisibility()
{
return this._visibility != null;
}
/// <summary>
/// Gets and sets the property WafWebAclArn.
/// <para>
/// The ARN of the WAF access control list (ACL) associated with this <code>GraphqlApi</code>,
/// if one exists.
/// </para>
/// </summary>
public string WafWebAclArn
{
get { return this._wafWebAclArn; }
set { this._wafWebAclArn = value; }
}
// Check to see if WafWebAclArn property is set
internal bool IsSetWafWebAclArn()
{
return this._wafWebAclArn != null;
}
/// <summary>
/// Gets and sets the property XrayEnabled.
/// <para>
/// A flag indicating whether to use X-Ray tracing for this <code>GraphqlApi</code>.
/// </para>
/// </summary>
public bool XrayEnabled
{
get { return this._xrayEnabled.GetValueOrDefault(); }
set { this._xrayEnabled = value; }
}
// Check to see if XrayEnabled property is set
internal bool IsSetXrayEnabled()
{
return this._xrayEnabled.HasValue;
}
}
}
| 412 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// The GraphQL schema is not valid.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class GraphQLSchemaException : AmazonAppSyncException
{
/// <summary>
/// Constructs a new GraphQLSchemaException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public GraphQLSchemaException(string message)
: base(message) {}
/// <summary>
/// Construct instance of GraphQLSchemaException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public GraphQLSchemaException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of GraphQLSchemaException
/// </summary>
/// <param name="innerException"></param>
public GraphQLSchemaException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of GraphQLSchemaException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public GraphQLSchemaException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of GraphQLSchemaException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public GraphQLSchemaException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the GraphQLSchemaException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected GraphQLSchemaException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes an HTTP data source configuration.
/// </summary>
public partial class HttpDataSourceConfig
{
private AuthorizationConfig _authorizationConfig;
private string _endpoint;
/// <summary>
/// Gets and sets the property AuthorizationConfig.
/// <para>
/// The authorization configuration in case the HTTP endpoint requires authorization.
/// </para>
/// </summary>
public AuthorizationConfig AuthorizationConfig
{
get { return this._authorizationConfig; }
set { this._authorizationConfig = value; }
}
// Check to see if AuthorizationConfig property is set
internal bool IsSetAuthorizationConfig()
{
return this._authorizationConfig != null;
}
/// <summary>
/// Gets and sets the property Endpoint.
/// <para>
/// The HTTP URL endpoint. You can specify either the domain name or IP, and port combination,
/// and the URL scheme must be HTTP or HTTPS. If you don't specify the port, AppSync uses
/// the default port 80 for the HTTP endpoint and port 443 for HTTPS endpoints.
/// </para>
/// </summary>
public string Endpoint
{
get { return this._endpoint; }
set { this._endpoint = value; }
}
// Check to see if Endpoint property is set
internal bool IsSetEndpoint()
{
return this._endpoint != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// An internal AppSync error occurred. Try your request again.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class InternalFailureException : AmazonAppSyncException
{
/// <summary>
/// Constructs a new InternalFailureException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public InternalFailureException(string message)
: base(message) {}
/// <summary>
/// Construct instance of InternalFailureException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public InternalFailureException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of InternalFailureException
/// </summary>
/// <param name="innerException"></param>
public InternalFailureException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of InternalFailureException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InternalFailureException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of InternalFailureException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public InternalFailureException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the InternalFailureException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected InternalFailureException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// A <code>LambdaAuthorizerConfig</code> specifies how to authorize AppSync API access
/// when using the <code>AWS_LAMBDA</code> authorizer mode. Be aware that an AppSync API
/// can have only one Lambda authorizer configured at a time.
/// </summary>
public partial class LambdaAuthorizerConfig
{
private int? _authorizerResultTtlInSeconds;
private string _authorizerUri;
private string _identityValidationExpression;
/// <summary>
/// Gets and sets the property AuthorizerResultTtlInSeconds.
/// <para>
/// The number of seconds a response should be cached for. The default is 0 seconds, which
/// disables caching. If you don't specify a value for <code>authorizerResultTtlInSeconds</code>,
/// the default value is used. The maximum value is one hour (3600 seconds). The Lambda
/// function can override this by returning a <code>ttlOverride</code> key in its response.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=3600)]
public int AuthorizerResultTtlInSeconds
{
get { return this._authorizerResultTtlInSeconds.GetValueOrDefault(); }
set { this._authorizerResultTtlInSeconds = value; }
}
// Check to see if AuthorizerResultTtlInSeconds property is set
internal bool IsSetAuthorizerResultTtlInSeconds()
{
return this._authorizerResultTtlInSeconds.HasValue;
}
/// <summary>
/// Gets and sets the property AuthorizerUri.
/// <para>
/// The Amazon Resource Name (ARN) of the Lambda function to be called for authorization.
/// This can be a standard Lambda ARN, a version ARN (<code>.../v3</code>), or an alias
/// ARN.
/// </para>
///
/// <para>
/// <b>Note</b>: This Lambda function must have the following resource-based policy assigned
/// to it. When configuring Lambda authorizers in the console, this is done for you. To
/// use the Command Line Interface (CLI), run the following:
/// </para>
///
/// <para>
/// <code>aws lambda add-permission --function-name "arn:aws:lambda:us-east-2:111122223333:function:my-function"
/// --statement-id "appsync" --principal appsync.amazonaws.com --action lambda:InvokeFunction</code>
///
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AuthorizerUri
{
get { return this._authorizerUri; }
set { this._authorizerUri = value; }
}
// Check to see if AuthorizerUri property is set
internal bool IsSetAuthorizerUri()
{
return this._authorizerUri != null;
}
/// <summary>
/// Gets and sets the property IdentityValidationExpression.
/// <para>
/// A regular expression for validation of tokens before the Lambda function is called.
/// </para>
/// </summary>
public string IdentityValidationExpression
{
get { return this._identityValidationExpression; }
set { this._identityValidationExpression = value; }
}
// Check to see if IdentityValidationExpression property is set
internal bool IsSetIdentityValidationExpression()
{
return this._identityValidationExpression != null;
}
}
}
| 116 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// The <code>LambdaConflictHandlerConfig</code> object when configuring <code>LAMBDA</code>
/// as the Conflict Handler.
/// </summary>
public partial class LambdaConflictHandlerConfig
{
private string _lambdaConflictHandlerArn;
/// <summary>
/// Gets and sets the property LambdaConflictHandlerArn.
/// <para>
/// The Amazon Resource Name (ARN) for the Lambda function to use as the Conflict Handler.
/// </para>
/// </summary>
public string LambdaConflictHandlerArn
{
get { return this._lambdaConflictHandlerArn; }
set { this._lambdaConflictHandlerArn = value; }
}
// Check to see if LambdaConflictHandlerArn property is set
internal bool IsSetLambdaConflictHandlerArn()
{
return this._lambdaConflictHandlerArn != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes an Lambda data source configuration.
/// </summary>
public partial class LambdaDataSourceConfig
{
private string _lambdaFunctionArn;
/// <summary>
/// Gets and sets the property LambdaFunctionArn.
/// <para>
/// The Amazon Resource Name (ARN) for the Lambda function.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string LambdaFunctionArn
{
get { return this._lambdaFunctionArn; }
set { this._lambdaFunctionArn = value; }
}
// Check to see if LambdaFunctionArn property is set
internal bool IsSetLambdaFunctionArn()
{
return this._lambdaFunctionArn != null;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// The request exceeded a limit. Try your request again.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class LimitExceededException : AmazonAppSyncException
{
/// <summary>
/// Constructs a new LimitExceededException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public LimitExceededException(string message)
: base(message) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public LimitExceededException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="innerException"></param>
public LimitExceededException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of LimitExceededException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public LimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the LimitExceededException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected LimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 124 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListApiKeys operation.
/// Lists the API keys for a given API.
///
/// <note>
/// <para>
/// API keys are deleted automatically 60 days after they expire. However, they may still
/// be included in the response until they have actually been deleted. You can safely
/// call <code>DeleteApiKey</code> to manually delete a key before it's automatically
/// deleted.
/// </para>
/// </note>
/// </summary>
public partial class ListApiKeysRequest : AmazonAppSyncRequest
{
private string _apiId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 109 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListApiKeys operation.
/// </summary>
public partial class ListApiKeysResponse : AmazonWebServiceResponse
{
private List<ApiKey> _apiKeys = new List<ApiKey>();
private string _nextToken;
/// <summary>
/// Gets and sets the property ApiKeys.
/// <para>
/// The <code>ApiKey</code> objects.
/// </para>
/// </summary>
public List<ApiKey> ApiKeys
{
get { return this._apiKeys; }
set { this._apiKeys = value; }
}
// Check to see if ApiKeys property is set
internal bool IsSetApiKeys()
{
return this._apiKeys != null && this._apiKeys.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier to pass in the next request to this operation to return the next set
/// of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListDataSources operation.
/// Lists the data sources for a given API.
/// </summary>
public partial class ListDataSourcesRequest : AmazonAppSyncRequest
{
private string _apiId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 100 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListDataSources operation.
/// </summary>
public partial class ListDataSourcesResponse : AmazonWebServiceResponse
{
private List<DataSource> _dataSources = new List<DataSource>();
private string _nextToken;
/// <summary>
/// Gets and sets the property DataSources.
/// <para>
/// The <code>DataSource</code> objects.
/// </para>
/// </summary>
public List<DataSource> DataSources
{
get { return this._dataSources; }
set { this._dataSources = value; }
}
// Check to see if DataSources property is set
internal bool IsSetDataSources()
{
return this._dataSources != null && this._dataSources.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier to pass in the next request to this operation to return the next set
/// of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListDomainNames operation.
/// Lists multiple custom domain names.
/// </summary>
public partial class ListDomainNamesRequest : AmazonAppSyncRequest
{
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 80 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListDomainNames operation.
/// </summary>
public partial class ListDomainNamesResponse : AmazonWebServiceResponse
{
private List<DomainNameConfig> _domainNameConfigs = new List<DomainNameConfig>();
private string _nextToken;
/// <summary>
/// Gets and sets the property DomainNameConfigs.
/// <para>
/// Lists configurations for multiple domain names.
/// </para>
/// </summary>
public List<DomainNameConfig> DomainNameConfigs
{
get { return this._domainNameConfigs; }
set { this._domainNameConfigs = value; }
}
// Check to see if DomainNameConfigs property is set
internal bool IsSetDomainNameConfigs()
{
return this._domainNameConfigs != null && this._domainNameConfigs.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListFunctions operation.
/// List multiple functions.
/// </summary>
public partial class ListFunctionsRequest : AmazonAppSyncRequest
{
private string _apiId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The GraphQL API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 100 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListFunctions operation.
/// </summary>
public partial class ListFunctionsResponse : AmazonWebServiceResponse
{
private List<FunctionConfiguration> _functions = new List<FunctionConfiguration>();
private string _nextToken;
/// <summary>
/// Gets and sets the property Functions.
/// <para>
/// A list of <code>Function</code> objects.
/// </para>
/// </summary>
public List<FunctionConfiguration> Functions
{
get { return this._functions; }
set { this._functions = value; }
}
// Check to see if Functions property is set
internal bool IsSetFunctions()
{
return this._functions != null && this._functions.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListGraphqlApis operation.
/// Lists your GraphQL APIs.
/// </summary>
public partial class ListGraphqlApisRequest : AmazonAppSyncRequest
{
private GraphQLApiType _apiType;
private int? _maxResults;
private string _nextToken;
private Ownership _owner;
/// <summary>
/// Gets and sets the property ApiType.
/// <para>
/// The value that indicates whether the GraphQL API is a standard API (<code>GRAPHQL</code>)
/// or merged API (<code>MERGED</code>).
/// </para>
/// </summary>
public GraphQLApiType ApiType
{
get { return this._apiType; }
set { this._apiType = value; }
}
// Check to see if ApiType property is set
internal bool IsSetApiType()
{
return this._apiType != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Owner.
/// <para>
/// The account owner of the GraphQL API.
/// </para>
/// </summary>
public Ownership Owner
{
get { return this._owner; }
set { this._owner = value; }
}
// Check to see if Owner property is set
internal bool IsSetOwner()
{
return this._owner != null;
}
}
}
| 119 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListGraphqlApis operation.
/// </summary>
public partial class ListGraphqlApisResponse : AmazonWebServiceResponse
{
private List<GraphqlApi> _graphqlApis = new List<GraphqlApi>();
private string _nextToken;
/// <summary>
/// Gets and sets the property GraphqlApis.
/// <para>
/// The <code>GraphqlApi</code> objects.
/// </para>
/// </summary>
public List<GraphqlApi> GraphqlApis
{
get { return this._graphqlApis; }
set { this._graphqlApis = value; }
}
// Check to see if GraphqlApis property is set
internal bool IsSetGraphqlApis()
{
return this._graphqlApis != null && this._graphqlApis.Count > 0;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier to pass in the next request to this operation to return the next set
/// of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListResolversByFunction operation.
/// List the resolvers that are associated with a specific function.
/// </summary>
public partial class ListResolversByFunctionRequest : AmazonAppSyncRequest
{
private string _apiId;
private string _functionId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property FunctionId.
/// <para>
/// The function ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string FunctionId
{
get { return this._functionId; }
set { this._functionId = value; }
}
// Check to see if FunctionId property is set
internal bool IsSetFunctionId()
{
return this._functionId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 120 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListResolversByFunction operation.
/// </summary>
public partial class ListResolversByFunctionResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<Resolver> _resolvers = new List<Resolver>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that you can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Resolvers.
/// <para>
/// The list of resolvers.
/// </para>
/// </summary>
public List<Resolver> Resolvers
{
get { return this._resolvers; }
set { this._resolvers = value; }
}
// Check to see if Resolvers property is set
internal bool IsSetResolvers()
{
return this._resolvers != null && this._resolvers.Count > 0;
}
}
}
| 77 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListResolvers operation.
/// Lists the resolvers for a given API and type.
/// </summary>
public partial class ListResolversRequest : AmazonAppSyncRequest
{
private string _apiId;
private int? _maxResults;
private string _nextToken;
private string _typeName;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property TypeName.
/// <para>
/// The type name.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string TypeName
{
get { return this._typeName; }
set { this._typeName = value; }
}
// Check to see if TypeName property is set
internal bool IsSetTypeName()
{
return this._typeName != null;
}
}
}
| 120 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListResolvers operation.
/// </summary>
public partial class ListResolversResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<Resolver> _resolvers = new List<Resolver>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier to pass in the next request to this operation to return the next set
/// of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Resolvers.
/// <para>
/// The <code>Resolver</code> objects.
/// </para>
/// </summary>
public List<Resolver> Resolvers
{
get { return this._resolvers; }
set { this._resolvers = value; }
}
// Check to see if Resolvers property is set
internal bool IsSetResolvers()
{
return this._resolvers != null && this._resolvers.Count > 0;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListSourceApiAssociations operation.
/// Lists the <code>SourceApiAssociationSummary</code> data.
/// </summary>
public partial class ListSourceApiAssociationsRequest : AmazonAppSyncRequest
{
private string _apiId;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 100 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListSourceApiAssociations operation.
/// </summary>
public partial class ListSourceApiAssociationsResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<SourceApiAssociationSummary> _sourceApiAssociationSummaries = new List<SourceApiAssociationSummary>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property SourceApiAssociationSummaries.
/// <para>
/// The <code>SourceApiAssociationSummary</code> object data.
/// </para>
/// </summary>
public List<SourceApiAssociationSummary> SourceApiAssociationSummaries
{
get { return this._sourceApiAssociationSummaries; }
set { this._sourceApiAssociationSummaries = value; }
}
// Check to see if SourceApiAssociationSummaries property is set
internal bool IsSetSourceApiAssociationSummaries()
{
return this._sourceApiAssociationSummaries != null && this._sourceApiAssociationSummaries.Count > 0;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListTagsForResource operation.
/// Lists the tags for a resource.
/// </summary>
public partial class ListTagsForResourceRequest : AmazonAppSyncRequest
{
private string _resourceArn;
/// <summary>
/// Gets and sets the property ResourceArn.
/// <para>
/// The <code>GraphqlApi</code> Amazon Resource Name (ARN).
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=70, Max=75)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
}
}
| 59 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListTagsForResource operation.
/// </summary>
public partial class ListTagsForResourceResponse : AmazonWebServiceResponse
{
private Dictionary<string, string> _tags = new Dictionary<string, string>();
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// A <code>TagMap</code> object.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=50)]
public Dictionary<string, string> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}
| 58 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListTypesByAssociation operation.
/// Lists <code>Type</code> objects by the source API association ID.
/// </summary>
public partial class ListTypesByAssociationRequest : AmazonAppSyncRequest
{
private string _associationId;
private TypeDefinitionFormat _format;
private int? _maxResults;
private string _mergedApiIdentifier;
private string _nextToken;
/// <summary>
/// Gets and sets the property AssociationId.
/// <para>
/// The ID generated by the AppSync service for the source API association.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AssociationId
{
get { return this._associationId; }
set { this._associationId = value; }
}
// Check to see if AssociationId property is set
internal bool IsSetAssociationId()
{
return this._associationId != null;
}
/// <summary>
/// Gets and sets the property Format.
/// <para>
/// The format type.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TypeDefinitionFormat Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property MergedApiIdentifier.
/// <para>
/// The identifier of the AppSync Merged API. This is generated by the AppSync service.
/// In most cases, Merged APIs (especially in your account) only require the API ID value
/// or ARN of the merged API. However, Merged APIs in other accounts (cross-account use
/// cases) strictly require the full resource ARN of the merged API.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string MergedApiIdentifier
{
get { return this._mergedApiIdentifier; }
set { this._mergedApiIdentifier = value; }
}
// Check to see if MergedApiIdentifier property is set
internal bool IsSetMergedApiIdentifier()
{
return this._mergedApiIdentifier != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 143 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListTypesByAssociation operation.
/// </summary>
public partial class ListTypesByAssociationResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<Type> _types = new List<Type>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Types.
/// <para>
/// The <code>Type</code> objects.
/// </para>
/// </summary>
public List<Type> Types
{
get { return this._types; }
set { this._types = value; }
}
// Check to see if Types property is set
internal bool IsSetTypes()
{
return this._types != null && this._types.Count > 0;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Container for the parameters to the ListTypes operation.
/// Lists the types for a given API.
/// </summary>
public partial class ListTypesRequest : AmazonAppSyncRequest
{
private string _apiId;
private TypeDefinitionFormat _format;
private int? _maxResults;
private string _nextToken;
/// <summary>
/// Gets and sets the property ApiId.
/// <para>
/// The API ID.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string ApiId
{
get { return this._apiId; }
set { this._apiId = value; }
}
// Check to see if ApiId property is set
internal bool IsSetApiId()
{
return this._apiId != null;
}
/// <summary>
/// Gets and sets the property Format.
/// <para>
/// The type format: SDL or JSON.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public TypeDefinitionFormat Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that you want the request to return.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=25)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier that was returned from the previous call to this operation, which you
/// can use to return the next set of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
}
}
| 120 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// This is the response object from the ListTypes operation.
/// </summary>
public partial class ListTypesResponse : AmazonWebServiceResponse
{
private string _nextToken;
private List<Type> _types = new List<Type>();
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// An identifier to pass in the next request to this operation to return the next set
/// of items in the list.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=65536)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property Types.
/// <para>
/// The <code>Type</code> objects.
/// </para>
/// </summary>
public List<Type> Types
{
get { return this._types; }
set { this._types = value; }
}
// Check to see if Types property is set
internal bool IsSetTypes()
{
return this._types != null && this._types.Count > 0;
}
}
}
| 78 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// The Amazon CloudWatch Logs configuration.
/// </summary>
public partial class LogConfig
{
private string _cloudWatchLogsRoleArn;
private bool? _excludeVerboseContent;
private FieldLogLevel _fieldLogLevel;
/// <summary>
/// Gets and sets the property CloudWatchLogsRoleArn.
/// <para>
/// The service role that AppSync assumes to publish to CloudWatch logs in your account.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string CloudWatchLogsRoleArn
{
get { return this._cloudWatchLogsRoleArn; }
set { this._cloudWatchLogsRoleArn = value; }
}
// Check to see if CloudWatchLogsRoleArn property is set
internal bool IsSetCloudWatchLogsRoleArn()
{
return this._cloudWatchLogsRoleArn != null;
}
/// <summary>
/// Gets and sets the property ExcludeVerboseContent.
/// <para>
/// Set to TRUE to exclude sections that contain information such as headers, context,
/// and evaluated mapping templates, regardless of logging level.
/// </para>
/// </summary>
public bool ExcludeVerboseContent
{
get { return this._excludeVerboseContent.GetValueOrDefault(); }
set { this._excludeVerboseContent = value; }
}
// Check to see if ExcludeVerboseContent property is set
internal bool IsSetExcludeVerboseContent()
{
return this._excludeVerboseContent.HasValue;
}
/// <summary>
/// Gets and sets the property FieldLogLevel.
/// <para>
/// The field logging level. Values can be NONE, ERROR, or ALL.
/// </para>
/// <ul> <li>
/// <para>
/// <b>NONE</b>: No field-level logs are captured.
/// </para>
/// </li> <li>
/// <para>
/// <b>ERROR</b>: Logs the following information only for the fields that are in error:
/// </para>
/// <ul> <li>
/// <para>
/// The error section in the server response.
/// </para>
/// </li> <li>
/// <para>
/// Field-level errors.
/// </para>
/// </li> <li>
/// <para>
/// The generated request/response functions that got resolved for error fields.
/// </para>
/// </li> </ul> </li> <li>
/// <para>
/// <b>ALL</b>: The following information is logged for all fields in the query:
/// </para>
/// <ul> <li>
/// <para>
/// Field-level tracing information.
/// </para>
/// </li> <li>
/// <para>
/// The generated request/response functions that got resolved for each field.
/// </para>
/// </li> </ul> </li> </ul>
/// </summary>
[AWSProperty(Required=true)]
public FieldLogLevel FieldLogLevel
{
get { return this._fieldLogLevel; }
set { this._fieldLogLevel = value; }
}
// Check to see if FieldLogLevel property is set
internal bool IsSetFieldLogLevel()
{
return this._fieldLogLevel != null;
}
}
}
| 131 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// The resource specified in the request was not found. Check the resource, and then
/// try again.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class NotFoundException : AmazonAppSyncException
{
/// <summary>
/// Constructs a new NotFoundException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public NotFoundException(string message)
: base(message) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public NotFoundException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="innerException"></param>
public NotFoundException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public NotFoundException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of NotFoundException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public NotFoundException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the NotFoundException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected NotFoundException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes an OpenID Connect (OIDC) configuration.
/// </summary>
public partial class OpenIDConnectConfig
{
private long? _authttl;
private string _clientId;
private long? _iatttl;
private string _issuer;
/// <summary>
/// Gets and sets the property AuthTTL.
/// <para>
/// The number of milliseconds that a token is valid after being authenticated.
/// </para>
/// </summary>
public long AuthTTL
{
get { return this._authttl.GetValueOrDefault(); }
set { this._authttl = value; }
}
// Check to see if AuthTTL property is set
internal bool IsSetAuthTTL()
{
return this._authttl.HasValue;
}
/// <summary>
/// Gets and sets the property ClientId.
/// <para>
/// The client identifier of the relying party at the OpenID identity provider. This identifier
/// is typically obtained when the relying party is registered with the OpenID identity
/// provider. You can specify a regular expression so that AppSync can validate against
/// multiple client identifiers at a time.
/// </para>
/// </summary>
public string ClientId
{
get { return this._clientId; }
set { this._clientId = value; }
}
// Check to see if ClientId property is set
internal bool IsSetClientId()
{
return this._clientId != null;
}
/// <summary>
/// Gets and sets the property IatTTL.
/// <para>
/// The number of milliseconds that a token is valid after it's issued to a user.
/// </para>
/// </summary>
public long IatTTL
{
get { return this._iatttl.GetValueOrDefault(); }
set { this._iatttl = value; }
}
// Check to see if IatTTL property is set
internal bool IsSetIatTTL()
{
return this._iatttl.HasValue;
}
/// <summary>
/// Gets and sets the property Issuer.
/// <para>
/// The issuer for the OIDC configuration. The issuer returned by discovery must exactly
/// match the value of <code>iss</code> in the ID token.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Issuer
{
get { return this._issuer; }
set { this._issuer = value; }
}
// Check to see if Issuer property is set
internal bool IsSetIssuer()
{
return this._issuer != null;
}
}
}
| 119 |
aws-sdk-net
|
aws
|
C#
|
/*
* 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 appsync-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppSync.Model
{
/// <summary>
/// Describes an OpenSearch data source configuration.
/// </summary>
public partial class OpenSearchServiceDataSourceConfig
{
private string _awsRegion;
private string _endpoint;
/// <summary>
/// Gets and sets the property AwsRegion.
/// <para>
/// The Amazon Web Services Region.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string AwsRegion
{
get { return this._awsRegion; }
set { this._awsRegion = value; }
}
// Check to see if AwsRegion property is set
internal bool IsSetAwsRegion()
{
return this._awsRegion != null;
}
/// <summary>
/// Gets and sets the property Endpoint.
/// <para>
/// The endpoint.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public string Endpoint
{
get { return this._endpoint; }
set { this._endpoint = value; }
}
// Check to see if Endpoint property is set
internal bool IsSetEndpoint()
{
return this._endpoint != null;
}
}
}
| 78 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.