| 1 | package Paws::Net::GlacierCaller; | ||
| 2 | 5 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 5 | ▶ | use JSON::MaybeXS; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 5 | with 'Paws::Net::RestJsonCaller'; | |
| 6 | |||
| 7 | 40 | ▶ | around prepare_request_for_call => sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 8 | 40 | my ($orig, $self, @rest) = @_; | |
| 9 | |||
| 10 | 40 | my $request = $self->$orig(@rest); | |
| 11 | #TODO: assign '-' to AccountId if there is no AccountId. This may need to be done in | ||
| 12 | |||
| 13 | 40 | $request->header('x-amz-glacier-version', $self->version); | |
| 14 | |||
| 15 | 40 | return $request; | |
| 16 | 5 | }; | |
| 17 | 5 | 1; | |