Skip to content

Commit

Permalink
Regenerate SDKs
Browse files Browse the repository at this point in the history
  • Loading branch information
t0yv0 committed Nov 15, 2023
1 parent a938e0d commit 6b7b99c
Show file tree
Hide file tree
Showing 390 changed files with 24,620 additions and 825 deletions.
181 changes: 181 additions & 0 deletions sdk/dotnet/ApiGatewayV2/GetVpcLink.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;

namespace Pulumi.Aws.ApiGatewayV2
{
public static class GetVpcLink
{
/// <summary>
/// Data source for managing an AWS API Gateway V2 VPC Link.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
/// ### Basic Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Aws = Pulumi.Aws;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = Aws.ApiGatewayV2.GetVpcLink.Invoke(new()
/// {
/// VpcLinkId = "example",
/// });
///
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Task<GetVpcLinkResult> InvokeAsync(GetVpcLinkArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetVpcLinkResult>("aws:apigatewayv2/getVpcLink:getVpcLink", args ?? new GetVpcLinkArgs(), options.WithDefaults());

/// <summary>
/// Data source for managing an AWS API Gateway V2 VPC Link.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
/// ### Basic Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Aws = Pulumi.Aws;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = Aws.ApiGatewayV2.GetVpcLink.Invoke(new()
/// {
/// VpcLinkId = "example",
/// });
///
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Output<GetVpcLinkResult> Invoke(GetVpcLinkInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetVpcLinkResult>("aws:apigatewayv2/getVpcLink:getVpcLink", args ?? new GetVpcLinkInvokeArgs(), options.WithDefaults());
}


public sealed class GetVpcLinkArgs : global::Pulumi.InvokeArgs
{
[Input("tags")]
private Dictionary<string, string>? _tags;

/// <summary>
/// VPC Link Tags.
/// </summary>
public Dictionary<string, string> Tags
{
get => _tags ?? (_tags = new Dictionary<string, string>());
set => _tags = value;
}

/// <summary>
/// VPC Link ID
/// </summary>
[Input("vpcLinkId", required: true)]
public string VpcLinkId { get; set; } = null!;

public GetVpcLinkArgs()
{
}
public static new GetVpcLinkArgs Empty => new GetVpcLinkArgs();
}

public sealed class GetVpcLinkInvokeArgs : global::Pulumi.InvokeArgs
{
[Input("tags")]
private InputMap<string>? _tags;

/// <summary>
/// VPC Link Tags.
/// </summary>
public InputMap<string> Tags
{
get => _tags ?? (_tags = new InputMap<string>());
set => _tags = value;
}

/// <summary>
/// VPC Link ID
/// </summary>
[Input("vpcLinkId", required: true)]
public Input<string> VpcLinkId { get; set; } = null!;

public GetVpcLinkInvokeArgs()
{
}
public static new GetVpcLinkInvokeArgs Empty => new GetVpcLinkInvokeArgs();
}


[OutputType]
public sealed class GetVpcLinkResult
{
/// <summary>
/// ARN of the VPC Link.
/// </summary>
public readonly string Arn;
/// <summary>
/// The provider-assigned unique ID for this managed resource.
/// </summary>
public readonly string Id;
/// <summary>
/// VPC Link Name.
/// </summary>
public readonly string Name;
/// <summary>
/// List of security groups associated with the VPC Link.
/// </summary>
public readonly ImmutableArray<string> SecurityGroupIds;
/// <summary>
/// List of subnets attached to the VPC Link.
/// </summary>
public readonly ImmutableArray<string> SubnetIds;
/// <summary>
/// VPC Link Tags.
/// </summary>
public readonly ImmutableDictionary<string, string>? Tags;
public readonly string VpcLinkId;

[OutputConstructor]
private GetVpcLinkResult(
string arn,

string id,

string name,

ImmutableArray<string> securityGroupIds,

ImmutableArray<string> subnetIds,

ImmutableDictionary<string, string>? tags,

string vpcLinkId)
{
Arn = arn;
Id = id;
Name = name;
SecurityGroupIds = securityGroupIds;
SubnetIds = subnetIds;
Tags = tags;
VpcLinkId = vpcLinkId;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ public Input<string>? AccessToken
[Input("clientCredentialsArn")]
public Input<string>? ClientCredentialsArn { get; set; }

/// <summary>
/// A JSON web token (JWT) that authorizes access to Salesforce records.
/// </summary>
[Input("jwtToken")]
public Input<string>? JwtToken { get; set; }

/// <summary>
/// The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication. One of: `AUTHORIZATION_CODE`, `CLIENT_CREDENTIALS`.
/// </summary>
[Input("oauth2GrantType")]
public Input<string>? Oauth2GrantType { get; set; }

/// <summary>
/// Used by select connectors for which the OAuth workflow is supported. See OAuth Request for more details.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,18 @@ public Input<string>? AccessToken
[Input("clientCredentialsArn")]
public Input<string>? ClientCredentialsArn { get; set; }

/// <summary>
/// A JSON web token (JWT) that authorizes access to Salesforce records.
/// </summary>
[Input("jwtToken")]
public Input<string>? JwtToken { get; set; }

/// <summary>
/// The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication. One of: `AUTHORIZATION_CODE`, `CLIENT_CREDENTIALS`.
/// </summary>
[Input("oauth2GrantType")]
public Input<string>? Oauth2GrantType { get; set; }

/// <summary>
/// Used by select connectors for which the OAuth workflow is supported. See OAuth Request for more details.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ public sealed class ConnectorProfileConnectorProfileConfigConnectorProfileCreden
/// </summary>
public readonly string? ClientCredentialsArn;
/// <summary>
/// A JSON web token (JWT) that authorizes access to Salesforce records.
/// </summary>
public readonly string? JwtToken;
/// <summary>
/// The OAuth 2.0 grant type used by connector for OAuth 2.0 authentication. One of: `AUTHORIZATION_CODE`, `CLIENT_CREDENTIALS`.
/// </summary>
public readonly string? Oauth2GrantType;
/// <summary>
/// Used by select connectors for which the OAuth workflow is supported. See OAuth Request for more details.
/// </summary>
public readonly Outputs.ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSalesforceOauthRequest? OauthRequest;
Expand All @@ -36,12 +44,18 @@ private ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSalesfo

string? clientCredentialsArn,

string? jwtToken,

string? oauth2GrantType,

Outputs.ConnectorProfileConnectorProfileConfigConnectorProfileCredentialsSalesforceOauthRequest? oauthRequest,

string? refreshToken)
{
AccessToken = accessToken;
ClientCredentialsArn = clientCredentialsArn;
JwtToken = jwtToken;
Oauth2GrantType = oauth2GrantType;
OauthRequest = oauthRequest;
RefreshToken = refreshToken;
}
Expand Down
6 changes: 3 additions & 3 deletions sdk/dotnet/AppSync/DataSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public partial class DataSource : global::Pulumi.CustomResource
public Output<Outputs.DataSourceRelationalDatabaseConfig?> RelationalDatabaseConfig { get; private set; } = null!;

/// <summary>
/// IAM service role ARN for the data source.
/// IAM service role ARN for the data source. Required if `type` is specified as `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `AMAZON_EVENTBRIDGE`, or `AMAZON_OPENSEARCH_SERVICE`.
/// </summary>
[Output("serviceRoleArn")]
public Output<string?> ServiceRoleArn { get; private set; } = null!;
Expand Down Expand Up @@ -309,7 +309,7 @@ public sealed class DataSourceArgs : global::Pulumi.ResourceArgs
public Input<Inputs.DataSourceRelationalDatabaseConfigArgs>? RelationalDatabaseConfig { get; set; }

/// <summary>
/// IAM service role ARN for the data source.
/// IAM service role ARN for the data source. Required if `type` is specified as `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `AMAZON_EVENTBRIDGE`, or `AMAZON_OPENSEARCH_SERVICE`.
/// </summary>
[Input("serviceRoleArn")]
public Input<string>? ServiceRoleArn { get; set; }
Expand Down Expand Up @@ -395,7 +395,7 @@ public sealed class DataSourceState : global::Pulumi.ResourceArgs
public Input<Inputs.DataSourceRelationalDatabaseConfigGetArgs>? RelationalDatabaseConfig { get; set; }

/// <summary>
/// IAM service role ARN for the data source.
/// IAM service role ARN for the data source. Required if `type` is specified as `AWS_LAMBDA`, `AMAZON_DYNAMODB`, `AMAZON_ELASTICSEARCH`, `AMAZON_EVENTBRIDGE`, or `AMAZON_OPENSEARCH_SERVICE`.
/// </summary>
[Input("serviceRoleArn")]
public Input<string>? ServiceRoleArn { get; set; }
Expand Down
Loading

0 comments on commit 6b7b99c

Please sign in to comment.