// Provides permission to the principals. This overwrites the existing permissions,
// and is not additive.
Provides permission to the principals. This overwrites the existing permissions,
and is not additive.
// Provides permission to the principals . This overwrites the existing permissions // and is not additive .
func (c *Client) PutPermission(ctx context.Context, params *PutPermissionInput, optFns ...func(*Options)) (*PutPermissionOutput, error) {
	if params == nil {
		params = &PutPermissionInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "PutPermission", params, optFns, addOperationPutPermissionMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*PutPermissionOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) PutPermission ( ctx context . Context , params * PutPermissionInput , optFns ... func ( * Options ) ) ( * PutPermissionOutput , error ) { if params == nil { params = & PutPermissionInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationPutPermissionMiddlewares ) if err != nil { return nil , err } out := result . ( * PutPermissionOutput ) out . ResultMetadata = metadata return out , nil }
Provides permission to the principals.
Provides permission to the principals .