import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GetResourcePoliciesRequest, GetResourcePoliciesResponse } from "../models/models_1"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetResourcePoliciesCommand}. */ export interface GetResourcePoliciesCommandInput extends GetResourcePoliciesRequest { } /** * @public * * The output of {@link GetResourcePoliciesCommand}. */ export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesResponse, __MetadataBearer { } declare const GetResourcePoliciesCommand_base: { new (input: GetResourcePoliciesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetResourcePoliciesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns an array of the Policy object.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, GetResourcePoliciesCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, GetResourcePoliciesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // GetResourcePoliciesRequest * ResourceArn: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new GetResourcePoliciesCommand(input); * const response = await client.send(command); * // { // GetResourcePoliciesResponse * // NextToken: "STRING_VALUE", * // Policies: [ // GetResourcePoliciesResponseEntries * // { // GetResourcePoliciesResponseEntry * // PolicyId: "STRING_VALUE", * // PolicyHash: "STRING_VALUE", * // Policy: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param GetResourcePoliciesCommandInput - {@link GetResourcePoliciesCommandInput} * @returns {@link GetResourcePoliciesCommandOutput} * @see {@link GetResourcePoliciesCommandInput} for command's `input` shape. * @see {@link GetResourcePoliciesCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An error occurred on the server side.

* * @throws {@link ResourceNotFoundException} (client fault) *

The specified parameter to be shared could not be found.

* * @throws {@link ResourcePolicyInvalidParameterException} (client fault) *

One or more parameters specified for the call aren't valid. Verify the parameters and their * values and try again.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class GetResourcePoliciesCommand extends GetResourcePoliciesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetResourcePoliciesRequest; output: GetResourcePoliciesResponse; }; sdk: { input: GetResourcePoliciesCommandInput; output: GetResourcePoliciesCommandOutput; }; }; }