AWS Native is in preview. AWS Classic is fully supported.
aws-native.apigateway.getDocumentationPart
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
The AWS::ApiGateway::DocumentationPart
resource creates a documentation part for an API. For more information, see Representation of API Documentation in API Gateway in the API Gateway Developer Guide.
Using getDocumentationPart
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDocumentationPart(args: GetDocumentationPartArgs, opts?: InvokeOptions): Promise<GetDocumentationPartResult>
function getDocumentationPartOutput(args: GetDocumentationPartOutputArgs, opts?: InvokeOptions): Output<GetDocumentationPartResult>
def get_documentation_part(documentation_part_id: Optional[str] = None,
rest_api_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDocumentationPartResult
def get_documentation_part_output(documentation_part_id: Optional[pulumi.Input[str]] = None,
rest_api_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDocumentationPartResult]
func LookupDocumentationPart(ctx *Context, args *LookupDocumentationPartArgs, opts ...InvokeOption) (*LookupDocumentationPartResult, error)
func LookupDocumentationPartOutput(ctx *Context, args *LookupDocumentationPartOutputArgs, opts ...InvokeOption) LookupDocumentationPartResultOutput
> Note: This function is named LookupDocumentationPart
in the Go SDK.
public static class GetDocumentationPart
{
public static Task<GetDocumentationPartResult> InvokeAsync(GetDocumentationPartArgs args, InvokeOptions? opts = null)
public static Output<GetDocumentationPartResult> Invoke(GetDocumentationPartInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDocumentationPartResult> getDocumentationPart(GetDocumentationPartArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:apigateway:getDocumentationPart
arguments:
# arguments dictionary
The following arguments are supported:
- Documentation
Part stringId - The ID for the documentation part.
- Rest
Api stringId - The string identifier of the associated RestApi.
- Documentation
Part stringId - The ID for the documentation part.
- Rest
Api stringId - The string identifier of the associated RestApi.
- documentation
Part StringId - The ID for the documentation part.
- rest
Api StringId - The string identifier of the associated RestApi.
- documentation
Part stringId - The ID for the documentation part.
- rest
Api stringId - The string identifier of the associated RestApi.
- documentation_
part_ strid - The ID for the documentation part.
- rest_
api_ strid - The string identifier of the associated RestApi.
- documentation
Part StringId - The ID for the documentation part.
- rest
Api StringId - The string identifier of the associated RestApi.
getDocumentationPart Result
The following output properties are available:
- Documentation
Part stringId - The ID for the documentation part.
- Properties string
- The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
- Documentation
Part stringId - The ID for the documentation part.
- Properties string
- The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
- documentation
Part StringId - The ID for the documentation part.
- properties String
- The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
- documentation
Part stringId - The ID for the documentation part.
- properties string
- The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
- documentation_
part_ strid - The ID for the documentation part.
- properties str
- The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
- documentation
Part StringId - The ID for the documentation part.
- properties String
- The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.