Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RejectResourceShareInvitationCommand

Rejects an invitation to a resource share from another Amazon Web Services account.

example

Use a bare-bones client and the command you need to make an API call.

import { RAMClient, RejectResourceShareInvitationCommand } from "@aws-sdk/client-ram"; // ES Modules import
// const { RAMClient, RejectResourceShareInvitationCommand } = require("@aws-sdk/client-ram"); // CommonJS import
const client = new RAMClient(config);
const command = new RejectResourceShareInvitationCommand(input);
const response = await client.send(command);
see

RejectResourceShareInvitationCommandInput for command's input shape.

see

RejectResourceShareInvitationCommandOutput for command's response shape.

see

config for RAMClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: RejectResourceShareInvitationCommandInput

Readonly middlewareStack