// Lists the policies attached to the specified thing group.
Lists the policies attached to the specified thing group.
// Lists the policies attached to the specified thing group .
func (c *Client) ListAttachedPolicies(ctx context.Context, params *ListAttachedPoliciesInput, optFns ...func(*Options)) (*ListAttachedPoliciesOutput, error) {
	if params == nil {
		params = &ListAttachedPoliciesInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListAttachedPolicies", params, optFns, addOperationListAttachedPoliciesMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListAttachedPoliciesOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListAttachedPolicies ( ctx context . Context , params * ListAttachedPoliciesInput , optFns ... func ( * Options ) ) ( * ListAttachedPoliciesOutput , error ) { if params == nil { params = & ListAttachedPoliciesInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListAttachedPoliciesMiddlewares ) if err != nil { return nil , err } out := result . ( * ListAttachedPoliciesOutput ) out . ResultMetadata = metadata return out , nil }
Lists the policies attached to the specified thing group.
Lists the policies attached to the specified thing group .